This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author r.david.murray
Recipients ajaksu2, loewis, mdr0, nnorwitz, r.david.murray, sable
Date 2010-09-22.13:13:45
SpamBayes Score 6.50028e-05
Marked as misclassified No
Message-id <1285161227.68.0.699024191501.issue9917@psf.upfronthosting.co.za>
In-reply-to
Content
And here is Martin's summary of the issue:

I think we really should create new issues for any remaining problems.

AFAICT, the remaining problems are:
- resource.RLIM_INFINITY is -1 on Linux, when it is meant to be
   a really large value
- (as you reported) getrlimit returns -1 to indicate RLIM_INFINITY.

I think the core of the problem is that the resource module considers
rlim_t to be a signed type (or at least representable in "long long").
Using FromUnsignedLongLong in the appropriate place might solve the
issue.
History
Date User Action Args
2010-09-22 13:13:47r.david.murraysetrecipients: + r.david.murray, loewis, nnorwitz, mdr0, sable, ajaksu2
2010-09-22 13:13:47r.david.murraysetmessageid: <1285161227.68.0.699024191501.issue9917@psf.upfronthosting.co.za>
2010-09-22 13:13:46r.david.murraylinkissue9917 messages
2010-09-22 13:13:45r.david.murraycreate