Message79803
It is not an issue with debug builds only. The crt error handler is
currently also reset globally for all builds which is very evil.
The current way we do thing is also not thread safe WRT other
application threads. On second thought though it is better to at least
keep this modification within the bounds of the GIL. I'll change the
patch for that.
IMHO, the issue for the posix fd functions isn't that great, since
hardly anyone would want to use them on windows. The main issue is
still the open() call. This one is possible to avoid too without
invoking changin the crt behaviour, by simply ramping up the
_sanitize_mode function.
I'll put in some more effort then, because I think it is really
important for Python to leave the crt settings alone, and still be sure
that random input can't have unforeseen consequences. |
|
Date |
User |
Action |
Args |
2009-01-13 23:39:01 | kristjan.jonsson | set | recipients:
+ kristjan.jonsson, loewis, mhammond, amaury.forgeotdarc |
2009-01-13 23:39:00 | kristjan.jonsson | set | messageid: <1231889940.76.0.814920155845.issue4804@psf.upfronthosting.co.za> |
2009-01-13 23:39:00 | kristjan.jonsson | link | issue4804 messages |
2009-01-13 23:38:59 | kristjan.jonsson | create | |
|