[Python-checkins] CVS: distutils/distutils extension.py,1.2,1.3

Greg Ward python-dev@python.org
Tue, 1 Aug 2000 17:04:16 -0700


Update of /cvsroot/python/distutils/distutils
In directory slayer.i.sourceforge.net:/tmp/cvs-serv31375

Modified Files:
	extension.py 
Log Message:
Removed 'export_symbol_file'.
'export_symbols' can be None (not sure this is a good idea: it's inconsistent
  with every other instance attribute of Extension).

Index: extension.py
===================================================================
RCS file: /cvsroot/python/distutils/distutils/extension.py,v
retrieving revision 1.2
retrieving revision 1.3
diff -C2 -r1.2 -r1.3
*** extension.py	2000/06/24 00:18:24	1.2
--- extension.py	2000/08/02 00:04:13	1.3
***************
*** 74,82 ****
          extensions, which typically export exactly one symbol: "init" +
          extension_name.
-       export_symbol_file : string
-         name of file that lists symbols to export; the format of this
-         file is platform- and compiler-specific.  This is even more
-         gratuitous and unnecessary than 'export_symbols'; I'll be happy
-         when it goes away forever.
      """
  
--- 74,77 ----
***************
*** 92,96 ****
                    extra_link_args=None,
                    export_symbols=None,
-                   export_symbol_file=None,
                   ):
  
--- 87,90 ----
***************
*** 112,117 ****
          self.extra_compile_args = extra_compile_args or []
          self.extra_link_args = extra_link_args or []
!         self.export_symbols = export_symbols or []
!         self.export_symbol_file = export_symbol_file
  
  # class Extension
--- 106,110 ----
          self.extra_compile_args = extra_compile_args or []
          self.extra_link_args = extra_link_args or []
!         self.export_symbols = export_symbols
  
  # class Extension