On 5 Jul 2013, at 12:26, Łukasz Langa <lukasz at langa.pl> wrote: > On 5 lip 2013, at 12:07, Martin v. Löwis <martin at v.loewis.de> wrote: > >> 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? >> > > My guess is that Michael's design lets mock objects be introspected as well, i.e. they don't appear as magical as they really are to the user code. > This is also true. Doing it up front has some conveniences - for example dir(...) works correctly. Michael > -- > Best regards, > Łukasz Langa > > WWW: http://lukasz.langa.pl/ > Twitter: @llanga > IRC: ambv on #python-dev > -- http://www.voidspace.org.uk/ May you do good and not evil May you find forgiveness for yourself and forgive others May you share freely, never taking more than you give. -- the sqlite blessing http://www.sqlite.org/different.html
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4