[Python-Dev] Re: Should set objects maintain insertion order too?

2019-12-18 Thread Nick Coghlan
On Wed., 18 Dec. 2019, 5:51 am Tim Peters, wrote: > But there are also other optimizations in the current set > implementation, so "fine, add the doubly linked list to sets but not > to dicts" is only part of it. > > Which may or may not be possible to match, let alone beat, in an > ordered set i

[Python-Dev] Thread argument for exc_info and public API

2019-12-18 Thread Julien Danjou
Hi there, I've been poking around the thread state API and error/exception handling, and there's something missing I'd like to see happening. The only way to retrieve the current exception is via sys.excinfo or PyErr_GetExcInfo in C. However, the issue is that they don't take a PyThreadState as a

[Python-Dev] Re: sqlite3 module and thread-safe SQLite library

2019-12-18 Thread Christian Heimes
On 18/12/2019 00.56, Gregory P. Smith wrote: > > On Tue, Dec 17, 2019 at 12:30 PM Kacvinsky, Tom > mailto:tom.kacvin...@vector.com>> wrote: > > We ran into an issue where having the SQLite library built with > -DSQLITE_THREADSAFE=0, > but then the sqlite3 module (really, the _sqlite3.