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 amaury.forgeotdarc
Recipients amaury.forgeotdarc, mark
Date 2008-06-25.13:51:06
SpamBayes Score 0.009363029
Marked as misclassified No
Message-id <1214401867.28.0.955877288978.issue3198@psf.upfronthosting.co.za>
In-reply-to
Content
repr() is supposed to round-trip with eval() for common types.

str() is the function that round-trips with the original type:

>>> x = 5
>>> x == int(str(x))
True
>>> x = "Test Text"
>>> x == str(str(x))    #  :-)
True
History
Date User Action Args
2008-06-25 13:51:07amaury.forgeotdarcsetspambayes_score: 0.00936303 -> 0.009363029
recipients: + amaury.forgeotdarc, mark
2008-06-25 13:51:07amaury.forgeotdarcsetspambayes_score: 0.00936303 -> 0.00936303
messageid: <1214401867.28.0.955877288978.issue3198@psf.upfronthosting.co.za>
2008-06-25 13:51:06amaury.forgeotdarclinkissue3198 messages
2008-06-25 13:51:06amaury.forgeotdarccreate