[Python-Dev] [Python-checkins] cpython: Fix find_module_path(): make the string ready (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Thu Oct 6 16:10:20 CEST 2011
- Previous message: [Python-Dev] Rename PyUnicode_KIND_SIZE ?
- Next message: [Python-Dev] Status of the built-in virtualenv functionality in 3.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
+ if (PyUnicodeREADY(pathunicode)) + return -1; +
I think we need to discuss/reconsider the return value of PyUnicode_READY. It's defined to give -1 on error currently. If that sounds good, then the check for error should be a check that it is -1.
Regards, Martin
- Previous message: [Python-Dev] Rename PyUnicode_KIND_SIZE ?
- Next message: [Python-Dev] Status of the built-in virtualenv functionality in 3.3
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]