Documentation bug: Python console behaviour changed

K

Kay Schluehr

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:
'Use Ctrl-Z plus Return to exit.'

Nah, 'Ctrl-Z' is now undo :)

Side remark: IDLE closes the console either with Ctrl-D or Ctrl-Q. But
IDLEs configure dialog window showing the key combinations is so tight
and nothing is recognizable without scrolling back and forth that it is
discouring to use it at all ;)

IPython closes with 'Ctrl-D'. Thanks to IPython I also determined this
as the correct shutdown keys for Python too.

Kay
 
S

Simon Dahlbacka

My console follows documentation:


C:\tmp\GspRegTestApp>c:\Python24\python
ActivePython 2.4.1 Build 245 (ActiveState Corp.) based on
Python 2.4.1 (#65, Mar 30 2005, 09:33:37) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information.

C:\tmp\GspRegTestApp>c:\Python24\python
ActivePython 2.4.1 Build 245 (ActiveState Corp.) based on
Python 2.4.1 (#65, Mar 30 2005, 09:33:37) [MSC v.1310 32 bit (Intel)]
on win32
Type "help", "copyright", "credits" or "license" for more information. File "<stdin>", line 1
♦
^
SyntaxError: invalid syntax
 
P

Peter Hansen

Kay said:
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:



'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
 
L

Lucas Raab

Peter said:
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.

--
--------------------------
Lucas Raab
lvraab"@"earthlink.net
dotpyFE"@"gmail.com
AIM: Phoenix11890
MSN: dotpyfe "@" gmail.com
IRC: lvraab
ICQ: 324767918
Yahoo: Phoenix11890
 
K

Kay Schluehr

Peter said:
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

Well, Peter, I indeed changed the system magically but yet it was not
Windows, but Python! In my description I told You that I installed
IPython and IPython requires the readline package. If I rename the
readline package ( e.g. _readline ) in the site-packages directory the
console behaves as expected. Otherwise it shows the termination
behaviour of IPython namely it shuts down with Ctrl-D.

It's really sucking...

Kay
 
C

Claudio Grondi

Lucas Raab said:
I'm getting the same behavior as Kay.

I'm getting the same behaviour, too.
What is non-standard is, that I am using english
international keyboard on German version of
Windows 2000 Professional 5.0.2195 SP 4,
Build 2195.

Claudio
 
J

John Machin

Kay said:
Well, Peter, I indeed changed the system magically but yet it was not
Windows, but Python! In my description I told You that I installed
IPython and IPython requires the readline package. If I rename the
readline package ( e.g. _readline ) in the site-packages directory the
console behaves as expected. Otherwise it shows the termination
behaviour of IPython namely it shuts down with Ctrl-D.

It's really sucking...

Kay

It's readline that sucks. Python's behaviour has *NOT* changed.
 

Ask a Question

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

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,769
Messages
2,569,582
Members
45,057
Latest member
KetoBeezACVGummies

Latest Threads

Top