Package: python2.7
Version: 2.7.3~rc2-2
Severity: normal
Dear Maintainer,
Python2.7 documentation describes enable_load_extension() method on
sqlite3.Connection object. It's a new function of Python 2.7 (as said in the
documentation).
But if you try the example given in the documentation, it fails :
(run under ipython2.7)
import sqlite3
con = sqlite3.connect(":memory:")
con.enable_load_extension(True)
AttributeError: 'sqlite3.Connection' object has no attribute
'enable_load_extension'
The same example works fine with Python3.
So, I don't really know if it's a bug of python2.7 or python2.7-doc, or if it's
not really a bug.
Anyway, I thought it was worth signaling this problem.
Regards,
Sebastien KALT
-- System Information:
Debian Release: wheezy/sid
APT prefers unstable
APT policy: (900, 'unstable'), (800, 'testing'), (700, 'stable-updates'),
(700, 'stable'), (500, 'testing'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 3.2.0-2-amd64 (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages python2.7 depends on:
ii libbz2-1.0 1.0.6-1
ii libc6 2.13-27
ii libdb5.1 5.1.29-1
ii libexpat1 2.1.0-1
ii libgcc1 1:4.7.0-2
ii libncursesw5 5.9-6
ii libreadline6 6.2-8
ii libsqlite3-0 3.7.11-2
ii libtinfo5 5.9-6
ii mime-support 3.52-1
ii python2.7-minimal 2.7.3~rc2-2
python2.7 recommends no packages.
Versions of packages python2.7 suggests:
ii binutils 2.22-6
ii python2.7-doc 2.7.3~rc2-2
-- no debconf information
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]