This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 ezio.melotti
收信人 eric.araujo, ezio.melotti, georg.brandl, r.david.murray, serhiy.storchaka
日期 2012-06-21.14:50:12
SpamBayes Score -1.0
Marked as misclassified
Message-id <1340290216.51.0.465139155179.issue15114@psf.upfronthosting.co.za>
In-reply-to
内容
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]

Regarding
* HTMLParser.error deprecated (raises a warning)
I'm not sure anymore that's a good idea.  The method is not documented, so in theory it could be removed without deprecation warnings, but that might break things if someone is using it.

[0] I made a mistake in my first message: some of the calls should actually be converted to assert, the others will stay as long as the strict mode exists (i.e. they will be removed in 3.5)
历史
日期 用户 动作 参数
2012-06-21 14:50:16ezio.melotti修改recipients: + ezio.melotti, georg.brandl, eric.araujo, r.david.murray, serhiy.storchaka
2012-06-21 14:50:16ezio.melotti修改messageid: <1340290216.51.0.465139155179.issue15114@psf.upfronthosting.co.za>
2012-06-21 14:50:15ezio.melotti链接issue15114 messages
2012-06-21 14:50:15ezio.melotti创建