Message126522
Current behavior is unpythonic: documentation explicitly mentions isinstance as preferred way to check type (see http://docs.python.org/library/types.html ).
Also 2.7 is the last minor version with str as "main" string type. So I believe it should use isinstance(val, basestring) to help transition to Python 3. |
|
Date |
User |
Action |
Args |
2011-01-19 11:00:31 | ods | set | recipients:
+ ods, pje, eric.araujo, r.david.murray, riffm |
2011-01-19 11:00:31 | ods | set | messageid: <1295434831.18.0.43142599722.issue10935@psf.upfronthosting.co.za> |
2011-01-19 11:00:20 | ods | link | issue10935 messages |
2011-01-19 11:00:20 | ods | create | |
|