Message179602
./Python/traceback.c: write(fd, &c, 1);
./Python/traceback.c: write(fd, "\"", 1);
./Python/traceback.c: write(fd, "\"", 1);
./Python/traceback.c: write(fd, "\n", 1);
./Python/traceback.c: write(fd, "\n", 1);
Oh, I wrote these ones. It is code called by the faulthandle module, from a signal handler. So only async-safe functions can be called (no thread, no memory allocation, no lock!, etc.).
A simple fix would be to mark that we don't care if write() fails, but (void)write(fd, ...); doesn't make the warning quiet. |
|
Date |
User |
Action |
Args |
2013-01-10 22:19:02 | vstinner | set | recipients:
+ vstinner, christian.heimes, ezio.melotti, felipecruz, jcon, berker.peksag, serhiy.storchaka, mrshu |
2013-01-10 22:19:02 | vstinner | set | messageid: <1357856342.43.0.893664504312.issue15948@psf.upfronthosting.co.za> |
2013-01-10 22:19:02 | vstinner | link | issue15948 messages |
2013-01-10 22:19:01 | vstinner | create | |
|