It seems that this refers to Item #
<span id="ctl00_ctl00_ctl00_Content_ProjectBaseMain_ProjectMain_WorkItemDetailsControl_DetailsSidebar_IssueIdLabel">7594: <br><a href="http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=7594">
http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=7594</a></span><br><br><div><span class="gmail_quote">2007/2/14, Giles Thomas <<a href="mailto:giles.thomas@resolversystems.com">giles.thomas@resolversystems.com
</a>>:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Many thanks, Dino. This might be of use when debugging:<br><br>----<br>IronPython
1.0 (1.0.61005.1977) on .NET 2.0.50727.42<br>Copyright (c) Microsoft Corporation. All rights reserved.<br> >>> class F(object):<br>... def __call__(self, *args, **kwargs):<br>... print "F.__call__(%s, %s)" % (args, kwargs)
<br>...<br> >>> print F.__call__<br><class '__main__.F'><br> >>><br>----<br><br><br><br><br>Dino Viehland wrote:<br>> Thanks for the bug report. I've opened bug #8246 to track this (
<a href="http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=8246">http://www.codeplex.com/IronPython/WorkItem/View.aspx?WorkItemId=8246</a>).<br>><br>> -----Original Message-----<br>> From: <a href="mailto:users-bounces@lists.ironpython.com">
users-bounces@lists.ironpython.com</a> [mailto:<a href="mailto:users-bounces@lists.ironpython.com">users-bounces@lists.ironpython.com</a>] On Behalf Of Giles Thomas<br>> Sent: Wednesday, February 14, 2007 7:17 AM<br>> To: Discussion of IronPython
<br>> Subject: [IronPython] Bug in handling of keyword arguments for __call__<br>><br>> Hi,<br>><br>> It looks like there's a problem with calling a callable object using the<br>> "**" dictionary-unpacking syntax for keyword arguments. Here's a
<br>> minimal repro.<br>><br>> In CPython:<br>><br>> ------------------------<br>> Python 2.4.3 (#69, Mar 29 2006, 17:35:34) [MSC v.1310 32 bit (Intel)] on<br>> win32<br>> Type "help", "copyright", "credits" or "license" for more information.
<br>> >>> class F(object):<br>> ... def __call__(self, *args, **kwargs):<br>> ... print args, kwargs<br>> ...<br>> >>> f = F()<br>> >>> f(*(1,), **{'a' : 23})
<br>> (1,) {'a': 23}<br>> >>><br>> ------------------------<br>><br>> In IP 1.0.1 (also checked against 1.1 alpha):<br>><br>> ---------------------<br>> IronPython 1.0 (1.0.61005.1977
) on .NET 2.0.50727.42<br>> Copyright (c) Microsoft Corporation. All rights reserved.<br>> >>> class F(object):<br>> ... def __call__(self, *args, **kwargs):<br>> ... print args, kwargs<br>
> ...<br>> >>> f = F()<br>> >>> f(*(1,), **{'a' : 23})<br>> Traceback (most recent call last):<br>> File , line 0, in <stdin>##23<br>> Exception: this object is not callable with keyword parameters
<br>> ---------------------<br>><br>><br>> Regards,<br>><br>> Giles<br>><br>> --<br>> Giles Thomas<br>> <a href="mailto:giles.thomas@resolversystems.com">giles.thomas@resolversystems.com</a><br>
> +44 (0) 20 7253 6372<br>><br>> Resolver Systems Ltd<br>> 17a Clerkenwell Road, London EC1M 5RD, UK<br>> VAT No.: GB 893 5643 79<br>> Registered in England and Wales as company number 5467329.<br>> Registered address: 843 Finchley Road, London NW11 8NA, UK
<br>><br>> _______________________________________________<br>> users mailing list<br>> <a href="mailto:users@lists.ironpython.com">users@lists.ironpython.com</a><br>> <a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">
http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>> _______________________________________________<br>> users mailing list<br>> <a href="mailto:users@lists.ironpython.com">users@lists.ironpython.com
</a><br>> <a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>><br><br>--<br>Giles Thomas<br><a href="mailto:giles.thomas@resolversystems.com">
giles.thomas@resolversystems.com</a><br>+44 (0) 20 7253 6372<br><br>Resolver Systems Ltd<br>17a Clerkenwell Road, London EC1M 5RD, UK<br>VAT No.: GB 893 5643 79<br>Registered in England and Wales as company number 5467329.
<br>Registered address: 843 Finchley Road, London NW11 8NA, UK<br><br>_______________________________________________<br>users mailing list<br><a href="mailto:users@lists.ironpython.com">users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br></blockquote></div><br>