Message281193
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. |
|
Date |
User |
Action |
Args |
2016-11-19 03:04:18 | martin.panter | set | recipients:
+ 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:18 | martin.panter | set | messageid: <1479524658.63.0.158321613876.issue20572@psf.upfronthosting.co.za> |
2016-11-19 03:04:18 | martin.panter | link | issue20572 messages |
2016-11-19 03:04:18 | martin.panter | create | |
|