Message309265
| Author | benjamin.peterson |
|---|---|
| Recipients | benjamin.peterson, gvanrossum, lemburg, pitrou, serhiy.storchaka, vstinner |
| Date | 2017-12-31.05:24:58 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1514697900.6.0.467229070634.issue31530@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
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. |
|
| History | |||
|---|---|---|---|
| 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 | |