[Python-bugs-list] [ python-Bugs-675259 ] os.environ leaks under FreeBSD and Mac OS X
SourceForge.net
noreply@sourceforge.net
Sun, 26 Jan 2003 21:39:16 -0800
Bugs item #675259, was opened at 2003-01-27 16:39
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=675259&group_id=5470
Category: Documentation
Group: Platform-specific
Status: Open
Resolution: None
Priority: 5
Submitted By: Stuart Bishop (zenzen)
Assigned to: Nobody/Anonymous (nobody)
Summary: os.environ leaks under FreeBSD and Mac OS X
Initial Comment:
If this sort if thing is documented anywhere, the putenv(3) method leaks under FreeBSD and Mac OS X (Mac OS X documents it as a bug they inherited from the FreeBSD codebase in the man page).
So don't set environment variables in a loop.
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=675259&group_id=5470