Roundup Robot added the comment:
New changeset 0e2e47c1f205 by Ezio Melotti in branch 'default':
#15114: the strict mode and argument of HTMLParser, HTMLParser.error, and the
HTMLParserError exception have been removed.
http://hg.python.org/cpython/rev/0e2e47c1f205
--
Ezio Melotti added the comment:
3.5 is done.
Closing.
--
resolution: - fixed
stage: needs patch - resolved
status: open - closed
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
Roundup Robot added the comment:
New changeset 5b95f3fdcc0b by Ezio Melotti in branch 'default':
#15114, #21047: update whatsnew in Python 3.5.
http://hg.python.org/cpython/rev/5b95f3fdcc0b
--
___
Python tracker rep...@bugs.python.org
Changes by Berker Peksag berker.pek...@gmail.com:
--
nosy: +berker.peksag
versions: +Python 3.5 -Python 3.4
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
Ezio Melotti added the comment:
3.4 is done.
3.5
strict arg removed and strict code removed
HTMLParseError removed
HTMLParser.error and calls to HTMLParser.error removed
--
Added file: http://bugs.python.org/file32535/issue15114-3.diff
___
Python
Roundup Robot added the comment:
New changeset 0a56709eb798 by Ezio Melotti in branch 'default':
#15114: The html.parser module now raises a DeprecationWarning when the strict
argument of HTMLParser or the HTMLParser.error method are used.
http://hg.python.org/cpython/rev/0a56709eb798
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: -serhiy.storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
keywords: +patch
Added file: http://bugs.python.org/file27528/issue15114-2.diff
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
Georg Brandl ge...@python.org added the comment:
Why not deprecate .error()? Removing it immediately as undocumented is
certainly not better.
Otherwise sounds good, please commit.
--
___
Python tracker rep...@bugs.python.org
Ezio Melotti ezio.melo...@gmail.com added the comment:
Regarding .error() I think the best thing to do is wait till 3.4 and then
deprecate it.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
Roundup Robot devn...@psf.upfronthosting.co.za added the comment:
New changeset 8dd2f5754b2f by Ezio Melotti in branch 'default':
#15114: the strict mode of HTMLParser and the HTMLParseError exception are
deprecated now that the parser is able to parse invalid markup.
Ezio Melotti ezio.melo...@gmail.com added the comment:
3.3 is done.
3.4
strict arg deprecated (raises a warning)
HTMLParser.error deprecated (raises a warning)
3.5
strict arg removed and strict code removed
HTMLParseError removed
HTMLParser.error and calls to HTMLParser.error removed
Changes by Arfrever Frehtes Taifersar Arahesis arfrever@gmail.com:
--
nosy: +Arfrever
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
Changes by Ezio Melotti ezio.melo...@gmail.com:
--
stage: needs patch - commit review
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
___
Ezio Melotti ezio.melo...@gmail.com added the comment:
The attached patch include these changes:
* strict=False default
* strict arg deprecated in the doc
* strict=True deprecated (raises a warning)
* HTMLParseError deprecated in the doc
* some calls to HTMLParser.error converted to asserts [0]
New submission from Ezio Melotti ezio.melo...@gmail.com:
The deprecation plan for the strict mode of HTMLParser might be as follow:
3.3 (before the beta)
strict=False default
strict arg deprecated in the doc
strict=True deprecated (raises a warning)
HTMLParseError deprecated
HTMLParser.error
Changes by Serhiy Storchaka storch...@gmail.com:
--
nosy: +storchaka
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
___
Python-bugs-list
R. David Murray rdmur...@bitdance.com added the comment:
Your plan sounds fine to me.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue15114
___
18 matches
Mail list logo