From: Dag Sverre Seljebotn Date: Thu, 25 Jun 2009 17:37:01 +0000 (+0200) Subject: Fix #191 X-Git-Tag: 0.12.alpha0~281^2~2 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=590badb07636bfb6a8fe92c294b88141b9800d49;p=cython.git Fix #191 --- 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