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 larry
Recipients barry, brett.cannon, gennad, gvanrossum, jkloth, larry, ncoghlan, serhiy.storchaka, skrah, yselivanov, zach.ware
Date 2014-01-26.12:36:59
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1390739828.14.0.848337591258.issue20326@psf.upfronthosting.co.za>
In-reply-to
Content
Here's a first cut at a patch.  All signatures now start with "sig=(".

I also added a special marker: if the first parameter starts with "$", we know for certain it's a "self" (or "module" or "type") parameter.  This means we can lose the heuristics for "do we have a self parameter?", making inspect.Signature a little more bullet-proof.  "$" was chosen as it isn't a legal token in Python.
History
Date User Action Args
2014-01-26 12:37:09larrysetrecipients: + larry, gvanrossum, barry, brett.cannon, ncoghlan, jkloth, skrah, gennad, zach.ware, serhiy.storchaka, yselivanov
2014-01-26 12:37:08larrysetmessageid: <1390739828.14.0.848337591258.issue20326@psf.upfronthosting.co.za>
2014-01-26 12:37:08larrylinkissue20326 messages
2014-01-26 12:37:07larrycreate