Re: [Python-Dev] IDLE in the stdlib

2013-03-26 Thread Terry Reedy
On 3/22/2013 2:51 PM, francis wrote: ~$ python2.7 -m idlelib /usr/bin/python2.7: No module named idlelib.__main__; 'idlelib' is a package and cannot be directly executed Same with python3... C:\Programspython33\python.exe -m idlelib brings up IDLE on Windows. 2.7 and 3.2 do not work as

Re: [Python-Dev] Simple IDLE issues to commit before Python 2.7.4 release in two weeks on 4/6/2013

2013-03-26 Thread Terry Reedy
On 3/25/2013 3:30 PM, Todd Rovito wrote: http://bugs.python.org/issue7136 Idle File Menu Option Improvement http://bugs.python.org/issue17390 display python version on idle title bar http://bugs.python.org/issue17511 Idle find function closes after each find operation

[Python-Dev] [RELEASED] Python 3.2.4 rc 1 and Python 3.3.1 rc 1

2013-03-26 Thread Georg Brandl
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On behalf of the Python development team, I am pleased to announce the first release candidates of Python 3.2.4 and 3.3.1. Python 3.2.4 will be the last regular maintenance release for the Python 3.2 series, while Python 3.3.1 is the first

Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Matthias Klose
Am 25.03.2013 01:30, schrieb Benjamin Peterson: 2.7.4 will be the latest maintenance release in the Python 2.7 series. I hope it's not (and in the IDLE thread you say so otherwise too). Matthias ___ Python-Dev mailing list Python-Dev@python.org

Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Lennart Regebro
On Tue, Mar 26, 2013 at 11:54 AM, Matthias Klose d...@ubuntu.com wrote: Am 25.03.2013 01:30, schrieb Benjamin Peterson: 2.7.4 will be the latest maintenance release in the Python 2.7 series. I hope it's not (and in the IDLE thread you say so otherwise too). It most certainly will be the

Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Victor Stinner
2013/3/26 Lennart Regebro rege...@gmail.com: On Tue, Mar 26, 2013 at 11:54 AM, Matthias Klose d...@ubuntu.com wrote: Am 25.03.2013 01:30, schrieb Benjamin Peterson: 2.7.4 will be the latest maintenance release in the Python 2.7 series. I hope it's not (and in the IDLE thread you say so

Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread a . cavallo
It's already hard to sell 2.7 in most companies. Regards, Antonio Anyway, you should trust Brett Canon: Python 3.3: Trust Me, It's Better Than Python 2.7. https://speakerdeck.com/pyconslides/python-3-dot-3-trust-me-its-better-than-python-2-dot-7-by-dr-brett-cannon Victor

Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Benjamin Peterson
2013/3/26 Matthias Klose d...@ubuntu.com: Am 25.03.2013 01:30, schrieb Benjamin Peterson: 2.7.4 will be the latest maintenance release in the Python 2.7 series. I hope it's not (and in the IDLE thread you say so otherwise too). latest is different from last :) -- Regards, Benjamin

Re: [Python-Dev] Can we triple quoted string as a comment?

2013-03-26 Thread R. David Murray
On Mon, 25 Mar 2013 18:16:47 -0700, Raymond Hettinger raymond.hettin...@gmail.com wrote: If you're editing with Emacs, it is really easy to reflow paragraphs and to insert or remove multiline comments each prefixed with #. But with other editors, it can be a PITA and a multiline string is the

Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Antoine Pitrou
Le Tue, 26 Mar 2013 12:34:34 +0100, Victor Stinner victor.stin...@gmail.com a écrit : 2013/3/26 Lennart Regebro rege...@gmail.com: On Tue, Mar 26, 2013 at 11:54 AM, Matthias Klose d...@ubuntu.com wrote: Am 25.03.2013 01:30, schrieb Benjamin Peterson: 2.7.4 will be the latest maintenance

Re: [Python-Dev] Can we triple quoted string as a comment?

2013-03-26 Thread Antoine Pitrou
Le Tue, 26 Mar 2013 09:28:51 -0400, R. David Murray rdmur...@bitdance.com a écrit : On Mon, 25 Mar 2013 18:16:47 -0700, Raymond Hettinger raymond.hettin...@gmail.com wrote: If you're editing with Emacs, it is really easy to reflow paragraphs and to insert or remove multiline comments each

Re: [Python-Dev] Can we triple quoted string as a comment?

2013-03-26 Thread Ethan Furman
On 03/25/2013 02:16 PM, Victor Stinner wrote: Hi, I just realized that the Python peephole optimizer removes useless instructions like numbers and strings between other instructions, without raising an error nor emiting an error. Example: $ python -Wd -c 'print Hello; World' Hello As part of

Re: [Python-Dev] Can we triple quoted string as a comment?

2013-03-26 Thread Guido van Rossum
And I still think it's neat. :-) On Tue, Mar 26, 2013 at 8:46 AM, Ethan Furman et...@stoneleaf.us wrote: On 03/25/2013 02:16 PM, Victor Stinner wrote: Hi, I just realized that the Python peephole optimizer removes useless instructions like numbers and strings between other instructions,

Re: [Python-Dev] cpython (2.7): Issue 17538: Document XML vulnerabilties

