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 alexandre.vassalotti
Recipients alexandre.vassalotti, pythonhacker
Date 2008-06-05.22:53:15
SpamBayes Score 0.12119616
Marked as misclassified No
Message-id <1212706396.54.0.954019678966.issue2582@psf.upfronthosting.co.za>
In-reply-to
Content
Weird. I wonder why it succeeds to pickle to range object at all. It
seems the __reduce_ex__ method emits bogus value.

  >>> r.__reduce_ex__(2)
  (<function __newobj__ at 0xb7bfdc94>, (<class 'range'>,), None, None,
None)

Anyway, that is easy to fix when you know the trick. So, here is the fix.
History
Date User Action Args
2008-06-05 22:53:16alexandre.vassalottisetspambayes_score: 0.121196 -> 0.12119616
recipients: + alexandre.vassalotti, pythonhacker
2008-06-05 22:53:16alexandre.vassalottisetspambayes_score: 0.121196 -> 0.121196
messageid: <1212706396.54.0.954019678966.issue2582@psf.upfronthosting.co.za>
2008-06-05 22:53:15alexandre.vassalottilinkissue2582 messages
2008-06-05 22:53:15alexandre.vassalotticreate