Skip to content
Browse files

let Cython generate complete module cleanup code

  • Loading branch information...
1 parent f9ad4cf commit 808f7db8125d9a6c83241dabd8c42b328e83d05c @scoder scoder committed Aug 23, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 setupinfo.py
View
4 setupinfo.py
@@ -60,9 +60,9 @@ def ext_modules(static_include_dirs, static_library_dirs,
source_extension = ".pyx"
print("Building with Cython %s." % Cython.Compiler.Version.version)
- # generate module cleanup code for globals, but not for etree types imported in objectify
+ # generate module cleanup code
from Cython.Compiler import Options
- Options.generate_cleanup_code = 2
+ Options.generate_cleanup_code = 3
else:
source_extension = ".c"
if not os.path.exists(PACKAGE_PATH + 'lxml.etree.c'):

0 comments on commit 808f7db

Please sign in to comment.
Something went wrong with that request. Please try again.