2013-03-26 Thread Antoine Pitrou
On Tue, 26 Mar 2013 17:53:39 +0100 (CET) christian.heimes python-check...@python.org wrote: + +The XML processing modules are not secure against maliciously constructed data. +An attacker can abuse vulnerabilities for e.g. denial of service attacks, to +access local files, to generate

Re: [Python-Dev] cpython (2.7): Issue 17538: Document XML vulnerabilties

2013-03-26 Thread Donald Stufft
On Mar 26, 2013, at 2:41 PM, Antoine Pitrou solip...@pitrou.net wrote: On Tue, 26 Mar 2013 17:53:39 +0100 (CET) christian.heimes python-check...@python.org wrote: + +The XML processing modules are not secure against maliciously constructed data. +An attacker can abuse vulnerabilities for

Re: [Python-Dev] cpython (2.7): Issue 17538: Document XML vulnerabilties

2013-03-26 Thread Christian Heimes
Am 26.03.2013 19:41, schrieb Antoine Pitrou: On Tue, 26 Mar 2013 17:53:39 +0100 (CET) christian.heimes python-check...@python.org wrote: + +The XML processing modules are not secure against maliciously constructed data. +An attacker can abuse vulnerabilities for e.g. denial of service

Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Antoine Pitrou
On Tue, 26 Mar 2013 12:54:11 +0100 a.cava...@cavallinux.eu wrote: It's already hard to sell 2.7 in most companies. Sure, it's often hard to sell free software! Regards Antoine. ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] Google Summer of Code - Organization Deadline Approaching - March 29

2013-03-26 Thread Brian Curtin
Just an FYI that there are under 3 days to apply to Google Summer of Code for mentoring organizations: http://www.google-melange.com/gsoc/homepage/google/gsoc2013. The student application deadline is later on in May. If you run a project that is interested in applying under the Python umbrella

Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Georg Brandl
Am 26.03.2013 13:13, schrieb Benjamin Peterson: 2013/3/26 Matthias Klose d...@ubuntu.com: Am 25.03.2013 01:30, schrieb Benjamin Peterson: 2.7.4 will be the latest maintenance release in the Python 2.7 series. I hope it's not (and in the IDLE thread you say so otherwise too). latest is

[Python-Dev] astoptimizer: static optimizer working on the AST

2013-03-26 Thread Victor Stinner
Hi, I made progress since last August on my astoptimizer project (read the Changelog). Previous email thread: http://mail.python.org/pipermail/python-dev/2012-August/121286.html The astoptimizer project is an optimizer rewriting Python AST. It executes as much code as possible during the

Re: [Python-Dev] [RELEASE] Python 2.7.4 release candidate 1

2013-03-26 Thread Sean Felipe Wolfe
On Tue, Mar 26, 2013 at 3:26 PM, Hynek Schlawack h...@ox.cx wrote: Speakerdeck is slides only. The video is here: http://pyvideo.org/video/1730/python-33-trust-me-its-better-than-27 Sweet thanks! ___ Python-Dev mailing list Python-Dev@python.org

[Python-Dev] noob contributions to unit tests

2013-03-26 Thread Sean Felipe Wolfe
Hey everybody how are you all :) I am an intermediate-level python coder looking to get help out. I've been reading over the dev guide about helping increase test coverage -- http://docs.python.org/devguide/coverage.html And also the third-party code coverage referenced in the devguide page:

Re: [Python-Dev] noob contributions to unit tests

2013-03-26 Thread Maciej Fijalkowski
On Tue, Mar 26, 2013 at 4:49 PM, Sean Felipe Wolfe ether@gmail.com wrote: Hey everybody how are you all :) I am an intermediate-level python coder looking to get help out. I've been reading over the dev guide about helping increase test coverage --

[Python-Dev] Can I introspect/reflect to get arguments exec()?

2013-03-26 Thread Rocky Bernstein
[asked on comp.lang.python but no takers. So I'm bumping it up a notch.] I have ported my Python debugger pydbgr to Python3. See [1] or [2]. Inside the debugger, when there is an exec() somewhere in the call stack, I'd like to be able to retrieve the string parameter. With this, the debugger can

Re: [Python-Dev] Can I introspect/reflect to get arguments exec()?

2013-03-26 Thread Benjamin Peterson
2013/3/26 Rocky Bernstein ro...@gnu.org: [asked on comp.lang.python but no takers. So I'm bumping it up a notch.] I have ported my Python debugger pydbgr to Python3. See [1] or [2]. Inside the debugger, when there is an exec() somewhere in the call stack, I'd like to be able to retrieve the

Re: [Python-Dev] noob contributions to unit tests

2013-03-26 Thread R. David Murray
On Tue, 26 Mar 2013 16:59:06 -0700, Maciej Fijalkowski fij...@gmail.com wrote: On Tue, Mar 26, 2013 at 4:49 PM, Sean Felipe Wolfe ether@gmail.com wrote: Hey everybody how are you all :) I am an intermediate-level python coder looking to get help out. I've been reading over the dev

Re: [Python-Dev] Can I introspect/reflect to get arguments exec()?

2013-03-26 Thread Rocky Bernstein
On Tue, Mar 26, 2013 at 10:18 PM, Benjamin Peterson benja...@python.orgwrote: 2013/3/26 Rocky Bernstein ro...@gnu.org: [asked on comp.lang.python but no takers. So I'm bumping it up a notch.] I have ported my Python debugger pydbgr to Python3. See [1] or [2]. Inside the debugger, when