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 Yury.Selivanov
Recipients Claudiu.Popa, Yury.Selivanov, larry, michael.foord, ncoghlan, terry.reedy, yselivanov
Date 2014-01-19.17:16:57
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <16C1C4279A984CAF85EB4779CAB9913C@gmail.com>
In-reply-to <1390128283.34.0.158345143237.issue17481@psf.upfronthosting.co.za>
Content
Larry,  

I saw your message on the tracker regarding adding support for parameters groups to the signature object. Would you mind if I join the discussion with my ideas of how this feature might be implemented? 

Yury

On Sunday, January 19, 2014 at 5:44 AM, Larry Hastings wrote:

> 
> Larry Hastings added the comment:
> 
> I just want to mention, while we're all thinking about this stuff: I plan to enhance the Signature object to reflect "optional groups". Right now Signature objects cannot express parameters that are optional but don't have a published default. (e.g. a string parameter for a builtin having a default of NULL). A lot of these are being converted using optional groups, and I want to make it at least possible for user code to introspect those functions and understand that those are optional parameters.
> 
> My original plan was to add a "group" member, containing an arbitrary identifier of the "group" this parameter belongs to. I'm not sure that's sufficient; I may also need a "parent_group" parameter, or something like that, to represent the group that this group is nested in. I'm still thinking about it. But I'm hoping to get to this in the next two or three days.
> 
> ----------
> 
> _______________________________________
> Python tracker <report@bugs.python.org (mailto:report@bugs.python.org)>
> <http://bugs.python.org/issue17481>
> _______________________________________
History
Date User Action Args
2014-01-19 17:16:57Yury.Selivanovsetrecipients: + Yury.Selivanov, terry.reedy, ncoghlan, larry, michael.foord, Claudiu.Popa, yselivanov
2014-01-19 17:16:57Yury.Selivanovlinkissue17481 messages
2014-01-19 17:16:57Yury.Selivanovcreate