[Python-checkins] python/dist/src/Lib/distutils/command bdist_dumb.py,1.16,1.16.26.1 bdist_wininst.py,1.27.4.1,1.27.4.2

anthonybaxter@sourceforge.net anthonybaxter@sourceforge.net
Wed, 17 Apr 2002 19:19:49 -0700


Update of /cvsroot/python/python/dist/src/Lib/distutils/command
In directory usw-pr-cvs1:/tmp/cvs-serv5636/Lib/distutils/command

Modified Files:
      Tag: release22-maint
	bdist_dumb.py bdist_wininst.py 
Log Message:
backport tim_one's patch:

SF bug 543840: complex(string) accepts strings with \0
complex_subtype_from_string():  this stopped parsing at the first 0
byte, as if that were the end of the input string.


Index: bdist_dumb.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/bdist_dumb.py,v
retrieving revision 1.16
retrieving revision 1.16.26.1
diff -C2 -d -r1.16 -r1.16.26.1
*** bdist_dumb.py	30 Sep 2000 18:27:54 -0000	1.16
--- bdist_dumb.py	18 Apr 2002 02:19:46 -0000	1.16.26.1
***************
*** 82,85 ****
--- 82,86 ----
          # And make an archive relative to the root of the
          # pseudo-installation tree.
+         install.warn_dir = 0
          archive_basename = "%s.%s" % (self.distribution.get_fullname(),
                                        self.plat_name)

Index: bdist_wininst.py
===================================================================
RCS file: /cvsroot/python/python/dist/src/Lib/distutils/command/bdist_wininst.py,v
retrieving revision 1.27.4.1
retrieving revision 1.27.4.2
diff -C2 -d -r1.27.4.1 -r1.27.4.2
*** bdist_wininst.py	25 Mar 2002 13:14:23 -0000	1.27.4.1
--- bdist_wininst.py	18 Apr 2002 02:19:46 -0000	1.27.4.2
***************
*** 99,102 ****
--- 99,103 ----
              setattr(install,
                      'install_' + key,
+         install.warn_dir = 0
                      value)