Re: [Python-Dev] io.BytesIO slower than monkey-patching io.RawIOBase

2012-07-16 Thread John O'Connor
> > The second approach is consistently 10-20% faster than the first one > (depending on input) for trunk Python 3.3 > I think the difference is that StringIO spends extra time reallocating memory during the write loop as it grows, whereas bytes.join computes the allocation size first since it alr

Re: [Python-Dev] Playing with a new theme for the docs

2012-03-20 Thread John O'Connor
On Tue, Mar 20, 2012 at 6:38 PM, Georg Brandl wrote: > recently I've grown a bit tired of seeing our default Sphinx theme, > especially as so many other projects use it. I think regardless of the chosen style, giving the Python 3 docs a different look and feel also has a psychological benefit tha

Re: [Python-Dev] threading.Semaphore()'s counter can become negative for non-ints

2012-01-29 Thread John O'Connor
On Sat, Jan 28, 2012 at 3:07 PM, Benjamin Peterson wrote: > But why would you want to pass a float? It seems like API abuse to me. > Agreed. Anything else seems meaningless. ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailma

Re: [Python-Dev] cpython (3.2): don't mention implementation detail

2011-12-20 Thread John O'Connor
On Tue, Dec 20, 2011 at 6:24 AM, Dirkjan Ochtman wrote: > On Tue, Dec 20, 2011 at 11:27, Terry Reedy wrote: >> And I remember that Guido has >> asked that the manual not discuss big O() >> behavior of the methods of builtin classes. > > Do you know when/where he did that? It seems useful to know

Re: [Python-Dev] PEP 405 (proposed): Python 2.8 Release Schedule

2011-11-09 Thread John O'Connor
> +1 for Cardinal Biggles as release manager. +1 ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Re: [Python-Dev] Windows installers and %PATH%

2011-08-25 Thread John O'Connor
+ 0 for automatically adding to %PATH% + 1 for providing an option to the user during install - John On Thu, Aug 25, 2011 at 9:04 PM, Andrew Pennebaker < andrew.penneba...@gmail.com> wrote: > Please have the Windows installers add the Python installation directory to > the PATH environment var

Re: [Python-Dev] FileSystemError or FilesystemError?

2011-08-25 Thread John O'Connor
+1 FileSystemError - For already stated reasons. - John ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com