Re: [Python-Dev] PyErr_NewExceptionWithDoc

2009-10-22 Thread Brett Cannon
On Thu, Oct 22, 2009 at 08:43, Georg Brandl wrote: > Hi, > > issue #7033 proposes a new C API that creates a new exception class with > a docstring. Since exception classes should be documented, and adding > the docstring after creating is not a one-liner, I would say it is a useful > addition.

[Python-Dev] PyErr_NewExceptionWithDoc

2009-10-22 Thread Georg Brandl
Hi, issue #7033 proposes a new C API that creates a new exception class with a docstring. Since exception classes should be documented, and adding the docstring after creating is not a one-liner, I would say it is a useful addition. What do you all think? Georg -- Thus spake the Lord: Thou sh