Code Monkey home page Code Monkey logo

Comments (8)

tiran avatar tiran commented on August 24, 2024 7

I have releases 0.5.0 yesterday.

from defusedxml.

AdamWill avatar AdamWill commented on August 24, 2024 1

@justuswilhelm try with https://github.com/tiran/defusedxml/pull/4.patch .

from defusedxml.

AdamWill avatar AdamWill commented on August 24, 2024

also reported this to upstream Python, since the Python docs explicitly endorse the use of defusedxml: https://bugs.python.org/issue29050

from defusedxml.

AdamWill avatar AdamWill commented on August 24, 2024

#4 should fix this, I think.

from defusedxml.

justuswilhelm avatar justuswilhelm commented on August 24, 2024

This seems to break my installation of python3-openid==3.0.10. If there is anything I can do to help (stack traces, debugging, testing, etc.) Please let me know.
This is what I'm seeing right now:

Traceback (most recent call last):
...
  File "/Users/justusperlwitz/mailops/env/lib/python3.6/site-packages/openid/consumer/consumer.py", line 196, in <module>
    from openid.consumer.discover import discover, OpenIDServiceEndpoint, \
  File "/Users/justusperlwitz/mailops/env/lib/python3.6/site-packages/openid/consumer/discover.py", line 22, in <module>
    from openid.yadis.etxrd import nsTag, XRDSError, XRD_NS_2_0
  File "/Users/justusperlwitz/mailops/env/lib/python3.6/site-packages/openid/yadis/etxrd.py", line 31, in <module>
    SafeElementTree = importSafeElementTree()
  File "/Users/justusperlwitz/mailops/env/lib/python3.6/site-packages/openid/oidutil.py", line 83, in importSafeElementTree
    return importElementTree(module_names)
  File "/Users/justusperlwitz/mailops/env/lib/python3.6/site-packages/openid/oidutil.py", line 106, in importElementTree
    ElementTree = __import__(mod_name, None, None, ['unused'])
  File "/Users/justusperlwitz/mailops/env/lib/python3.6/site-packages/defusedxml/cElementTree.py", line 16, in <module>
    from .ElementTree import DefusedXMLParser, _IterParseIterator
  File "/Users/justusperlwitz/mailops/env/lib/python3.6/site-packages/defusedxml/ElementTree.py", line 62, in <module>
    _XMLParser, _iterparse, _IterParseIterator, ParseError = _get_py3_cls()
  File "/Users/justusperlwitz/mailops/env/lib/python3.6/site-packages/defusedxml/ElementTree.py", line 56, in _get_py3_cls
    _IterParseIterator = pure_pymod._IterParseIterator
AttributeError: module 'xml.etree.ElementTree' has no attribute '_IterParseIterator'

from defusedxml.

justuswilhelm avatar justuswilhelm commented on August 24, 2024

Thanks so much for the patch, I was able to fix the issue until everything is merged to upstream.

from defusedxml.

ThomasWaldmann avatar ThomasWaldmann commented on August 24, 2024

https://travis-ci.org/nsupdate-info/nsupdate.info/jobs/193934880 having same issue, can't test nsupdate.info on py36.

from defusedxml.

AdamWill avatar AdamWill commented on August 24, 2024

Thanks a lot. I have sent 0.5.0 out for Fedora 24, 25 and Rawhide, and EPEL 7. I sent 0.4.1 to EPEL 6, as EL 6 is still on Python 2.6.

from defusedxml.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.