homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Jakob.Bowyer
Recipients Jakob.Bowyer, Ramchandra Apte, r.david.murray
Date 2012年03月18日.09:57:03
SpamBayes Score 2.889927e-07
Marked as misclassified No
Message-id <1332064624.61.0.510850037264.issue14350@psf.upfronthosting.co.za>
In-reply-to
Content
C:\Users\Jakob>python -c "import copy; copy.copy(iter([1,2,3]))"
Traceback (most recent call last):
 File "<string>", line 1, in <module>
 File "T:\languages\Python27\lib\copy.py", line 96, in copy
 return _reconstruct(x, rv, 0)
 File "T:\languages\Python27\lib\copy.py", line 329, in _reconstruct
 y = callable(*args)
 File "T:\languages\Python27\lib\copy_reg.py", line 93, in __newobj__
 return cls.__new__(cls, *args)
TypeError: object.__new__(listiterator) is not safe, use listiterator.__new__()
C:\Users\Jakob>python3 -c "import copy; copy.copy(iter([1,2,3]))"
Traceback (most recent call last):
 File "<string>", line 1, in <module>
 File "T:\languages\Python32\lib\copy.py", line 97, in copy
 return _reconstruct(x, rv, 0)
 File "T:\languages\Python32\lib\copy.py", line 285, in _reconstruct
 y = callable(*args)
 File "T:\languages\Python32\lib\copyreg.py", line 88, in __newobj__
 return cls.__new__(cls, *args)
TypeError: object.__new__(list_iterator) is not safe, use list_iterator.__new__()
Pure python traceback. Just for clarity.
History
Date User Action Args
2012年03月18日 09:57:04Jakob.Bowyersetrecipients: + Jakob.Bowyer, r.david.murray, Ramchandra Apte
2012年03月18日 09:57:04Jakob.Bowyersetmessageid: <1332064624.61.0.510850037264.issue14350@psf.upfronthosting.co.za>
2012年03月18日 09:57:04Jakob.Bowyerlinkissue14350 messages
2012年03月18日 09:57:03Jakob.Bowyercreate

AltStyle によって変換されたページ (->オリジナル) /