OpenCSW Bug Tracker


Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0004668 [pymysql] other minor always 2011-01-14 01:02 2013-05-05 12:08
Reporter wbonnet View Status public  
Assigned To maciej
Priority normal Resolution fixed  
Status closed  
Summary 0004668: Module MySQLdb outputs a DeprecationWarning
Description /opt/csw/lib/python/site-packages/MySQLdb/__init__.py:34: DeprecationWarning: the sets module is deprecated
  from sets import ImmutableSet
Additional Information A solution is detailled on this web site : http://flo.nigsch.com/?p=62 [^]

To get rid of this error and use the more efficient built-in set
type, do the following in the __init__.py file that was reported:

* comment line 34: from sets import ImmutableSet

* add after that line: ImmutableSet = frozenset

* comment line 41 in the original file: from sets import BaseSet

* add after that line: BaseSet = set

More details available on the web site
Tags No tags attached.
Attached Files

- Relationships

-  Notes
(0010375)
maciej (manager)
2013-05-05 12:08

It has been fixed upstream, packaged and released.


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker