It's merely a minor annoyance, but has anyone else noticed that hitting the "forward delete" key (not the Delete aka backspace key two rows above return) on a full-sized keyboard crashes the Universal Python interpreter? Not immediately, you either have to hit it a few times or hit it and then hit another key, and it produces a bus error.
My Terminal.app is sending \033[3~ for that key. (gdb) backtrace #0 0x000bbce0 in _rl_dispatch_callback () #1 0x000ba3f4 in rl_callback_read_char () #2 0x000abdfc in call_readline (sys_stdin=0xe56ec, sys_stdout=0x1, prompt=0xbffff218 "") at /Volumes/Data/Users/ronald/Universal/ python24-fat/Modules/readline.c:778 #3 0x00209bc0 in PyOS_Readline (sys_stdin=0xa0001b9c, sys_stdout=0xa0001bf4, prompt=0x5cc54 ">>> ") at /Volumes/Data/Users/ ronald/Universal/python24-fat/Parser/myreadline.c:208 #4 0x0020b050 in tok_nextc (tok=0x1845600) at /Volumes/Data/Users/ ronald/Universal/python24-fat/Parser/tokenizer.c:765 #5 0x0020b72c in PyTokenizer_Get (tok=0x1845600, p_start=0xbffff4d8, p_end=0xbffff4dc) at /Volumes/Data/Users/ronald/Universal/python24- fat/Parser/tokenizer.c:1099 #6 0x00206c50 in parsetok (tok=0x1845600, g=0x0, start=762336, err_ret=0xbffff558, flags=0) at /Volumes/Data/Users/ronald/Universal/ python24-fat/Parser/parsetok.c:125 #7 0x002b56d8 in PyRun_InteractiveOneFlags (fp=0xa0001b9c, filename=0x2eb18c "<stdin>", flags=0xbffff6ac) at /Volumes/Data/Users/ ronald/Universal/python24-fat/Python/pythonrun.c:743 #8 0x002b5998 in PyRun_InteractiveLoopFlags (fp=0xa0001b9c, filename=0x2eb18c "<stdin>", flags=0xbffff6ac) at /Volumes/Data/Users/ ronald/Universal/python24-fat/Python/pythonrun.c:695 #9 0x002b6648 in PyRun_AnyFileExFlags (fp=0xa0001b9c, filename=0x2eb18c "<stdin>", closeit=0, flags=0xbffff6ac) at /Volumes/ Data/Users/ronald/Universal/python24-fat/Python/pythonrun.c:658 #10 0x002c0bfc in Py_Main (argc=536870912, argv=0x0) at /Volumes/Data/ Users/ronald/Universal/python24-fat/Modules/main.c:501 #11 0x0000257c in _call_objcInit () at /SourceCache/Csu/Csu-58/crt.c:361 #12 0x00002424 in _start (argc=1, argv=0xbffff818, envp=0xbffff820) at /SourceCache/Csu/Csu-58/crt.c:205 Looks like readline's problem, though I've never seen this behaviour on the other readline-linked apps I use. Here's the version info: Python 2.4.3 (#1, Apr 7 2006, 10:54:33) [GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin Regards, David _______________________________________________ Pythonmac-SIG maillist - [email protected] http://mail.python.org/mailman/listinfo/pythonmac-sig
