New submission from Edoardo Gerosa: A cosmetic bug was noticed when executing os.chdir() in IDLE. When inputting a raw string path in os.chdir() using autocompletion the last directory in the path will remain black if the user presses enter while the autocompletion drop down list is still open. The bug seems to affect only single quoted strings. To reproduce the bug input a raw single quoted string into os.chdir(); select directories through the drop down autocomplete list using Tab; once the destination directory is reached do not make the drop down list disappear, instead after selecting the destination directory type in the closing single quote and brace and hit enter: the final directory in the path will remain black and not turn green. (image file has been added to showcase bug).
---------- assignee: terry.reedy components: IDLE files: bug_pic.png messages: 271910 nosy: egerosa, terry.reedy priority: normal severity: normal status: open title: IDLE does not fully color raw string directory paths to green when invoking os.chdir() if statement is executed with autocompletion drop down list still open type: behavior versions: Python 3.5 Added file: http://bugs.python.org/file43990/bug_pic.png _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue27675> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com