Berker Peksag added the comment: Thanks for the report.
> Users should either be permitted to set debug on via an optional __init__ > parameter, This is already possible via the debug attribute (https://docs.python.org/3/library/shlex.html#shlex.shlex.debug), so I don't think adding a debug parameter to __init__ is necessary. > or debug should be taken out of the initializer altogether. +1. We can just remove the unreachable code. ---------- keywords: +easy nosy: +berker.peksag stage: -> needs patch type: behavior -> enhancement versions: -Python 2.7, Python 3.2, Python 3.3, Python 3.4, Python 3.6 _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24113> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com