summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2005-12-27 17:37:07 (GMT)
committerGeorg Brandl <georg@python.org>2005-12-27 17:37:07 (GMT)
commitcd4d1e8b46ab59a9a00976998ffdc36b223e6e67 (patch)
tree963c93be428dcae2af904f95a8691f5d7bd14b7e
parentc6224db254b6ef3067c9fd35d5ed7030b1d2a9af (diff)
downloadcpython-cd4d1e8b46ab59a9a00976998ffdc36b223e6e67.zip
cpython-cd4d1e8b46ab59a9a00976998ffdc36b223e6e67.tar.gz
cpython-cd4d1e8b46ab59a9a00976998ffdc36b223e6e67.tar.bz2
[ 959576 ] Can't build Python on POSIX w/o $HOME
-rw-r--r--Misc/NEWS3
-rw-r--r--Modules/Setup.dist3
2 files changed, 5 insertions, 1 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index e5224ef..0e6e8d7 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.5 alpha 1?
Core and builtins
-----------------
+- Bug #959576: The pwd module is now builtin. This allows Python to be
+ built on UNIX platforms without $HOME set.
+
- Bug #1072182, fix some potential problems if characters are signed.
- Bug #889500, fix line number on SyntaxWarning for global declarations.
diff --git a/Modules/Setup.dist b/Modules/Setup.dist
index c735785..3a512b5 100644
--- a/Modules/Setup.dist
+++ b/Modules/Setup.dist
@@ -111,6 +111,8 @@ PYTHONPATH=$(COREPYTHONPATH)
posix posixmodule.c # posix (UNIX) system calls
errno errnomodule.c # posix (UNIX) errno values
+pwd pwdmodule.c # this is needed to find out the user's home dir
+ # if $HOME is not set
_sre _sre.c # Fredrik Lundh's new regular expressions
_codecs _codecsmodule.c # access to the builtin codecs and codec registry
@@ -186,7 +188,6 @@ GLHACK=-Dclear=__GLclear
# supported...)
#fcntl fcntlmodule.c # fcntl(2) and ioctl(2)
-#pwd pwdmodule.c # pwd(3)
#spwd spwdmodule.c # spwd(3)
#grp grpmodule.c # grp(3)
#select selectmodule.c # select(2); not on ancient System V