This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author ned.deily
Recipients navalkgupta, ned.deily, peter.otten, vstinner
Date 2014-02-27.20:44:49
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1393533889.65.0.58047857797.issue20794@psf.upfronthosting.co.za>
In-reply-to
Content
As Peter notes, .pyc and .pyo files are in general not compatible across Python versions.  PEP 3147 was implemented in Python 3.2 to help avoid the problem you are seeing by storing .pyc/.pyo files with version-specific filenames.  For Python 2, you need to be careful to recompile (see "compileall") or delete .pyc/.pyo files when changing interpreter versions. 

http://docs.python.org/3/whatsnew/3.2.html#pep-3147-pyc-repository-directories
http://docs.python.org/2/library/compileall.html
History
Date User Action Args
2014-02-27 20:44:49ned.deilysetrecipients: + ned.deily, peter.otten, vstinner, navalkgupta
2014-02-27 20:44:49ned.deilysetmessageid: <1393533889.65.0.58047857797.issue20794@psf.upfronthosting.co.za>
2014-02-27 20:44:49ned.deilylinkissue20794 messages
2014-02-27 20:44:49ned.deilycreate