-
Notifications
You must be signed in to change notification settings - Fork 533
unicode support for string type checks, fixes #929 #930
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
It might make sense to be proactive about the eventual movement to Python 3 and use |
@mwaskom but that would introduce another dependency... isn't it something automatic code converters can handle easily? |
+1 for @mwaskom suggestion. @belevstoff - |
Generally projects package |
The idea is that you use |
alright, so let's see if there are no objections and then I'll add those commits |
not sure why build failed, looks like an unrelated error |
retrying on travis. |
Ok, the new problem seems to be caused by a66018a |
fixed upstream - if you merge and push this should now go through. |
pulled updates from the main repo
Changes Unknown when pulling 9c2a9b0 on belevtsoff:master into * on nipy:master*. |
uugh, this server connection... |
unicode support for string type checks, fixes #929
str
comparisons cause exceptions with unrelated error messages when using e.g. unicode port names (see #929 for concrete example).I just ran
for f in
grep -rle "isinstance([^)]*str)" .; do sed -i.old "s/isinstance(\([^)]*\)str)/isinstance(\1basestring)/g" $f; done
in the nipype directory. Let's see what Travis says...