Default Parameters Language Design Least Astonishment Python "least Astonishment" And The Mutable Default Argument August 06, 2024 Post a Comment 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
Class Language Design Python Python 3.x Static Methods Class Instance As Static Attribute April 17, 2024 Post a Comment 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
Coding Style Iterable Unpacking Lambda Language Design Python Python: Is There Syntax-level Support For Unpacking, From Tuples, The Arguments To An *anonymous* Function? March 11, 2024 Post a Comment Suppose we have the following: args = (4,7,5) def foo(a,b,c): return a*b%c Python conveniently all… Read more Python: Is There Syntax-level Support For Unpacking, From Tuples, The Arguments To An *anonymous* Function?
Free Variable Language Design Late Binding Python Loose Late Binding V. Strict Late Binding May 28, 2023 Post a Comment While reading Python’s Execution model documentation, I realized that Python’s free variables do no… Read more Loose Late Binding V. Strict Late Binding
Free Variable Language Design Late Binding Python Loose Late Binding V. Strict Late Binding February 01, 2023 Post a Comment While reading Python’s Execution model documentation, I realized that Python’s free variables do no… Read more Loose Late Binding V. Strict Late Binding