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 wrote: > 2013/3/26 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() som

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 wrote: > On Tue, Mar 26, 2013 at 4:49 PM, Sean Felipe Wolfe > 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 increas

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

2013-03-26 Thread Benjamin Peterson
2013/3/26 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 p

[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] noob contributions to unit tests

2013-03-26 Thread Maciej Fijalkowski
On Tue, Mar 26, 2013 at 4:49 PM, Sean Felipe Wolfe 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 > --> > http://docs.python.org/devguide/coverage.html > > An

[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: htt

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 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 http://mail.p

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

2013-03-26 Thread Hynek Schlawack
Am 26.03.2013 um 23:05 schrieb Sean Felipe Wolfe : >> 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 > Was there supposed to be audio

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

2013-03-26 Thread Sean Felipe Wolfe
On Tue, Mar 26, 2013 at 4:34 AM, Victor Stinner wrote: > 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 Was there supposed to be audio wi

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

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 : >> 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 differ

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

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 http://mail.python.or

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

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 wrote: > On Tue, 26 Mar 2013 17:53:39 +0100 (CET) > christian.heimes 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 >

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 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 network connections to other

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

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

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" a écrit : > On Mon, 25 Mar 2013 18:16:47 -0700, Raymond Hettinger > 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

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 a écrit : > 2013/3/26 Lennart Regebro : > > On Tue, Mar 26, 2013 at 11:54 AM, Matthias Klose > > 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. > >>

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 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 easiest to maintain and

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

2013-03-26 Thread Benjamin Peterson
2013/3/26 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). "latest" is different from "last" :) -- Regards, Benjamin ___

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 Victor Stinner
2013/3/26 Lennart Regebro : > On Tue, Mar 26, 2013 at 11:54 AM, Matthias Klose 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 c

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 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 latest once it's

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 ht