Message149368
On Sun, Dec 11, 2011 at 12:17 PM, sbt <report@bugs.python.org> wrote:
>> I don't really know that much about pickle, but Antoine mentioned that 'bytearray'
>> works fine going from 3.2 to 2.7. Given that, can't we just compose 'bytes' with
>> 'bytearray'?
>
> Yes, although it would only work for 2.6 and 2.7.
Which is fine. 'bytes' and byte literals were not introduced until
2.6 [1,2]. So *any* solution we come
up with is for >= 2.6.
> They also produce more compact pickles, particularly codecs.latin_1_encode().
Now that is a better argument.
[1] http://www.python.org/dev/peps/pep-0358/
[2] http://www.python.org/dev/peps/pep-3112/ |
|
Date |
User |
Action |
Args |
2011-12-13 00:51:43 | meador.inge | set | recipients:
+ meador.inge, irmen, pitrou, alexandre.vassalotti, sbt |
2011-12-13 00:51:42 | meador.inge | link | issue13505 messages |
2011-12-13 00:51:42 | meador.inge | create | |
|