Re: [Python-Dev] Assign(expr* targets, expr value) - why targetS?

2013-11-11 Thread Greg Ewing
anatoly techtonik wrote: where is code that validates that the structure is correct? Is it done on the first level - text file parsing, before ASDL is built? If so, then what is the role of this ADSL exactly that the first step is unable to solve? I think it's done by the code that traverses th

[Python-Dev] [RELEASED] Python 3.3.3 release candidate 2

2013-11-11 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On behalf of the Python development team, I'm quite happy to announce the Python 3.3.3 release candidate 2. Python 3.3.3 includes several security fixes and over 150 bug fixes compared to the Python 3.3.2 release. This release fully supports OS X 10.

Re: [Python-Dev] Assign(expr* targets, expr value) - why targetS?

2013-11-11 Thread anatoly techtonik
On Sun, Nov 10, 2013 at 8:34 AM, Benjamin Peterson wrote: > 2013/11/10 anatoly techtonik : >> http://hg.python.org/cpython/file/1ee45eb6aab9/Parser/Python.asdl >> >> In Assign(expr* targets, expr value), why the first argument is a list? > > x = y = 42 Thanks. Speaking of this ASDL. `expr* targe

Re: [Python-Dev] Is pygettext.py deprecated?

2013-11-11 Thread martin
Quoting "A.M. Kuchling" : GNU xgettext didn't understand any languages other than C at one time, so pygettext.py was written to handle Python code but not C code. That's not the only reason. Another two reasons are that a) it works on Windows (for xgettext, you'll have to install Cygwin, w

Re: [Python-Dev] Is pygettext.py deprecated?

2013-11-11 Thread Philip Jenvey
On Nov 11, 2013, at 1:30 PM, A.M. Kuchling wrote: > I was looking at http://bugs.python.org/issue1098749, which adds > extraction of multiple-line strings to pygettext.py, but on the ticket > Mark Lawrence suggested that "pygettext should be deprecated". Is it > deprecated? (It's not listed in

Re: [Python-Dev] Is pygettext.py deprecated?

2013-11-11 Thread Barry Warsaw
On Nov 11, 2013, at 04:30 PM, A.M. Kuchling wrote: >Do we want to deprecate pygettext.py? If so, we should rewrite >http://docs.python.org/3/library/gettext.html, which encourages people >to use pygettext, and add it to PEP4. I think we should deprecate it. If we find things that xgettext can't

Re: [Python-Dev] PEP 454 (tracemalloc) close to pronouncement

2013-11-11 Thread Victor Stinner
2013/11/11 Charles-François Natali : > After several exchanges with Victor, PEP 454 has reached a status > which I consider ready for pronuncement [1]: so if you have any last > minute comment, now is the time! Because the PEP has a long history, 49 mercurial revisions between september and novemb

[Python-Dev] Is pygettext.py deprecated?

2013-11-11 Thread A.M. Kuchling
I was looking at http://bugs.python.org/issue1098749, which adds extraction of multiple-line strings to pygettext.py, but on the ticket Mark Lawrence suggested that "pygettext should be deprecated". Is it deprecated? (It's not listed in PEP 4, but it isn't a module.) Debian wrote a man page for

Re: [Python-Dev] PEP 454 (tracemalloc) close to pronouncement

2013-11-11 Thread Victor Stinner
I'm happy with the latest PEP because it is minimal but core features are still present: - get the traceback where an object was allocated, - get traces of memory blocks, - compute statistics on memory usage per line, file or traceback, - compute differences between two snapshots. We now have an