]> granicus.if.org Git - python/commitdiff
[ 959576 ] Can't build Python on POSIX w/o $HOME
authorGeorg Brandl <georg@python.org>
Tue, 27 Dec 2005 17:37:07 +0000 (17:37 +0000)
committerGeorg Brandl <georg@python.org>
Tue, 27 Dec 2005 17:37:07 +0000 (17:37 +0000)
Misc/NEWS
Modules/Setup.dist

index e5224ef33b2a3bf4fb751afeedbc67df182d1f28..0e6e8d70ed3993d8ef4a45a6d59b46757c896755 100644 (file)
--- 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.
index c7357850c14c83adc65ed6b4ec448a1b925f973c..3a512b575d1fda201f8c2d22c68856e17bbe6b6a 100644 (file)
@@ -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