Message87471
Applied in r72479, r72481, r72482, r72483.
As a side note, I'm not 100% convinced of the correctness of the resource_setrlimit code. If rlim_t is smaller than an unsigned long then input values might be wrapped to a smaller
value (by the implicit long -> rlim_t conversion) when they should be signaling
OverflowError instead. Perhaps there should be a bunch of PySAFE_DOWNCASTs here?
Or maybe rlim_t is never smaller than a long in practice.
About RLIM_INFINITY: I can't find it documented anywhere that RLIM_INFINITY is (rlim_t)-1,
though I dare say that's true on many platforms. Still, it doesn't seem like a safe
assumption. |
|
Date |
User |
Action |
Args |
2009-05-08 21:15:30 | mark.dickinson | set | recipients:
+ mark.dickinson, georg.brandl, vstinner |
2009-05-08 21:15:30 | mark.dickinson | set | messageid: <1241817330.7.0.132008015929.issue5933@psf.upfronthosting.co.za> |
2009-05-08 21:15:28 | mark.dickinson | link | issue5933 messages |
2009-05-08 21:15:28 | mark.dickinson | create | |
|