Skip to content

Fix state_pickler.dump in py2#61

Merged
prabhuramachandran merged 2 commits into
masterfrom
fix-dump-to-unicode-path-py2
Mar 17, 2016
Merged

Fix state_pickler.dump in py2#61
prabhuramachandran merged 2 commits into
masterfrom
fix-dump-to-unicode-path-py2

Conversation

@kitchoi
Copy link
Copy Markdown
Contributor

@kitchoi kitchoi commented Mar 4, 2016

In Python2 environment, state_pickler.dump(obj, u'file.path') would raise an Error, but it is not necessary to do further type checking as open already handles that for us.

@prabhuramachandran can you take a look please? This problem arises when trying Save/Load visualization in Mayavi2 in Python2.7 environment.

@kitchoi kitchoi changed the title Fix dump to unicode path py2 Fix state_pickler.dump in py2 Mar 4, 2016
@prabhuramachandran
Copy link
Copy Markdown
Member

@kitchoi -- thanks! Do all the mayavi tests pass with this change?

@kitchoi
Copy link
Copy Markdown
Contributor Author

kitchoi commented Mar 14, 2016

@prabhuramachandran Yes tests for mayavi pass.

@prabhuramachandran
Copy link
Copy Markdown
Member

Thanks, merging!

prabhuramachandran added a commit that referenced this pull request Mar 17, 2016
@prabhuramachandran prabhuramachandran merged commit c145e6b into master Mar 17, 2016
@prabhuramachandran prabhuramachandran deleted the fix-dump-to-unicode-path-py2 branch March 17, 2016 04:44
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants