Commit c6a18a5d authored by Greg Ward's avatar Greg Ward

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).
parent 04c90fc4
...@@ -73,11 +73,6 @@ class Extension: ...@@ -73,11 +73,6 @@ class Extension:
used on all platforms, and not generally necessary for Python used on all platforms, and not generally necessary for Python
extensions, which typically export exactly one symbol: "init" + extensions, which typically export exactly one symbol: "init" +
extension_name. 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, def __init__ (self, name, sources,
...@@ -91,7 +86,6 @@ class Extension: ...@@ -91,7 +86,6 @@ class Extension:
extra_compile_args=None, extra_compile_args=None,
extra_link_args=None, extra_link_args=None,
export_symbols=None, export_symbols=None,
export_symbol_file=None,
): ):
assert type(name) is StringType, "'name' must be a string" assert type(name) is StringType, "'name' must be a string"
...@@ -111,7 +105,6 @@ class Extension: ...@@ -111,7 +105,6 @@ class Extension:
self.extra_objects = extra_objects or [] self.extra_objects = extra_objects or []
self.extra_compile_args = extra_compile_args or [] self.extra_compile_args = extra_compile_args or []
self.extra_link_args = extra_link_args or [] self.extra_link_args = extra_link_args or []
self.export_symbols = export_symbols or [] self.export_symbols = export_symbols
self.export_symbol_file = export_symbol_file
# class Extension # class Extension
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment