On Wednesday, December 28, 2005 Fredrik Lundh wrote: > WinXP or WinXP+Cygwin ? here's what I get: Normal WinXP, without Cygwin. >>python > Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> ^Z >> >>python > Python 2.4.1 (#65, Mar 30 2005, 09:13:57) [MSC v.1310 32 bit (Intel)] on win32 > Type "help", "copyright", "credits" or "license" for more information. >>>> ^D > File "<stdin>", line 1 > ? > ^ > SyntaxError: invalid syntax >>>> I tracked this down to having IPython installed. I was able to get the exact behaviour you've got by disabling the "readline" package from "site-packages". I have a solution proposal (I have no idea if it's feasible): why not intercept "exit" and "quit" in the interpreter command line parser? A simple regexp should do. Is the interactive interpreter implemented in Python or on the C side?
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4