If you use Python -OO is it a permanent condition??

Jeff Sasmor jeff at sasmor.com
Tue Jun 18 13:44:56 EDT 2002


Done.

--
#--------------------------------
Jeff Sasmor
jeff at sasmor.com
"Aahz" <aahz at pythoncraft.com> wrote in message
news:aelvgu$4hr$1 at panix1.panix.com...
> In article <aelu0a$7lc$02$1 at news.t-online.com>,
> Georg Mischler  <schorsch at schorsch.com> wrote:
> >Jeff Sasmor wrote:
> >>
> >> 'Fascinating'
> >> I'm sure there's a logical reason... somehow. Anyway, I found
> >> that if I renamed all the .pyo files to .pyc everything works fine.
> >> I guess that's because there's little difference between them. It's
> >> too bad that there's no way to switch optimized mode on and
> >> off programmatically - would be useful for apps that use compile().
> >
> >It would be enough to simply look for the respective "other"
> >bytecode file type as well, if nothing else has been found
> >when trying to import a module. The -O setting only has any
> >real relevance when freshly compiling from *.py, after all.
> >Some small amount of added convenience from the side of the
> >interpreter would be highly appreciated in this point.
>
> File a bug on SourceForge.
> --
> Aahz (aahz at pythoncraft.com)           <*>
http://www.pythoncraft.com/
>
> Project Vote Smart: http://www.vote-smart.org/





More information about the Python-list mailing list