[issue43890] Deadlock when mixing event loops and subprocesses

2021-04-19 Thread Thomas Buhrmann
New submission from Thomas Buhrmann : When mixing code that spawns subprocesses with code that creates event loops, Python appears to deadlock. In the attached example, when WORKERS = 16 and ASYNC_WORKERS = 8, Python will sometimes (50% of the time?) deadlock, never exiting

[issue36497] Undocumented behavior in csv.Sniffer (preferred delimiters)

2019-04-01 Thread Thomas Buhrmann
New submission from Thomas Buhrmann : When the Sniffer detects more than one possible delimiter, as e.g. in the following file "a;b;c;d,e;f;g;h" the result will always be the ',' delimiter, independent of how "dominant" another delimiter is. This is because the codepath