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 yselivanov
Recipients larry, ncoghlan, serhiy.storchaka, yselivanov
Date 2014-02-03.18:17:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1391451455.61.0.176580213717.issue20489@psf.upfronthosting.co.za>
In-reply-to
Content
Attached is an experimental patch (issue20489_01.patch) that implements the idea of encoding full function name in its 'sig=' spec.

Test file:

   import zlib
   import inspect

   print(zlib.compressobj().flush.__text_signature__)
   print(inspect.signature(zlib.compressobj().flush))

Output:

   zlib.Compress.flush($self, mode=Z_FINISH)
   (mode=4)

And 'help(zlib.compressobj())' also works as expected.

If you like this approach I can fine-tune the patch.
History
Date User Action Args
2014-02-03 18:17:35yselivanovsetrecipients: + yselivanov, ncoghlan, larry, serhiy.storchaka
2014-02-03 18:17:35yselivanovsetmessageid: <1391451455.61.0.176580213717.issue20489@psf.upfronthosting.co.za>
2014-02-03 18:17:35yselivanovlinkissue20489 messages
2014-02-03 18:17:35yselivanovcreate