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.

作者 martin.panter
收信人 Arfrever, eli.bendersky, ezio.melotti, martin.panter
日期 2014-12-17.01:48:55
SpamBayes Score -1.0
Marked as misclassified
Message-id <1418780937.46.0.138596380307.issue19176@psf.upfronthosting.co.za>
In-reply-to
内容
Since the doctype() method doesn’t appear to be removed from the “default” (3.5?) branch either, here is a patch that avoids the deprecation warning when inheriting method + a test.

Hopefully this will be useful when you get some time to look at it. I’m not sure if the PyCFunction_ calls are a good idea; they don’t seem to be documented, but I couldn’t think of a better way to check if the method was overridden.
历史
日期 用户 动作 参数
2014-12-17 01:48:57martin.panter修改recipients: + martin.panter, ezio.melotti, Arfrever, eli.bendersky
2014-12-17 01:48:57martin.panter修改messageid: <1418780937.46.0.138596380307.issue19176@psf.upfronthosting.co.za>
2014-12-17 01:48:57martin.panter链接issue19176 messages
2014-12-17 01:48:57martin.panter创建