[New-bugs-announce] [issue19688] pip install now fails with 'HTMLParser' object has no attribute 'unescape'

Ned Deily report at bugs.python.org
Fri Nov 22 03:20:00 CET 2013


New submission from Ned Deily:

7b9235852b3b for Issue2927 moved and documents the previously undocumented unescape function.  Unfortunately, at least one third-party module, distlib, depends on it.  And distlib is now used by pip and needed for the ensurepip feature of 3.4.

$ python3.4 get-pip.py
Traceback (most recent call last):
  File "get-pip.py", line 7269, in <module>
    do_exec(entry, locals())
  File "<string>", line 1, in do_exec
  File "<string>", line 9, in <module>
  File "/var/folders/fm/9wjgctqx61n796zt88qmmnxc0000gn/T/unpacker-1kz7n2dh-scratchdir/pip/__init__.py", line 10, in <module>
  File "/var/folders/fm/9wjgctqx61n796zt88qmmnxc0000gn/T/unpacker-1kz7n2dh-scratchdir/pip/util.py", line 17, in <module>
  File "/var/folders/fm/9wjgctqx61n796zt88qmmnxc0000gn/T/unpacker-1kz7n2dh-scratchdir/pip/vendor/distlib/version.py", line 13, in <module>
  File "/var/folders/fm/9wjgctqx61n796zt88qmmnxc0000gn/T/unpacker-1kz7n2dh-scratchdir/pip/vendor/distlib/compat.py", line 343, in <module>
AttributeError: 'HTMLParser' object has no attribute 'unescape'

----------
assignee: ezio.melotti
components: Library (Lib)
messages: 203712
nosy: ezio.melotti, larry, ned.deily
priority: release blocker
severity: normal
status: open
title: pip install now fails with 'HTMLParser' object has no attribute 'unescape'
versions: Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19688>
_______________________________________


More information about the New-bugs-announce mailing list