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, irmen, pitrou
Date 2011-11-30.02:14:16
SpamBayes Score 1.1038745e-05
Marked as misclassified No
Message-id <1322619257.11.0.030719197178.issue13503@psf.upfronthosting.co.za>
In-reply-to
Content
The irony is that with protocol < 3, bytes should piggy-back on bytearray and not the reverse (since the bytearray constructor has the same semantics under 2.x and 3.x).

It also means that the latin1 encoding solution should probably be kept for protocol < 3. Using __reduce_ex__ should allow for such combination, AFAIK. I think a separate issue should be opened for bytes.
History
Date User Action Args
2011-11-30 02:14:17pitrousetrecipients: + pitrou, irmen, alexandre.vassalotti
2011-11-30 02:14:17pitrousetmessageid: <1322619257.11.0.030719197178.issue13503@psf.upfronthosting.co.za>
2011-11-30 02:14:16pitroulinkissue13503 messages
2011-11-30 02:14:16pitroucreate