Thomas Wouters wrote:
On Fri, Mar 30, 2001 at 10:38:48AM -0500, Barry A. Warsaw wrote:
What I think we'd prefer is a separate switch to control optimization and the disabling of assert.
You mean something like
#!/usr/bin/python -fno-asserts -fno_debug_ -fdocstrings -fdeadbranch
Sounds like a good idea, but how do you tell the interpreter which asserts to leave enabled and which to remove from the code ? In general, I agree, though: a more fine grained control over optimizations would be a Good Thing (even more since we are talking about non-existing code analysis tools here ;-). -- Marc-Andre Lemburg ______________________________________________________________________ Company & Consulting: http://www.egenix.com/ Python Pages: http://www.lemburg.com/python/