Revision: 5811
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5811&view=rev
Author:   efiring
Date:     2008-07-22 18:05:32 +0000 (Tue, 22 Jul 2008)

Log Message:
-----------
Add deprecation warning to cbook.popd

Modified Paths:
--------------
    trunk/matplotlib/lib/matplotlib/cbook.py

Modified: trunk/matplotlib/lib/matplotlib/cbook.py
===================================================================
--- trunk/matplotlib/lib/matplotlib/cbook.py    2008-07-22 18:00:49 UTC (rev 
5810)
+++ trunk/matplotlib/lib/matplotlib/cbook.py    2008-07-22 18:05:32 UTC (rev 
5811)
@@ -743,6 +743,8 @@
       val = popd(d, key, default)
 
     """
+    warnings.warn("Use native python dict.pop method", DeprecationWarning)
+    # warning added 2008/07/22
     if len(args)==1:
         key = args[0]
         val = d[key]


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to