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 pitrou
Recipients Pam.McANulty, fdrake, pitrou
Date 2013-04-15.15:05:56
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Well, but eval works if you put parentheses as required by the grammar:

>>> s = "(b'xy'\nb'za')"
>>> eval(s)

Yes, _str_parts and _bytes_parts should probably remain separate. It's the higher-level routine that would deserve sharing.
Also, perhaps the other wrapping routines (for dict, list...) could get the same treatment.
Date User Action Args
2013-04-15 15:05:57pitrousetrecipients: + pitrou, fdrake, Pam.McANulty
2013-04-15 15:05:57pitrousetmessageid: <>
2013-04-15 15:05:57pitroulinkissue17530 messages
2013-04-15 15:05:56pitroucreate