Re: [Python-Dev] [Python-checkins] cpython: Fix find_module_path(): make the string ready
6 Oct
2011
6 Oct
'11
4:10 p.m.
+ if (PyUnicode_READY(path_unicode)) + 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
4595
Age (days ago)
4595
Last active (days ago)
0 comments
1 participants
participants (1)
-
"Martin v. Löwis"