A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2003-September/038116.html below:

[Python-Dev] pending deprecation warning for Set.update

[Python-Dev] pending deprecation warning for Set.update [Python-Dev] pending deprecation warning for Set.updateRaymond Hettinger python at rcn.com
Wed Sep 17 12:18:15 EDT 2003
>     Jeremy> It looks like current CVS has grown a pending deprecation
>     Jeremy> warning for the update() method of Sets ...
[Skip] 
> +1 on everything Jeremy wrote.

One other thought:  having a PendingDeprecationWarning is somewhat
innocuous.  By default, those warnings are filtered out (set to Ignore).  
You have to ask to see them.    It would be much different for a 
DeprecationWarning.

It is pretty conservative to issue a pending warning now, a deprecation
warning in 2.4, and remove the duplicate method in 2.5.  This is doubly
true for a brand new module that has only a minimal existing code base.
Not bringing it up for 12 to18 months is, IMHO, much more impactful.


Raymond

More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4