Title Compiled method objects cannot be copied with "copy.deepcopy"
Priority bug Status resolved
Superseder Nosy List kayhayen
Assigned To kayhayen Keywords wrong_execution

Created on 2012-07-15.07:37:01 by kayhayen, last changed by kayhayen.

msg115 (view) Author: kayhayen Date: 2012-07-18.10:15:46
Release as hotfix
msg108 (view) Author: kayhayen Date: 2012-07-15.07:37:01
While executing the unmodified Python2.7.3 test suite, I noticed a test in 
"test_copy" that was added and fails.

It copies a instance objects, with bound methods. These objects, when copied, 
trigger an error in "copy_ref", indicating that the copying of compiled methods 
is not supported.

The copying of method objects appears to be supported. So Nuitka needs to cover 
this too. Apparently only a "__reduce__" method may be needed.
Date User Action Args
2012-07-18 10:15:46kayhayensetstatus: unread -> resolved
messages: + msg115
2012-07-15 07:37:01kayhayencreate