Message172110
Commit f2adbb1065eb introduced abort in _csv module in debug builds in Python 3.3, when using APSW shell.
(You need to have SQLite >=3.7.14 installed.)
$ cd /tmp
$ wget http://apsw.googlecode.com/files/apsw-3.7.14-r2.zip
$ unzip apsw-3.7.14-r2.zip
$ cd apsw-3.7.14-r2
$ python3.3dm setup.py build
...
$ PYTHONPATH="$(ls -d build/lib*)" python3.3dm tools/shell.py
SQLite version 3.7.14.1 (APSW 3.7.14-r2)
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .output output_file
sqlite> .mode csv
sqlite> select "a";
python3.3dm: /tmp/cpython/Modules/_csv.c:1111: join_append: Assertion `(((PyASCIIObject*)field)->state.ready)' failed.
Aborted
$
In bash shell:
$ PYTHONPATH="$(ls -d build/lib*)" python3.3dm tools/shell.py <<< $'.output output_file\n.mode csv\nselect "a";'
python3.3dm: /tmp/cpython/Modules/_csv.c:1111: join_append: Assertion `(((PyASCIIObject*)field)->state.ready)' failed.
Aborted
$ |
|
Date |
User |
Action |
Args |
2012-10-05 18:48:17 | Arfrever | set | recipients:
+ Arfrever, pitrou, rogerbinns |
2012-10-05 18:48:17 | Arfrever | set | messageid: <1349462897.28.0.00319785734087.issue16145@psf.upfronthosting.co.za> |
2012-10-05 18:48:17 | Arfrever | link | issue16145 messages |
2012-10-05 18:48:16 | Arfrever | create | |
|