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 r.david.murray
Recipients asvetlov, brian.curtin, gpolo, python-dev, r.david.murray, terry.reedy
Date 2012-03-22.21:10:57
SpamBayes Score 7.71605e-14
Marked as misclassified No
Message-id <1332450659.09.0.297767988778.issue3035@psf.upfronthosting.co.za>
In-reply-to
Content
You are theoretically right about not posting trivial patches, but as you can see, sometimes even a trivial patch elicits unexpected insights.  So I like to always post my patches, even the seemingly trivial ones.  Then if I don't get any responses, I figure it is OK to to ahead on the trivial ones :)

Of course, I don't do this 100% of the time.  This is especially true if there has been prior discussion, or sometimes discussion on IRC (although in the latter case I still may post the patch and always post summary of the IRC discussion).

As for the deprecation process. PendingDeprecationWarning was introduced for...I forget which feature it was.  Something that was going to be around for several releases, anyway.  And I think that feature wound up not getting removed until Python3, but I don't remember for sure.

Then for a short time we did start using it as you say, giving a three release deprecation cycle (pending, deprecated, gone), but that was before deprecation warnings were made silent.  PendingDeprecations were silent, you see, so using them one release early was a hack around the fact that DeprecationWarnings were *not* silent.

On the other hand I think we've gotten more strict about "needless" deprecations.  If there's no harm in leaving something in, we leave it in.  It's too bad Guido's comment wasn't noticed at the Python3 boundary; that is the perfect time to remove such cruft.  So doing a PendingDeprecationWarning to remind ourselves that this is something we want to remove in Python4 is also a reasonable approach.  Really, I think this is an area where our procedures and criteria are still a bit in flux...
History
Date User Action Args
2012-03-22 21:10:59r.david.murraysetrecipients: + r.david.murray, terry.reedy, gpolo, brian.curtin, asvetlov, python-dev
2012-03-22 21:10:59r.david.murraysetmessageid: <1332450659.09.0.297767988778.issue3035@psf.upfronthosting.co.za>
2012-03-22 21:10:58r.david.murraylinkissue3035 messages
2012-03-22 21:10:57r.david.murraycreate