On Sun, May 20, 2018 at 02:53:46PM -0400, Juancarlo Añez wrote: > This shouldn't be: > > if os.fork() as child_pid: > parent(child_pid) > else: > child() > > print(child_pid) # child_pid is undefined
Why on earth would it be undefined? Anyway, if you want to propose an alternative to PEP 572, you ought to write your own competing PEP. -- Steve _______________________________________________ Python-ideas mailing list Python-ideas@python.org https://mail.python.org/mailman/listinfo/python-ideas Code of Conduct: http://python.org/psf/codeofconduct/