[pypy-issue] Issue #3136: os.putenv crashes in case of errors (win32) (pypy/pypy)

Christoph Reiter issues-reply at bitbucket.org
Wed Dec 25 08:00:36 EST 2019


New issue 3136: os.putenv crashes in case of errors (win32)
https://bitbucket.org/pypy/pypy/issues/3136/osputenv-crashes-in-case-of-errors-win32

Christoph Reiter:

```
import os
while 1:
    os.putenv("==", "foo")
```

On Windows 10 using PyPy 3 7.3.0rc3: no exception raised, process crashes

On Windows 10 using CPython 3.8.1: 

```
ValueError: illegal environment variable name
```

‌




More information about the pypy-issue mailing list