[issue20388] Argument Clinic generates wrong signature for module level functions

2014-01-25 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: What if function already has the "module" parameter? E.g. _warnings.warn_explicit. -- status: pending -> open ___ Python tracker ___

[issue20388] Argument Clinic generates wrong signature for module level functions

2014-01-25 Thread Zachary Ware
Zachary Ware added the comment: That's by design (of #20189); inspect.Signature.from_builtin strips out the 'module' param. -- nosy: +zach.ware resolution: -> invalid status: open -> pending ___ Python tracker __

[issue20388] Argument Clinic generates wrong signature for module level functions

2014-01-25 Thread Serhiy Storchaka
New submission from Serhiy Storchaka: Argument Clinic generates wrong signature for module level functions. For example for the following declaration /*[clinic input] binascii.a2b_uu ascii: ascii_buffer / Decode a line of uuencoded data. [clinic start generated code]*/ Argument Clini