Re: [Python-Dev] EINVAL

2010-07-22 Thread exarkun
On 10:33 am, solip...@pitrou.net wrote: On Thu, 22 Jul 2010 17:50:00 +0900 "Stephen J. Turnbull" wrote: I think that's Antoine's PEP 3151. Interestingly, he doesn't mention EINVAL at all. http://www.python.org/dev/peps/pep-3151/ That's right. It is based on a survey of existing exception-c

[Python-Dev] EINVAL

2010-07-22 Thread Antoine Pitrou
On Thu, 22 Jul 2010 17:50:00 +0900 "Stephen J. Turnbull" wrote: > Greg Ewing writes: > > Glyph Lefkowitz wrote: > > > > > The selection of RuntimeError in this particular case seems > > > somewhat random and ad-hoc, > > Well, I guess we'd have to catch the person who wrote the code and > ask