Author mark
Recipients mark
Date 2008-06-25.13:33:49
SpamBayes Score 0.00422691
Marked as misclassified No
Message-id <1214400831.94.0.306229718194.issue3198@psf.upfronthosting.co.za>
In-reply-to
Content
With 2.5.2 and 30b1 strings don't round trip like numbers do.

I guess it has been like this a long time so isn't a bug, but it does
seem inconsistent.

Both 2.5.2 and 30b1:

>>> x = 5
>>> x == int(repr(x))
True
>>> x = "Test Text"
>>> x == str(repr(x))
False

The reason is that an extra set of enclosing quotes are added.
History
Date User Action Args
2008-06-25 13:33:52marksetspambayes_score: 0.00422691 -> 0.00422691
recipients: + mark
2008-06-25 13:33:51marksetspambayes_score: 0.00422691 -> 0.00422691
messageid: <1214400831.94.0.306229718194.issue3198@psf.upfronthosting.co.za>
2008-06-25 13:33:50marklinkissue3198 messages
2008-06-25 13:33:49markcreate