]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
backport gvanrossum's checkin of
authorMichael W. Hudson <mwh@python.net>
Tue, 5 Mar 2002 13:58:42 +0000 (13:58 +0000)
committerMichael W. Hudson <mwh@python.net>
Tue, 5 Mar 2002 13:58:42 +0000 (13:58 +0000)
commit234bb740f71381a8086818f56a5b92f9155d4fe1
tree6bf2dd46b45c46274c2a2b3144c5b2db4c6c946c
parentc10d570d050a1de9751c0422f42b96e0c240243d
backport gvanrossum's checkin of
    revision 1.24 of copy.py

SF patch 518765 (Derek Harland): Bug in copy.py when used through
rexec.

When using a restricted environment, imports of copy will fail with an
AttributeError when trying to access types.CodeType.

Bugfix candidate (all the way back to 1.5.3, but at least 2.1.3 and
2.2.1).
Lib/copy.py