Message90197
| Author |
alexandre.vassalotti |
| Recipients |
alexandre.vassalotti, benjamin.peterson, collinwinter, gvanrossum, hniksic, jcea, loewis, rhettinger |
| Date |
2009年07月06日.23:30:36 |
| SpamBayes Score |
1.2934098e-13 |
| Marked as misclassified |
No |
| Message-id |
<1246923041.9.0.505872255541.issue2389@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I know believe that arrays should be pickled as a list of values on
Python 2.x. Doing otherwise makes it impossible to unpickle arrays
coming from Python 2.x using Python 3.x, since pickle on Python 3
decodes all the strings from 2.x to Unicode.
However, we still can use the compact memory representation on Python 3.x.
So, I propose that we change the array module on Python 2.x to emit a
list instead of memory string and implement the portable array pickling
mechanism only on Python 3.x. |
|