Re: [Python-Dev] Policy for making changes to the AST

2011-04-03 Thread Terry Reedy
On 4/2/2011 9:55 PM, Eugene Toder wrote: Documentation for ast module does not warn about possible changes, The current boxed warning at the top of the dis doc is fairly recent. The ast doc should gain something similar. It currently does say: "__version__ which is the decimal Subversion revi

Re: [Python-Dev] Policy for making changes to the AST

2011-04-03 Thread Nick Coghlan
On Mon, Apr 4, 2011 at 12:02 PM, Guido van Rossum wrote: >> Perhaps we should add a warning to the ast module docs similar to the >> one we have for the dis module, and use it to explicitly remind people >> to check ast.__version__ before proceeding with AST manipulation? > > Sure, but do we have

Re: [Python-Dev] Policy for making changes to the AST

2011-04-03 Thread Guido van Rossum
On Sun, Apr 3, 2011 at 6:43 PM, Nick Coghlan wrote: > On Mon, Apr 4, 2011 at 5:11 AM, Guido van Rossum wrote: >> In the mean time, until we hear differently, I'm also in favor of #1 >> (do nothing). I would (perhaps redundantly) say that such changes >> should only go into new major releases (i.e

Re: [Python-Dev] Policy for making changes to the AST

2011-04-03 Thread Nick Coghlan
On Mon, Apr 4, 2011 at 5:11 AM, Guido van Rossum wrote: > In the mean time, until we hear differently, I'm also in favor of #1 > (do nothing). I would (perhaps redundantly) say that such changes > should only go into new major releases (i.e. 3.3 right now), not > backported into bugfix releases (e

[Python-Dev] Policy for versions of system python

2011-04-03 Thread Eugene Toder
Hello, CPython source code currently contains a number of python scripts (e.g Python/makeopcodetargets.py, Objects/typeslots.py, Parser/asdl_c.py) that are used during the build of the python interpreter itself. For this reason they are run with system installed python. What is the policy regardin

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Merge fix for issue #11746

2011-04-03 Thread Martin v. Löwis
> Good point. If someone knows how to generate elliptic curve keys, a > patch for test_ssl.py is welcome. You can generate EC keys and certificates like this: openssl ecparam -out server.key -name secp112r2 -genkey openssl req -new -x509 -key server.key -out server.pem -subj /CN=www.test (see

Re: [Python-Dev] [Python-checkins] cpython: Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept

2011-04-03 Thread Nadeem Vawda
On Sun, Apr 3, 2011 at 8:02 PM, Antoine Pitrou wrote: > On Sun, 03 Apr 2011 18:55:33 +0200 > Éric Araujo wrote: >> I think we use Misc/ACKS for code+docs contribution like this one, >> Doc/ACKS.txt being used for doc-only changes.  This second file is not >> comprehensive nor always used though,

Re: [Python-Dev] Policy for making changes to the AST

2011-04-03 Thread Brett Cannon
On Sat, Apr 2, 2011 at 23:55, "Martin v. Löwis" wrote: > > 1. Do nothing. This will break code that currently uses AST, but doesn't > add > > any complexity to cpython. > > I'm in favor of this approach as well. Notice that there is > ast.__version__ precisely so that applications can support mul

Re: [Python-Dev] Policy for making changes to the AST

2011-04-03 Thread Guido van Rossum
On Sun, Apr 3, 2011 at 4:17 AM, Paul Moore wrote: > On 3 April 2011 07:55, "Martin v. Löwis" wrote: >>> 1. Do nothing. This will break code that currently uses AST, but doesn't add >>> any complexity to cpython. >> >> I'm in favor of this approach as well. Notice that there is >> ast.__version__

Re: [Python-Dev] Please revert autofolding of tracker edit form

2011-04-03 Thread skip
Dj> How about something like Dj> http://andurin.com/python-issue-tracker/issue5863.htm but with Dj> proper click to expand js not css hover expansion since the pure css Dj> solution gets a little jumpy. That's part of it. Note the files list as well: bz2module-v1.diff

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Merge fix for issue #11746

2011-04-03 Thread Antoine Pitrou
On Sun, 03 Apr 2011 13:29:28 -0400 Eric Smith wrote: > On 4/3/2011 12:20 PM, antoine.pitrou wrote: > > http://hg.python.org/cpython/rev/c11e05a60d36 > > changeset: 69115:c11e05a60d36 > > parent: 69113:ff105faf1bac > > parent: 69114:88ed3de28520 > > user:Antoine Pitrou > > date

Re: [Python-Dev] [Python-checkins] cpython: Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept

2011-04-03 Thread Antoine Pitrou
On Sun, 03 Apr 2011 18:55:33 +0200 Éric Araujo wrote: > Hi, > > > changeset: 69112:2cb07a46f4b5 > > user:Antoine Pitrou > > date:Sun Apr 03 17:05:46 2011 +0200 > > summary: > > Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept > > file-like objects using a n

Re: [Python-Dev] [Python-checkins] cpython (merge 3.2 -> default): Merge fix for issue #11746

2011-04-03 Thread Eric Smith
On 4/3/2011 12:20 PM, antoine.pitrou wrote: > http://hg.python.org/cpython/rev/c11e05a60d36 > changeset: 69115:c11e05a60d36 > parent: 69113:ff105faf1bac > parent: 69114:88ed3de28520 > user:Antoine Pitrou > date:Sun Apr 03 18:16:50 2011 +0200 > summary: > Merge fix for

Re: [Python-Dev] Please revert autofolding of tracker edit form

2011-04-03 Thread Dj Gilcrease
How about something like http://andurin.com/python-issue-tracker/issue5863.htm but with proper click to expand js not css hover expansion since the pure css solution gets a little jumpy. Dj Gilcrease   ( |     \  o    ()   |  o  |`|   |      |      /`\_/|      | |   ,__   ,_,   ,_,   __,    ,

Re: [Python-Dev] [Python-checkins] cpython: Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept

2011-04-03 Thread Éric Araujo
Hi, > changeset: 69112:2cb07a46f4b5 > user:Antoine Pitrou > date:Sun Apr 03 17:05:46 2011 +0200 > summary: > Issue #5863: Rewrite BZ2File in pure Python, and allow it to accept > file-like objects using a new `fileobj` constructor argument. Patch by > Nadeem Vawda. > > files

Re: [Python-Dev] Policy for making changes to the AST

2011-04-03 Thread Paul Moore
On 3 April 2011 07:55, "Martin v. Löwis" wrote: >> 1. Do nothing. This will break code that currently uses AST, but doesn't add >> any complexity to cpython. > > I'm in favor of this approach as well. Notice that there is > ast.__version__ precisely so that applications can support multiple AST >

Re: [Python-Dev] Python 3.3 release schedule posted

2011-04-03 Thread Victor Stinner
Le samedi 02 avril 2011 à 16:00 +0300, anatoly techtonik a écrit : > Do you have an estimate of Python 3.2.1 release? FYI I introduced (and then fixed) two regressions specific to Windows in Python 3.2: http://bugs.python.org/issue11272 (input) http://bugs.python.org/issue11395 (print) Issue #112

Re: [Python-Dev] Unicode module names (Was: Python 3.3 release schedule posted)

2011-04-03 Thread Victor Stinner
Le samedi 02 avril 2011 à 16:06 +0300, anatoly techtonik a écrit : > On Thu, Mar 24, 2011 at 2:41 AM, Victor Stinner > wrote: > > > > I am still working on the import machinery to fix last bugs related to > > Unicode. So it will be possible to do an useless "import café" in Python > > 3.3, on any