Re: [Python-Dev] GSoC Student Introduction, again

2008-05-08 Thread Guilherme Polo
2008/5/8 Martin v. Löwis [EMAIL PROTECTED]: Regarding the project, I expect it to be integrated into Python's stdlib sometime in the future, I believe it will be in very good shape before binaries compiled against tcl/tk 8.5 start showing up. Actually, I would like to release Python 2.6 and

Re: [Python-Dev] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 8, 2008, at 12:35 AM, raymond.hettinger wrote: Author: raymond.hettinger Date: Thu May 8 06:35:20 2008 New Revision: 62848 Log: Frozensets do not benefit from autoconversion. Since the trunk buildbots appear to be mostly happy (well

Re: [Python-Dev] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Benjamin Peterson
On Thu, May 8, 2008 at 6:32 AM, Barry Warsaw [EMAIL PROTECTED] wrote: Since the trunk buildbots appear to be mostly happy (well those that are connected anyway), and because I couldn't get the releases out last night, I'll let this one slide. I'd like to find a way to more forcefully enforce

Re: [Python-Dev] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 8, 2008, at 7:54 AM, Benjamin Peterson wrote: On Thu, May 8, 2008 at 6:32 AM, Barry Warsaw [EMAIL PROTECTED] wrote: Since the trunk buildbots appear to be mostly happy (well those that are connected anyway), and because I couldn't get the

Re: [Python-Dev] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Christian Heimes
Barry Warsaw schrieb: This is exactly what I'm thinking about! -1 A technical solution never solves a social problem. It's just going to cause more social and technical problems. All community members with svn write privileges must subscribe to the Python developer list. Committers must check

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

2008-05-08 Thread Jeremy Hylton
On Thu, May 8, 2008 at 8:00 AM, Nick Coghlan [EMAIL PROTECTED] wrote: Jeremy Hylton wrote: On Wed, May 7, 2008 at 11:43 AM, Thomas Lee [EMAIL PROTECTED] wrote: Nick Coghlan wrote: As Thomas mentions in a later message, making it possible to annotate nodes would permit

Re: [Python-Dev] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 8, 2008, at 8:21 AM, Christian Heimes wrote: Barry Warsaw schrieb: This is exactly what I'm thinking about! -1 A technical solution never solves a social problem. It's just going to cause more social and technical problems. In this

Re: [Python-Dev] [Python-3000] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Nick Coghlan
Christian Heimes wrote: Barry Warsaw schrieb: This is exactly what I'm thinking about! -1 A technical solution never solves a social problem. It's just going to cause more social and technical problems. All community members with svn write privileges must subscribe to the Python developer

Re: [Python-Dev] [Python-3000] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Michael Urman
On Thu, May 8, 2008 at 8:20 AM, Barry Warsaw [EMAIL PROTECTED] wrote: Or aggressively back out any changes from freeze time to tag time. If we don't add the commit hook lock, I will be very strict about this come the betas. I know this way is fairly entrenched in the python release process,

[Python-Dev] Freeze lifted

2008-05-08 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I've created the tags for 3.0a5 and 2.6a3, and the tarballs look good, so I'm lifting the commit freeze for these two branches. Thanks everyone, and look for the release announcements in a little while. - -Barry -BEGIN PGP SIGNATURE-

Re: [Python-Dev] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Steven D'Aprano
On Thu, 8 May 2008 10:21:54 pm Christian Heimes wrote: Barry Warsaw schrieb: This is exactly what I'm thinking about! -1 A technical solution never solves a social problem. It's just going to cause more social and technical problems. That's certainly not true. The social problem of people

Re: [Python-Dev] [Python-checkins] [Python-3000] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread A.M. Kuchling
On Thu, May 08, 2008 at 11:23:11PM +1000, Nick Coghlan wrote: It's actually the time zone issues that get me in relation to code freezes... so I just try to avoid committing anything for a day or two :) Subscribers to the python-dev digests may also not see a posting immediately, waiting until

Re: [Python-Dev] [Python-3000] [Python-checkins] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On May 8, 2008, at 9:41 AM, Michael Urman wrote: On Thu, May 8, 2008 at 8:20 AM, Barry Warsaw [EMAIL PROTECTED] wrote: Or aggressively back out any changes from freeze time to tag time. If we don't add the commit hook lock, I will be very strict

Re: [Python-Dev] [Python-checkins] [Python-3000] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread Aahz
On Thu, May 08, 2008, A.M. Kuchling wrote: On Thu, May 08, 2008 at 11:23:11PM +1000, Nick Coghlan wrote: It's actually the time zone issues that get me in relation to code freezes... so I just try to avoid committing anything for a day or two :) Subscribers to the python-dev digests may

[Python-Dev] PEP 370 extras

2008-05-08 Thread Christian Heimes
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. The --user-base option prints the path to the user base directory to stdout. $

Re: [Python-Dev] PEP 370 extras

2008-05-08 Thread Christian Heimes
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's going to make compilation and usage of custom libraries very easy. Sit back and watch the slide show. :) The site module

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's going to make compilation and usage of custom

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

2008-05-08 Thread Thomas Lee
Nick Coghlan wrote: There are a lot of micro-optimisations that are actually context independent, so moving them before the symtable pass should be quite feasible - e.g. replacing return None with return, stripping dead code after a return statement, changing a if not statement into an if

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

2008-05-08 Thread Adam Olsen
On Thu, May 8, 2008 at 5:22 PM, Thomas Lee [EMAIL PROTECTED] wrote: Nick Coghlan wrote: There are a lot of micro-optimisations that are actually context independent, so moving them before the symtable pass should be quite feasible - e.g. replacing return None with return, stripping dead code

[Python-Dev] RELEASED Python 2.6a3 and 3.0a5

2008-05-08 Thread Barry Warsaw
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On behalf of the Python development team and the Python community, I am happy to announce the third alpha release of Python 2.6, and the fifth alpha release of Python 3.0. Please note that these are alpha releases, and as such are not

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

2008-05-08 Thread Thomas Lee
Adam Olsen wrote: On Thu, May 8, 2008 at 5:22 PM, Thomas Lee [EMAIL PROTECTED] wrote: Nick Coghlan wrote: There are a lot of micro-optimisations that are actually context independent, so moving them before the symtable pass should be quite feasible - e.g. replacing return None with

Re: [Python-Dev] [Python-3000] RELEASED Python 2.6a3 and 3.0a5

2008-05-08 Thread Benjamin Peterson
On Thu, May 8, 2008 at 6:50 PM, Barry Warsaw [EMAIL PROTECTED] wrote: On behalf of the Python development team and the Python community, I am happy to announce the third alpha release of Python 2.6, and the fifth alpha release of Python 3.0. Special thanks goes to Christian Heimes for his last

Re: [Python-Dev] [Python-checkins] [Python-3000] r62848 - python/trunk/Objects/setobject.c

2008-05-08 Thread skip
amk Subscribers to the python-dev digests may also not see a posting amk immediately, waiting until the next digest is sent. Or python-dev subscribers might delete the announcement of the freeze without paying close attention to it then wonder a few hours later whether or not it's okay

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

2008-05-08 Thread Steve Holden
Thomas Lee wrote: Adam Olsen wrote: On Thu, May 8, 2008 at 5:22 PM, Thomas Lee [EMAIL PROTECTED] wrote: Nick Coghlan wrote: There are a lot of micro-optimisations that are actually context independent, so moving them before the symtable pass should be quite feasible - e.g. replacing

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

2008-05-08 Thread Adam Olsen
On Thu, May 8, 2008 at 5:54 PM, Thomas Lee [EMAIL PROTECTED] wrote: Adam Olsen wrote: On Thu, May 8, 2008 at 5:22 PM, Thomas Lee [EMAIL PROTECTED] wrote: Nick Coghlan wrote: There are a lot of micro-optimisations that are actually context independent, so moving them before the symtable

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

2008-05-08 Thread Nick Coghlan
Steve Holden wrote: While not strictly related to the global statement, perhaps Adam refers to the possibility of optimizing away code with an assignment which would make a name be recognized as local? If you're worried about yield disappearing you should also be worried about assignments

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

2008-05-08 Thread Thomas Lee
Nick Coghlan wrote: Steve Holden wrote: While not strictly related to the global statement, perhaps Adam refers to the possibility of optimizing away code with an assignment which would make a name be recognized as local? If you're worried about yield disappearing you should also be worried