Message 370358 - Python tracker
The new items can be new issues, with 6 maybe the highest priority. Currently
<stdin>:1: DeprecationWarning: invalid escape sequence \e
becomes
Warning (from warnings module):
File "<pyshell#0>", line 1
'\e'
DeprecationWarning: invalid escape sequence \e
For both Shell and Editor input, the Warning Line is not really needed. For Shell, the fake filename is not needed, nor is the line # and line if somehow otherwise marked.