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 valhallasw
Recipients RonnyPfannschmidt, alexandre.vassalotti, georg.brandl, ggenellina, gvanrossum, jcea, jdharper, loewis, pitrou, valhallasw
Date 2012-02-18.23:37:07
SpamBayes Score 8.8652655e-08
Marked as misclassified No
Message-id <1329608228.22.0.131066835216.issue6784@psf.upfronthosting.co.za>
In-reply-to
Content
Any news on this?

Just as a note, pickletools.py also does not reflect the current behaviour; pickle types STRING, BINSTRING and SHORT_BINSTRING are all defined with stack_after=[pystring]:

[1, line 992]
    I(name='STRING',
      code='S',
      arg=stringnl,
      stack_before=[],
      stack_after=[pystring],
      proto=0,
      doc=(...)
     )

although the doc=... does describe it will be decoded, the object type of pystring is still defined as bytes:

[1, line 747]
pystring = StackObject(
               name='string',
               obtype=bytes,
               doc="A Python (8-bit) string object.")


[1] http://hg.python.org/cpython/file/98df29d51e12/Lib/pickletools.py
History
Date User Action Args
2012-02-18 23:37:08valhallaswsetrecipients: + valhallasw, gvanrossum, loewis, georg.brandl, jcea, ggenellina, pitrou, alexandre.vassalotti, RonnyPfannschmidt, jdharper
2012-02-18 23:37:08valhallaswsetmessageid: <1329608228.22.0.131066835216.issue6784@psf.upfronthosting.co.za>
2012-02-18 23:37:07valhallaswlinkissue6784 messages
2012-02-18 23:37:07valhallaswcreate