Author stefan.richthofer
Recipients seletz, stefan.richthofer, zyasoft
Date 2017-02-06.17:26:46
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I would like to fix breakage of wraps by 'simply' adding a __module__ field to PyReflectedFunction and filling it appropriately in PyJavaType. (Remember to adjust PyReflectedFunction.copy and PyReflectedFunction.traverse accordingly).

In long term, Jim's solution is more complete, but is also a wider change and might take some time to be done right. Given that e.g. wraps is frequently used we should maybe add __module__ as a quick fix and improve on this later on.
Maybe an 'easy', preliminary "full fix" for custom attributes of PyReflectedFunction would be to let PyReflectedFunction have __dict__ (maybe lazily, on demand).
Date User Action Args
2017-02-06 17:26:47stefan.richthofersetmessageid: <>
2017-02-06 17:26:47stefan.richthofersetrecipients: + stefan.richthofer, zyasoft, seletz
2017-02-06 17:26:47stefan.richthoferlinkissue2476 messages
2017-02-06 17:26:46stefan.richthofercreate