Message268461
Recently, I was also hit by this when trying to autoset `sys.argv` to a list of Unicode string (see https://github.com/Drekin/win-unicode-console/issues/20#issuecomment-225638271 ).
It would be nice to have this fixed. It seems to me (I may be wrong) that every occurence of `isinstance(…, str)` is a potential bug in Python 2.7. Either it should be spelled out as `isinstance(…, bytes)` or there should be `isinstance(…, types.StringTypes)` or even `isinstance(…, unicode)`. |
|
Date |
User |
Action |
Args |
2016-06-13 19:15:17 | Drekin | set | recipients:
+ Drekin, georg.brandl, vstinner, doughellmann, saschpe, mriedem |
2016-06-13 19:15:17 | Drekin | set | messageid: <1465845317.69.0.261147879329.issue19570@psf.upfronthosting.co.za> |
2016-06-13 19:15:17 | Drekin | link | issue19570 messages |
2016-06-13 19:15:17 | Drekin | create | |
|