Message222718
| Author |
devplayer |
| Recipients |
devplayer |
| Date |
2014年07月11日.02:57:22 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1405047443.55.0.837087456572.issue21954@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
str(b'text') returns double quoted item with b prefix within the str() object as so: "b'text'" in python interpreter. It seems the "b" shouldn't be within the outter quotes or apart of the str() instance data.
Is this a bug or new syntax? I personally haven't see any documentation that this is the correct behavior. Nor did I find any previously register issue tickets.
>>>bchars_list = [b'o', b'n', b'e']
>>>bchars_list
[b'o', b'n', b'e']
>>>[str(x) for x in bchars_list]
["b'o'", "b'n'", "b'e'"] |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2014年07月11日 02:57:23 | devplayer | set | recipients:
+ devplayer |
| 2014年07月11日 02:57:23 | devplayer | set | messageid: <1405047443.55.0.837087456572.issue21954@psf.upfronthosting.co.za> |
| 2014年07月11日 02:57:23 | devplayer | link | issue21954 messages |
| 2014年07月11日 02:57:22 | devplayer | create |
|