New submission from Al Korgun:
>>> import htmlentitydefs
>>> htmlentitydefs.name2codepoint.get("quot") # ok
34
>>> htmlentitydefs.name2codepoint.get("apos", "null") # ' -> chr(39)
'null'
----------
components: Library (Lib)
messages: 178060
nosy: WitcherGeralt
priority: normal
severity: normal
status: open
title: small disadvantage of htmlentitydefs
versions: Python 2.7
_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue16766>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe:
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com