[issue8191] Make arg0 required argument in os.execl* functions

Alexander Belopolsky report at bugs.python.org
Sun Mar 21 19:18:55 CET 2010


New submission from Alexander Belopolsky <alexander.belopolsky at gmail.com>:

Since issue1039 made it illegal to pass empty argument list to execv*, I suggest to change signature of os.execl* functions and make arg0 a required positional argument.

This is not a backward compatible change because os.execlp('true'),  for example will now raise TypeError instead of ValueError.  However since issue1039 change has not been released yet, I think this can be done.

----------
components: Library (Lib)
files: execl.diff
keywords: patch
messages: 101437
nosy: Alexander.Belopolsky
severity: normal
status: open
title: Make arg0 required argument in os.execl* functions
type: feature request
versions: Python 3.3
Added file: http://bugs.python.org/file16613/execl.diff

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue8191>
_______________________________________


More information about the Python-bugs-list mailing list