i make a import MySQLdb on python and recive a next message on shell:
"soulless-br@soulless-br-desktop:~$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41) [GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
/var/lib/python-support/python2.6/MySQLdb/init.py:34: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
>>> "
I'm installed a .deb of the MySQLdb (version 1.2.2-7ubuntu1)... My Ubutnu is 9.04 x86...
Please tell me, whats wrong??
Sorry for my bad english....
Thank you!!!!
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello friends!!!!
i make a import MySQLdb on python and recive a next message on shell:
"soulless-br@soulless-br-desktop:~$ python
Python 2.6.2 (release26-maint, Apr 19 2009, 01:56:41)
[GCC 4.3.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> import MySQLdb
/var/lib/python-support/python2.6/MySQLdb/init.py:34: DeprecationWarning: the sets module is deprecated
from sets import ImmutableSet
>>> "
I'm installed a .deb of the MySQLdb (version 1.2.2-7ubuntu1)... My Ubutnu is 9.04 x86...
Please tell me, whats wrong??
Sorry for my bad english....
Thank you!!!!
This is the warning that everyone gets with Python 2.6 and MySQL-Python 1.2.2.
There is no need to be alarmed since deprecation means that the feature is working now but it may not be working in future versions of Python.
In detail the sets module became deprecated in Python 2.6 due to the built-in set types that were introduced in Python 2.4
If you want to get rid of the warning you can: