Mark Dickinson <dicki...@gmail.com> added the comment: Thanks for the patches.
The first patch looks fine; I'll apply it shortly. For the second, I don't understand why you want to compare the return result with RLIM_INFINITY: PyInt_AsLong returns -1 to signal failure; is there some guarantee that RLIM_INFINITY == -1 if it's defined? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue5933> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com