[issue16509] sqlite3 docs do not explain check_same_thread

2016-05-25 Thread Berker Peksag

Berker Peksag added the comment:

Issue 27113 has a patch and more detailed description so I'm going to close 
this one as a 'duplicate'.

Thanks for the report!

--
nosy: +berker.peksag
resolution:  -> duplicate
stage: needs patch -> resolved
status: open -> closed
superseder:  -> sqlite3 connect parameter "check_same_thread" not documented

___
Python tracker 

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



[issue16509] sqlite3 docs do not explain check_same_thread

2014-07-16 Thread Mark Lawrence

Mark Lawrence added the comment:

@Daniel could you provide a patch for this?

--
nosy: +BreamoreBoy

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



[issue16509] sqlite3 docs do not explain check_same_thread

2014-07-16 Thread Thomas Kluyver

Thomas Kluyver added the comment:

The module docs do mention Older SQLite versions had issues with sharing 
connections between threads. Presumably that means that sharing the connection 
between threads is safe so long as you're not using 'older versions', but it 
would be nice to have some more clarity about how old those versions are.

--

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



[issue16509] sqlite3 docs do not explain check_same_thread

2014-07-16 Thread Thomas Kluyver

Thomas Kluyver added the comment:

This page also looks relevant: sqlite can be compiled or used in three 
different threading modes. Presumably Python compiles/initialises it in the 
serialised mode, which makes it safe to use a connection from different threads.

http://www.sqlite.org/threadsafe.html

--

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



[issue16509] sqlite3 docs do not explain check_same_thread

2013-01-28 Thread Thomas Kluyver

Changes by Thomas Kluyver tak...@gmail.com:


--
nosy: +takluyver

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



[issue16509] sqlite3 docs do not explain check_same_thread

2013-01-10 Thread R. David Murray

Changes by R. David Murray rdmur...@bitdance.com:


--
nosy: +r.david.murray

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



[issue16509] sqlite3 docs do not explain check_same_thread

2012-11-23 Thread Ezio Melotti

Changes by Ezio Melotti ezio.melo...@gmail.com:


--
nosy: +ghaering
stage:  - needs patch
versions: +Python 3.2, Python 3.4

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



[issue16509] sqlite3 docs do not explain check_same_thread

2012-11-18 Thread Daniel Micay

New submission from Daniel Micay:

The sqlite3 documentation now includes a Multithreading section explaining 
issues with older sqlite versions, but still doesn't directly cover disabling 
check_same_thread beyond listing it as a possible parameter.

As far as I can tell, reusing sqlite connections in different threads (such as 
from a pool) is safe, as long as no attempt is made to use them from multiple 
threads with no locking.

--
assignee: docs@python
components: Documentation
messages: 175946
nosy: docs@python, strcat
priority: normal
severity: normal
status: open
title: sqlite3 docs do not explain check_same_thread
type: enhancement
versions: Python 3.3

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