From 590badb07636bfb6a8fe92c294b88141b9800d49 Mon Sep 17 00:00:00 2001 From: Dag Sverre Seljebotn Date: Thu, 25 Jun 2009 19:37:01 +0200 Subject: [PATCH] Fix #191 --- Cython/Includes/python_version.pxd | 4 ++-- tests/compile/shipped_pxds.pyx | 30 ++++++++++++++++++++++++++++++ 2 files changed, 32 insertions(+), 2 deletions(-) create mode 100644 tests/compile/shipped_pxds.pyx diff --git a/Cython/Includes/python_version.pxd b/Cython/Includes/python_version.pxd index 0e839704..e5aee0fb 100644 --- a/Cython/Includes/python_version.pxd +++ b/Cython/Includes/python_version.pxd @@ -28,5 +28,5 @@ cdef extern from *: # 0xC (release candidate) # 0xF (final) - char[] PY_VERSION - char[] PY_PATCHLEVEL_REVISION + char PY_VERSION[] + char PY_PATCHLEVEL_REVISION[] diff --git a/tests/compile/shipped_pxds.pyx b/tests/compile/shipped_pxds.pyx new file mode 100644 index 00000000..711484a5 --- /dev/null +++ b/tests/compile/shipped_pxds.pyx @@ -0,0 +1,30 @@ +cimport python_bool +cimport python_buffer +cimport python_complex +cimport python_dict +cimport python_exc +cimport python_float +cimport python_function +cimport python_instance +cimport python_int +cimport python_iterator +cimport python_list +cimport python_long +cimport python_mapping +cimport python_mem +cimport python_method +cimport python_module +cimport python_number +cimport python_object +cimport python_parse +cimport python +cimport python_ref +cimport python_sequence +cimport python_set +cimport python_string +cimport python_tuple +cimport python_type +cimport python_unicode +cimport python_version +cimport stdio +cimport stdlib -- 2.26.2