Type: Python module or package
File:lino:src/lino/console/console.py
- Console (Class) : , , , , ,
- CaptureConsole (Class)
- TtyConsole (Class)
- rewriter() (method)
Refering articles:
- UnicodeEncodeError (Problem reports 13.08.06) — diag.py continues to produce UnicodeEncodeError on the DOS box of Mare's PC which has the codepage 1257. more
- Invoking diag.py from PythonWin (10.08.06) — a script from a PythonWin shell, sys.stdout has neither an 'isatty' method nor an 'encoding' attribute. Changed console.py to consider this case. Now you can run for example diag.py from within PythonWin.
- trying it on Python 2.4 (06.09.05) — I installed Python 2.4.1 and pysqlite. The crash also happens using this configuration. Seems that "default" is a reserved word in Python 2.4. Had to migrate console where a variable had this name.