]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
Fix
authorMichael W. Hudson <mwh@python.net>
Thu, 17 Feb 2005 10:37:21 +0000 (10:37 +0000)
committerMichael W. Hudson <mwh@python.net>
Thu, 17 Feb 2005 10:37:21 +0000 (10:37 +0000)
commitee319f66ab6fc041ff2f576562997e4c7bd33d3e
tree18bb142ce7703910f7ac3a25c69406aa1d7f2ad6
parent5bbe6ad2b5834a6f087d30fe9c54604eefc8d2c3
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