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 gregory.p.smith
Recipients Arfrever, ezio.melotti, gregory.p.smith, gruszczy, meatballhat
Date 2012-02-27.17:10:06
SpamBayes Score 2.4284352e-11
Marked as misclassified No
Message-id <1330362607.41.0.632232224667.issue8706@psf.upfronthosting.co.za>
In-reply-to
Content
At a quick glance, I think you've got the right idea.  Fixing this involves a lot of PyArg_ParseTuple -> PyArg_ParseTupleAndKeywords upgrades all over the place.

Obviously there are are a wide range of things that can use updating for this so in order to keep things sane, it makes sense to do them in stages with individual patches for particular libraries.

I like that your 8706_2.patch chose to attack stringlib to start with as that covers a lot of ground with one piece of code and that you updated the tests to confirm that ordered args and keyword args both work.

This issue as filed doesn't have a well defined "end goal" to know when it is complete.  Another good thing would be to come up with a final goal.  Perhaps an audit of the stdlib and types to list which things do not properly accept keyword arguments?  That way there is a list of things to check off.  And if desired we could file sub-issues for various components rather than letting this one get huge.
History
Date User Action Args
2012-02-27 17:10:07gregory.p.smithsetrecipients: + gregory.p.smith, ezio.melotti, Arfrever, gruszczy, meatballhat
2012-02-27 17:10:07gregory.p.smithsetmessageid: <1330362607.41.0.632232224667.issue8706@psf.upfronthosting.co.za>
2012-02-27 17:10:06gregory.p.smithlinkissue8706 messages
2012-02-27 17:10:06gregory.p.smithcreate