"Magnus Lycka" <[EMAIL PROTECTED]> wrote in message news:[EMAIL PROTECTED] > Thomas Bartkus wrote: > > But heck! Now I'm looking at the /usr/lib/python2.3/site-packages on a > > Mandrake Linux box. No [_mysql.] pyd here! Fewer files overall and while > > there are other file extensions, everything seems to have a corresponding > > [.py]. > > I suspect you might find _mysql.so there. If you find any .pyd files I > think you can safely remove them, since Windows DLLs work poorly in > Linux anyway. Aren't you starting to suspect that you don't really know > what you are talking about in this particular case?
Yes! And thank you so much for pointing that out :-) Thomas Bartkus > Where is the pure > Python code that actually communicates with the database server? Have > you found a single line of code that actually does that? How does it > communicate? Isn't there an 'import _mysql' somewhere? Where is the > _mysql.py then? > > What's this? > http://cvs.sourceforge.net/viewcvs.py/mysql-python/MySQLdb/_mysql.c > > What's this doing in setup.py? > 'ext_modules': [ > Extension( > name='_mysql', > sources=['_mysql.c'], > include_dirs=include_dirs, > library_dirs=library_dirs, > libraries=libraries, > extra_compile_args=extra_compile_args, > extra_objects=extra_objects, > ), > ], -- http://mail.python.org/mailman/listinfo/python-list