[issue8811] fixing sqlite3 docs for py3k

New submission from Shashwat Anand <anand.shashwat@gmail.com>: The docs of sqlite3 for python 3.0 and 3.1 seems to be written for python 2.6 and hence wrong at many places. like,
for member in r: print member
However the docs for sqlite3 in py3k trunk seems fine. The sqlite3 doc in py3k trunk should be used in these places. http://docs.python.org/release/3.0.1/library/sqlite3.html http://docs.python.org/release/3.1/library/sqlite3.html ---------- assignee: docs@python components: Documentation files: sqlite.rst.patch keywords: patch messages: 106382 nosy: docs@python, georg.brandl, ghaering, l0nwlf priority: normal severity: normal status: open title: fixing sqlite3 docs for py3k versions: Python 3.1, Python 3.2 Added file: http://bugs.python.org/file17451/sqlite.rst.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8811> _______________________________________

Changes by Ezio Melotti <ezio.melotti@gmail.com>: ---------- nosy: +ezio.melotti _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8811> _______________________________________

Georg Brandl <georg@python.org> added the comment: Hmm, the patch mostly doesn't apply for me on the 3.1 branch. (Note that 3.0 docs aren't maintained anymore, just like 3.0 itself.) ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8811> _______________________________________

Shashwat Anand <anand.shashwat@gmail.com> added the comment: ok, I think a few example codes are wrongly mentioned as if it were 2.x docs, however those examples at http://docs.python.org/dev/py3k/library/sqlite3 works correctly. Do by 'mostly', do you mean I should submit another patch with only those wrong examples rectified ? ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8811> _______________________________________

Changes by Shashwat Anand <anand.shashwat@gmail.com>: ---------- nosy: +r.david.murray _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8811> _______________________________________

Georg Brandl <georg@python.org> added the comment: Well, if I try applying your patch to 3.1 it fails. It would be nice to have one that applies flawlessly :) ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8811> _______________________________________

Georg Brandl <georg@python.org> added the comment: This was mostly fixed already, committed rest in r85611. ---------- resolution: -> fixed status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue8811> _______________________________________
participants (3)
-
Ezio Melotti
-
Georg Brandl
-
Shashwat Anand