Message291781
But I found a real bug to use a tuple with a comma.
Python3 recognized "abc", expression as tuple of one element.
But type() and len() recognize "abc", expression as "abc" string.
So now, I found a real bug.
I'll show you below sentences.
>>> "abc",
('abc',)
>>> obj = "abc",
>>> obj
('abc',)
>>> type(obj)
<class 'tuple'>
>>> len(("abc",))
1
>>> len(obj)
1
>>> type("abc",)
<class 'str'>
>>> len("abc",)
3 |
|
Date |
User |
Action |
Args |
2017-04-17 04:43:18 | umedoblock | set | recipients:
+ umedoblock, ezio.melotti, mrabarnett |
2017-04-17 04:43:18 | umedoblock | set | messageid: <1492404198.27.0.60955199982.issue30086@psf.upfronthosting.co.za> |
2017-04-17 04:43:18 | umedoblock | link | issue30086 messages |
2017-04-17 04:43:18 | umedoblock | create | |
|