[Python-Dev] mail.python.org disruption

2006-03-08 Thread Thomas Wouters
[ Mailed to python-dev and python-list, as that should cover most of the users ;P ]There was a slight disruption on mail.python.org this morning. For about three and a half hours, it was rejecting most of its mail with the message: Client host [] blocked using singlehop.dsbl.org; Your mail has

Re: [Python-Dev] mail.python.org disruption

2006-03-08 Thread Thomas Heller
Thomas Wouters wrote: [ Mailed to python-dev and python-list, as that should cover most of the users ;P ] There was a slight disruption on mail.python.org this morning. For about three and a half hours, it was rejecting most of its mail with the message: Client host [] blocked using

Re: [Python-Dev] mail.python.org disruption

2006-03-08 Thread Thomas Wouters
On 3/8/06, Thomas Heller [EMAIL PROTECTED] wrote: Thomas Wouters wrote: There was a slight disruption on mail.python.org this morning. Has this also to do with that http://svn.python.org/ doesn't work?No, it doesn't, although my fixing that (almost) is what made me notice mail.python.org wasn't

Re: [Python-Dev] mail.python.org disruption

2006-03-08 Thread Thomas Wouters
On 3/8/06, Thomas Wouters [EMAIL PROTECTED] wrote: svn.python.org should be working fine for SVN checkouts and the like, it's just viewcvs that isn't working yet. I'll look at it.Actually, it all seems to work fine now. Let me know of any specific problems if you see any :) -- Thomas Wouters

Re: [Python-Dev] quit() on the prompt

2006-03-08 Thread Steve Holden
Oleg Broytmann wrote: On Wed, Mar 08, 2006 at 12:37:47AM +0100, Thomas Wouters wrote: Raising SystemExit(quit() called) has an additional benefit (although the wording could use some work): raise SystemExit(quit() called) quit() called (At least, I consider that a benefit :-) It has

Re: [Python-Dev] quit() on the prompt

2006-03-08 Thread Oleg Broytmann
On Wed, Mar 08, 2006 at 12:39:51PM +, Steve Holden wrote: Oleg Broytmann wrote: raise SystemExit(quit() called) quit() called Error! I should imagine the use cases for running an interactive Python shell as a part of a script are fairly few and far between, though. IDEs.

Re: [Python-Dev] __exit__ API?

2006-03-08 Thread Guido van Rossum
I have a patch for this now -- python.org/sf/1445739. Please review. --Guido On 3/3/06, Guido van Rossum [EMAIL PROTECTED] wrote: A few days ago there were rumbling noises that requiring __exit__ to re-raise the exception (as I amended PEP 343 at the time) could lead to easily-missed bugs in

[Python-Dev] 2.5 release schedule?

2006-03-08 Thread Aahz
Have we reached final agreement on the 2.5 release schedule? The last message was on Feb 15, which said: alpha 1: May 6, 2006 [planned] alpha 2: June 3, 2006 [planned] alpha 3: July 1, 2006 [planned] beta 1: July 29, 2006 [planned] beta 2: August 26, 2006 [planned] rc

Re: [Python-Dev] 2.5 release schedule?

2006-03-08 Thread Guido van Rossum
If anything, we're probably going to do it earlier even. All schedules are tentative, BTW; the PSF is not responsible for losses due to schedule changes. :-) --Guido On 3/8/06, Aahz [EMAIL PROTECTED] wrote: Have we reached final agreement on the 2.5 release schedule? The last message was on

Re: [Python-Dev] quit() on the prompt

2006-03-08 Thread Neil Schemenauer
Guido van Rossum [EMAIL PROTECTED] wrote: Bad idea, as several pointed out -- quit() should return a 0 exit to the shell. I like the idea of making quit callable. One small concern I have is that people will use it in scripts to exit (rather than one of the other existing ways to exit). OTOH,

Re: [Python-Dev] quit() on the prompt

2006-03-08 Thread Ian Bicking
Neil Schemenauer wrote: Bad idea, as several pointed out -- quit() should return a 0 exit to the shell. I like the idea of making quit callable. One small concern I have is that people will use it in scripts to exit (rather than one of the other existing ways to exit). OTOH, maybe that's

Re: [Python-Dev] Long-time shy failure in test_socket_ssl

2006-03-08 Thread Tim Peters
[Tim] Neal plugged another hole later, but-- alas --I have seen the same shy failure since then on WinXP. One of the most recent buildbot test runs saw it too, on a non-Windows box: http://www.python.org/dev/buildbot/trunk/g5%20osx.3%20trunk/builds/204/step-test/0 test_socket_ssl test

