Message210152
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. |
|
Date |
User |
Action |
Args |
2014-02-03 18:17:35 | yselivanov | set | recipients:
+ yselivanov, ncoghlan, larry, serhiy.storchaka |
2014-02-03 18:17:35 | yselivanov | set | messageid: <1391451455.61.0.176580213717.issue20489@psf.upfronthosting.co.za> |
2014-02-03 18:17:35 | yselivanov | link | issue20489 messages |
2014-02-03 18:17:35 | yselivanov | create | |
|