id,summary,reporter,owner,description,type,status,priority,milestone,component,resolution,keywords,cc,branch,branch_author,launchpad_bug
1640,Child process environment cannot be fully overridden on Windows,bwh,teratorn,"{{{twisted.internet.win32eventreactor.Process.__init__}}} does this:
{{{
# Add the specified environment to the current environment - this is
# necessary because certain operations are only supported on Windows
# if certain environment variables are present.
env = os.environ.copy()
env.update(environment or {})
}}}
whereas {{{twisted.internet.process.Process}}} passes the given environment dictionary to os.execve unaltered.

The comment applies just as well as to Posix systems as to Windows (for example LD_*, HOME, locale variables), and I don't see that it justifies this inconsistency.  The worst aspect of this behaviour is that it makes it impossible to un-define variables in a child process that are defined in the parent process.
",defect,new,normal,,core,,win32,teratorn jknight Trent.Nelson exarkun,,,
