Re: [Python-Dev] Language Summit Follow-Up

2014-05-29 Thread Nick Coghlan
On 29 May 2014 08:26, Glyph Lefkowitz wrote: Thanks for the write-up! > Here are some ideas for Python 2.7+. > > Add ensurepip to the installers. Having pip reliably available increases > the availability of libraries that help with porting, and will generally > strengthen the broader ecosystem

[Python-Dev] [Python-checkins] Daily reference leaks (8391f99208f6): sum=181

2014-05-29 Thread Brett Cannon
I think the memory leak was caused by http://hg.python.org/cpython/rev/7d20e30bd540 because http://hg.python.org/cpython/file/0eedac3d0b0a/Python/import.c#l903 sets the 'res' variable and then overwrites it unconditionally w/o PY_DECREF beforehand. On Thu May 29 2014 at 4:02:17 AM, wrote: > resu

[Python-Dev] Language Summit Follow-Up

2014-05-29 Thread Brett Cannon
On Wed May 28 2014 at 10:14:39 PM, Glyph Lefkowitz wrote: > At the language summit, Alex and I volunteered to put together some > recommendations on what changes could be made to Python (the language) in > order to facilitate a smoother transition from Python 2 to Python 3. One > of the things t

Re: [Python-Dev] Language Summit Follow-Up

2014-05-29 Thread Terry Reedy
On 5/28/2014 6:26 PM, Glyph Lefkowitz wrote: I hope it's not controversial to say that most new Python code is still being written against Python 2.7 today; Given that Python 3 downloads now outnumber Python 2 downloads, I think 'most' might be an overstatement. But I think it a moot point.

Re: [Python-Dev] [Python-checkins] Daily reference leaks (8391f99208f6): sum=181

2014-05-29 Thread Eric Snow
Good catch. I'll look into it. -eric On Thu, May 29, 2014 at 8:49 AM, Brett Cannon wrote: > I think the memory leak was caused by > http://hg.python.org/cpython/rev/7d20e30bd540 because > http://hg.python.org/cpython/file/0eedac3d0b0a/Python/import.c#l903 sets the > 'res' variable and then over

Re: [Python-Dev] [Python-checkins] Daily reference leaks (8391f99208f6): sum=181

2014-05-29 Thread Eric Snow
Fixed! (test_site and test_functools are still leaking sporadically, but it looks unrelated to the import.c leak). -eric On Thu, May 29, 2014 at 10:34 AM, Eric Snow wrote: > Good catch. I'll look into it. > > -eric > > On Thu, May 29, 2014 at 8:49 AM, Brett Cannon wrote: >> I think the memory

Re: [Python-Dev] Status of PEP 3145 - Asynchronous I/O for subprocess.popen

2014-05-29 Thread Josiah Carlson
Pinging this thread 2 months later with a progress/status update. To those that have reviewed, commented, helped, or otherwise pushed this along, which includes (but is not limited to) Richard Oudkerk, eryksun, Giampaolo Rodola, thank you. The short version: As far as I can tell, the patch is re

Re: [Python-Dev] Status of PEP 3145 - Asynchronous I/O for subprocess.popen

2014-05-29 Thread Josiah Carlson
And as I was writing the "thank you" to folks, I hit send too early. Also thank you to Victor Stinner, Guido, Terry Reedy, and everyone else on this thread :) - Josiah On Thu, May 29, 2014 at 5:34 PM, Josiah Carlson wrote: > Pinging this thread 2 months later with a progress/status update. >