[issue10553] Add optimize argument to builtin compile() and byte-compilation modules

2011-03-25 Thread Éric Araujo
Changes by Éric Araujo : -- resolution: accepted -> fixed stage: -> committed/rejected status: open -> closed ___ Python tracker ___

[issue10553] Add optimize argument to builtin compile() and byte-compilation modules

2011-03-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 81c001680b36 by Éric Araujo in branch '3.2': #10553: Explain why compileall has no command-line argument to control optimization http://hg.python.org/cpython/rev/81c001680b36 New changeset 125fbebbb5cd by Éric Araujo in branch 'default': Merge #10

[issue10553] Add optimize argument to builtin compile() and byte-compilation modules

2010-12-04 Thread Éric Araujo
Éric Araujo added the comment: Temporarily reopening. -- assignee: -> eric.araujo status: closed -> open ___ Python tracker ___ ___

[issue10553] Add optimize argument to builtin compile() and byte-compilation modules

2010-12-04 Thread Georg Brandl
Georg Brandl added the comment: Yes, a doc update is probably a good idea. (But after the freeze :) -- ___ Python tracker ___ ___ Py

[issue10553] Add optimize argument to builtin compile() and byte-compilation modules

2010-12-04 Thread Éric Araujo
Éric Araujo added the comment: As discussed on IRC, compileall had not gained a new command-line argument because “python -O -m compileall” does the job. Can I make a doc update for that, or do you think it may be obvious enough? -- nosy: +eric.araujo ___

[issue10553] Add optimize argument to builtin compile() and byte-compilation modules

2010-12-04 Thread Georg Brandl
Georg Brandl added the comment: Added PyZipFile API, and fixed the "optimze". Committed in r87019. -- resolution: -> accepted status: open -> closed ___ Python tracker ___

[issue10553] Add optimize argument to builtin compile() and byte-compilation modules

2010-11-27 Thread Kristján Valur Jónsson
Kristján Valur Jónsson added the comment: This looks fairly complete. I spotted the word "optimze" in there :) As for the C api, I always cringe when I add an "Ex" function myself, because it feels like I'm spending my last bullet. What to do if I need yet another parameter later? ExEx? For

[issue10553] Add optimize argument to builtin compile() and byte-compilation modules

2010-11-27 Thread Georg Brandl
New submission from Georg Brandl : This patch adds an "optimize" parameter to compile(), as discussed in . I also needed to introduce two new C APIs. Better naming suggestions are welcome. -- components: Library