[issue46855] printing a string with strange characters loops forever

2022-02-25 Thread svilen dobrev
svilen dobrev added the comment: aha. ctrl-s also closes it. seems kind-of ( ctrl-q - ctrl-s ) https://en.wikipedia.org/wiki/Software_flow_control thanks, closing this. -- resolution: -> not a bug stage: -> resolved status: open -&g

[issue46855] printing a string with strange characters loops forever

2022-02-25 Thread svilen dobrev
New submission from svilen dobrev : $ python Python 3.10.2 (main, Jan 15 2022, 19:56:27) [GCC 11.1.0] on linux Type "help", "copyright", "credits" or "license" for more information. >>> a= "Betrag gr\xc3\xb6\xc3\x9fer als Betrag der Original

[issue1046092] HTMLParser fix to accept malformed tag attributes

2011-05-05 Thread svilen dobrev
svilen dobrev a...@svilendobrev.com added the comment: this seems to eat too much into data and gets past endpos of the chunk processed, and parser gets confused and treats any subsequent stuff as data. i didn't think out how to fix the regexp as such, but instead limited its span to :endpos

[issue1046092] HTMLParser fix to accept malformed tag attributes

2011-05-05 Thread svilen dobrev
Changes by svilen dobrev a...@svilendobrev.com: Added file: http://bugs.python.org/file21892/test-htmlparser-attrs.py ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue1046092

[issue12008] HtmlParser non-strict goes wrong with unquoted attributes

2011-05-05 Thread svilen dobrev
New submission from svilen dobrev a...@svilendobrev.com: nonstrict mode seems to eat too much into data and gets past endpos of the chunk processed, and parser gets confused and treats any subsequent stuff as data. i didn't think out how to fix the regexp as such, but instead limited its span

[issue12008] HtmlParser non-strict goes wrong with unquoted attributes

2011-05-05 Thread svilen dobrev
Changes by svilen dobrev a...@svilendobrev.com: -- components: +Library (Lib) type: - behavior versions: +Python 3.2 Added file: http://bugs.python.org/file21894/test-htmlparser-attrs.py ___ Python tracker rep...@bugs.python.org http

[issue12008] HtmlParser non-strict goes wrong with unquoted attributes

2011-05-05 Thread svilen dobrev
svilen dobrev a...@svilendobrev.com added the comment: (the nonstrict regexp came with Issue1046092) -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue12008