diff options
author | Greg Ward <gward@python.net> | 2000-08-02 00:04:13 (GMT) |
---|---|---|
committer | Greg Ward <gward@python.net> | 2000-08-02 00:04:13 (GMT) |
commit | c6a18a5d65960dc2aef7bf163f74db635ffa033f (patch) | |
tree | b4d44dd90840fc008a4c2beb1c4ddab357c03d38 /Lib/distutils | |
parent | 04c90fc475d4dbd0ea74682a3e399ce93f043a2c (diff) | |
download | cpython-c6a18a5d65960dc2aef7bf163f74db635ffa033f.zip cpython-c6a18a5d65960dc2aef7bf163f74db635ffa033f.tar.gz cpython-c6a18a5d65960dc2aef7bf163f74db635ffa033f.tar.bz2 |
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).
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/extension.py | 9 |
1 files changed, 1 insertions, 8 deletions
diff --git a/Lib/distutils/extension.py b/Lib/distutils/extension.py index f0f68b9..95a2ece 100644 --- a/Lib/distutils/extension.py +++ b/Lib/distutils/extension.py @@ -73,11 +73,6 @@ class Extension: used on all platforms, and not generally necessary for Python 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. """ def __init__ (self, name, sources, @@ -91,7 +86,6 @@ class Extension: extra_compile_args=None, extra_link_args=None, export_symbols=None, - export_symbol_file=None, ): assert type(name) is StringType, "'name' must be a string" @@ -111,7 +105,6 @@ class Extension: self.extra_objects = extra_objects or [] 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 + self.export_symbols = export_symbols # class Extension |