mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
SF patch #460805 by Chris Gonnerman: Support for unsetenv()
This adds unsetenv to posix, and uses it in the __delitem__ method of os.environ. (XXX Should we change the preferred name for putenv to setenv, for consistency?)
This commit is contained in:
parent
b6c1d5239c
commit
c524d952da
6 changed files with 81 additions and 19 deletions
4
configure
vendored
4
configure
vendored
|
@ -1,6 +1,6 @@
|
|||
#! /bin/sh
|
||||
|
||||
# From configure.in Revision: 1.273
|
||||
# From configure.in Revision: 1.274
|
||||
|
||||
# Guess values for system-dependent variables and create Makefiles.
|
||||
# Generated automatically using autoconf version 2.13
|
||||
|
@ -4824,7 +4824,7 @@ for ac_func in alarm chown chroot clock confstr ctermid ctermid_r execv \
|
|||
setlocale setregid setreuid setsid setpgid setuid setvbuf snprintf \
|
||||
sigaction siginterrupt sigrelse strftime strptime symlink sysconf \
|
||||
tcgetpgrp tcsetpgrp tempnam timegm times tmpfile tmpnam tmpnam_r \
|
||||
truncate uname waitpid _getpty getpriority
|
||||
truncate uname unsetenv waitpid _getpty getpriority
|
||||
do
|
||||
echo $ac_n "checking for $ac_func""... $ac_c" 1>&6
|
||||
echo "configure:4831: checking for $ac_func" >&5
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue