Re: [Python-Dev] Thoughts fresh after EuroPython

2010-07-24 Thread Stefan Behnel
Nick Coghlan, 25.07.2010 08:29: We knew PEP 380 would be hurt by the moratorium when the moratorium PEP went through. The goals of the moratorium itself, in making it possible to have a 3.2 release that is fully supported by all of the major Python implementations, still apply, and I believe mak

Re: [Python-Dev] Thoughts fresh after EuroPython

2010-07-24 Thread Nick Coghlan
On Sun, Jul 25, 2010 at 2:16 PM, Steven D'Aprano wrote: > On Sun, 25 Jul 2010 10:04:57 am Steve Holden wrote: >> > - After seeing Raymond's talk about monocle (search for it on PyPI) >> > I am getting excited again about PEP 380 (yield from, return values >> > from generators). Having read the PEP

Re: [Python-Dev] Python-Dev Digest, Vol 84, Issue 112

2010-07-24 Thread John Nagle
Date: Sat, 24 Jul 2010 23:59:14 +0200 From:sch...@gmail.com To: Barry Warsaw Cc: Ronald Oussoren,python-dev@python.org Subject: Re: [Python-Dev] versioned .so files for Python 3.2 Message-ID:<87aapgbky5@brainbot.com> Content-Type: text/plain; charset=us-ascii Barry Warsaw writes: > On Jul

Re: [Python-Dev] Thoughts fresh after EuroPython

2010-07-24 Thread geremy condra
On Sat, Jul 24, 2010 at 9:16 PM, Steven D'Aprano wrote: > On Sun, 25 Jul 2010 10:04:57 am Steve Holden wrote: >> > - After seeing Raymond's talk about monocle (search for it on PyPI) >> > I am getting excited again about PEP 380 (yield from, return values >> > from generators). Having read the PEP

Re: [Python-Dev] Thoughts fresh after EuroPython

2010-07-24 Thread Steven D'Aprano
On Sun, 25 Jul 2010 10:04:57 am Steve Holden wrote: > > - After seeing Raymond's talk about monocle (search for it on PyPI) > > I am getting excited again about PEP 380 (yield from, return values > > from generators). Having read the PEP on the plane back home I > > didn't see anything wrong with i

Re: [Python-Dev] http://bugs.python.org/issue231540

2010-07-24 Thread Nick Coghlan
On Sun, Jul 25, 2010 at 10:45 AM, Ben Finney wrote: > What I find very helpful in these cases is to put all my vitriol into > the rant, bask in it, and then *delete it unsent*. That way, I'm not > spreading the bad emotion any further than my desk, and it truly is > cathartic so I can sleep soundl

Re: [Python-Dev] PEP 380 - return value question and prototype implementation (was Thoughts fresh after EuroPython)

2010-07-24 Thread P.J. Eby
At 08:21 PM 7/24/2010 -0700, Guido van Rossum wrote: FWIW, the thing that was harder to debug when I tried to write some code involving generators and a trampoline recently, was thinking of a function as a generator without actually putting a yield in it (because a particular version of a corouti

Re: [Python-Dev] [isssue 2001] Pydoc enhancement patch questions

2010-07-24 Thread Nick Coghlan
On Sun, Jul 25, 2010 at 1:16 AM, Alexander Belopolsky wrote: > On Sat, Jul 24, 2010 at 6:37 AM, Nick Coghlan wrote: > .. >> For the "-b" option, if the server is already running (and hence the >> port is in use), catch the exception, print a message and start the >> webbrowser anyway. > > I was g

Re: [Python-Dev] [isssue 2001] Pydoc enhancement patch questions

2010-07-24 Thread Nick Coghlan
On Sun, Jul 25, 2010 at 5:34 AM, Ron Adam wrote: > > > On 07/24/2010 05:37 AM, Nick Coghlan wrote: >> >> On Sat, Jul 24, 2010 at 10:05 AM, Ron Adam  wrote: I am not sure I like the fact that the browser is started automatically. Please bring this up on python-dev.  This may be an op

Re: [Python-Dev] Python profiler and other tools

2010-07-24 Thread Nick Coghlan
On Sun, Jul 25, 2010 at 3:30 AM, Guido van Rossum wrote: > On Fri, Jul 23, 2010 at 4:20 PM, Alexander Belopolsky > wrote: >> There must be a good reason why traditional software development tools >> such as debugger, profiler and coverage are mostly neglected in >> python. > > Most such tools are

Re: [Python-Dev] PEP 380 - return value question and prototype implementation (was Thoughts fresh after EuroPython)

2010-07-24 Thread Guido van Rossum
On Sat, Jul 24, 2010 at 6:51 PM, P.J. Eby wrote: > At 07:08 AM 7/24/2010 -0700, Guido van Rossum wrote: >> >> - After seeing Raymond's talk about monocle (search for it on PyPI) I >> am getting excited again about PEP 380 (yield from, return values from >> generators). Having read the PEP on the p

Re: [Python-Dev] Does trace modules have a unit test?

2010-07-24 Thread Nick Coghlan
On Sun, Jul 25, 2010 at 2:20 AM, Alexander Belopolsky wrote: > I would like to use this opportunity to merge settrace and setprofile > tests.  Here is the proposal: > > Step 1: Rename test_trace to test_sys_settrace and test_profilehooks > to test_sys_setprofile. > Step 2: Create tracetester helpe

Re: [Python-Dev] PEP 380 - return value question and prototype implementation (was Thoughts fresh after EuroPython)

2010-07-24 Thread P.J. Eby
At 07:08 AM 7/24/2010 -0700, Guido van Rossum wrote: - After seeing Raymond's talk about monocle (search for it on PyPI) I am getting excited again about PEP 380 (yield from, return values from generators). Having read the PEP on the plane back home I didn't see anything wrong with it, so it coul

Re: [Python-Dev] http://bugs.python.org/issue231540

2010-07-24 Thread Ben Finney
Mark Lawrence writes: > I admit that when I sent this off last night, I felt rather better > after for having let off a bit of steam. […] > Nobody has been at all really negative. I think that this is a > tremendous way of saying what a wonderful community Python is, long > may it be that way. So

Re: [Python-Dev] Thoughts fresh after EuroPython

2010-07-24 Thread Steve Holden
On 7/24/2010 3:08 PM, Guido van Rossum wrote: > While the EuroPython sprints are still going on, I am back home, and > after a somewhat restful night of sleep, I have some thoughts I'd like > to share before I get distracted. Note, I am jumping wildly between > topics. > > - Commit privileges: May

Re: [Python-Dev] http://bugs.python.org/issue231540

2010-07-24 Thread Mark Lawrence
On 23/07/2010 23:26, Mark Lawrence wrote: Is there any money to pay for the forthcoming 10th birthday party for this issue? Is the OP still alive? Kindest regards. Mark Lawrence. Hi all, I admit that when I sent this off last night, I felt rather better after for having let off a bit of st

Re: [Python-Dev] Thoughts fresh after EuroPython

2010-07-24 Thread Guido van Rossum
On Sat, Jul 24, 2010 at 2:05 PM, Terry Reedy wrote: > On 7/24/2010 10:08 AM, Guido van Rossum wrote: > >> - Commit privileges: Maybe we've been too careful with only giving >> commit privileges to to experienced and trusted new developers. I >> spoke to Ezio Melotti and from his experience with ge

Re: [Python-Dev] [isssue 2001] Pydoc enhancement patch questions

2010-07-24 Thread Ron Adam
On 07/24/2010 04:29 PM, Alexander Belopolsky wrote: On Sat, Jul 24, 2010 at 3:34 PM, Ron Adam wrote: On 07/24/2010 05:37 AM, Nick Coghlan wrote: .. - leave the "-g" option alone (including the tk gui), but make sure other options still work when tk is unavailable I was hoping it would b

Re: [Python-Dev] versioned .so files for Python 3.2

2010-07-24 Thread schmir
Barry Warsaw writes: > On Jul 23, 2010, at 01:46 PM, sch...@gmail.com wrote: > >>Doesn't anybody else think this is lost work for very little gain? My >>/usr/lib/python2.6/site-packages directory consumes 200MB on disk. I >>couldn't care less if my /usr/lib/python2.5/site-packages consumed the >>

Re: [Python-Dev] [isssue 2001] Pydoc enhancement patch questions

2010-07-24 Thread Alexander Belopolsky
On Sat, Jul 24, 2010 at 3:34 PM, Ron Adam wrote: > > > On 07/24/2010 05:37 AM, Nick Coghlan wrote: .. >> - leave the "-g" option alone (including the tk gui), but make sure >> other options still work when tk is unavailable > > I was hoping it would be ok to drop the tk gui in pydoc.  Keeping it >

Re: [Python-Dev] Thoughts fresh after EuroPython

2010-07-24 Thread Terry Reedy
On 7/24/2010 10:08 AM, Guido van Rossum wrote: - Commit privileges: Maybe we've been too careful with only giving commit privileges to to experienced and trusted new developers. I spoke to Ezio Melotti and from his experience with getting commit privileges, it seems to be a case of "the lion is

Re: [Python-Dev] [isssue 2001] Pydoc enhancement patch questions

2010-07-24 Thread Ron Adam
On 07/24/2010 05:37 AM, Nick Coghlan wrote: On Sat, Jul 24, 2010 at 10:05 AM, Ron Adam wrote: I am not sure I like the fact that the browser is started automatically. Please bring this up on python-dev. This may be an opportunity to rethink pydoc command line switches. For example, -p and -

Re: [Python-Dev] [isssue 2001] Pydoc enhancement patch questions

2010-07-24 Thread Ron Adam
On 07/24/2010 10:16 AM, Alexander Belopolsky wrote: On Sat, Jul 24, 2010 at 6:37 AM, Nick Coghlan wrote: .. For the "-b" option, if the server is already running (and hence the port is in use), catch the exception, print a message and start the webbrowser anyway. I was going to make a simil

Re: [Python-Dev] Python profiler and other tools

2010-07-24 Thread Guido van Rossum
On Fri, Jul 23, 2010 at 4:20 PM, Alexander Belopolsky wrote: > There must be a good reason why traditional software development tools > such as debugger, profiler and coverage are mostly neglected in > python. Most such tools are probably better developed outside the standard library. There are m

Re: [Python-Dev] Does trace modules have a unit test?

2010-07-24 Thread Alexander Belopolsky
On Thu, Jul 22, 2010 at 6:33 PM, Nick Coghlan wrote: > On Fri, Jul 23, 2010 at 3:30 AM, Alexander Belopolsky > wrote: >> I see three solutions: >> >> 1.  Minimal:  do not rename test_trace in 2.7 and add trace module >> tests to the existing file.  Whether to revert test_trace to >> test_line_tra

Re: [Python-Dev] [isssue 2001] Pydoc enhancement patch questions

2010-07-24 Thread Alexander Belopolsky
On Sat, Jul 24, 2010 at 6:37 AM, Nick Coghlan wrote: .. > For the "-b" option, if the server is already running (and hence the > port is in use), catch the exception, print a message and start the > webbrowser anyway. I was going to make a similar suggestion, but then realized that there it may n

[Python-Dev] Thoughts fresh after EuroPython

2010-07-24 Thread Guido van Rossum
While the EuroPython sprints are still going on, I am back home, and after a somewhat restful night of sleep, I have some thoughts I'd like to share before I get distracted. Note, I am jumping wildly between topics. - Commit privileges: Maybe we've been too careful with only giving commit privileg

Re: [Python-Dev] [isssue 2001] Pydoc enhancement patch questions

2010-07-24 Thread Nick Coghlan
On Sat, Jul 24, 2010 at 10:05 AM, Ron Adam wrote: >> I am not sure I like the fact that the browser is started automatically. >> Please bring this up on python-dev.  This may be an opportunity to >> rethink pydoc command line switches.  For example, -p and -g are >> currently exclusive, but it wou

Re: [Python-Dev] Include datetime.py in stdlib or not?

2010-07-24 Thread Nick Coghlan
On Sat, Jul 24, 2010 at 3:44 AM, Benjamin Peterson wrote: > 2010/7/23 Alexander Belopolsky : >> Thanks, everyone who followed up here and on the tracker.  I am >> readying the patch for check in, but as I look back through the >> messages, I don't really see anyone's answer to the question in the

Re: [Python-Dev] versioned .so files for Python 3.2

2010-07-24 Thread Ronald Oussoren
On 23 Jul, 2010, at 23:19, Barry Warsaw wrote: > On Jul 23, 2010, at 12:54 PM, Barry Warsaw wrote: > >> On Jul 23, 2010, at 11:48 AM, Ronald Oussoren wrote: >> I'd be open to adding the platform name to the tag, but I'd probably define it as part of the implementation field, e.g.