Message226675
In the 2.7 branch, the exception message of str.join is missing when the argument is non-sequence:
>>> ' '.join(None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError
I fix this with a patch. After this:
>>> ' '.join(None)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: can only join an iterable
I also add test to this case. Can the test also be added to 3.x branches? |
|
Date |
User |
Action |
Args |
2014-09-10 02:54:51 | fossilet | set | recipients:
+ fossilet |
2014-09-10 02:54:51 | fossilet | set | messageid: <1410317691.24.0.990266868285.issue22379@psf.upfronthosting.co.za> |
2014-09-10 02:54:51 | fossilet | link | issue22379 messages |
2014-09-10 02:54:50 | fossilet | create | |
|