[issue38746] HTML5 named character references not consistent

2019-11-08 Thread Terry J. Reedy

Terry J. Reedy  added the comment:

Questions should usually be asked on python-list or elsewhere.

To answer, html5 was created from
https://html.spec.whatwg.org/multipage/named-characters.html
with these issues and patches.
#3 dc44f55cc9dc1d016799362c344958baab328ff4
   518dbfd7b5a4614b095befc62d1abf1588c7c14a
#16245 e6e96eea5157650be77306b15b28bc815e14c2f3

The peculiarities in the dict keys reflect peculiarities in the standard. For 
instance, msg163706 of #3 says "the standard allows some charref to end 
without a ';', but not all of them."

I am leaving this open to add a link to the source file both in entities.py and 
the doc.  It shows examples of the entities.  A new one for me is smashp;   
U+02A33 ⨳.

--
assignee:  -> docs@python
components: +Documentation
nosy: +docs@python, terry.reedy
resolution:  -> not a bug
stage:  -> needs patch
versions: +Python 3.7, Python 3.8, Python 3.9

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38746] HTML5 named character references not consistent

2019-11-08 Thread Terry J. Reedy


Change by Terry J. Reedy :


--
nosy: +ezio.melotti

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue38746] HTML5 named character references not consistent

2019-11-08 Thread Mike Raider


New submission from Mike Raider :

In the file 
cpython/blob/master/Lib/html/entities.py

the HTML5 named character references (line 264) do not look consistent.

Some references have a semicolon at the end, some not, and some have both 
variants.

Is there a reason for this?

--
components: Library (Lib)
messages: 356246
nosy: mikeraider
priority: normal
severity: normal
status: open
title: HTML5 named character references not consistent

___
Python tracker 

___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com