| Anonymous | Login | 2026-04-03 20:17 CEST |
| Main | My View | View Issues |
| Viewing Issue Advanced Details [ Jump to Notes ] | [ View Simple ] [ 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 | Platform | |||
| Status | closed | OS | |||||
| Projection | none | OS Version | |||||
| ETA | none | Product Build | |||||
| 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 |
||||||
| Steps To Reproduce | |||||||
| 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 | |||||||
|
|
|||||||
Notes |
|
|
(0010375) maciej (manager) 2013-05-05 12:08 |
It has been fixed upstream, packaged and released. |
| Copyright © 2000 - 2008 Mantis Group |