[Python-3000] PEP 3134 status ? (Exception Chaining)

2008-06-07 Thread Antoine Pitrou
Hello, Along the discussion of issue 3021 (a patch for the exception nesting issues already discussed here), Adam Olsen suggested I bring on this mailing-list the subject of PEP 3134. Indeed, he remarked, the patch I proposed, by implementing proper exception stacking, should make it relatively

Re: [Python-3000] [Python-Dev] wrt the beta deadline and freelist management

2008-06-07 Thread Gregory P. Smith
On Wed, Jun 4, 2008 at 7:32 PM, Andrew MacIntyre < [EMAIL PROTECTED]> wrote: > There are 2 disparate approaches to clearing/compacting free lists for > basic types: > - APIs of the form Py_ClearFreeList() called from gc.collect() > [class, frame, method, tuple & unicode types]; > - APIs of the fo

[Python-3000] BytesWarning for str != bytes

2008-06-07 Thread Georg Brandl
Hi, python -b warns when you do "a" == b"a". However, it doesn't warn when you do "a" != b"a" which occurs not as frequently, but is usually also a sign of a bug. See the aifc.py module: def initfp(self, file): ... self._file = Chunk(file) if self._file.getname() !=

Re: [Python-3000] Minor documentation issue with pep-3119

2008-06-07 Thread Georg Brandl
Fixed in r64010. Thanks! Georg Carl Johnson schrieb: Currently it states: """To solve these and similar dilemmas, the next section will propose a metaclass for use with ABCs that will allow us to add an ABC as a "virtual base class" (not the same concept as in C++) to any class, includin

[Python-3000] Minor documentation issue with pep-3119

2008-06-07 Thread Carl Johnson
Currently it states: """To solve these and similar dilemmas, the next section will propose a metaclass for use with ABCs that will allow us to add an ABC as a "virtual base class" (not the same concept as in C++) to any class, including to another ABC. This allows the standard library to de