Alexander Belopolsky <[EMAIL PROTECTED]> added the comment: Rafe,
Can you confirm that behavior on missing end-of-line is indeed your issue? Note that at first I could not even reproduce the problem based on your report. I am attaching a proof-of-concept patch that would arguably improve the inspect module by making it more robust in your case. Note that it is unlikely that a fix along the lines of my patch will be considered for bug-fix releases of 2.5.x and 2.6.x series. If you want an immediate solution, you have a better chance convincing Komodo developers to fix their text editor (emacs' python mode auto-terminates the last line in .py files.) ---------- keywords: +patch Added file: http://bugs.python.org/file12299/inspect.patch _______________________________________ Python tracker <[EMAIL PROTECTED]> <http://bugs.python.org/issue4335> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com