RE: Documentation bug: Python console behaviour changed

Discussion in 'Python' started by Tim Golden, Jul 19, 2005.

  1. Tim Golden

    Tim Golden Guest

    [Lucas Raab]
    | Peter Hansen wrote:
    | > Kay Schluehr wrote:
    | >
    | >> The documentation of the Python console behaviour is not correct
    | >> anymore for Python 2.4.1. At least for the Win2K system
    | I'm working on
    | >> 'Ctrl-Z' does not shut down the console but 'Ctrl-D' etc.
    | >>
    | >> The Python interpreter tells me instead:
    | >>
    | >>
    | >>>>> quit
    | >>
    | >>
    | >> 'Use Ctrl-Z plus Return to exit.'
    | >>
    | >> Nah, 'Ctrl-Z' is now undo :)
    | >
    | >
    | > Are you really using the console, started with the "Command
    | Prompt" icon
    | > from the Start Menu (or some equivalent)? And are you sure
    | you haven't
    | > installed something else that magically changed the
    | behaviour of Ctrl-Z?
    | >
    | > (I get the documented behaviour with Python 2.4.1, under Win XP.)
    | >
    | > -Peter
    |
    | I'm getting the same behavior as Kay.

    Usually means you have a readline package installed:

    I know that this one gives the effect described:

    http://sourceforge.net/projects/uncpythontools/

    Don't know about this one:

    http://newcenturycomputers.net/projects/readline.html

    TJG

    ________________________________________________________________________
    This e-mail has been scanned for all viruses by Star. The
    service is powered by MessageLabs. For more information on a proactive
    anti-virus service working around the clock, around the globe, visit:
    http://www.star.net.uk
    ________________________________________________________________________
     
    Tim Golden, Jul 19, 2005
    #1
    1. Advertising

  2. Tim Golden wrote:

    > Usually means you have a readline package installed:


    Should the readline package be twiddled to change the "quit" string in
    builtins to document the correct behavior?
     
    Rocco Moretti, Jul 19, 2005
    #2
    1. Advertising

  3. >> 'Ctrl-Z' does not shut down the console but 'Ctrl-D' etc.
    >> Usually means you have a readline package installed.

    Right. Readline uninstalled, Ctrl-Z works again.

    By the way:
    After trying to take over readline support from Gary Bishop,
    I have inbetween given up trying to fix readline behaviour on
    international keyboards in Windows (mainly because the
    Python 2.4 IDLE works for me best, so I don't need IPython
    anymore).
    I haven't digged very deep into it, but I mean, that the whole
    code must be probably more or less entirely rewritten by
    someone with experience in internationalization matters on
    Windows (various keyboards and localized Windows
    versions) and readline behaviour on *nix systems.
    Up to now, there is noone known to me willing to support
    the readline package - any volunteers?
    Michele Simionato and me can then test the outcome on
    German and Italian Windows systems and keyboards.

    Claudio

    "Tim Golden" <> schrieb im Newsbeitrag
    news:...
    [Lucas Raab]
    | Peter Hansen wrote:
    | > Kay Schluehr wrote:
    | >
    | >> The documentation of the Python console behaviour is not correct
    | >> anymore for Python 2.4.1. At least for the Win2K system
    | I'm working on
    | >> 'Ctrl-Z' does not shut down the console but 'Ctrl-D' etc.
    | >>
    | >> The Python interpreter tells me instead:
    | >>
    | >>
    | >>>>> quit
    | >>
    | >>
    | >> 'Use Ctrl-Z plus Return to exit.'
    | >>
    | >> Nah, 'Ctrl-Z' is now undo :)
    | >
    | >
    | > Are you really using the console, started with the "Command
    | Prompt" icon
    | > from the Start Menu (or some equivalent)? And are you sure
    | you haven't
    | > installed something else that magically changed the
    | behaviour of Ctrl-Z?
    | >
    | > (I get the documented behaviour with Python 2.4.1, under Win XP.)
    | >
    | > -Peter
    |
    | I'm getting the same behavior as Kay.

    Usually means you have a readline package installed:

    I know that this one gives the effect described:

    http://sourceforge.net/projects/uncpythontools/

    Don't know about this one:

    http://newcenturycomputers.net/projects/readline.html

    TJG

    ________________________________________________________________________
    This e-mail has been scanned for all viruses by Star. The
    service is powered by MessageLabs. For more information on a proactive
    anti-virus service working around the clock, around the globe, visit:
    http://www.star.net.uk
    ________________________________________________________________________
     
    Claudio Grondi, Jul 20, 2005
    #3
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Replies:
    1
    Views:
    713
    Rosanne
    Oct 11, 2005
  2. Kay Schluehr
    Replies:
    6
    Views:
    1,087
    John Machin
    Jul 19, 2005
  3. Clarence

    -W: Python bug? Documentation bug?

    Clarence, Dec 13, 2006, in forum: Python
    Replies:
    1
    Views:
    241
    Clarence
    Dec 13, 2006
  4. Andrej Mitrovic

    Python Documentation website layout changed?

    Andrej Mitrovic, Mar 17, 2010, in forum: Python
    Replies:
    4
    Views:
    376
    Andrej Mitrovic
    Mar 21, 2010
  5. mxbrunet
    Replies:
    1
    Views:
    228
Loading...

Share This Page