Re: [Python-Dev] quit() on the prompt

2006-03-08 Thread Josiah Carlson
Ian Bicking [EMAIL PROTECTED] wrote: Neil Schemenauer wrote: Bad idea, as several pointed out -- quit() should return a 0 exit to the shell. I like the idea of making quit callable. One small concern I have is that people will use it in scripts to exit (rather than one of the

[Python-Dev] Bug Day?

2006-03-08 Thread Georg Brandl
Hi, I know, PyCon's just been, but not many bugs were closed and there really ought to be some issues resolved before 2.4.3 happens. The number of open bugs is again crawling to 900. I myself are looking at many bugs and patches over time, but with most of them I can't decide alone what to do.

Re: [Python-Dev] Bug Day?

2006-03-08 Thread Brett Cannon
On 3/8/06, Georg Brandl [EMAIL PROTECTED] wrote: Hi, I know, PyCon's just been, but not many bugs were closed and there really ought to be some issues resolved before 2.4.3 happens. The number of open bugs is again crawling to 900. I myself are looking at many bugs and patches over time,

Re: [Python-Dev] Bug Day?

2006-03-08 Thread Jeremy Hylton
On 3/8/06, Georg Brandl [EMAIL PROTECTED] wrote: I know, PyCon's just been, but not many bugs were closed and there really ought to be some issues resolved before 2.4.3 happens. The number of open bugs is again crawling to 900. I myself are looking at many bugs and patches over time, but with

Re: [Python-Dev] Bug Day?

2006-03-08 Thread Brett Cannon
On 3/8/06, Jeremy Hylton [EMAIL PROTECTED] wrote: On 3/8/06, Georg Brandl [EMAIL PROTECTED] wrote: I know, PyCon's just been, but not many bugs were closed and there really ought to be some issues resolved before 2.4.3 happens. The number of open bugs is again crawling to 900. I myself

Re: [Python-Dev] quit() on the prompt

2006-03-08 Thread Greg Ewing
Oleg Broytmann wrote: IDEs. Edit a code in an editor, run python -i script.py, investigate the environment, return to the editor, get error message. An IDE is likely to want to catch SystemExits in the debugged script and handle them specially anyway. -- Greg Ewing, Computer Science Dept,

Re: [Python-Dev] quit() on the prompt

2006-03-08 Thread Guido van Rossum
We seem to have a consensus. Is anybody working on a patch yet? -- --Guido van Rossum (home page: http://www.python.org/~guido/) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe:

[Python-Dev] Generated code in test_ast.py

2006-03-08 Thread Grant Olson
I’m finishing up a patch for bug 1441408. I had to change the asdl definitions which in turn caused a failure in test_ast.py. A comment in the file indicates that EVERYTHING BELOW IS GENERATED # and has a definition for Slice() that is no longer valid. Can anyone tell me how this is

Re: [Python-Dev] Bug Day?

2006-03-08 Thread Tim Peters
[Georg Brandl] I know, PyCon's just been, but not many bugs were closed Ya, it was very much a development sprint this year -- new features. and there really ought to be some issues resolved before 2.4.3 happens. The number of open bugs is again crawling to 900. I myself are looking at many

Re: [Python-Dev] Bug Day?

2006-03-08 Thread Neil Schemenauer
I think it would be a good idea to follow the Plone project and try to encourage new developers by offering assistance to get them up and running. AFAIK, we've done that for the other bug days but it might help to publish the fact that no prior Python development experience is necessary. Neil

[Python-Dev] Making builtins more efficient

2006-03-08 Thread Steven Elliott
I'm interested in how builtins could be more efficient. I've read over some of the PEPs having to do with making global variables more efficient (search for global): http://www.python.org/doc/essays/pepparade.html But I think the problem can be simplified by focusing strictly on builtins.

Re: [Python-Dev] conditional expressions - add parens?

2006-03-08 Thread Morel Xavier
Steve Holden wrote: Contrast with the bleeding obvious: level = 0 if absolute_import in self.futures: level = -1 regards Steve The issue that spawned the necessity of a ternary operator in the first place was that this syntax is not usable at all in quite a few

Re: [Python-Dev] fixing log messages

2006-03-08 Thread Christos Georgiou
talk about embarrassing spelling misteaks [Fredrik Lundh] (but alright, as long as you don't call me Fred...) [Steve Holden] Did I *ever* do that? That would have been an embarrassing slip ;-) I know I'm extremely late, but there should be a POTF (Pun Of The Fortnight) from now on. A member