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 wrote: > On Tue, Jun 5, 2012 at 6:07 PM, Guido van Rossum wrote: >>> See http://bugs.python.org/issue9527 . > With datetime.timestamp() method committed, I would like to get back > to this issue. What was committed? The bug only mentions a ch

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

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] TZ-aware local time

2012-06-08 Thread Alexander Belopolsky
On Tue, Jun 5, 2012 at 6:07 PM, Guido van Rossum 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 POSIX timestam

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] [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 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] VS 11 Express is Metro only.

2012-06-08 Thread Meador Inge
On Fri, May 25, 2012 at 7:06 AM, 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 :-) : http://blogs.msdn.com/b/visualstudio/archive/2012/06/08/visual-studio-express-2012-for-windows-de

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 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 Python-Dev@python.org http://mail.python

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

2012-06-08 Thread Eric Snow
On Fri, Jun 8, 2012 at 12:29 PM, Brett Cannon wrote: > On Fri, Jun 8, 2012 at 2:21 PM, fwierzbi...@gmail.com > wrote: >> I think a python-implementations list would be a fantastic idea - I >> sometimes miss multi-implementation discussions in python-dev, or at >> least come in very late. > > > If

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 wrote: > On Fri, Jun 8, 2012 at 10:59 AM, Brett Cannon 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 a

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 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 improvements,

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 wrote: > > On Fri, Jun 8, 2012 at 8:13 AM, Matti Picus > wrote: > >> > >> The windows port of pypy makes special demands on stdlib, specifically > that > >> files a

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" wrote: > On Fri, Jun 8, 2012 at 9:22 AM, Jeff Hardy wrote: > > On Fri, Jun 8, 2012 at 8:13 AM, Matti Picus wrote: > >> > >> The windows port of pypy makes special demands on stdlib, specifically that > >> files are explicitly closed. T

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 wrote: > On 06/07/2012 08:55 AM, R. David Murray wrote: > > On Thu, 07 Jun 2012 11:08:09 +0100, Sam Partington > > wrote: > > >> Wouldn't that be better written as a doctest and so avoid any other > >> typos? > > > > Possibly, except (1) I don't t

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 wrote: > On Fri, Jun 8, 2012 at 8:13 AM, Matti Picus 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 necessar

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 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, around 10 > modules or

[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 wit

[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 be

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 > wrote: >> Wouldn't that be better written as a doctest and so avoid any other >> typos? > > Possibly, except (1) I don't think we currently actuall

[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 a

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 disting