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 pitrou
Recipients alexandre.vassalotti, belopolsky, jnoller, pitrou, rhettinger
Date 2010-10-22.22:02:47
SpamBayes Score 0.00020526948
Marked as misclassified No
Message-id <1287784969.67.0.0665364702615.issue9935@psf.upfronthosting.co.za>
In-reply-to
Content
The difference has to do with the result of __reduce__:

With the patch:

>>> open("LICENSE").__reduce_ex__(3)
(<function __newobj__ at 0x7fa392a0ff30>, (<class '_io.TextIOWrapper'>,), {'mode': 'r'}, None, None)

Without:

>>> open("LICENSE").__reduce_ex__(3)
(<function __newobj__ at 0x7f2cf2361a70>, (<class '_io.TextIOWrapper'>,), None, None, None)
History
Date User Action Args
2010-10-22 22:02:49pitrousetrecipients: + pitrou, rhettinger, belopolsky, alexandre.vassalotti, jnoller
2010-10-22 22:02:49pitrousetmessageid: <1287784969.67.0.0665364702615.issue9935@psf.upfronthosting.co.za>
2010-10-22 22:02:47pitroulinkissue9935 messages
2010-10-22 22:02:47pitroucreate