Skip to content
This repository has been archived by the owner on Jun 18, 2020. It is now read-only.

some modernizing of imports, toward python3 compatible imports #384

Merged
merged 2 commits into from May 25, 2016

Conversation

fchapoton
Copy link
Contributor

@fchapoton fchapoton commented May 18, 2016

as another small step towards python3, convert some of the imports
to the python3 absolute or relative import syntax.

Also changed some ur""" ro r"""

try:
import cPickle as pickle
except ImportError:
import pickle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I haven't trawled through the sagenb source enough to be sure if it's worth bothering, but if it used the six module it would handle stuff like this as well.

@fchapoton fchapoton changed the title some modernizing of imports, toward absolute imports some modernizing of imports, toward python3 compatible imports May 20, 2016
@fchapoton
Copy link
Contributor Author

is it better now ? could it be merged ?

@fchapoton
Copy link
Contributor Author

Could my 3 pull requests be merged before making a new release, please ? Unless there is some objection ?

@dimpase dimpase merged commit f5b4fec into sagemath:master May 25, 2016
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants