Re: [Python-Dev] configure error: "rm: conftest.dSYM: is a directory"

2008-04-06 Thread Brett Cannon
On Sat, Apr 5, 2008 at 9:17 PM, <[EMAIL PROTECTED]> wrote: > I just noticed this error message during configure: > > checking whether gcc accepts -Olimit 1500... no > checking whether gcc supports ParseTuple __format__... no > checking whether pthreads are available without options...

Re: [Python-Dev] Reserving an arg space for Jython

2008-04-11 Thread Brett Cannon
On Fri, Apr 11, 2008 at 7:40 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > Works for me. We should have a patch to CPython that looks for -J and > rejects it with "-J is reserved for Jython". > Do we want it to be Jython-specific, or should it be available to any alternative VM? I don't know

Re: [Python-Dev] generated NEWS files

2008-04-11 Thread Brett Cannon
On Fri, Apr 11, 2008 at 2:28 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > On Fri, Apr 11, 2008 at 2:23 AM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > > While it's > > > easy to fix NEWS its not easy to fix changelog entries (only a few svn > > > super-users can do it, and it's a pa

Re: [Python-Dev] Reserving an arg space for Jython

2008-04-12 Thread Brett Cannon
On Sat, Apr 12, 2008 at 5:42 AM, Frank Wierzbicki <[EMAIL PROTECTED]> wrote: > On Fri, Apr 11, 2008 at 4:03 PM, Neal Norwitz <[EMAIL PROTECTED]> wrote: > > I was also going to suggest a platform independent option. I like > > -Xwhat-follows-is-impl-dependent. > This would work just fine for us

Re: [Python-Dev] Reserving an arg space for Jython

2008-04-12 Thread Brett Cannon
On Sat, Apr 12, 2008 at 1:08 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > Great, thanks! While I'd love to have *both* -X and -J, is that okay > > with the other devs? > > +0. If we ever run out of letters for command line options to have > to collect -J, we have deeper problems than ha

Re: [Python-Dev] GSoC student introduction and sandbox commit privileges request

2008-04-22 Thread Brett Cannon
On Tue, Apr 22, 2008 at 4:35 PM, Rodrigo Bernardo Pimentel <[EMAIL PROTECTED]> wrote: > Hi there, > > I've just been accepted into this year's Google Summer of Code, to work for > the Python Software Foundation on 2to3. My project is to give 2to3 fixers > the ability to rank how confident they a

Re: [Python-Dev] GSoC Student Introduction

2008-04-22 Thread Brett Cannon
On Tue, Apr 22, 2008 at 7:38 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > > On Tue, Apr 22, 2008 at 7:42 PM, Nick Edds <[EMAIL PROTECTED]> wrote: > > Hello, > > > > My name is Nick Edds. I am going to be working on the 2to3 tool with Collin > > Winter as my mentor. More specifically, I wi

Re: [Python-Dev] BSDDB3

2008-04-23 Thread Brett Cannon
On Tue, Apr 22, 2008 at 11:12 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > > I'm a bit nervous about syncing, because I have the feeling that > > python-dev is committing changes to python private branch of pybsddb. I > > would rather prefer patches send to me and integrate "canonical" pybs

[Python-Dev] Dealing with a desired change to warnings.showwarning()

2008-04-27 Thread Brett Cannon
As part of my rewrite of warnings into C, I added a new, optional argument to showwarning(): line, which defaults to None. As http://bugs.python.org/issue2705 points out, though, since the function has been documented as being allowed to be overridden, this potentially breaks existing showwarning(

Re: [Python-Dev] [Doc-SIG] Double specification of function signatures?

2008-04-27 Thread Brett Cannon
On Sun, Apr 27, 2008 at 3:29 PM, <[EMAIL PROTECTED]> wrote: > > Michael> It seems that any documentation or help tool worth its salt > Michael> should fetch the parameters from the definition and so > Michael> including them in the docstring should be redundant > Michael> duplicati

Re: [Python-Dev] [Doc-SIG] Double specification of function signatures?

2008-04-27 Thread Brett Cannon
On Sun, Apr 27, 2008 at 4:40 PM, Stephen J. Turnbull <[EMAIL PROTECTED]> wrote: > [EMAIL PROTECTED] writes: > > > Currently we have no way to extract the function signatures from C > > code on-the-fly or in a preprocessing step (might be a good GSoC > > project), > > +1 on GSoC, except for t

Re: [Python-Dev] Optimization of Python ASTs: How should we deal with constant values?

2008-04-30 Thread Brett Cannon
On Wed, Apr 30, 2008 at 3:15 AM, Thomas Lee <[EMAIL PROTECTED]> wrote: > Hi all, > > I've been working on optimization of the AST, including the porting of the > old bytecode-level optimizations to the AST level. A few questions have come > up in the process of doing this, all of which are probabl

Re: [Python-Dev] [Python-3000] Reminder: last alphas next Wednesday 07-May-2008

2008-05-01 Thread Brett Cannon
On Thu, May 1, 2008 at 1:26 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > This is a reminder that the LAST planned alpha releases of Python 2.6 and > 3.0 are scheduled for next Wednesday, 07-May-2008. Please be diligent over > the next week so

Re: [Python-Dev] tracker issues? server error

2008-05-02 Thread Brett Cannon
On Fri, May 2, 2008 at 12:17 AM, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > trying to update a bug I get: > > Fri May 2 07:17:17 2008: An error occurred. Please check the server log for > more infomation. > Issues like this should go to the meta-tracker. Fail that, mail tracker-discuss. But I

Re: [Python-Dev] PEP 8: Discourage named lambdas?

2008-05-02 Thread Brett Cannon
On Sat, May 3, 2008 at 1:03 AM, Terry Reedy <[EMAIL PROTECTED]> wrote: > Some people write > somename = lambda args: expression > instead of the more obvious (to most people) and, dare I say, standard > def somename(args): return expression > > The difference in the result (the only one I

Re: [Python-Dev] Duplicate tests

2008-05-03 Thread Brett Cannon
On Sat, May 3, 2008 at 10:25 AM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > test_builtin tests most of the builtin types some how or another. All > of these also have complete suites elsewhere in the tests. Shouldn't > the tests in test_builtin be moved to the type specific tests? > The tes

Re: [Python-Dev] [Python-3000] Invitation to try out open source code review tool

2008-05-03 Thread Brett Cannon
On Sat, May 3, 2008 at 1:20 PM, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > > > > > > To try it out, go here: > > > >http://codereview.appspot.com > > > > Please use the Help link in the top right to read more on how to use > > the app. Please sign in using your Google Account (either a Gmail

[Python-Dev] A Python-Dev bundle for TextMate

2008-05-06 Thread Brett Cannon
I just checked in Misc/TextMate/Python-Dev.tmbundle for those of you use TextMate. I have been using this bundle for a while and I figured others could use it. Usage tends to expect that you have opened a project from the top-level directory of a Python checkout. There is support to run the Makefi

Re: [Python-Dev] PEP 370 extras

2008-05-08 Thread Brett Cannon
On Fri, May 9, 2008 at 12:05 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > I'm working on some extra cool and useful additions to PEP 370. It's > going to make compilation and usage of custom libraries very easy. Sit > back and watch the slide show. :) > > The site module has two new options

Re: [Python-Dev] PEP 370 extras

2008-05-08 Thread Brett Cannon
On Fri, May 9, 2008 at 12:30 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Brett Cannon schrieb: > > > On Fri, May 9, 2008 at 12:05 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > >> I'm working on some extra cool and useful additions to PEP 370. It&

[Python-Dev] Copying cgi.parse_qs() to the urllib.parse module

2008-05-10 Thread Brett Cannon
I just realized that PEP 3108 was missing one proposal from the stdlib SIG (originally proposed by Facundo Batista) of copying the cgi.parse_qs() function over to the new urllib.parse module so that people no longer need to import the cgi module just for that one parsing function. Does anyone objec

[Python-Dev] Trickery with moving urllib

2008-05-10 Thread Brett Cannon
There is going to be an issue with the current proposal for keeping around urllib. Since the package is to be named the same thing as the module, to handle the new name that means urllib.__init__ will need to gain the Py3K warning for the new name. But that doesn't quite work as the package's modul

Re: [Python-Dev] Trickery with moving urllib

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 8:31 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: > Brett Cannon schrieb: >> >> There is going to be an issue with the current proposal for keeping >> around urllib. Since the package is to be named the same thing as the >> module, to hand

Re: [Python-Dev] Buildbots have trouble checking out the repository due to recent changes.

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 3:16 PM, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 5:44 PM, Paul Moore <[EMAIL PROTECTED]> wrote: >> 2008/5/11 Alexandre Vassalotti <[EMAIL PROTECTED]>: >>> When I rename a module I use "svn copy", since "svn remove" doesn't >>> pick up change

Re: [Python-Dev] Buildbots have trouble checking out the repository due to recent changes.

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 3:38 PM, Alexandre Vassalotti <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 6:31 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> The PEP specifies the lib-old directory to hold the old case name so >> that the svn rename won't lead to

Re: [Python-Dev] Adding start to enumerate()

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 3:20 PM, Georg Brandl <[EMAIL PROTECTED]> wrote: > I believe the following is a common use-case for enumerate() > (at least, I've used it quite some times): > > for lineno, line in enumerate(fileobject): >... > > For this, it would be nice to have a start parameter for e

Re: [Python-Dev] Adding start to enumerate()

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 4:42 PM, Steven D'Aprano <[EMAIL PROTECTED]> wrote: > On Mon, 12 May 2008 08:20:51 am Georg Brandl wrote: >> I believe the following is a common use-case for enumerate() >> (at least, I've used it quite some times): >> >> for lineno, line in enumerate(fileobject): >> ..

Re: [Python-Dev] Copying cgi.parse_qs() to the urllib.parse module

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 4:43 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 12:00 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: >> Fred Drake schrieb: >>> >>> On May 10, 2008, at 11:49 PM, Guido van Rossum wrote: Works for me. The other thing I always use from cgi

Re: [Python-Dev] Copying cgi.parse_qs() to the urllib.parse module

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 6:23 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 5:01 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On Sun, May 11, 2008 at 4:43 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: >>> On Sun, May 11, 20

Re: [Python-Dev] Adding start to enumerate()

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 6:23 PM, Scott Dial <[EMAIL PROTECTED]> wrote: > Brett Cannon wrote: >> >> Taking a new argument that has a default shouldn't be an issue. +1 >> from me. I assume it is just going to start the count at that number, >> not advance th

Re: [Python-Dev] Copying cgi.parse_qs() to the urllib.parse module

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 6:35 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 6:34 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On Sun, May 11, 2008 at 6:23 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: >>> On Sun, May 11, 2

[Python-Dev] How to help out with PEP 3108

2008-05-11 Thread Brett Cannon
I have tried to update PEP 3108 (http://www.python.org/dev/peps/pep-3108/) as best as I can to list what needs to be done for each module in order to get it removed if there is some extra step. The ones without comment most likely need no special work and thus I can take care of really quickly myse

[Python-Dev] How best to handle the docs for a renamed module?

2008-05-11 Thread Brett Cannon
For the sake of argument, let's consider the Queue module. It is now named queue. For 2.6 I plan on having both Queue and queue listed in the index, with Queue deprecated with instructions to use the new name. But what to do about all the references. Should we leave them pointing at Queue to lesse

Re: [Python-Dev] How best to handle the docs for a renamed module?

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 8:17 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On a sunny day, Brett Cannon <[EMAIL PROTECTED]> wrote: >> For the sake of argument, let's consider the Queue module. It is now >> named queue. For 2.6 I plan on having both Queue and qu

Re: [Python-Dev] Copying cgi.parse_qs() to the urllib.parse module

2008-05-11 Thread Brett Cannon
On Sun, May 11, 2008 at 7:02 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Sun, May 11, 2008 at 6:50 PM, Oleg Broytmann <[EMAIL PROTECTED]> wrote: >> On Sun, May 11, 2008 at 06:39:02PM -0700, Brett Cannon wrote: >>> cgi.escape() to the html package somewhere (e

Re: [Python-Dev] Committing bsddb 4.6.4, and where can I put testsuite temp files?

2008-05-13 Thread Brett Cannon
On Tue, May 13, 2008 at 9:09 PM, Jesus Cea <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I just committed pybsddb 4.6.4 to python svn. My next step (after a > successfull buildbot cycle, I hope!) is to commit the new testsuite. > First I need to review any cha

Re: [Python-Dev] Committing bsddb 4.6.4, and where can I put testsuite temp files?

2008-05-13 Thread Brett Cannon
On Tue, May 13, 2008 at 12:41 PM, Jesus Cea <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Brett Cannon wrote: > | It is up to the tests to clean up after themselves since they can be > | executed directly, so there is not magical lo

Re: [Python-Dev] BSDDB3

2008-05-13 Thread Brett Cannon
On Tue, May 13, 2008 at 4:54 PM, Jesus Cea <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Gregory P. Smith wrote: > | After that, merging his changes into trunk will be relatively easy and I > | think we should give jcea commit access and let him do it and henc

Re: [Python-Dev] platform module testing

2008-05-15 Thread Brett Cannon
On Thu, May 15, 2008 at 2:54 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > At the moment, the test for the platform module merely calls each > function. I realize that this is a hard module to test well, but are > there some assumptions we can make? For example, if sys.platform is > 'java', ca

Re: [Python-Dev] Distutils & configparser rename

2008-05-15 Thread Brett Cannon
On Thu, May 15, 2008 at 1:33 PM, A.M. Kuchling <[EMAIL PROTECTED]> wrote: > Python 2.6 renames the ConfigParser module to be configparser. > > Distutils imports ConfigParser in various places. I just made a > commit updating the import in one places, and then noticed that part > of commit r63248,

Re: [Python-Dev] rename of ConfigParser module?

2008-05-15 Thread Brett Cannon
On Thu, May 15, 2008 at 4:35 PM, Mark Hammond <[EMAIL PROTECTED]> wrote: >> > (Hmm, is changing Modules/Setup enough to sort the Windows build out >> > as >> > well? Or does that need a separate change to some of the Visual >> > Studio files?) >> >> The latter. Whenever you add, remove, or rename a

Re: [Python-Dev] Distutils & configparser rename

2008-05-15 Thread Brett Cannon
On Thu, May 15, 2008 at 9:08 PM, Gregory P. Smith <[EMAIL PROTECTED]> wrote: > On Thu, May 15, 2008 at 4:04 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On Thu, May 15, 2008 at 1:33 PM, A.M. Kuchling <[EMAIL PROTECTED]> wrote: >>> Python 2.6 renames the Co

[Python-Dev] Help with finishing PEP 3108

2008-05-15 Thread Brett Cannon
I need help to finish implementing PEP 3108. While over 80 modules are now deprecated in Python 2.6 (of which I did over 50 of), there are still over 20 tasks left to do in relation to the PEP. My free time is being sucked away since I have a conference paper deadline of June 1. And I am moving May

Re: [Python-Dev] How best to handle the docs for a renamed module?

2008-05-16 Thread Brett Cannon
On Fri, May 16, 2008 at 5:43 AM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > On 2008-05-12 04:34, Brett Cannon wrote: >> >> For the sake of argument, let's consider the Queue module. It is now >> named queue. For 2.6 I plan on having both Queue and queue li

Re: [Python-Dev] How best to handle the docs for a renamed module?

2008-05-16 Thread Brett Cannon
On Fri, May 16, 2008 at 5:49 PM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > Raymond Hettinger wrote: >> >> I say leave the new names in 3.0 and let the 2-to-3 tool do its job. >> Why confuse the 2.6 landscape with double naming clutter. > > To increase the common subset of code which can run on both

Re: [Python-Dev] Module renaming and pickle mechanisms

2008-05-18 Thread Brett Cannon
On Sun, May 18, 2008 at 6:14 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote: > M.-A. Lemburg wrote: >> >> Perhaps I have a misunderstanding of the reasoning behind >> doing the renaming in the 2.x branch, but it appears that >> the only reason is to get used to the new names. That's a >> rather low pri

Re: [Python-Dev] Module renaming and pickle mechanisms

2008-05-19 Thread Brett Cannon
On Mon, May 19, 2008 at 9:22 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Mon, May 19, 2008 at 8:39 AM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: >>> Nick writes: M.-A. Lemburg wrote: > I don't think that an administrative problem such as forward- > porting patches to

Re: [Python-Dev] Module renaming and pickle mechanisms

2008-05-19 Thread Brett Cannon
On Mon, May 19, 2008 at 5:08 AM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: > On 2008-05-18 22:24, Brett Cannon wrote: >> >> On Sun, May 18, 2008 at 6:14 AM, Nick Coghlan <[EMAIL PROTECTED]> wrote: >>> >>> M.-A. Lemburg wrote: >>>> >&

Re: [Python-Dev] Addition of "pyprocessing" module to standard lib.

2008-05-19 Thread Brett Cannon
On Mon, May 19, 2008 at 2:03 AM, Ulrich Berning <[EMAIL PROTECTED]> wrote: > Gregory P. Smith wrote: > >> On Fri, May 16, 2008 at 1:32 AM, Ulrich Berning >> <[EMAIL PROTECTED]> wrote: >> >>> >>> As long as the ctypes extension doesn't build on major Un*x platforms >>> (AIX, >>> HP-UX), I don't like

Re: [Python-Dev] Module renaming and pickle mechanisms

2008-05-19 Thread Brett Cannon
On Mon, May 19, 2008 at 3:26 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > On Mon, May 19, 2008 at 7:08 AM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: >> On 2008-05-18 22:24, Brett Cannon wrote: >>> >>> On Sun, May 18, 2008 at 6:14 AM, Nick Coghlan &l

Re: [Python-Dev] Unaccompanied Patch

2008-05-19 Thread Brett Cannon
On Mon, May 19, 2008 at 3:46 PM, Graham Horler <[EMAIL PROTECTED]> wrote: > Hi all, > > I created a patch on 2007-08-15: > http://bugs.python.org/issue1775025 > > I wonder, will it just stay in patches unnoticed until it has its very > own associated bug report to keep it company? Being a patch d

Re: [Python-Dev] Addition of "pyprocessing" module to standard lib.

2008-05-19 Thread Brett Cannon
On Mon, May 19, 2008 at 5:15 PM, Bill Janssen <[EMAIL PROTECTED]> wrote: >> If you can run a pure Python module >> that does not depend on any C extension, then that platform has the >> support needed to run Python. > > This is certainly a point of view. One that many end-users wouldn't > understa

Re: [Python-Dev] Module renaming and pickle mechanisms

2008-05-19 Thread Brett Cannon
On Mon, May 19, 2008 at 12:26 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Mon, May 19, 2008 at 5:08 AM, M.-A. Lemburg <[EMAIL PROTECTED]> wrote: >> On 2008-05-18 22:24, Brett Cannon wrote: >>> >>> On Sun, May 18, 2008 at 6:14 AM, Nick Coghlan <[EMAIL

Re: [Python-Dev] Any PEP about 2.6 -> 3000 code transition?

2008-05-24 Thread Brett Cannon
On Sat, May 24, 2008 at 9:25 PM, Jesus Cea <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > I can't find any PEP about detailed 2.6 -> 3000 migration guidelines, > specially in the module (C code) extension area. Yes, I know about the > 2to3 tool, but I'm interested

Re: [Python-Dev] [Python-3000] Stabilizing the C API of 2.6 and 3.0

2008-05-25 Thread Brett Cannon
On Sun, May 25, 2008 at 7:59 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Hello! > > The first set of betas of Python 2.6 and 3.0 is fast apace. I like to > grab the final chance and clean up the C API of 2.6 and 3.0. I know, I > know, I brought up the topic two times in the past. But this tim

Re: [Python-Dev] [Python-3000] Please svnmerge your changes

2008-05-25 Thread Brett Cannon
On Sun, May 25, 2008 at 8:28 AM, Christian Heimes <[EMAIL PROTECTED]> wrote: > Hello fellow developers! > > I've been busy with personal work in the past weeks. At present I'm > still moving into my new apartment. It has been a real challenge to > install an IKEA kitchen in a house built before WW2

Re: [Python-Dev] [Python-3000] Stabilizing the C API of 2.6 and 3.0

2008-05-28 Thread Brett Cannon
On Wed, May 28, 2008 at 10:08 AM, Bill Janssen <[EMAIL PROTECTED]> wrote: >> I'm beginning to wonder whether I'm the only one who cares about >> the Python 2.x branch not getting cluttered up with artifacts caused >> by a broken forward merge strategy. > > I share your concern. Seems to me that pe

[Python-Dev] Finishing up PEP 3108

2008-05-28 Thread Brett Cannon
The issues related to PEP 3108 now total 14. With the beta (supposedly) in a week, I am hoping the last minor details can be pulled together or decisions made on what can be postponed and what should definitely be considered a release blocker. Issue 2847 - the aifc module still imports the cl modu

Re: [Python-Dev] Finishing up PEP 3108

2008-05-29 Thread Brett Cannon
On Thu, May 29, 2008 at 12:12 AM, Georg Brandl <[EMAIL PROTECTED]> wrote: > Brett Cannon schrieb: >> >> The issues related to PEP 3108 now total 14. With the beta >> (supposedly) in a week, I am hoping the last minor details can be >> pulled together or decisions

Re: [Python-Dev] Finishing up PEP 3108

2008-05-29 Thread Brett Cannon
On Thu, May 29, 2008 at 1:49 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > On Wed, May 28, 2008 at 11:38 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> >> Issue 2854 - gestalt needs to be added back into 3.0. This is >> Benjamin's issue. =) > >

Re: [Python-Dev] Obtaining short file path

2008-05-29 Thread Brett Cannon
On Tue, May 27, 2008 at 6:00 AM, Hartwell Bryan <[EMAIL PROTECTED]> wrote: > Hi, > > Purpose: obtaining the system ("short") path from a full path > Best thing to do is to open an issue with the patch, otherwise this will just be ignored as we don't accept code to this mailing list. -Brett __

Re: [Python-Dev] [Python-3000] Postponing the first betas

2008-06-02 Thread Brett Cannon
On Mon, Jun 2, 2008 at 3:51 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > We are going to postpone the first beta releases by one week. We had some > problems with mail.python.org today, which prompted a query to Guido from me > about the postpon

Re: [Python-Dev] PEP 371: Additional Discussion

2008-06-03 Thread Brett Cannon
On Tue, Jun 3, 2008 at 3:08 PM, Jesse Noller <[EMAIL PROTECTED]> wrote: > Also - we could leave in stubs to match the threading api - Guido, David > Goodger and others really prefer not to continue the "broken" API of the > threading API > +1 from me. Gives a transition plan for people to move ove

Re: [Python-Dev] PEP 371: Additional Discussion

2008-06-03 Thread Brett Cannon
On Tue, Jun 3, 2008 at 3:53 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > On Tue, Jun 3, 2008 at 5:08 PM, Jesse Noller <[EMAIL PROTECTED]> wrote: >> Also - we could leave in stubs to match the threading api - Guido, David >> Goodger and others really prefer not to continue the "broken" API of

Re: [Python-Dev] Troubles with Roundup

2008-06-16 Thread Brett Cannon
On Mon, Jun 16, 2008 at 9:18 AM, Giovanni Bajo <[EMAIL PROTECTED]> wrote: > Hello, > > I'm trying to login into the tracker but it gives me "invalid login" even > after multiple password resets. I can't submit a proper bugreport because... > I can't login :) > > Who can I privately contact to avoid

Re: [Python-Dev] Blow your mind

2008-06-16 Thread Brett Cannon
On Mon, Jun 16, 2008 at 1:19 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > A colleague just forward this to me and it blew my fscking mind to > smithereens. It also brings back a lot of memories. Enjoy! > In case anyone cares to download the vi

Re: [Python-Dev] Proposal: Run GC less often

2008-06-21 Thread Brett Cannon
On Sat, Jun 21, 2008 at 1:23 PM, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Here is my proposal for making the GC run less often. > The objective is to avoid the quadratic-time behavior > if many objects are created and none of them is garbage. > [SNIP] > Applications with a small number of obj

Re: [Python-Dev] Py3k DeprecationWarning in stdlib

2008-06-25 Thread Brett Cannon
On Wed, Jun 25, 2008 at 6:08 AM, Andrew Bennetts <[EMAIL PROTECTED]> wrote: > Nick Coghlan wrote: > [...] >> >> I forgot this had already been added to the Python regression test >> machinery, so it will just be a matter of updating the relevant tests to >> use it: > > That's a nice surprise! I'm

Re: [Python-Dev] Undocumenting test.support in 3.x (was Py3k DeprecationWarning in stdlib)

2008-06-25 Thread Brett Cannon
On Wed, Jun 25, 2008 at 2:00 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > I'm a little worried about making stuff undocumented that every core > developer needs to use -- everyone writing tests needs to continue to > use test_support Right, but I would think all core developers know about tes

Re: [Python-Dev] Py3k DeprecationWarning in stdlib

2008-06-26 Thread Brett Cannon
On Thu, Jun 26, 2008 at 9:01 AM, Jean-Paul Calderone <[EMAIL PROTECTED]> wrote: > On Fri, 27 Jun 2008 01:52:18 +1000, Nick Coghlan <[EMAIL PROTECTED]> wrote: >> >> Jean-Paul Calderone wrote: >>> >>> I don't particularly care about the details, I just want some public >>> API for this. Making warn_

Re: [Python-Dev] [Python-3000] Second betas tomorrow

2008-07-01 Thread Brett Cannon
On Tue, Jul 1, 2008 at 3:55 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Jul 1, 2008, at 4:54 PM, Guido van Rossum wrote: > >> On Tue, Jul 1, 2008 at 1:51 PM, Raymond Hettinger <[EMAIL PROTECTED]> wrote: >> From: "Barry Warsaw" <[EMAIL PROTECT

Re: [Python-Dev] [Python-3000] Second betas tomorrow

2008-07-01 Thread Brett Cannon
On Tue, Jul 1, 2008 at 6:44 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Jul 1, 2008, at 7:27 PM, Brett Cannon wrote: > >> On Tue, Jul 1, 2008 at 3:55 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: >

[Python-Dev] Can someone check my lib2to3 change for fix_imports?

2008-07-01 Thread Brett Cannon
I just committed r64651 which is my attempt to add support to fix_imports so that modules that have been split up in 3.0 can be properly fixed. 2to3's test suite passes and all, but I am not sure if I botched it somehow since I did the change slightly blind. Can someone just do a quick check to mak

Re: [Python-Dev] Can someone check my lib2to3 change for fix_imports?

2008-07-01 Thread Brett Cannon
On Tue, Jul 1, 2008 at 7:38 PM, Benjamin Peterson <[EMAIL PROTECTED]> wrote: > On Tue, Jul 1, 2008 at 9:04 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> I just committed r64651 which is my attempt to add support to >> fix_imports so that modules that have been split u

Re: [Python-Dev] Can someone check my lib2to3 change for fix_imports?

2008-07-01 Thread Brett Cannon
On Tue, Jul 1, 2008 at 8:36 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Tue, Jul 1, 2008 at 7:38 PM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: >> On Tue, Jul 1, 2008 at 9:04 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >>> I just committed r6465

Re: [Python-Dev] Can someone check my lib2to3 change for fix_imports?

2008-07-02 Thread Brett Cannon
On Wed, Jul 2, 2008 at 9:30 AM, Collin Winter <[EMAIL PROTECTED]> wrote: > On Tue, Jul 1, 2008 at 7:38 PM, Benjamin Peterson > <[EMAIL PROTECTED]> wrote: >> On Tue, Jul 1, 2008 at 9:04 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >>> I just committed r6465

Re: [Python-Dev] Can someone check my lib2to3 change for fix_imports?

2008-07-02 Thread Brett Cannon
On Wed, Jul 2, 2008 at 9:36 AM, Collin Winter <[EMAIL PROTECTED]> wrote: > On Tue, Jul 1, 2008 at 11:32 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On Tue, Jul 1, 2008 at 8:36 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >>> On Tue, Jul 1, 2008 at 7:38 PM, Ben

Re: [Python-Dev] Play with fuzzing

2008-07-06 Thread Brett Cannon
On Sun, Jul 6, 2008 at 4:11 PM, Victor Stinner <[EMAIL PROTECTED]> wrote: > Hi, > > I wrote a fuzzing "framework" called Fusil and this week I wrote a fuzzer for > Python. The idea is quite simple: for a module, > - list all functions, classes and class methods > - call a function with random arg

Re: [Python-Dev] __module__ not found on ported Python

2008-07-07 Thread Brett Cannon
On Mon, Jul 7, 2008 at 1:48 PM, Pree Raj <[EMAIL PROTECTED]> wrote: [SNIP] > Also, I would like to know which are the MUST HAVE built in modules to be > included for normal working of my ported version of Python. You can look at sys.builtin_module_names to see what CPython compiles in. Otherwise y

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-11 Thread Brett Cannon
On Fri, Jul 11, 2008 at 12:26 PM, Adam Olsen <[EMAIL PROTECTED]> wrote: > On Fri, Jul 11, 2008 at 7:02 AM, Steve Holden <[EMAIL PROTECTED]> wrote: >> Benjamin Peterson wrote: >>> >>> On Fri, Jul 11, 2008 at 6:24 AM, Raymond Hettinger <[EMAIL PROTECTED]> >>> wrote: Some effort needs to be

Re: [Python-Dev] urllib.quote and unquote - Unicode issues

2008-07-12 Thread Brett Cannon
On Sat, Jul 12, 2008 at 10:27 AM, Matt Giuca <[EMAIL PROTECTED]> wrote: > Hi all, > > My first post to the list. In fact, first time Python hacker, long-time > Python user though. (Melbourne, Australia). > Welcome! > Some of you may have seen for the past week or so my bug report on Roundup, > ht

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-14 Thread Brett Cannon
On Mon, Jul 14, 2008 at 3:43 PM, Neil Schemenauer <[EMAIL PROTECTED]> wrote: > Hi, > > In case anyone is interested, I have git repositories for both the > trunk and the py3k branch of the Python source code. They are > up-to-date and so using them with git-svn would be much faster than > starting

Re: [Python-Dev] [Python-3000] Reminder: beta 2's schedule for tomorrow

2008-07-15 Thread Brett Cannon
On Tue, Jul 15, 2008 at 5:32 AM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > A reminder: the second betas of Python 2.6 and 3.0 are schedule for > tomorrow. I will try to hang out on #python-dev today and will start > looking at the trackers and bu

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-15 Thread Brett Cannon
On Tue, Jul 15, 2008 at 1:04 PM, Neil Schemenauer <[EMAIL PROTECTED]> wrote: > On Mon, Jul 14, 2008 at 09:31:47PM -0400, Barry Warsaw wrote: >> Neil, we should try to host them on code.python.org. > > I was hoping to get a sense of the interest. Oh well, if you build > it they might come. ;-) I've

Re: [Python-Dev] Running Py2.6 with the -3 option

2008-07-15 Thread Brett Cannon
On Tue, Jul 15, 2008 at 3:23 PM, Terry Reedy <[EMAIL PROTECTED]> wrote: > > > Benjamin Peterson wrote: >> >> On Tue, Jul 15, 2008 at 12:37 PM, Guido van Rossum <[EMAIL PROTECTED]> >> wrote: >>> >>> I wonder if it might not be simpler (at least in some cases) to just >>> disable the warnings for cer

Re: [Python-Dev] [Python-3000] Reminder: beta 2's schedule for tomorrow

2008-07-15 Thread Brett Cannon
On Tue, Jul 15, 2008 at 4:45 PM, Barry Warsaw <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > On Jul 15, 2008, at 2:38 PM, Brett Cannon wrote: > >> On Tue, Jul 15, 2008 at 5:32 AM, Barry Warsaw <[EMAIL PROTECTED]> wrote: >

Re: [Python-Dev] PEP: Frequently-requested additional features for the `unittest` module

2008-07-15 Thread Brett Cannon
On Tue, Jul 15, 2008 at 7:05 PM, Ben Finney <[EMAIL PROTECTED]> wrote: > Scott Dial <[EMAIL PROTECTED]> writes: > >> Why [introduce redundant test names]? >> >> assert_not_less_than = assert_greater_than_or_equal >> assert_not_greater_than = assert_less_than_or_equal >> assert_not_less_than_or_equa

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-17 Thread Brett Cannon
On Thu, Jul 17, 2008 at 10:54 AM, ranjith kannikara <[EMAIL PROTECTED]> wrote: > I have taken the gsoc 08 project of porting zope2 to python2.5. > Through my way to the successful completion of the project I have to > implement Restricted python in Zope2. I could only get the information > that th

Re: [Python-Dev] [Python-3000] No beta2 tonight

2008-07-17 Thread Brett Cannon
On Thu, Jul 17, 2008 at 7:37 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Thu, Jul 17, 2008 at 7:30 PM, Fred Drake <[EMAIL PROTECTED]> wrote: >> On Jul 17, 2008, at 7:27 PM, Martin v. Löwis wrote: >>> >>> bsddb is in a very bad shape, as the 2.6 code hasn't been merged into >>> 3k. I somewh

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-17 Thread Brett Cannon
On Tue, Jul 15, 2008 at 2:31 PM, Neil Schemenauer <[EMAIL PROTECTED]> wrote: > Benjamin Peterson <[EMAIL PROTECTED]> wrote: >> Can we push branches? > > The git-daemon is setup as read-only. If you have write access to > the SVN repository then you can push back changes using git-svn. > That's qui

Re: [Python-Dev] [Python-3000] No beta2 tonight

2008-07-18 Thread Brett Cannon
On Fri, Jul 18, 2008 at 7:21 AM, Guido van Rossum <[EMAIL PROTECTED]> wrote: > On Thu, Jul 17, 2008 at 10:43 PM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On Thu, Jul 17, 2008 at 7:37 PM, Guido van Rossum <[EMAIL PROTECTED]> wrote: >>> On Thu, Jul 17, 2008 at 7

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-18 Thread Brett Cannon
On Thu, Jul 17, 2008 at 11:54 PM, Neil Schemenauer <[EMAIL PROTECTED]> wrote: > [back on the list] > > On Thu, Jul 17, 2008 at 11:24:16PM -0700, Brett Cannon wrote: >> Turned out to be a rebuild:: >> >> >> r65077 = 82d954e8c20

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-18 Thread Brett Cannon
On Fri, Jul 18, 2008 at 11:12 AM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Thu, Jul 17, 2008 at 11:54 PM, Neil Schemenauer <[EMAIL PROTECTED]> wrote: >> [back on the list] >> >> On Thu, Jul 17, 2008 at 11:24:16PM -0700, Brett Cannon wrot

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-18 Thread Brett Cannon
On Fri, Jul 18, 2008 at 11:37 AM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 11:12 AM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On Thu, Jul 17, 2008 at 11:54 PM, Neil Schemenauer <[EMAIL PROTECTED]> wrote: >>> [back on the list] >&g

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-18 Thread Brett Cannon
On Fri, Jul 18, 2008 at 11:57 AM, Brett Cannon <[EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 11:37 AM, Brett Cannon <[EMAIL PROTECTED]> wrote: >> On Fri, Jul 18, 2008 at 11:12 AM, Brett Cannon <[EMAIL PROTECTED]> wrote: >>> On Thu, Jul 17, 2008 a

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-18 Thread Brett Cannon
On Fri, Jul 18, 2008 at 12:31 PM, Neil Schemenauer <[EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 11:57:21AM -0700, Brett Cannon wrote: >> I figured this out. I just did ``git reset --hard``, did the proper >> "fetch;rebase" dance, resolved the conflict, did ``

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-18 Thread Brett Cannon
On Fri, Jul 18, 2008 at 12:35 PM, Neil Schemenauer <[EMAIL PROTECTED]> wrote: > On Fri, Jul 18, 2008 at 12:07:19PM -0700, Brett Cannon wrote: >> I lied. Trying again complained about Mac/IDLE/Makefile.in which I >> have not touched, nor is it listed as changed. > > I thi

Re: [Python-Dev] git repositories for trunk and py3k

2008-07-18 Thread Brett Cannon
On Fri, Jul 18, 2008 at 12:54 PM, Bill Janssen <[EMAIL PROTECTED]> wrote: > Why is it you're trying to use "git"? Neil set up a mirror and I was curious. Same with the bzr mirror. -Brett ___ Python-Dev mailing list Python-Dev@python.org http://mail.pyth

Re: [Python-Dev] Implementing restricted Python in Zope2

2008-07-18 Thread Brett Cannon
On Thu, Jul 17, 2008 at 11:42 AM, Shane Hathaway <[EMAIL PROTECTED]> wrote: > ranjith kannikara wrote: >> >> As a student I am not familiar with Restricted Python and python AST >> implementation.And in need of help to start the Restricted Python >> implementation. > > Here is some context for Pyth

Re: [Python-Dev] Any PEP about 2.6 -> 3000 code transition?

2008-07-21 Thread Brett Cannon
On Mon, Jul 21, 2008 at 2:34 AM, Jesus Cea <[EMAIL PROTECTED]> wrote: > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Georg Brandl wrote: > | So it's good that nobody has written a migration guide yet; he'd have > | to rewrite it daily. > > Yes. I was delaying battling the 3.0 bsddb migration

<    20   21   22   23   24   25   26   27   28   29   >