Author jnoller
Recipients jnoller
Date 2009-01-19.16:32:40
SpamBayes Score 0.00530761
Marked as misclassified No
Message-id <>
Right now, the multiprocessing code is littered with statements like:

        assert self._popen is None, 'cannot start a process twice'
        assert self._parent_pid == os.getpid(), \
               'can only start a process object created by current 
        assert not _current_process._daemonic, \
               'daemonic processes are not allowed to have children'

These will obviously be stripped out if running in optimized mode - 
however its not cool to rely on these anyway, the code should be 
refactored to proper checks, e.g.:

    if not hasattr(lock, 'acquire'):
        raise AttributeError("'%r' has no method 'acquire'" % lock)
Date User Action Args
2009-01-19 16:32:42jnollersetrecipients: + jnoller
2009-01-19 16:32:42jnollersetmessageid: <>
2009-01-19 16:32:41jnollerlinkissue5001 messages
2009-01-19 16:32:41jnollercreate