if(debug), optimized away?

Mark McEahern marklists at mceahern.com
Thu Jul 25 14:28:29 EDT 2002


# foo.py
if __debug__:
  print "foo"

print "bar"

$ python -O foo.py
bar

// m





More information about the Python-list mailing list