Author rhettinger
Recipients rhettinger
Date 2015-11-15.19:21:12
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1447615273.45.0.0364929463097.issue25628@psf.upfronthosting.co.za>
In-reply-to
Content
This is a usability and readability improvement made possible by Python 3's keyword only arguments.

Usability is improved by getting a much less confusing response from the following mistake:

    namedtuple('Point', 'x', 'y')
                              ^--- invisibly goes to the "verbose" argument 

The "verbose" argument is normally used interactively (much like help() and dis()) or is used with a keyword argument, so it is unlikely that existing scripts will be much affected.  For the rare cases, the remediation is simple and improves code clarity (replacing "True" with "verbose=True").
History
Date User Action Args
2015-11-15 19:21:13rhettingersetrecipients: + rhettinger
2015-11-15 19:21:13rhettingersetmessageid: <1447615273.45.0.0364929463097.issue25628@psf.upfronthosting.co.za>
2015-11-15 19:21:13rhettingerlinkissue25628 messages
2015-11-15 19:21:12rhettingercreate