From: Werner F. B. <wer...@fr...> - 2007-06-05 19:21:26
|
Grzegorz Adam Hankiewicz wrote: > Alexander Belchenko wrote: >> Grzegorz Adam Hankiewicz пишет: >>> Hello. I'm following http://www.py2exe.org/index.cgi/OptimizedBytecode >>> to generate an optimised binary without docstrings. The contents of my >>> setup.py include: > > I confirm the behaviour with 2.5.1. > >> I saw this bug even without running py2exe, and I think the problem actually >> in Python 2.5 itself. `python -OO' indeed remove docstrings in Python 2.4, >> but not in 2.5. > > Well, I've created > http://sourceforge.net/tracker/index.php?func=detail&aid=1722485&group_id=5470&atid=105470, > lets see if it helps. There is a comment on it that it is fixed. Any news/idea when a new Python version comes out with this fix? Werner |