Re: GeneratorExit should derive from BaseException, not Exception

2007-08-21 Thread Chad Austin
cept (FooError, BarError) tuple syntax. I've never hacked on CPython itself, so I don't know what kind of changes there would be involved, but if there is sufficient pushback against making GeneratorExit derive from BaseException, I think this is a fine alternative. Thoughts? Chad Chad

Re: GeneratorExit should derive from BaseException, not Exception

2007-08-21 Thread Chad Austin
Hi Terry, Thank you for your feedback. Responses inline: Terry Reedy wrote: > "Chad Austin" <[EMAIL PROTECTED]> wrote in message > news:[EMAIL PROTECTED] > || try: > | result = yield chatGateway.checkForInvite({'userId': userId}) > | logger.i

GeneratorExit should derive from BaseException, not Exception

2007-08-20 Thread Chad Austin
than (correctly) bubbling out of the task. GeneratorExit is similar in practice to SystemExit here, so it would make sense for it to be a BaseException as well. So, my proposal is that GeneratorExit derive from BaseException instead of Exception. p.s. Should I have sent this mail to pytho

Re: clearerr called on NULL FILE* ?

2006-05-10 Thread Chad Austin
get an exception that unambiguously shows what's going on rather than having random crashes reported in the field. Chad Chad Austin wrote: > Hi all, > > My first post to the list. :) I'm debugging one of our application > crashes, and I thought maybe one of you has seen something s

clearerr called on NULL FILE* ?

2006-05-02 Thread Chad Austin
tly appreciated... We're using Python 2.3.5 and Visual C++ 6. -- Chad Austin http://imvu.com/technology -- http://mail.python.org/mailman/listinfo/python-list