Revision: 6802
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=6802&view=rev
Author: efiring
Date: 2009-01-17 04:22:07 +0000 (Sat, 17 Jan 2009)
Log Message:
-----------
Make is_string_like work with boost python wrapped sequences
Modified Paths:
--------------
branches/v0_98_5_maint/CHANGELOG
branches/v0_98_5_maint/lib/matplotlib/cbook.py
Modified: branches/v0_98_5_maint/CHANGELOG
===================================================================
--- branches/v0_98_5_maint/CHANGELOG 2009-01-16 21:24:01 UTC (rev 6801)
+++ branches/v0_98_5_maint/CHANGELOG 2009-01-17 04:22:07 UTC (rev 6802)
@@ -1,4 +1,7 @@
-2009-11-16 Bugfix of C typedef of MPL_Int64 that was failing on
+2009-01-16 Fix bug in is_string_like so it doesn't raise an
+ unnecessary exception. - EF
+
+2009-01-16 Bugfix of C typedef of MPL_Int64 that was failing on
Windows XP 64 bit, as reported by George Goussard on numpy
mailing list. - ADS
Modified: branches/v0_98_5_maint/lib/matplotlib/cbook.py
===================================================================
--- branches/v0_98_5_maint/lib/matplotlib/cbook.py 2009-01-16 21:24:01 UTC
(rev 6801)
+++ branches/v0_98_5_maint/lib/matplotlib/cbook.py 2009-01-17 04:22:07 UTC
(rev 6802)
@@ -275,7 +275,7 @@
else:
return False
try: obj + ''
- except (TypeError, ValueError): return False
+ except: return False
return True
def is_sequence_of_strings(obj):
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:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins