Bulk Adding Methods Pythonically

Ethan Furman ethan at stoneleaf.us
Thu Jun 16 15:58:58 EDT 2016


On 06/16, Random832 wrote:
> On Wed, Jun 15, 2016, at 15:03, Ethan Furman wrote:

>> [1] https://docs.python.org/3/library/functions.html#locals
>>      Yes, returning the class namespace is a language gaurantee.
> 
> How do you get a guarantee from that text?

Oops, my bad -- the gaurantee is in the vars() description on the same
page... although that still isn't very clear about during-class-construction;
okay, I'll have to chime in on the issue Steven opened.

--
~Ethan~



More information about the Python-list mailing list