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.

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 benja...@python.org wrote: 2010/7/23 Alexander Belopolsky alexander.belopol...@gmail.com: 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

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 r...@ronadam.com 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,

[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

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 ncogh...@gmail.com 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

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 ncogh...@gmail.com wrote: On Fri, Jul 23, 2010 at 3:30 AM, Alexander Belopolsky alexander.belopol...@gmail.com 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

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 alexander.belopol...@gmail.com 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

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 Coghlanncogh...@gmail.com 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

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 Adamr...@ronadam.com 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

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 Alexander Belopolsky
On Sat, Jul 24, 2010 at 3:34 PM, Ron Adam r...@ronadam.com 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.  

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

2010-07-24 Thread schmir
Barry Warsaw ba...@python.org 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

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 Adamr...@ronadam.com 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

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 tjre...@udel.edu 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

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

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: Maybe

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

2010-07-24 Thread Ben Finney
Mark Lawrence breamore...@yahoo.co.uk 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

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

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 alexander.belopol...@gmail.com 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:

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 p...@telecommunity.com 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

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 gu...@python.org wrote: On Fri, Jul 23, 2010 at 4:20 PM, Alexander Belopolsky alexander.belopol...@gmail.com wrote: There must be a good reason why traditional software development tools such as debugger, profiler and coverage are mostly

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 r...@ronadam.com wrote: On 07/24/2010 05:37 AM, Nick Coghlan wrote: On Sat, Jul 24, 2010 at 10:05 AM, Ron Adamr...@ronadam.com  wrote: I am not sure I like the fact that the browser is started automatically. Please bring this up on python-dev.  

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 alexander.belopol...@gmail.com wrote: On Sat, Jul 24, 2010 at 6:37 AM, Nick Coghlan ncogh...@gmail.com 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

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

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 ben+pyt...@benfinney.id.au 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

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 it, so

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 st...@pearwood.info 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

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 Warsawba...@python.org Cc: Ronald Oussorenronaldousso...@mac.com,python-dev@python.org Subject: Re: [Python-Dev] versioned .so files for Python 3.2 Message-ID:87aapgbky5@brainbot.com Content-Type: text/plain;