Skip to content Skip to sidebar Skip to footer
Showing posts with the label Language Design

Class Instance As Static Attribute

Python 3 doesn't allow you to reference a class inside its body (except in methods): class A: … Read more Class Instance As Static Attribute

"least Astonishment" And The Mutable Default Argument

Anyone tinkering with Python long enough has been bitten (or torn to pieces) by the following issue… Read more "least Astonishment" And The Mutable Default Argument

How Is The Python Grammar Used Internally?

I'm trying to get a deeper understanding of how Python works, and I've been looking at the … Read more How Is The Python Grammar Used Internally?