Re: [Python-Dev] A new dict for Xmas?

2011-12-16 Thread Mark Shannon
Terry Reedy wrote: On 12/16/2011 5:03 AM, Mark Shannon wrote: Of course using __slots__ saves more memory, but people don't use them much. Do you think the stdlib should be using __slots__ more? For some things yes, but where it's critical slots are already used. Take the ordered dict, the

Re: [Python-Dev] A new dict for Xmas?

2011-12-16 Thread Mark Shannon
Jim Jewett wrote: Greg Ewing wrote: Mark Shannon wrote: I have a new dict implementation which allows sharing of keys between objects of the same class. We already have the __slots__ mechanism for memory savings. Have you done any comparisons with that? You can't make Python programmers

Re: [Python-Dev] A new dict for Xmas?

2011-12-16 Thread Terry Reedy
On 12/16/2011 5:03 AM, Mark Shannon wrote: Of course using __slots__ saves more memory, but people don't use them much. Do you think the stdlib should be using __slots__ more? -- Terry Jan Reedy ___ Python-Dev mailing list Python-Dev@python.org htt

[Python-Dev] A new dict for Xmas?

2011-12-16 Thread Jim Jewett
> Greg Ewing wrote: >> Mark Shannon wrote: >>> I have a new dict implementation which allows sharing of keys between >>> objects of the same class. >> We already have the __slots__ mechanism for memory savings. >> Have you done any comparisons with that? > You can't make Python programmers use s

[Python-Dev] Summary of Python tracker Issues

2011-12-16 Thread Python tracker
ACTIVITY SUMMARY (2011-12-09 - 2011-12-16) Python tracker at http://bugs.python.org/ To view or respond to any of the issues listed below, click on the issue. Do NOT respond to this message. Issues counts and deltas: open3175 ( +6) closed 0 (+40) total 25395 (+46) Open issues wit

Re: [Python-Dev] Fixing the XML batteries

2011-12-16 Thread Baptiste Carvello
Le 16/12/2011 07:53, Stefan Behnel a écrit : > Additionally, the documentation on the xml.sax page would benefit from > the following paragraph: > > """ > [[Note: The xml.sax package provides an implementation of the SAX > interface whose API is similar to that in other programming languages. > U

Re: [Python-Dev] Fixing the XML batteries

2011-12-16 Thread Stefan Behnel
Stefan Behnel, 14.12.2011 20:41: It's clear from the discussion that there are still users and that new code is still being written that uses MiniDOM. However, I would argue that this cannot possibly be performance critical code and that it only deals with somewhat small documents. I say that bec

Re: [Python-Dev] A new dict for Xmas?

2011-12-16 Thread Mark Shannon
Greg Ewing wrote: Mark Shannon wrote: I have a new dict implementation which allows sharing of keys between objects of the same class. We already have the __slots__ mechanism for memory savings. Have you done any comparisons with that? You can't make Python programmers use slots, neither c

Re: [Python-Dev] French sprint this week-end

2011-12-16 Thread Dirkjan Ochtman
On Fri, Dec 16, 2011 at 10:17, Eli Bendersky wrote: > Do we have buildbots that build Python with Clang instead of GCC? The reason > I'm asking is that Clang's diagnostics are usually better, and fixing all > its warnings could nicely complement fixing GCC's qualms. The box running my buildslave

Re: [Python-Dev] French sprint this week-end

2011-12-16 Thread Eli Bendersky
On Fri, Dec 16, 2011 at 11:00, Stefan Krah wrote: > Victor Stinner wrote: > > Do you know simple task to start contributing to Python? Something > > useful and not boring if possible :-) There is the "easy" tag on the bug > > tracker, but many issues have a long history, already have a patch, et

Re: [Python-Dev] French sprint this week-end

2011-12-16 Thread Stefan Krah
Victor Stinner wrote: > Do you know simple task to start contributing to Python? Something > useful and not boring if possible :-) There is the "easy" tag on the bug > tracker, but many issues have a long history, already have a patch, etc. > Do know other generic task like improving code co

Re: [Python-Dev] Fixing the XML batteries

2011-12-16 Thread Nick Coghlan
On Fri, Dec 16, 2011 at 4:53 PM, Stefan Behnel wrote: > If these changes are considered acceptable, I'll copy the above over to the > documentation bug I opened at > > http://bugs.python.org/issue11379 > > Can these doc changes go into both 2.7 and 3.3? Given that there is no > important differenc