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.

Author martin.panter
Recipients Daryl Luna, Mariatta, berker.peksag, georg.brandl, giampaolo.rodola, gps, gregory.p.smith, larry, martin.panter, python-dev, r.david.murray, rnk
Date 2016-11-19.03:04:18
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1479524658.63.0.158321613876.issue20572@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks Mariatta. Some people like to use the warn(stacklevel=2) parameter, then the warning message is potentially more useful.

Also, I think it would be good to write a brief test case for the warning. There are probably lots of examples in the test suite, e.g. search for DeprecationWarning in revision 0dd263949e41.

Have you checked if there is existing code using the endtime=... parameter? It you run the test suite with -Werror enabled, that would be a good indicator.

Maybe it is okay to remove the parameter completely in 3.7.
History
Date User Action Args
2016-11-19 03:04:18martin.pantersetrecipients: + martin.panter, georg.brandl, gregory.p.smith, larry, giampaolo.rodola, gps, r.david.murray, rnk, python-dev, berker.peksag, Daryl Luna, Mariatta
2016-11-19 03:04:18martin.pantersetmessageid: <1479524658.63.0.158321613876.issue20572@psf.upfronthosting.co.za>
2016-11-19 03:04:18martin.panterlinkissue20572 messages
2016-11-19 03:04:18martin.pantercreate