Message11058

Author stefan.richthofer
Recipients seletz, stefan.richthofer
Date 2017-02-02.02:06:15
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1486001177.09.0.683493529158.issue2475@psf.upfronthosting.co.za>
In-reply-to
Content
Some weeks ago I did some work on a metaclass-related issue: http://bugs.jython.org/issue2515

Maybe because of those changes, maybe because of something else, this issue looks different nowadays:

Jython 2.7.1b3 (default:77f1bcd04321+, Feb 1 2017, 19:21:14) 
[OpenJDK 64-Bit Server VM (Oracle Corporation)] on java1.8.0_121
Type "help", "copyright", "credits" or "license" for more information.
>>> import pathlib
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/data/workspace/linux/Jython/packages/pathlib-1.0.1/pathlib.py", line 341, in <module>
    class _NormalAccessor(_Accessor):
  File "/data/workspace/linux/Jython/packages/pathlib-1.0.1/pathlib.py", line 359, in _NormalAccessor
    open = _wrap_strfunc(os.open)
  File "/data/workspace/linux/Jython/packages/pathlib-1.0.1/pathlib.py", line 344, in _wrap_strfunc
    @functools.wraps(strfunc)
  File "/data/workspace/linux/Jython/ssh/jython/dist/Lib/functools.py", line 33, in update_wrapper
    setattr(wrapper, attr, getattr(wrapped, attr))
AttributeError: 'reflectedfunction' object has no attribute '__module__'
>>> 

pathlib still doesn't import but now it seems to be the same issue as in #2476
History
Date User Action Args
2017-02-02 02:06:17stefan.richthofersetmessageid: <1486001177.09.0.683493529158.issue2475@psf.upfronthosting.co.za>
2017-02-02 02:06:17stefan.richthofersetrecipients: + stefan.richthofer, seletz
2017-02-02 02:06:16stefan.richthoferlinkissue2475 messages
2017-02-02 02:06:15stefan.richthofercreate