This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author Arfrever
Recipients Arfrever, pitrou, rogerbinns
Date 2012-10-05.18:48:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1349462897.28.0.00319785734087.issue16145@psf.upfronthosting.co.za>
In-reply-to
Content
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
$
History
Date User Action Args
2012-10-05 18:48:17Arfreversetrecipients: + Arfrever, pitrou, rogerbinns
2012-10-05 18:48:17Arfreversetmessageid: <1349462897.28.0.00319785734087.issue16145@psf.upfronthosting.co.za>
2012-10-05 18:48:17Arfreverlinkissue16145 messages
2012-10-05 18:48:16Arfrevercreate