[Python-Dev] lament for the demise of unbound methods (original) (raw)
"Martin v. Löwis" martin at v.loewis.de
Fri Jul 5 12:07:15 CEST 2013
- Previous message: [Python-Dev] lament for the demise of unbound methods
- Next message: [Python-Dev] lament for the demise of unbound methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Am 05.07.13 11:23, schrieb Michael Foord:
I've also lamented the death of bound methods in Python 3 for mock "autospeccing". Autospec introspects objects and provides mock objects with the same attributes - and with the same method signatures.
I wonder why you need to figure out the signatures in advance. Can you just wait until the function is actually used, and then process the parameters as you get them?
Regards, Martin
- Previous message: [Python-Dev] lament for the demise of unbound methods
- Next message: [Python-Dev] lament for the demise of unbound methods
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]