|
Mantis - pymysql
|
|||||
| Viewing Issue Advanced Details | |||||
|
|
|||||
| ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
| 4668 | other | minor | always | 2011-01-14 01:02 | 2013-05-05 12:08 |
|
|
|||||
| Reporter: | wbonnet | Platform: | |||
| Assigned To: | maciej | OS: | |||
| Priority: | normal | OS Version: | |||
| Status: | closed | Product Version: | |||
| Product Build: | Resolution: | fixed | |||
| Projection: | none | ||||
| ETA: | none | Fixed in Version: | |||
|
|
|||||
| 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 |
||||
| Relationships | |||||
| Attached Files: | |||||
|
|
|||||
| Issue History | |||||
| Date Modified | Username | Field | Change | ||
| 2011-01-14 01:02 | wbonnet | New Issue | |||
| 2013-05-05 12:06 | maciej | Status | new => assigned | ||
| 2013-05-05 12:06 | maciej | Assigned To | => maciej | ||
| 2013-05-05 12:08 | maciej | Note Added: 0010375 | |||
| 2013-05-05 12:08 | maciej | Status | assigned => closed | ||
| 2013-05-05 12:08 | maciej | Resolution | open => fixed | ||
| Notes | |||||
|
|
|||||
|
|
||||