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

2010-07-29 Thread Ron Adam
FWIW, I am +1 on dropping tkinter interface. Tkinter window looks foreign next to browser and server-side GUI that opens a new client window with each search topic does not strike me as most usable design. Furthermore, I just tried to use it on my OSX laptop and it crashed after I searched fo

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

2010-07-28 Thread Nick Coghlan
On Tue, Jul 27, 2010 at 1:25 AM, Ron Adam wrote: >>> Another way to communicate to the server would be to add a link in >>> the browser to open a server status page.  For example my router has a >>> configure page where I can check it's status and do other things. >>> That might be something worth

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

2010-07-26 Thread Ron Adam
On 07/24/2010 10:44 PM, Nick Coghlan wrote: To request automatic assignment of a local port number, "-p 0" could be made to work correctly (i.e. print out the actual port the OS assigned rather than the 0 that was passed in on the command line as it does currently). I was able to implement t

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

2010-07-26 Thread Alexander Belopolsky
On Mon, Jul 26, 2010 at 11:39 AM, Ronald Oussoren wrote: .. > Could you please file a bug for this? I have no idea whether or not it is an > easy to fix one, > but without an issue in the tracker this is something that is unlikely to get > fixed. http://bugs.python.org/issue9384 ___

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

2010-07-26 Thread Ronald Oussoren
On 24 Jul, 2010, at 23:29, Alexander Belopolsky wrote: > Furthermore, I just tried to use it on my OSX laptop and it > crashed after I searched for pydoc and clicked on the first entry. > (Another issue is that search window pops under the terminal window.) Could you please file a bug for this?

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

2010-07-26 Thread Ron Adam
On 07/25/2010 12:01 PM, Alexander Belopolsky wrote: On Sun, Jul 25, 2010 at 12:32 PM, Ron Adam wrote: .. I'd be completely fine with dropping the "Search For" box from the GUI interface, but the persistent window listing the served port and providing "Open Browser" and "Quit Serving" buttons

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

2010-07-25 Thread Alexander Belopolsky
On Sun, Jul 25, 2010 at 12:32 PM, Ron Adam wrote: .. >> I'd be completely fine with dropping the "Search For" box from the GUI >> interface, but the persistent window listing the served port and >> providing "Open Browser" and "Quit Serving" buttons still seems quite >> useful even without the sea

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

2010-07-25 Thread Ron Adam
On 07/24/2010 10:38 PM, Nick Coghlan wrote: 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 Adamwrote: I am not sure I like the fact that the browser is started automatically. Please bring this up on

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] [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] [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] [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] [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

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