Message71000
| Author |
alexandre.vassalotti |
| Recipients |
alexandre.vassalotti, benjamin.peterson, gvanrossum, hniksic, jcea, rhettinger |
| Date |
2008年08月11日.05:27:15 |
| SpamBayes Score |
3.3338807e-08 |
| Marked as misclassified |
No |
| Message-id |
<1218432439.55.0.675145350842.issue2389@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
I don't see why this cannot be fixed easily. All we need to do is fix
the __reduce__ method of array objects to emit a list--i.e. with
array.tolist()--instead of a memory string. Since the reduce protocol is
just a fancy way to store the constructor arguments, this won't break
unpickling of array objects pickled by previous Python versions.
And here is a patch against the trunk. |
|