Author vdupras
Recipients Christophe Simonis, belopolsky, jackdied, pitrou, vdupras
Date 2010-07-23.12:13:38
SpamBayes Score 8.49937e-12
Marked as misclassified No
Message-id <1279887221.71.0.0641768353595.issue7830@psf.upfronthosting.co.za>
In-reply-to
Content
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,))
History
Date User Action Args
2010-07-23 12:13:41vduprassetrecipients: + vdupras, belopolsky, pitrou, jackdied, Christophe Simonis
2010-07-23 12:13:41vduprassetmessageid: <1279887221.71.0.0641768353595.issue7830@psf.upfronthosting.co.za>
2010-07-23 12:13:39vdupraslinkissue7830 messages
2010-07-23 12:13:38vduprascreate