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 bethard
Recipients Christophe.Guillon, amcnabb, andersk, bethard, davidben, drm, eric.araujo, eric.smith, gdb, nelhage, r.david.murray, skilletaudio
Date 2012-09-07.07:24:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1347002689.29.0.779143790606.issue9334@psf.upfronthosting.co.za>
In-reply-to
Content
Interesting idea! The regex would need a little extra care to interoperate properly with prefix_chars, but the approach doesn't seem crazy. I'd probably call the constructor option something like "args_default_to_positional" (the current behavior is essentially that args default to optional arguments if they look like optionals).

I'd be happy to review a patch along these lines. It would probably be good if Anders Kaseorg could also review it to make sure it fully solves his problem.
History
Date User Action Args
2012-09-07 07:24:49bethardsetrecipients: + bethard, amcnabb, eric.smith, eric.araujo, r.david.murray, andersk, gdb, nelhage, drm, davidben, skilletaudio, Christophe.Guillon
2012-09-07 07:24:49bethardsetmessageid: <1347002689.29.0.779143790606.issue9334@psf.upfronthosting.co.za>
2012-09-07 07:24:48bethardlinkissue9334 messages
2012-09-07 07:24:48bethardcreate