Message262657
path_converter in Modules/posixmodule.c sequentially tries to convert an argument to str, bytes, and int. If previous conversion is failed, it clears the error and tries with type. This can hide some errors (such as MemoryError) and even cause using unexpected conversion.
Proposed patch cleans up path_converter. In addition it avoids copying the content of instances of string subclass. |
|
Date |
User |
Action |
Args |
2016-03-30 09:31:14 | serhiy.storchaka | set | recipients:
+ serhiy.storchaka, larry |
2016-03-30 09:31:14 | serhiy.storchaka | set | messageid: <1459330274.5.0.616265410958.issue26671@psf.upfronthosting.co.za> |
2016-03-30 09:31:14 | serhiy.storchaka | link | issue26671 messages |
2016-03-30 09:31:14 | serhiy.storchaka | create | |
|