Re: [Python-Dev] if __debug__: except Exception, e: pdb.set_trace()

2006-10-09 Thread Josiah Carlson
"Calvin Spealman" <[EMAIL PROTECTED]> wrote: > > I know I can not do this, but what are the chances on changing the > rules so that we can? Basically, since the if __debug__: lines are > processed before runtime, would it be possible to allow them to be > used to control the inclusion or omission

[Python-Dev] if __debug__: except Exception, e: pdb.set_trace()

2006-10-09 Thread Calvin Spealman
I know I can not do this, but what are the chances on changing the rules so that we can? Basically, since the if __debug__: lines are processed before runtime, would it be possible to allow them to be used to control the inclusion or omission or entire blocks (except, else, elif, etc.) with them be