We're sorry but this page doesn't work properly without JavaScript enabled. Please enable it to continue.
Feedback

Python is Weird

Formal Metadata

Title
Python is Weird
Title of Series
Number of Parts
9
Author
License
CC Attribution 4.0 International:
You are free to use, adapt and copy, distribute and transmit the work or content in adapted or unchanged form for any legal purpose as long as the work is attributed to the author in the manner specified by the author or licensor.
Identifiers
Publisher
Release Date
Language

Content Metadata

Subject Area
Genre
Abstract
"A lot of people think that Python is a really simple and straightforward language. Python hides a lot of peculiarities very well, but for the sake of this talk we will try to uncover them. I will be explaining how the whole process of tokenizing - parsing - ast creation - bytecode works and will use odd Python code to show the internals. Do you think `++4;` is valid Python? Or how about `0jif.1else-2`? There's no spaces in it. Go figure! "Edge cases" will help us understand the inner workings of Python. We will be looking into how modules, classes and instances are really just fancy dictionaries and how importing is really nothing else than storing a module into a dictionary (`sys.modules`). There's a lot of things we can learn from diving deep into the details of our beloved languages."