Re: [Python-Dev] Is it kosher to use a buffer after release?

2015-05-10 Thread Serhiy Storchaka
On 10.05.15 21:28, Larry Hastings wrote: In Python's argument parsing code (convertsimple in Python/getargs.c), a couple of format units* accept "read-only bytes-like objects", aka read-only buffer objects. They call a helper function called convertbuffer() which uses the buffer protocol to extr

[Python-Dev] Is it kosher to use a buffer after release?

2015-05-10 Thread Larry Hastings
In Python's argument parsing code (convertsimple in Python/getargs.c), a couple of format units* accept "read-only bytes-like objects", aka read-only buffer objects. They call a helper function called convertbuffer() which uses the buffer protocol to extract a pointer to the memory. Here'

Re: [Python-Dev] Mac popups running make test

2015-05-10 Thread Tal Einat
On Sun, May 10, 2015 at 9:07 PM, Carol Willing < willi...@willingconsulting.com> wrote: > > On 5/10/15 10:29 AM, Tal Einat wrote: > > On Sun, May 10, 2015 at 5:07 PM, Brett Cannon wrote: > >> >> >> On Sun, May 10, 2015 at 10:04 AM Skip Montanaro >> wrote: >> >>> I haven't run the test suite in

Re: [Python-Dev] Mac popups running make test

2015-05-10 Thread Tal Einat
On Sun, May 10, 2015 at 5:07 PM, Brett Cannon wrote: > > > On Sun, May 10, 2015 at 10:04 AM Skip Montanaro > wrote: > >> I haven't run the test suite in awhile. I am in the midst of running it >> on my Mac running Yosemite 10.10.3. Twice now, I've gotten this popup: >> >> >> ​ >> I assume this i

Re: [Python-Dev] Free lists

2015-05-10 Thread Larry Hastings
On 05/09/2015 11:22 PM, Serhiy Storchaka wrote: On 10.05.15 02:25, Ian Cordasco wrote: Can you share how you gathered them so someone could run them on a 64-bit build? This is quick and dirty patch. It generates 8 GB log file! I ran it under 64-bit Linux. Actually it generated a 10GB log fi

Re: [Python-Dev] Mac popups running make test

2015-05-10 Thread Brett Cannon
On Sun, May 10, 2015 at 10:04 AM Skip Montanaro wrote: > I haven't run the test suite in awhile. I am in the midst of running it on > my Mac running Yosemite 10.10.3. Twice now, I've gotten this popup: > > > ​ > I assume this is testing some server listening on localhost. Is this a new > thing, e

[Python-Dev] Mac popups running make test

2015-05-10 Thread Skip Montanaro
I haven't run the test suite in awhile. I am in the midst of running it on my Mac running Yosemite 10.10.3. Twice now, I've gotten this popup: ​ I assume this is testing some server listening on localhost. Is this a new thing, either with the Python test suite or with Mac OS X? (I'd normally be h

Re: [Python-Dev] Unicode literals in Python 2.7

2015-05-10 Thread Adam Bartoš
Glenn Linderman wrote: > Is this going to get released in 3.5, I hope? Python 3 is pretty > limited without some solution for Unicode on the console... probably the > biggest deficiency I have found in Python 3, since its introduction. It > has great Unicode support for files and processing, which

Re: [Python-Dev] Free lists

2015-05-10 Thread Serhiy Storchaka
Here is comparable statistic collected from tests ran with an executable buil with COUNT_ALLOCS. typecount % acc.% tuple 448855278 29.50% 29.50% frame 203515969 13.38% 42.88% str