On Wed, 7 Mar 2012 19:23:00 +0100, Sandro Tosi wrote: > the typical problem is a mysql.py in the same dir you are running the > command (. is always inserted at the beginning of sys.path).
That's what I was referring to. A mysql.py or a mysql/__init__.py in ".". > Else, can you import only 'mysql'? if yes, where it's pointing to? > > $ python -c 'import mysql as a ; print a.__file__' > /usr/lib/pymodules/python2.7/mysql/__init__.pyc $ python -c 'import mysql as a ; print a.__file__' /usr/lib/python2.7/dist-packages/mysql/__init__.pyc ..and that file is from a package I just sponsored in NEW (which provides the mysql.utilities module). I guess we just found a bug with the coexistence of dh_python2 and pysupport packages? Thanks for your help, David -- . ''`. Debian developer | http://wiki.debian.org/DavidPaleino : :' : Linuxer #334216 --|-- http://www.hanskalabs.net/ `. `'` GPG: 1392B174 ----|---- http://deb.li/dapal `- 2BAB C625 4E66 E7B8 450A C3E1 E6AA 9017 1392 B174
signature.asc
Description: PGP signature
_______________________________________________ Python-modules-team mailing list [email protected] http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/python-modules-team

