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

Autoreload extension doesn't work with Python 3.2 #846

Closed
takluyver opened this Issue Oct 8, 2011 · 1 comment

Comments

Projects
None yet
1 participant
@takluyver
Member

takluyver commented Oct 8, 2011

The autoreload extension assumes that mod.py and mod.pyc files will exist in the same directory, but this is not true as of Python 3.2. See the details here:

http://docs.python.org/py3k/whatsnew/3.2.html#pep-3147-pyc-repository-directories

It should be simple to use the new APIs, but it will need a little care to ensure it works under the old system as well.

takluyver added a commit to takluyver/ipython that referenced this issue Jan 18, 2012

Make autoreload extension work on Python 3.
Some changes for Python 3 in general, and some changes for the .pyc repository
directories introduced in Python 3.2 (PEP 3147)

Closes gh-846

minrk added a commit to minrk/ipython that referenced this issue Jan 28, 2012

Make autoreload extension work on Python 3.
Some changes for Python 3 in general, and some changes for the .pyc repository
directories introduced in Python 3.2 (PEP 3147)

Closes gh-846
@takluyver

This comment has been minimized.

Show comment
Hide comment
@takluyver

takluyver Feb 17, 2012

Member

The PR for this was merged, so I'm closing the issue.

Member

takluyver commented Feb 17, 2012

The PR for this was merged, so I'm closing the issue.

@takluyver takluyver closed this Feb 17, 2012

yarikoptic pushed a commit to yarikoptic/ipython that referenced this issue May 2, 2014

Make autoreload extension work on Python 3.
Some changes for Python 3 in general, and some changes for the .pyc repository
directories introduced in Python 3.2 (PEP 3147)

Closes gh-846

mattvonrocketstein pushed a commit to mattvonrocketstein/ipython that referenced this issue Nov 3, 2014

Make autoreload extension work on Python 3.
Some changes for Python 3 in general, and some changes for the .pyc repository
directories introduced in Python 3.2 (PEP 3147)

Closes gh-846
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment