News for hackers. Stuff that matters.
Re:fork() can fail by ionelm on Wednesday August 20, 2014 @04:31PM (#8204418)
Seems Python handles this correctly (by raising an exception):

    >>> resource.setrlimit(resource.RLIMIT_NPROC, (0, 0))
    >>> os.fork()
    Traceback (most recent call last):
      File "<ipython-input-7-348c6e46312a>", line 1, in <module>
        os.fork()
    OSError: [Errno 11] Resource temporarily unavailable
Re:fork() can fail by illumen on Thursday August 21, 2014 @03:24AM (#8206219)
There are plenty of little nice things like this in python that save you. So if you're porting python code to other platforms... be very careful!