[issue30629] lower() is called twice

2017-06-19 Thread
Changes by 成瀬基樹 : -- pull_requests: +2332 ___ Python tracker <http://bugs.python.org/issue30629> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue30629] lower() is called twice

2017-06-19 Thread
成瀬基樹 added the comment: It will be highlight of my programmer life. Thank you. That pull request is just the beginning, not the last. -- ___ Python tracker <http://bugs.python.org/issue30

[issue30629] lower() is called twice

2017-06-10 Thread
New submission from 成瀬基樹: https://github.com/python/cpython/blob/master/Lib/html/parser.py#L415 elem is already lowercase string but call lower() for handle_endtag(). elem = match.group(1).lower() # script or style if self.cdata_elem is not None: if elem != self.cdata_elem