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 avdd
Recipients avdd, bquinlan, r.david.murray, ron_adam
Date 2011-01-17.18:42:27
SpamBayes Score 2.7655137e-06
Marked as misclassified No
Message-id <1295289749.97.0.316888151946.issue10918@psf.upfronthosting.co.za>
In-reply-to
Content
The futures case is one example of a broader API design issue.

Note also that 'self' is similarly restricted.  You might think these are 'corner cases', but to me it is poor API design.  There may well be a reasonable case for passing 'self' as a keyword arg; what right has the API to dictate otherwise?

I think Python's private name mangling provides a reasonably clean, self-documenting solution, pushing the 'corner' case further to the corner (the restriction would then be on the much-less-likely mangled names).
History
Date User Action Args
2011-01-17 18:42:30avddsetrecipients: + avdd, bquinlan, ron_adam, r.david.murray
2011-01-17 18:42:29avddsetmessageid: <1295289749.97.0.316888151946.issue10918@psf.upfronthosting.co.za>
2011-01-17 18:42:27avddlinkissue10918 messages
2011-01-17 18:42:27avddcreate