[issue11691] sqlite3 Cursor.description doesn't set type_code

2015-08-19 Thread Gerhard Häring

Gerhard Häring added the comment:

There is no guarantee that all any column in a SQlite resultset always has the 
same type. That's why I decided to err on the side of setting the type code to 
undefined.

Closing as wontfix.

--
resolution:  - wont fix
status: open - closed

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11691
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11691] sqlite3 Cursor.description doesn't set type_code

2015-01-10 Thread Gerhard Häring

Changes by Gerhard Häring g...@ghaering.de:


--
assignee: docs@python - ghaering

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11691
___
___
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens

New submission from William Edward Stuart Clemens wesclemens+pyt...@gmail.com:

The DB API Spec 2.0 (PEP 249) clearly requires that column name and type_code 
be set as the first two values in Cursor.description the other 5 attributes are 
optional. The sqlite3 module doesn't set type_code.

--
components: None
files: sqlite.patch
keywords: patch
messages: 132289
nosy: wesclemens
priority: normal
severity: normal
status: open
title: sqlite3 Cursor.description doesn't set type_code
type: behavior
versions: Python 2.7
Added file: http://bugs.python.org/file21421/sqlite.patch

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11691
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread Ned Deily

Changes by Ned Deily n...@acm.org:


--
nosy: +ghaering

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11691
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com



[issue11691] sqlite3 Cursor.description doesn't set type_code

2011-03-26 Thread William Edward Stuart Clemens

William Edward Stuart Clemens wesclemens+pyt...@gmail.com added the comment:

The patch for version 3.3 has a one line difference.

--
assignee:  - docs@python
components: +Documentation, Library (Lib) -None
nosy: +docs@python
versions: +Python 3.3
Added file: http://bugs.python.org/file21422/sqlite3_type_code_py33.diff

___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue11691
___
___
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com