[Python-checkins] python/dist/src/Lib pickle.py,1.128,1.129

Tim Peters tim@zope.com
Thu, 30 Jan 2003 23:22:51 -0500


> The old version allowed data to be an empty string,
> the new version does not. Is that a problem?

Since encode_long never produces an empty string, no.  I meant to ask Guido
about his intent, though, since (1) the 0 case was conspicuous by absence in
the doctests, and (2) allowing an empty string would allow a shorter
encoding of 0L.  It will get straightened out before we die <wink>.