mirror of
https://github.com/python/cpython.git
synced 2025-08-30 13:38:43 +00:00
Merge 3.2
This commit is contained in:
commit
3165a75e45
4 changed files with 40 additions and 2 deletions
|
@ -305,7 +305,7 @@ else:
|
|||
'''
|
||||
Returns prefix of command line used for spawning a child process
|
||||
'''
|
||||
if process.current_process()._identity==() and is_forking(sys.argv):
|
||||
if getattr(process.current_process(), '_inheriting', False):
|
||||
raise RuntimeError('''
|
||||
Attempt to start a new process before the current process
|
||||
has finished its bootstrapping phase.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue