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

index 0f46ed36b9649063228ee36b62e17257f5b45715..32ec933ecb99067635414da14396428a100f9a60 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -12,6 +12,9 @@ What's New in Python 2.4.3c1?
 Core and builtins
 -----------------
 
+- Bug #959576: The pwd module is now builtin. This allows Python to be
+  built on UNIX platforms without $HOME set.
+
 - Bug #1379994: Builtin unicode_escape and raw_unicode_escape codec
   now encodes backslash correctly.
 
index 802a0485a6ed12a3b0f7333fe326c16fe0771525..dcda584269b42a96ebf42f906e528ad498108c2a 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) 
 #grp grpmodule.c               # grp(3)
 #select selectmodule.c # select(2); not on ancient System V