New submission from Arfrever Frehtes Taifersar Arahesis <arfrever....@gmail.com>:
Python 3.1 segfaults when invalid UTF-8 characters are passed from command line. In BASH shell you can run: $ python3.1 -c $'print("\x80")' Segmentation fault In other POSIX-compatible shells you can save the attached test.py files in current directory and run: $ python3.1 -c "$(<test.py)" Segmentation fault ---------- components: Unicode files: test.py messages: 91533 nosy: Arfrever severity: normal status: open title: Python 3.1 segfaults when invalid UTF-8 characters are passed from command line versions: Python 3.1, Python 3.2 Added file: http://bugs.python.org/file14711/test.py _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6697> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com