This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Michael.Smith
Recipients Michael.Smith
Date 2015-05-02.13:41:50
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1430574110.71.0.619526001392.issue24113@psf.upfronthosting.co.za>
In-reply-to
Content
In its __init__ method, shlex.shlex sets self.debug = 0. An `if self.debug:` statement follows shortly thereafter and without allowing the user to change self.debug.

The code inside the if statement is unreachable. Users should either be permitted to set debug on via an optional __init__ parameter, or debug should be taken out of the initializer altogether.
History
Date User Action Args
2015-05-02 13:41:50Michael.Smithsetrecipients: + Michael.Smith
2015-05-02 13:41:50Michael.Smithsetmessageid: <1430574110.71.0.619526001392.issue24113@psf.upfronthosting.co.za>
2015-05-02 13:41:50Michael.Smithlinkissue24113 messages
2015-05-02 13:41:50Michael.Smithcreate