]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Backport: Fix
authorMichael W. Hudson <mwh@python.net>
Thu, 17 Feb 2005 10:43:12 +0000 (10:43 +0000)
committerMichael W. Hudson <mwh@python.net>
Thu, 17 Feb 2005 10:43:12 +0000 (10:43 +0000)
commit8ed7e2e2db9161379f001e010d5de5d775e397b9
tree44f7df467f14a09ff386a27960ee9921611789d3
parent8d751fa05e358e1b7bace33196feb4a45547dab3
Backport: Fix

1124295 ] Function's __name__ no longer accessible in restricted mode

which I introduced with a bit of mindless copy-paste when making
__name__ writable.  You can't assign to __name__ in restricted mode,
which I'm going to pretend was intentional :)
Lib/test/test_funcattrs.py
Objects/funcobject.c