[Numpy-discussion] Problem with os.environ.clear in numpy initialization

Michael Behrisch oss at behrisch.de
Mon Oct 12 14:19:58 EDT 2015


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,
I encountered a problem in my code which depends on numpy. Due to an
unusual variable in my environment and this python bug
https://bugs.python.org/issue20658 the os.environ.clear call in
numpy/core/__init__.py fails. I wrote a patch and submitted a pull
request: https://github.com/behrisch/numpy/pull/1

Although it is mainly a workaround for the bug mentioned, I would be
happy if it could get accepted because I have only limited control of
the environment.

Best regards,
Michael
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.22 (GNU/Linux)

iEYEARECAAYFAlYb+c0ACgkQPBD+ltFwpilo1wCZAbvS192vVwnWCYT0y7L5At6m
TdsAoOmLjTnq7iVlh2QmnsM1qJ72PTyE
=wDnI
-----END PGP SIGNATURE-----



More information about the NumPy-Discussion mailing list