[New-bugs-announce] [issue16145] Abort in _csv module

Arfrever Frehtes Taifersar Arahesis report at bugs.python.org
Fri Oct 5 20:48:17 CEST 2012


New submission from Arfrever Frehtes Taifersar Arahesis:

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
$

----------
keywords: 3.3regression
messages: 172110
nosy: Arfrever, pitrou, rogerbinns
priority: normal
severity: normal
status: open
title: Abort in _csv module
versions: Python 3.3, Python 3.4

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue16145>
_______________________________________


More information about the New-bugs-announce mailing list