Message162674
Hi Michael,
Thank you for your message.
You are mentioning the suggestion of "the other Eric" (Araujo). My suggestion was to rename your .pyo files as .pyc files; it is hackish (according to a previous post from Eric Araujo), but might save you some trouble, on the short term, as .pyc do not need -O.
Best wishes,
EOL
On Jun 12, 2012, at 21:25, Michael Herrmann wrote:
>
> Michael Herrmann <mherrmann.at@gmail.com> added the comment:
>
> Hi Eric,
>
> thank you for your quick reply. I'm not the first one who encounters this problem and in my opinion it is simply counter-intuitive that you cannot read a mixture of .pyo and .pyc files. That is why I think that my proposed change is valuable. In the meantime, I will follow your suggestion and try to use the imp-module to load the .pyo-files myself. Thank you!
>
> Best regards,
> Michael
>
> ----------
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <http://bugs.python.org/issue12982>
> _______________________________________ |
|
Date |
User |
Action |
Args |
2012-06-12 13:28:37 | lebigot | set | recipients:
+ lebigot, terry.reedy, vstinner, eric.araujo, r.david.murray, docs@python, mherrmann.at |
2012-06-12 13:28:36 | lebigot | link | issue12982 messages |
2012-06-12 13:28:36 | lebigot | create | |
|