[Python-checkins] commit of r41834 - in python/trunk: Misc/NEWS Modules/Setup.dist

reinhold.birkenfeld python-checkins at python.org
Tue Dec 27 18:37:08 CET 2005


Author: reinhold.birkenfeld
Date: Tue Dec 27 18:37:07 2005
New Revision: 41834

Modified:
   python/trunk/Misc/NEWS
   python/trunk/Modules/Setup.dist
Log:
[ 959576 ] Can't build Python on POSIX w/o $HOME



Modified: python/trunk/Misc/NEWS
==============================================================================
--- python/trunk/Misc/NEWS	(original)
+++ python/trunk/Misc/NEWS	Tue Dec 27 18:37:07 2005
@@ -12,6 +12,9 @@
 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.

Modified: python/trunk/Modules/Setup.dist
==============================================================================
--- python/trunk/Modules/Setup.dist	(original)
+++ python/trunk/Modules/Setup.dist	Tue Dec 27 18:37:07 2005
@@ -111,6 +111,8 @@
 
 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 @@
 # 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


More information about the Python-checkins mailing list