Message309265
Unfortunately, it looks like this fix causes a regression. Some programs rely on being able to seek() and write to a file on multiple threads. For example, py.test captures the standard streams by redirecting them to a tmpfile and then truncating+seeking to 0 after every test. This change broke that situation when multiple threads are logging. Anyway, there's no real fundamental reason to prevent concurrent access, since the underlying stdio implementation is threadsafe. I think we'll have to resurrect my PR. |
|
Date |
User |
Action |
Args |
2017-12-31 05:25:00 | benjamin.peterson | set | recipients:
+ benjamin.peterson, lemburg, gvanrossum, pitrou, vstinner, serhiy.storchaka |
2017-12-31 05:25:00 | benjamin.peterson | set | messageid: <1514697900.6.0.467229070634.issue31530@psf.upfronthosting.co.za> |
2017-12-31 05:25:00 | benjamin.peterson | link | issue31530 messages |
2017-12-31 05:24:58 | benjamin.peterson | create | |
|