[Ironpython-users] IronPython, Daily Digest 2/9/2014

CodePlex no_reply at codeplex.com
Mon Feb 10 09:26:18 CET 2014


Hi ironpython,

Here's your Daily Digest of new issues for project "IronPython".

In today's digest:ISSUES

1. [New issue] metaclass interferes with property/partial
2. [New comment] metaclass interferes with property/partial

----------------------------------------------

ISSUES

1. [New issue] metaclass interferes with property/partial
http://ironpython.codeplex.com/workitem/34968
User tfigment has proposed the issue:

"Adding a metaclass causes partial properties to fail due to not passing all arguments to property using the partial.  Same functionality without even a dummy metaclass works."-----------------

2. [New comment] metaclass interferes with property/partial
http://ironpython.codeplex.com/workitem/34968
User tfigment has commented on the issue:

"<p>After addtional testing it looks like its a problem with partial though I cannot determine what it is from code at the moment.</p><p>using the following definition from the python docs instead of "from functools import partial" seems to work better.</p><p>```<br>def partial(func, *args, **keywords):<br>    def newfunc(*fargs, **fkeywords):<br>        newkeywords = keywords.copy()<br>        newkeywords.update(fkeywords)<br>        return func(*(args + fargs), **newkeywords)<br>    newfunc.func = func<br>    newfunc.args = args<br>    newfunc.keywords = keywords<br>    return newfunc<br>```</p>"
----------------------------------------------



----------------------------------------------
You are receiving this email because you subscribed to notifications on CodePlex.

To report a bug, request a feature, or add a comment, visit IronPython Issue Tracker. You can unsubscribe or change your issue notification settings on CodePlex.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/ironpython-users/attachments/20140210/cbf62bde/attachment.html>


More information about the Ironpython-users mailing list