Author terry.reedy
Recipients eamanu, ncoghlan, paul.moore, schperplata, steve.dower, terry.reedy, tim.golden, zach.ware
Date 2019-03-30.05:10:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1553922600.47.0.996216142981.issue36426@roundup.psfhosted.org>
In-reply-to
Content
This is not a bug; the behavior is covered in the docs.  I am surprised that this works in 2.7, as it has the same warning as 3.7:
"
locals()
    Update and return a dictionary representing the current local symbol table. Free variables are returned by locals() when it is called in function blocks, but not in class blocks.
Note The contents of this dictionary should not be modified; changes may not affect the values of local and free variables used by the interpreter."
History
Date User Action Args
2019-03-30 05:10:00terry.reedysetrecipients: + terry.reedy, paul.moore, ncoghlan, tim.golden, zach.ware, steve.dower, eamanu, schperplata
2019-03-30 05:10:00terry.reedysetmessageid: <1553922600.47.0.996216142981.issue36426@roundup.psfhosted.org>
2019-03-30 05:10:00terry.reedylinkissue36426 messages
2019-03-30 05:10:00terry.reedycreate