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 mherrmann.at
Recipients docs@python, eric.araujo, lebigot, mherrmann.at, r.david.murray, terry.reedy, vstinner
Date 2012-06-12.13:39:29
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1339508372.59.0.252523688505.issue12982@psf.upfronthosting.co.za>
In-reply-to
Content
Dear Eric OL,

I see - I had read your e-mail but because of the similar names I thought the message here was yours too, and thus only replied once. I apologize!

I can of course find a workaround such as renaming .pyo to .pyc. However, I would like to avoid having to modify the distribution of the third party library I am using in any way. The reason is that if a new version of this third party library is released and I have to upgrade to this new version, I will again have to manually do all the changes I had to do for the old version for the new version, and of course some changes won't work any more and there will be problems...

I'm finding it tedious to use the imp-module to read in the .pyo-files by hand and might just fall back to your suggestion. Thank you for it. Nevertheless, I am still hoping that this may be resolved in a future release.

Best,
Michael
History
Date User Action Args
2012-06-12 13:39:33mherrmann.atsetrecipients: + mherrmann.at, terry.reedy, vstinner, lebigot, eric.araujo, r.david.murray, docs@python
2012-06-12 13:39:32mherrmann.atsetmessageid: <1339508372.59.0.252523688505.issue12982@psf.upfronthosting.co.za>
2012-06-12 13:39:31mherrmann.atlinkissue12982 messages
2012-06-12 13:39:29mherrmann.atcreate