From 13d8d697a0cf3b817649dc16842e8be21756a146 Mon Sep 17 00:00:00 2001 From: Dmitry Cheryasov Date: Tue, 17 May 2011 13:37:51 +0300 Subject: [PATCH] PY-3567: _socket.error circular import in skeletons. --- python/helpers/generator3.py | 5 +++-- python/helpers/required_gen_version | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/python/helpers/generator3.py b/python/helpers/generator3.py index 651eb999151e..595c1cccb4e2 100644 --- a/python/helpers/generator3.py +++ b/python/helpers/generator3.py @@ -24,7 +24,7 @@ but seemingly no one uses them in C extensions yet anyway. # * re.search-bound, ~30% time, in likes of builtins and _gtk with complex docstrings. # None of this can seemingly be easily helped. Maybe there's a simpler and faster parser library? -VERSION = "1.88" # Must be a number-dot-number string, updated with each change that affects generated skeletons +VERSION = "1.89" # Must be a number-dot-number string, updated with each change that affects generated skeletons # Note: DON'T FORGET TO UPDATE! import sys @@ -1034,7 +1034,8 @@ class ModuleRedeclarator(object): "numpy.core._dotblas", "numpy.core.umath", "_collections", - "_functools" + "_functools", + "_socket", # .error, etc ) # names that look genuinely exported but aren't. diff --git a/python/helpers/required_gen_version b/python/helpers/required_gen_version index a02f2f59c9d7..c7296fef7d95 100644 --- a/python/helpers/required_gen_version +++ b/python/helpers/required_gen_version @@ -6,7 +6,7 @@ (default) 1.85 # anything not explicitly marked -(built-in) 1.88 # skeletons of all built-in modules are built together +(built-in) 1.89 # skeletons of all built-in modules are built together # Note: modules like itertools, etc are "(built-in)" and are ignored if given separately # pygame._numericsndarray 1.81