[Python-modules-team] Bug#394999: python-mysqldb: Str2Set
conversion broken
Ulrich P. Klein
klein at ulrich-p-klein.de
Tue Oct 24 09:26:06 UTC 2006
Package: python-mysqldb
Version: 1.2.1-p2-4
Severity: normal
Tags: patch
For arguments like "1,2" the Str2Set conversion fails.
/usr/share/pycentral/python-mysqldb/site-packages/MySQLdb/converters.py,
line 46:
return apply(str, tuple(values))
should be:
return map(str, tuple(values))
The original version throws an exception because "str(1,2)" is called
for the above argument.
-- System Information:
Debian Release: testing/unstable
APT prefers testing-proposed-updates
APT policy: (900, 'testing-proposed-updates'), (900, 'proposed-updates'), (900, 'testing'), (400, 'stable'), (300, 'unstable')
Architecture: i386 (i686)
Shell: /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Versions of packages python-mysqldb depends on:
ii libc6 2.5-0exp1 GNU C Library: Shared libraries
ii libmysqlclient15off 5.0.24a-9 mysql database client library
ii python 2.4.3-11 An interactive high-level object-o
ii python-central 0.5.8 register and build utility for Pyt
ii zlib1g 1:1.2.3-13 compression library - runtime
python-mysqldb recommends no packages.
-- no debconf information
More information about the Python-modules-team
mailing list