[issue41748] HTMLParser: comma in attribute values with/without space

2021-02-01 Thread Ezio Melotti
Ezio Melotti added the comment: Merged! Thanks for the report and the PR! -- assignee: -> ezio.melotti resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue41748] HTMLParser: comma in attribute values with/without space

2021-02-01 Thread miss-islington
miss-islington added the comment: New changeset 0874491bcc392f7bd9c394ec2fdab183e3f320dd by Miss Islington (bot) in branch '3.9': bpo-41748: Handles unquoted attributes with commas (GH-24072) https://github.com/python/cpython/commit/0874491bcc392f7bd9c394ec2fdab183e3f320dd -- _

[issue41748] HTMLParser: comma in attribute values with/without space

2021-02-01 Thread miss-islington
miss-islington added the comment: New changeset 0869a713f21f4b2fe021d802cf18f1b1af53695f by Miss Islington (bot) in branch '3.8': bpo-41748: Handles unquoted attributes with commas (GH-24072) https://github.com/python/cpython/commit/0869a713f21f4b2fe021d802cf18f1b1af53695f -- _

[issue41748] HTMLParser: comma in attribute values with/without space

2021-02-01 Thread STINNER Victor
STINNER Victor added the comment: Oh, thank you Karl Dubost for the fix! -- ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue41748] HTMLParser: comma in attribute values with/without space

2021-02-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +23231 pull_request: https://github.com/python/cpython/pull/24416 ___ Python tracker ___ __

[issue41748] HTMLParser: comma in attribute values with/without space

2021-02-01 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 4.0 -> 5.0 pull_requests: +23230 pull_request: https://github.com/python/cpython/pull/24415 ___ Python tracker _

[issue41748] HTMLParser: comma in attribute values with/without space

2021-02-01 Thread Ezio Melotti
Ezio Melotti added the comment: New changeset 9eb11a139fac5514d8456626806a68b3e3b7eafb by Karl Dubost in branch 'master': bpo-41748: Handles unquoted attributes with commas (#24072) https://github.com/python/cpython/commit/9eb11a139fac5514d8456626806a68b3e3b7eafb -- ___

[issue41748] HTMLParser: comma in attribute values with/without space

2021-01-10 Thread karl
karl added the comment: Status: The PR should be ready and completed https://github.com/python/cpython/pull/24072 and eventually be merged at a point. Thanks to ezio.melotti for the wonderful guidance. -- ___ Python tracker

[issue41748] HTMLParser: comma in attribute values with/without space

2021-01-03 Thread karl
Change by karl : -- keywords: +patch pull_requests: +22904 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/24072 ___ Python tracker ___

[issue41748] HTMLParser: comma in attribute values with/without space

2021-01-03 Thread Ezio Melotti
Ezio Melotti added the comment: Writing tests that verify the expected behavior is a great first step. The expected output in the tests should match the behavior described by the HTML 5 specs (which should also correspond to the browsers' behavior), and should initially fail. You can start c

[issue41748] HTMLParser: comma in attribute values with/without space

2021-01-03 Thread karl
karl added the comment: Ah! This is fixing it diff --git a/Lib/html/parser.py b/Lib/html/parser.py index 6083077981..790666 100644 --- a/Lib/html/parser.py +++ b/Lib/html/parser.py @@ -44,7 +44,7 @@ (?:\s*=+\s*# value indicator (?:'[^']*'

[issue41748] HTMLParser: comma in attribute values with/without space

2021-01-03 Thread karl
Change by karl : -- title: HTMLParser: parsing error -> HTMLParser: comma in attribute values with/without space ___ Python tracker ___ ___