logo       

Re: pysqlite 2.0.5 - python 2.4: msg#00044

python.db.pysqlite.user

Subject: Re: pysqlite 2.0.5 - python 2.4

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Daniel Nogradi wrote:
> I might be totally stupid but it seems to me that pysqlite 2.0.5
> doesn't work with python 2.4: [...]

I haven't tried with 2.4 point zero, but I don't think it will make any
difference.

Sorry, but I cannot explain what you're seeing - it works perfectly fine
when I try the same (see attached log).

- -- Gerhard
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFEXjTHdIO4ozGCH14RAqgaAJ90BRrMYIui8PMJPnefaieJQYGEkACeLbTN
Y0Dyp5+BPNB+VBhDSDDg+8k=
=L8uk
-----END PGP SIGNATURE-----
gerhard@lara:~/devel/pysqlite$ svn co
http://initd.org/svn/pysqlite/pysqlite/tags/2.0.5/
A 2.0.5/LICENSE
A 2.0.5/TODO
A 2.0.5/doc
A 2.0.5/doc/install-source.txt
A 2.0.5/doc/silvercity.css
A 2.0.5/doc/code
A 2.0.5/doc/code/execsql_printall_1.py
A 2.0.5/doc/code/insert_more_people.py
A 2.0.5/doc/code/parse_colnames.py
A 2.0.5/doc/code/adapter_datetime.py
A 2.0.5/doc/code/row_factory.py
A 2.0.5/doc/code/md5func.py
A 2.0.5/doc/code/simple_tableprinter.py
A 2.0.5/doc/code/executemany_1.py
A 2.0.5/doc/code/execsql_fetchonerow.py
A 2.0.5/doc/code/executemany_2.py
A 2.0.5/doc/code/createdb.py
A 2.0.5/doc/code/countcursors.py
A 2.0.5/doc/code/adapter_point_1.py
A 2.0.5/doc/code/adapter_point_2.py
A 2.0.5/doc/code/mysumaggr.py
A 2.0.5/doc/code/connect_db_1.py
A 2.0.5/doc/code/connect_db_2.py
A 2.0.5/doc/code/converter_point.py
A 2.0.5/doc/code/execute_1.py
A 2.0.5/doc/code/execute_2.py
A 2.0.5/doc/code/execute_3.py
A 2.0.5/doc/code/pysqlite_datetime.py
A 2.0.5/doc/code/executescript.py
A 2.0.5/doc/pysqlite-introduction-slides
A 2.0.5/doc/pysqlite-introduction-slides/pysqlite-introduction.pdf
A 2.0.5/doc/pysqlite-introduction-slides/pysqlite-introduction.odp
A 2.0.5/doc/default.css
A 2.0.5/doc/docutils.css
A 2.0.5/doc/usage-guide.txt
A 2.0.5/lib
A 2.0.5/lib/test
A 2.0.5/lib/test/transactions.py
A 2.0.5/lib/test/__init__.py
A 2.0.5/lib/test/dbapi.py
A 2.0.5/lib/test/types.py
A 2.0.5/lib/test/factory.py
A 2.0.5/lib/test/userfunctions.py
A 2.0.5/lib/__init__.py
A 2.0.5/lib/dbapi2.py
A 2.0.5/docutilsupport.py
A 2.0.5/scripts
A 2.0.5/scripts/test-pysqlite
A 2.0.5/scripts/stress.py
A 2.0.5/setup.py
A 2.0.5/src
A 2.0.5/src/converters.h
A 2.0.5/src/connection.c
A 2.0.5/src/cache.c
A 2.0.5/src/adapters.c
A 2.0.5/src/connection.h
A 2.0.5/src/cache.h
A 2.0.5/src/adapters.h
A 2.0.5/src/cursor.c
A 2.0.5/src/util.c
A 2.0.5/src/microprotocols.c
A 2.0.5/src/prepare_protocol.c
A 2.0.5/src/cursor.h
A 2.0.5/src/util.h
A 2.0.5/src/microprotocols.h
A 2.0.5/src/prepare_protocol.h
A 2.0.5/src/module.c
A 2.0.5/src/module.h
A 2.0.5/src/converters.c
A 2.0.5/MANIFEST.in
A 2.0.5/misc
A 2.0.5/misc/lru.py
A 2.0.5/misc/Makefile
A 2.0.5/benchmarks
A 2.0.5/benchmarks/fetch.py
A 2.0.5/benchmarks/insert.py
A 2.0.5/win32env.cmd
A 2.0.5/setup.cfg
Checked out revision 272.
gerhard@lara:~/devel/pysqlite$ cd 2.0.5
gerhard@lara:~/devel/pysqlite/2.0.5$ python setup.py build
Building documentation file install-source.html.
Building documentation file usage-guide.html.
running build
running build_py
creating build
creating build/lib.linux-i686-2.4
creating build/lib.linux-i686-2.4/pysqlite2
copying lib/__init__.py -> build/lib.linux-i686-2.4/pysqlite2
copying lib/dbapi2.py -> build/lib.linux-i686-2.4/pysqlite2
creating build/lib.linux-i686-2.4/pysqlite2/test
copying lib/test/transactions.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying lib/test/__init__.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying lib/test/dbapi.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying lib/test/types.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying lib/test/factory.py -> build/lib.linux-i686-2.4/pysqlite2/test
copying lib/test/userfunctions.py -> build/lib.linux-i686-2.4/pysqlite2/test
running build_ext
building 'pysqlite2._sqlite' extension
creating build/temp.linux-i686-2.4
creating build/temp.linux-i686-2.4/src
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPYSQLITE_VERSION="2.0.5" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4
-I/usr/local -I/usr/include/python2.4 -c src/module.c -o
build/temp.linux-i686-2.4/src/module.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPYSQLITE_VERSION="2.0.5" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4
-I/usr/local -I/usr/include/python2.4 -c src/connection.c -o
build/temp.linux-i686-2.4/src/connection.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPYSQLITE_VERSION="2.0.5" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4
-I/usr/local -I/usr/include/python2.4 -c src/cursor.c -o
build/temp.linux-i686-2.4/src/cursor.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPYSQLITE_VERSION="2.0.5" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4
-I/usr/local -I/usr/include/python2.4 -c src/cache.c -o
build/temp.linux-i686-2.4/src/cache.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPYSQLITE_VERSION="2.0.5" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4
-I/usr/local -I/usr/include/python2.4 -c src/microprotocols.c -o
build/temp.linux-i686-2.4/src/microprotocols.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPYSQLITE_VERSION="2.0.5" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4
-I/usr/local -I/usr/include/python2.4 -c src/adapters.c -o
build/temp.linux-i686-2.4/src/adapters.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPYSQLITE_VERSION="2.0.5" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4
-I/usr/local -I/usr/include/python2.4 -c src/converters.c -o
build/temp.linux-i686-2.4/src/converters.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPYSQLITE_VERSION="2.0.5" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4
-I/usr/local -I/usr/include/python2.4 -c src/prepare_protocol.c -o
build/temp.linux-i686-2.4/src/prepare_protocol.o
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -O3 -Wall -Wstrict-prototypes
-fPIC -DPYSQLITE_VERSION="2.0.5" -DPY_MAJOR_VERSION=2 -DPY_MINOR_VERSION=4
-I/usr/local -I/usr/include/python2.4 -c src/util.c -o
build/temp.linux-i686-2.4/src/util.o
gcc -pthread -shared build/temp.linux-i686-2.4/src/module.o
build/temp.linux-i686-2.4/src/connection.o
build/temp.linux-i686-2.4/src/cursor.o build/temp.linux-i686-2.4/src/cache.o
build/temp.linux-i686-2.4/src/microprotocols.o
build/temp.linux-i686-2.4/src/adapters.o
build/temp.linux-i686-2.4/src/converters.o
build/temp.linux-i686-2.4/src/prepare_protocol.o
build/temp.linux-i686-2.4/src/util.o -L/usr/local/lib -lsqlite3 -o
build/lib.linux-i686-2.4/pysqlite2/_sqlite.so
running build_scripts
creating build/scripts-2.4
copying and adjusting scripts/test-pysqlite -> build/scripts-2.4
changing mode of build/scripts-2.4/test-pysqlite from 644 to 755
gerhard@lara:~/devel/pysqlite/2.0.5$ cd build/lib.linux-i686-2.4/
gerhard@lara:~/devel/pysqlite/2.0.5/build/lib.linux-i686-2.4$ python
Python 2.4.2 (#2, Sep 30 2005, 21:19:01)
[GCC 4.0.2 20050808 (prerelease) (Ubuntu 4.0.1-4ubuntu8)] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from pysqlite2 import dbapi2 as sqlite
>>> con = sqlite.connect( ":memory:" )
>>> cur = con.cursor( )
>>> cur.execute( "create table t ( x int )" )
>>> sqlite.version
'2.0.5'
>>>
_______________________________________________
pysqlite mailing list
pysqlite-IAPFreCvJWPBWskQ1e/+sw@xxxxxxxxxxxxxxxx
http://lists.initd.org/mailman/listinfo/pysqlite
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise