Eric O. LEBIGOT <eric.lebi...@normalesup.org> added the comment:

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...@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 <rep...@bugs.python.org>
> <http://bugs.python.org/issue12982>
> _______________________________________

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue12982>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to