New submission from Stéphane Blondon <stephane.blon...@gmail.com>: The cgitb module displays a traceback in text or html.
When a module is called, there are no parameters (displayed as '()'). I think they are unnecessary and the parentheses should be removed. ### example for the text version ### $ python3 demo.py [...] /home/stephane/src/cgitest/demo.py in <module>() 7 def func1(a, b): ^-- to be removed? [...] ### end of example ### It occurs in both text and html versions. ---------- components: Library (Lib) messages: 315459 nosy: sblondon priority: normal severity: normal status: open title: cgitb: remove parentheses when the error is in module type: enhancement _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33311> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com