Message111287
Applies cleanly on the py3k branch at r83069, the tests work correctly (fail before applying the patch, success afterwards), and, to the best of my C-API knowledge, the C code is alright.
Oh, and it behaves as described...
Python 3.2a0 (py3k:83069M, Jul 23 2010, 12:40:49)
[GCC 4.2.1 (Apple Inc. build 5659)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> def foo(a, b, c): pass
...
>>> from functools import partial
>>> p1 = partial(foo, 1)
>>> p1.func, p1.args
(<function foo at 0x1004531e8>, (1,))
>>> p2 = partial(foo, 2)
>>> p2.func, p2.args
(<function foo at 0x1004531e8>, (2,)) |
|
Date |
User |
Action |
Args |
2010-07-23 12:13:41 | vdupras | set | recipients:
+ vdupras, belopolsky, pitrou, jackdied, Christophe Simonis |
2010-07-23 12:13:41 | vdupras | set | messageid: <1279887221.71.0.0641768353595.issue7830@psf.upfronthosting.co.za> |
2010-07-23 12:13:39 | vdupras | link | issue7830 messages |
2010-07-23 12:13:38 | vdupras | create | |
|