Re: [Python-Dev] [Python-checkins] cpython (3.2): Nudge readers towards a more accurate mental model for loop else clauses

2012-06-08 Thread Stephen J. Turnbull
Note: reply-to set to python-ideas. Nick Coghlan writes: The inaccuracies in the analogy are why this is in the tutorial, not the language reference. All 3 else clauses are really their own thing. Nick, for the purpose of the tutorial, actually there are 4 else clauses: you need to

[Python-Dev] PyPy 1.9 - Yard Wolf

2012-06-08 Thread Maciej Fijalkowski
PyPy 1.9 - Yard Wolf We're pleased to announce the 1.9 release of PyPy. This release brings mostly bugfixes, performance improvements, other small improvements and overall progress on the `numpypy`_ effort. It also brings an improved situation on Windows

Re: [Python-Dev] [Python-checkins] cpython (3.2): #14957: clarify splitlines docs.

2012-06-08 Thread Tres Seaver
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 06/07/2012 08:55 AM, R. David Murray wrote: On Thu, 07 Jun 2012 11:08:09 +0100, Sam Partington sam.parting...@gmail.com wrote: Wouldn't that be better written as a doctest and so avoid any other typos? Possibly, except (1) I don't think we

[Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-08 Thread Matti Picus
The windows port of pypy makes special demands on stdlib, specifically that files are explicitly closed. There are some other minor issues, in order to merge all the changes necessary to get pypy windows up to speed, around 10 modules or at least their tests seem to need to be modified. I have

[Python-Dev] Summary of Python tracker Issues

2012-06-08 Thread Python tracker
ACTIVITY SUMMARY (2012-06-01 - 2012-06-08) 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: open3460 (+10) closed 23354 (+46) total 26814 (+56) Open issues

Re: [Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-08 Thread Jeff Hardy
On Fri, Jun 8, 2012 at 8:13 AM, Matti Picus matti.pi...@gmail.com wrote: The windows port of pypy makes special demands on stdlib, specifically that files are explicitly closed. There are some other minor issues, in order to merge all the changes necessary to get pypy windows up to speed,

Re: [Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-08 Thread fwierzbi...@gmail.com
On Fri, Jun 8, 2012 at 9:22 AM, Jeff Hardy jdha...@gmail.com wrote: On Fri, Jun 8, 2012 at 8:13 AM, Matti Picus matti.pi...@gmail.com wrote: The windows port of pypy makes special demands on stdlib, specifically that files are explicitly closed. There are some other minor issues, in order to

Re: [Python-Dev] [Python-checkins] cpython (3.2): #14957: clarify splitlines docs.

2012-06-08 Thread R. David Murray
On Fri, 08 Jun 2012 07:20:55 -0400, Tres Seaver tsea...@palladion.com wrote: On 06/07/2012 08:55 AM, R. David Murray wrote: On Thu, 07 Jun 2012 11:08:09 +0100, Sam Partington sam.parting...@gmail.com wrote: Wouldn't that be better written as a doctest and so avoid any other typos?

Re: [Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-08 Thread R. David Murray
On Fri, 08 Jun 2012 09:39:47 -0700, fwierzbi...@gmail.com fwierzbi...@gmail.com wrote: On Fri, Jun 8, 2012 at 9:22 AM, Jeff Hardy jdha...@gmail.com wrote: On Fri, Jun 8, 2012 at 8:13 AM, Matti Picus matti.pi...@gmail.com wrote: The windows port of pypy makes special demands on stdlib,

Re: [Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-08 Thread Brett Cannon
On Fri, Jun 8, 2012 at 12:39 PM, fwierzbi...@gmail.com fwierzbi...@gmail.com wrote: On Fri, Jun 8, 2012 at 9:22 AM, Jeff Hardy jdha...@gmail.com wrote: On Fri, Jun 8, 2012 at 8:13 AM, Matti Picus matti.pi...@gmail.com wrote: The windows port of pypy makes special demands on stdlib,

Re: [Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-08 Thread fwierzbi...@gmail.com
On Fri, Jun 8, 2012 at 10:59 AM, Brett Cannon br...@python.org wrote: R. David already replied to this, but just to reiterate: tests can always get updated, and code that fixes a bug (and leaving a file open can be considered a bug) can also go in. It's just stuff like code refactoring, speed

Re: [Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-08 Thread Brett Cannon
On Fri, Jun 8, 2012 at 2:21 PM, fwierzbi...@gmail.com fwierzbi...@gmail.com wrote: On Fri, Jun 8, 2012 at 10:59 AM, Brett Cannon br...@python.org wrote: R. David already replied to this, but just to reiterate: tests can always get updated, and code that fixes a bug (and leaving a file open

Re: [Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-08 Thread fwierzbi...@gmail.com
On Fri, Jun 8, 2012 at 11:57 AM, Eric Snow ericsnowcurren...@gmail.com wrote: This would have been handy for feedback on sys.implementation. FWIW I followed the discussion and am happy with the result :) -Frank ___ Python-Dev mailing list

Re: [Python-Dev] VS 11 Express is Metro only.

2012-06-08 Thread Meador Inge
On Fri, May 25, 2012 at 7:06 AM, mar...@v.loewis.de wrote: I hereby predict that Microsoft will revert this decision, and that VS Express 11 will be able to build CPython. And your prediction was right on :-) :

Re: [Python-Dev] [Python-checkins] cpython (3.2): #14957: clarify splitlines docs.

2012-06-08 Thread Eric Snow
On Fri, Jun 8, 2012 at 11:08 AM, R. David Murray rdmur...@bitdance.com wrote: The are four issues: (1) we build the python3 docs using python2, so 'make doctest' on python3 doesn't currently work For reference: http://bugs.python.org/issue10224. Are there any others? -eric

Re: [Python-Dev] backporting stdlib 2.7.x from pypy to cpython

2012-06-08 Thread Antoine Pitrou
Le 08/06/2012 20:29, Brett Cannon a écrit : P.S. Do we need a python-implementations mailing list or something for discussing overall VM-related stuff among all VMs instead of always bringing this up on python-dev? E.g. I wish I had a place where I could get all

Re: [Python-Dev] TZ-aware local time

2012-06-08 Thread Alexander Belopolsky
On Tue, Jun 5, 2012 at 6:07 PM, Guido van Rossum gu...@python.org wrote: See http://bugs.python.org/issue9527 . With datetime.timestamp() method committed, I would like to get back to this issue. In some sense, an inverse of datetime.timestamp() is missing from the datetime module. Given a

Re: [Python-Dev] Import semantics?

2012-06-08 Thread Ethan Furman
Dan Stromberg wrote: On Fri, Jun 8, 2012 at 3:16 PM, Ethan Furman wrote: Dan Stromberg wrote: Did the import semantics change in cpython 3.3a4? I used to be able to import treap.py even though I had a treap directory in my cwd. With 3.3a4, I have to rename the treap directory to see treap.py.

Re: [Python-Dev] Import semantics?

2012-06-08 Thread Eric V. Smith
On 6/8/2012 6:41 PM, Ethan Furman wrote: Dan Stromberg wrote: On Fri, Jun 8, 2012 at 3:16 PM, Ethan Furman wrote: Dan Stromberg wrote: Did the import semantics change in cpython 3.3a4? I used to be able to import treap.py even though I had a treap directory in my cwd. With 3.3a4, I have to

Re: [Python-Dev] TZ-aware local time

2012-06-08 Thread Guido van Rossum
On Fri, Jun 8, 2012 at 2:08 PM, Alexander Belopolsky alexander.belopol...@gmail.com wrote: On Tue, Jun 5, 2012 at 6:07 PM, Guido van Rossum gu...@python.org wrote: See http://bugs.python.org/issue9527 . With datetime.timestamp() method committed, I would like to get back to this issue. What