Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fails with current Python 3.8 builds: error: too few arguments to function ‘PyCode_New’ #2938

Closed
mgedmin opened this issue Apr 30, 2019 · 20 comments

Comments

@mgedmin
Copy link

mgedmin commented Apr 30, 2019

I built CPython 3.8 from current git master for test purposes, and I've noticed that Cython does not work with it. Steps to reproduce:

  • get a python 3.8 (the version I used was 3.8.0a3+ (heads/master:d537ab0ff9, Apr 30 2019, 16:44:28)),
  • virtulalenv -p python3.8 /tmp/py38
  • /tmp/py38/bin/pip install cython

This fails with

    running build_ext
    building 'Cython.Plex.Scanners' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/tmp
    creating build/temp.linux-x86_64-3.8/tmp/pip-install-vy4o1bl9
    creating build/temp.linux-x86_64-3.8/tmp/pip-install-vy4o1bl9/cython
    creating build/temp.linux-x86_64-3.8/tmp/pip-install-vy4o1bl9/cython/Cython
    creating build/temp.linux-x86_64-3.8/tmp/pip-install-vy4o1bl9/cython/Cython/Plex
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/mg/opt/python38/include/python3.8 -c /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c -o build/temp.linux-x86_64-3.8/tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.o
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c: In function ‘__Pyx_InitCachedConstants’:
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7233:89: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read, 113, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 113, __pyx_L1_error)
                                                                                             ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:37: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                         ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7233:252: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
       __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read, 113, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 113, __pyx_L1_error)
                                                                                                                                                                                                                                                                ^~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:72: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                            ^~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7233:257: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read, 113, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 113, __pyx_L1_error)
                                                                                                                                                                                                                                                                     ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:79: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                   ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7233:33: note: in expansion of macro ‘__Pyx_PyCode_New’
       __pyx_codeobj__6 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__5, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read, 113, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__6)) __PYX_ERR(0, 113, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7245:89: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_position, 297, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 297, __pyx_L1_error)
                                                                                             ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:37: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                         ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7245:256: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
       __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_position, 297, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 297, __pyx_L1_error)
                                                                                                                                                                                                                                                                    ^~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:72: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                            ^~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7245:261: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_position, 297, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 297, __pyx_L1_error)
                                                                                                                                                                                                                                                                         ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:79: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                   ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7245:33: note: in expansion of macro ‘__Pyx_PyCode_New’
       __pyx_codeobj__8 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__7, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_position, 297, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__8)) __PYX_ERR(0, 297, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7257:90: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_get_position, 308, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 308, __pyx_L1_error)
                                                                                              ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:37: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                         ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7257:261: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
       __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_get_position, 308, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 308, __pyx_L1_error)
                                                                                                                                                                                                                                                                         ^~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:72: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                            ^~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7257:266: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_get_position, 308, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 308, __pyx_L1_error)
                                                                                                                                                                                                                                                                              ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:79: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                   ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7257:34: note: in expansion of macro ‘__Pyx_PyCode_New’
       __pyx_codeobj__10 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__9, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_get_position, 308, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__10)) __PYX_ERR(0, 308, __pyx_L1_error)
                                      ^~~~~~~~~~~~~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7269:90: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof, 334, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12)) __PYX_ERR(0, 334, __pyx_L1_error)
                                                                                              ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:37: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                         ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7269:253: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
       __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof, 334, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12)) __PYX_ERR(0, 334, __pyx_L1_error)
                                                                                                                                                                                                                                                                 ^~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:72: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                            ^~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7269:258: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof, 334, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12)) __PYX_ERR(0, 334, __pyx_L1_error)
                                                                                                                                                                                                                                                                      ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:79: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                   ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:7269:34: note: in expansion of macro ‘__Pyx_PyCode_New’
       __pyx_codeobj__12 = (PyObject*)__Pyx_PyCode_New(1, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__11, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof, 334, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__12)) __PYX_ERR(0, 334, __pyx_L1_error)
                                      ^~~~~~~~~~~~~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c: In function ‘__Pyx_CreateCodeObjectForTraceback’:
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:10031:9: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
             __pyx_empty_bytes, /*PyObject *code,*/
             ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:37: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                         ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:10039:9: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
             py_line,
             ^~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:72: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                            ^~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:10040:9: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
             __pyx_empty_bytes  /*PyObject *lnotab*/
             ^~~~~~~~~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:79: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                   ^~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:329:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:10025:15: note: in expansion of macro ‘__Pyx_PyCode_New’
         py_code = __Pyx_PyCode_New(
                   ^~~~~~~~~~~~~~~~
    In file included from /home/mg/opt/python38/include/python3.8/compile.h:5,
                     from /home/mg/opt/python38/include/python3.8/Python.h:137,
                     from /tmp/pip-install-vy4o1bl9/cython/Cython/Plex/Scanners.c:19:
    /home/mg/opt/python38/include/python3.8/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    error: command 'gcc' failed with exit status 1
    ----------------------------------------
ERROR: Command "/tmp/py38/bin/python3.8 -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-install-vy4o1bl9/cython/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-xiot_hb9/install-record.txt --single-version-externally-managed --compile --install-headers /tmp/py38/include/site/python3.8/cython" failed with error code 1 in /tmp/pip-install-vy4o1bl9/cython/

I'm on Ubuntu 19.04.

(FWIW /tmp/py38/bin/pip install lxml fails the build with a similar PyCode_New-related error, using, I assume, my system Cython package, which is 0.29.2-2build1. I had not noticed similar problems with 3.8.0a3 itself, but there've been almost 300 new commits since then.)

@mgedmin
Copy link
Author

mgedmin commented Apr 30, 2019

PyCode_New() signature was changed in python/cpython@8c77b8c, which implemented support for positional-only parameters (PEP-570).

@scoder scoder closed this as completed in d22678c Apr 30, 2019
@scoder
Copy link
Contributor

scoder commented Apr 30, 2019

Thanks for the report. I was aware that the signature changed from #2927, but we hadn't adapted yet. The fix won't apply until CPython 3.8a4 is released, which should happen within the next days.

@tacaswell
Copy link
Contributor

Even with a8506a9 I am still having issues building against current cpython master (python/cpython@d537ab0). Are there more changes expected to land in cpython that cython is anticipating? I am getting slightly different build failures having to do with wrong types not wrong number (build log in details below).

jupiter@13:42  ➤  pip install -v . 
Created temporary directory: /tmp/pip-ephem-wheel-cache-70n2r1jj
Created temporary directory: /tmp/pip-req-tracker-ingbbipc
Created requirements tracker '/tmp/pip-req-tracker-ingbbipc'
Created temporary directory: /tmp/pip-install-pxdt2__n
Processing /home/tcaswell/source/other_source/cython
  Created temporary directory: /tmp/pip-req-build-dp4_j9ke
  Added file:///home/tcaswell/source/other_source/cython to build tracker '/tmp/pip-req-tracker-ingbbipc'
    Running setup.py (path:/tmp/pip-req-build-dp4_j9ke/setup.py) egg_info for package from file:///home/tcaswell/source/other_source/cython
    Running command python setup.py egg_info
    running egg_info
    creating pip-egg-info/Cython.egg-info
    writing pip-egg-info/Cython.egg-info/PKG-INFO
    writing dependency_links to pip-egg-info/Cython.egg-info/dependency_links.txt
    writing entry points to pip-egg-info/Cython.egg-info/entry_points.txt
    writing top-level names to pip-egg-info/Cython.egg-info/top_level.txt
    writing manifest file 'pip-egg-info/Cython.egg-info/SOURCES.txt'
    Compiling /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.py because it changed.
    Compiling /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Actions.py because it changed.
    Compiling /tmp/pip-req-build-dp4_j9ke/Cython/Compiler/Scanning.py because it changed.
    Compiling /tmp/pip-req-build-dp4_j9ke/Cython/Compiler/Visitor.py because it changed.
    Compiling /tmp/pip-req-build-dp4_j9ke/Cython/Compiler/FlowControl.py because it changed.
    Compiling /tmp/pip-req-build-dp4_j9ke/Cython/Runtime/refnanny.pyx because it changed.
    Compiling /tmp/pip-req-build-dp4_j9ke/Cython/Compiler/FusedNode.py because it changed.
    Compiling /tmp/pip-req-build-dp4_j9ke/Cython/Tempita/_tempita.py because it changed.
    [1/8] Cythonizing /tmp/pip-req-build-dp4_j9ke/Cython/Compiler/FlowControl.py
    [2/8] Cythonizing /tmp/pip-req-build-dp4_j9ke/Cython/Compiler/FusedNode.py
    [3/8] Cythonizing /tmp/pip-req-build-dp4_j9ke/Cython/Compiler/Scanning.py
    [4/8] Cythonizing /tmp/pip-req-build-dp4_j9ke/Cython/Compiler/Visitor.py
    [5/8] Cythonizing /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Actions.py
    [6/8] Cythonizing /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.py
    [7/8] Cythonizing /tmp/pip-req-build-dp4_j9ke/Cython/Runtime/refnanny.pyx
    [8/8] Cythonizing /tmp/pip-req-build-dp4_j9ke/Cython/Tempita/_tempita.py
    reading manifest file 'pip-egg-info/Cython.egg-info/SOURCES.txt'
    reading manifest template 'MANIFEST.in'
    Unable to find pgen, not compiling formal grammar.
    warning: no files found matching '.gitrev'
    warning: no files found matching 'Doc/*'
    warning: no files found matching '*.pyx' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.pxd' under directory 'Cython/Debugger/Tests'
    warning: no files found matching '*.pxd' under directory 'Cython/Utility'
    warning: no files found matching 'pyximport/README'
    writing manifest file 'pip-egg-info/Cython.egg-info/SOURCES.txt'
  Source in /tmp/pip-req-build-dp4_j9ke has version 3.0a0, which satisfies requirement Cython==3.0a0 from file:///home/tcaswell/source/other_source/cython
  Removed Cython==3.0a0 from file:///home/tcaswell/source/other_source/cython from build tracker '/tmp/pip-req-tracker-ingbbipc'
Installing collected packages: Cython
  Created temporary directory: /tmp/pip-record-6k9decqb
    Running command /home/tcaswell/.virtualenvs/bleeding/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-req-build-dp4_j9ke/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6k9decqb/install-record.txt --single-version-externally-managed --compile --install-headers /home/tcaswell/.virtualenvs/bleeding/include/site/python3.8/Cython
    Unable to find pgen, not compiling formal grammar.
    running install
    running build
    running build_py
    creating build
    creating build/lib.linux-x86_64-3.8
    copying cython.py -> build/lib.linux-x86_64-3.8
    creating build/lib.linux-x86_64-3.8/Cython
    copying Cython/Coverage.py -> build/lib.linux-x86_64-3.8/Cython
    copying Cython/CodeWriter.py -> build/lib.linux-x86_64-3.8/Cython
    copying Cython/Shadow.py -> build/lib.linux-x86_64-3.8/Cython
    copying Cython/StringIOTree.py -> build/lib.linux-x86_64-3.8/Cython
    copying Cython/Utils.py -> build/lib.linux-x86_64-3.8/Cython
    copying Cython/__init__.py -> build/lib.linux-x86_64-3.8/Cython
    copying Cython/Debugging.py -> build/lib.linux-x86_64-3.8/Cython
    copying Cython/TestUtils.py -> build/lib.linux-x86_64-3.8/Cython
    creating build/lib.linux-x86_64-3.8/Cython/Build
    copying Cython/Build/Distutils.py -> build/lib.linux-x86_64-3.8/Cython/Build
    copying Cython/Build/BuildExecutable.py -> build/lib.linux-x86_64-3.8/Cython/Build
    copying Cython/Build/Dependencies.py -> build/lib.linux-x86_64-3.8/Cython/Build
    copying Cython/Build/Cythonize.py -> build/lib.linux-x86_64-3.8/Cython/Build
    copying Cython/Build/IpythonMagic.py -> build/lib.linux-x86_64-3.8/Cython/Build
    copying Cython/Build/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Build
    copying Cython/Build/Inline.py -> build/lib.linux-x86_64-3.8/Cython/Build
    creating build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/TypeSlots.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/ExprNodes.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Pythran.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/StringEncoding.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/CodeGeneration.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Optimize.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/PyrexTypes.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/ParseTreeTransforms.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Naming.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/UtilNodes.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Symtab.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Pipeline.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/FlowControl.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/MemoryView.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Parsing.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Errors.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Nodes.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Scanning.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/ModuleNode.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/TypeInference.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Annotate.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/FusedNode.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/AnalysedTreeTransforms.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Interpreter.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/UtilityCode.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Visitor.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/TreeFragment.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/CythonScope.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Future.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Lexicon.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Main.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/TreePath.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Builtin.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/AutoDocTransforms.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Code.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Version.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/DebugFlags.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/CmdLine.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Options.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Buffer.py -> build/lib.linux-x86_64-3.8/Cython/Compiler
    creating build/lib.linux-x86_64-3.8/Cython/Runtime
    copying Cython/Runtime/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Runtime
    creating build/lib.linux-x86_64-3.8/Cython/Distutils
    copying Cython/Distutils/old_build_ext.py -> build/lib.linux-x86_64-3.8/Cython/Distutils
    copying Cython/Distutils/extension.py -> build/lib.linux-x86_64-3.8/Cython/Distutils
    copying Cython/Distutils/build_ext.py -> build/lib.linux-x86_64-3.8/Cython/Distutils
    copying Cython/Distutils/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Distutils
    creating build/lib.linux-x86_64-3.8/Cython/Debugger
    copying Cython/Debugger/libpython.py -> build/lib.linux-x86_64-3.8/Cython/Debugger
    copying Cython/Debugger/Cygdb.py -> build/lib.linux-x86_64-3.8/Cython/Debugger
    copying Cython/Debugger/libcython.py -> build/lib.linux-x86_64-3.8/Cython/Debugger
    copying Cython/Debugger/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Debugger
    copying Cython/Debugger/DebugWriter.py -> build/lib.linux-x86_64-3.8/Cython/Debugger
    creating build/lib.linux-x86_64-3.8/Cython/Debugger/Tests
    copying Cython/Debugger/Tests/test_libcython_in_gdb.py -> build/lib.linux-x86_64-3.8/Cython/Debugger/Tests
    copying Cython/Debugger/Tests/TestLibCython.py -> build/lib.linux-x86_64-3.8/Cython/Debugger/Tests
    copying Cython/Debugger/Tests/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Debugger/Tests
    copying Cython/Debugger/Tests/test_libpython_in_gdb.py -> build/lib.linux-x86_64-3.8/Cython/Debugger/Tests
    creating build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/Transitions.py -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/Errors.py -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/DFA.py -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/Scanners.py -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/Lexicons.py -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/Actions.py -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/Regexps.py -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/Machines.py -> build/lib.linux-x86_64-3.8/Cython/Plex
    creating build/lib.linux-x86_64-3.8/Cython/Tests
    copying Cython/Tests/TestCythonUtils.py -> build/lib.linux-x86_64-3.8/Cython/Tests
    copying Cython/Tests/TestJediTyper.py -> build/lib.linux-x86_64-3.8/Cython/Tests
    copying Cython/Tests/xmlrunner.py -> build/lib.linux-x86_64-3.8/Cython/Tests
    copying Cython/Tests/TestStringIOTree.py -> build/lib.linux-x86_64-3.8/Cython/Tests
    copying Cython/Tests/TestCodeWriter.py -> build/lib.linux-x86_64-3.8/Cython/Tests
    copying Cython/Tests/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Tests
    creating build/lib.linux-x86_64-3.8/Cython/Build/Tests
    copying Cython/Build/Tests/TestCyCache.py -> build/lib.linux-x86_64-3.8/Cython/Build/Tests
    copying Cython/Build/Tests/TestIpythonMagic.py -> build/lib.linux-x86_64-3.8/Cython/Build/Tests
    copying Cython/Build/Tests/TestInline.py -> build/lib.linux-x86_64-3.8/Cython/Build/Tests
    copying Cython/Build/Tests/TestStripLiterals.py -> build/lib.linux-x86_64-3.8/Cython/Build/Tests
    copying Cython/Build/Tests/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Build/Tests
    creating build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestFlowControl.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestUtilityLoad.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestBuffer.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestCmdLine.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestTreePath.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestSignatureMatching.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestTreeFragment.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestVisitor.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestTypes.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestGrammar.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestMemView.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    copying Cython/Compiler/Tests/TestParseTreeTransforms.py -> build/lib.linux-x86_64-3.8/Cython/Compiler/Tests
    creating build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Utility
    creating build/lib.linux-x86_64-3.8/Cython/Tempita
    copying Cython/Tempita/compat3.py -> build/lib.linux-x86_64-3.8/Cython/Tempita
    copying Cython/Tempita/_tempita.py -> build/lib.linux-x86_64-3.8/Cython/Tempita
    copying Cython/Tempita/_looper.py -> build/lib.linux-x86_64-3.8/Cython/Tempita
    copying Cython/Tempita/__init__.py -> build/lib.linux-x86_64-3.8/Cython/Tempita
    creating build/lib.linux-x86_64-3.8/pyximport
    copying pyximport/pyxbuild.py -> build/lib.linux-x86_64-3.8/pyximport
    copying pyximport/pyximport.py -> build/lib.linux-x86_64-3.8/pyximport
    copying pyximport/__init__.py -> build/lib.linux-x86_64-3.8/pyximport
    creating build/lib.linux-x86_64-3.8/Cython/Includes
    copying Cython/Includes/openmp.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes
    creating build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/ioctl.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/stat.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/unistd.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/types.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/__init__.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/wait.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/select.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/strings.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/time.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/resource.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/fcntl.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/mman.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/stdio.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/signal.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/stdlib.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    copying Cython/Includes/posix/dlfcn.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/posix
    creating build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/bytearray.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/type.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/datetime.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/cobject.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/list.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/dict.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/pylifecycle.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/slice.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/longintrepr.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/ceval.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/bytes.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/buffer.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/method.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/exc.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/module.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/int.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/set.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/oldbuffer.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/unicode.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/iterator.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/object.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/float.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/__init__.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/array.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/mem.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/pyport.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/pycapsule.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/bool.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/instance.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/function.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/complex.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/sequence.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/string.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/version.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/getargs.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/pythread.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/weakref.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/mapping.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/descr.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/pystate.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/number.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/ref.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/tuple.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    copying Cython/Includes/cpython/long.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/cpython
    creating build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/locale.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/stdint.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/limits.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/setjmp.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/float.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/__init__.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/time.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/string.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/stddef.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/stdio.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/signal.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/errno.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/math.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    copying Cython/Includes/libc/stdlib.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libc
    creating build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/typeinfo.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/cast.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/list.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/unordered_set.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/deque.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/algorithm.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/set.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/limits.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/iterator.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/__init__.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/vector.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/functional.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/complex.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/memory.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/string.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/utility.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/pair.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/map.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/stack.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/forward_list.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/queue.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/unordered_map.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    copying Cython/Includes/libcpp/typeindex.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/libcpp
    creating build/lib.linux-x86_64-3.8/Cython/Includes/numpy
    copying Cython/Includes/numpy/__init__.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/numpy
    copying Cython/Includes/numpy/math.pxd -> build/lib.linux-x86_64-3.8/Cython/Includes/numpy
    copying Cython/Compiler/Parsing.pxd -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Visitor.pxd -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Scanning.pxd -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/FlowControl.pxd -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/Code.pxd -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Compiler/ParseTreeTransforms.pxd -> build/lib.linux-x86_64-3.8/Cython/Compiler
    copying Cython/Runtime/refnanny.pyx -> build/lib.linux-x86_64-3.8/Cython/Runtime
    copying Cython/Debugger/Tests/codefile -> build/lib.linux-x86_64-3.8/Cython/Debugger/Tests
    copying Cython/Debugger/Tests/cfuncs.c -> build/lib.linux-x86_64-3.8/Cython/Debugger/Tests
    copying Cython/Plex/Actions.pxd -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Plex/Scanners.pxd -> build/lib.linux-x86_64-3.8/Cython/Plex
    copying Cython/Utility/CpdefEnums.pyx -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/TestCythonScope.pyx -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/TestCyUtilityLoader.pyx -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/CConvert.pyx -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/MemoryView.pyx -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/CppConvert.pyx -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Buffer.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Profile.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/TestUtilityLoader.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Coroutine.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/ExtensionTypes.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/TypeConversion.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/StringTools.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/MemoryView_C.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/CMath.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/CythonFunction.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Embed.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Optimize.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Printing.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Overflow.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/ObjectHandling.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Capsule.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Builtins.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/ImportExport.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/FunctionArguments.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/CommonStructures.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Exceptions.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/ModuleSetupCode.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/Complex.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/AsyncGen.c -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/arrayarray.h -> build/lib.linux-x86_64-3.8/Cython/Utility
    copying Cython/Utility/CppSupport.cpp -> build/lib.linux-x86_64-3.8/Cython/Utility
    running build_ext
    building 'Cython.Plex.Scanners' extension
    creating build/temp.linux-x86_64-3.8
    creating build/temp.linux-x86_64-3.8/tmp
    creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-dp4_j9ke
    creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-dp4_j9ke/Cython
    creating build/temp.linux-x86_64-3.8/tmp/pip-req-build-dp4_j9ke/Cython/Plex
    gcc -pthread -Wno-unused-result -Wsign-compare -DNDEBUG -g -fwrapv -O3 -Wall -fPIC -I/home/tcaswell/.virtualenvs/bleeding/include -I/home/tcaswell/source/other_source/cpython/Include -I/home/tcaswell/source/other_source/cpython -c /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c -o build/temp.linux-x86_64-3.8/tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.o
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c: In function ‘__Pyx_InitCachedConstants’:
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7317:92: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read, 110, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 110, __pyx_L1_error)
                                                                                                ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:39: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                           ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7317:255: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
       __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read, 110, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 110, __pyx_L1_error)
                                                                                                                                                                                                                                                                   ^~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:74: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                              ^~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7317:260: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read, 110, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 110, __pyx_L1_error)
                                                                                                                                                                                                                                                                        ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:81: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                     ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7317:33: note: in expansion of macro ‘__Pyx_PyCode_New’
       __pyx_codeobj__7 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__6, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_read, 110, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__7)) __PYX_ERR(0, 110, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7329:92: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_position, 297, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) __PYX_ERR(0, 297, __pyx_L1_error)
                                                                                                ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:39: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                           ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7329:259: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
       __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_position, 297, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) __PYX_ERR(0, 297, __pyx_L1_error)
                                                                                                                                                                                                                                                                       ^~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:74: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                              ^~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7329:264: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_position, 297, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) __PYX_ERR(0, 297, __pyx_L1_error)
                                                                                                                                                                                                                                                                            ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:81: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                     ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7329:33: note: in expansion of macro ‘__Pyx_PyCode_New’
       __pyx_codeobj__9 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__8, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_position, 297, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__9)) __PYX_ERR(0, 297, __pyx_L1_error)
                                     ^~~~~~~~~~~~~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7341:93: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_get_position, 308, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(0, 308, __pyx_L1_error)
                                                                                                 ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:39: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                           ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7341:265: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
       __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_get_position, 308, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(0, 308, __pyx_L1_error)
                                                                                                                                                                                                                                                                             ^~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:74: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                              ^~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7341:270: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_get_position, 308, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(0, 308, __pyx_L1_error)
                                                                                                                                                                                                                                                                                  ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:81: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                     ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7341:34: note: in expansion of macro ‘__Pyx_PyCode_New’
       __pyx_codeobj__11 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__10, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_get_position, 308, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__11)) __PYX_ERR(0, 308, __pyx_L1_error)
                                      ^~~~~~~~~~~~~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7353:93: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__13 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof, 335, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__13)) __PYX_ERR(0, 335, __pyx_L1_error)
                                                                                                 ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:39: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                           ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7353:256: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
       __pyx_codeobj__13 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof, 335, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__13)) __PYX_ERR(0, 335, __pyx_L1_error)
                                                                                                                                                                                                                                                                    ^~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:74: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                              ^~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7353:261: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
       __pyx_codeobj__13 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof, 335, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__13)) __PYX_ERR(0, 335, __pyx_L1_error)
                                                                                                                                                                                                                                                                         ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:81: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                     ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:7353:34: note: in expansion of macro ‘__Pyx_PyCode_New’
       __pyx_codeobj__13 = (PyObject*)__Pyx_PyCode_New(1, 0, 0, 1, 0, CO_OPTIMIZED|CO_NEWLOCALS, __pyx_empty_bytes, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_tuple__12, __pyx_empty_tuple, __pyx_empty_tuple, __pyx_kp_s_Cython_Plex_Scanners_py, __pyx_n_s_eof, 335, __pyx_empty_bytes); if (unlikely(!__pyx_codeobj__13)) __PYX_ERR(0, 335, __pyx_L1_error)
                                      ^~~~~~~~~~~~~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c: In function ‘__Pyx_CreateCodeObjectForTraceback’:
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:10161:9: warning: passing argument 6 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
             __pyx_empty_bytes, /*PyObject *code,*/
             ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:39: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                           ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:10169:9: warning: passing argument 14 of ‘PyCode_New’ makes pointer from integer without a cast [-Wint-conversion]
             py_line,
             ^~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:74: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                              ^~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘PyObject *’ {aka ‘struct _object *’} but argument is of type ‘int’
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:10170:9: warning: passing argument 15 of ‘PyCode_New’ makes integer from pointer without a cast [-Wint-conversion]
             __pyx_empty_bytes  /*PyObject *lnotab*/
             ^~~~~~~~~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:81: note: in definition of macro ‘__Pyx_PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
                                                                                     ^~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: expected ‘int’ but argument is of type ‘PyObject *’ {aka ‘struct _object *’}
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:345:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(p+a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^~~~~~~~~~
    /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:10154:15: note: in expansion of macro ‘__Pyx_PyCode_New’
         py_code = __Pyx_PyCode_New(
                   ^~~~~~~~~~~~~~~~
    In file included from /home/tcaswell/source/other_source/cpython/Include/compile.h:5,
                     from /home/tcaswell/source/other_source/cpython/Include/Python.h:137,
                     from /tmp/pip-req-build-dp4_j9ke/Cython/Plex/Scanners.c:19:
    /home/tcaswell/source/other_source/cpython/Include/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~
    error: command 'gcc' failed with exit status 1
  Running setup.py install for Cython ... error
Cleaning up...
  Removing source in /tmp/pip-req-build-dp4_j9ke
Removed build tracker '/tmp/pip-req-tracker-ingbbipc'
ERROR: Command "/home/tcaswell/.virtualenvs/bleeding/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-req-build-dp4_j9ke/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6k9decqb/install-record.txt --single-version-externally-managed --compile --install-headers /home/tcaswell/.virtualenvs/bleeding/include/site/python3.8/Cython" failed with error code 1 in /tmp/pip-req-build-dp4_j9ke/
Exception information:
Traceback (most recent call last):
  File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.8/site-packages/pip/_internal/cli/base_command.py", line 178, in main
    status = self.run(options, args)
  File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.8/site-packages/pip/_internal/commands/install.py", line 405, in run
    installed = install_given_reqs(
  File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.8/site-packages/pip/_internal/req/__init__.py", line 54, in install_given_reqs
    requirement.install(
  File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.8/site-packages/pip/_internal/req/req_install.py", line 950, in install
    call_subprocess(
  File "/home/tcaswell/.virtualenvs/bleeding/lib/python3.8/site-packages/pip/_internal/utils/misc.py", line 774, in call_subprocess
    raise InstallationError(
pip._internal.exceptions.InstallationError: Command "/home/tcaswell/.virtualenvs/bleeding/bin/python -u -c 'import setuptools, tokenize;__file__='"'"'/tmp/pip-req-build-dp4_j9ke/setup.py'"'"';f=getattr(tokenize, '"'"'open'"'"', open)(__file__);code=f.read().replace('"'"'\r\n'"'"', '"'"'\n'"'"');f.close();exec(compile(code, __file__, '"'"'exec'"'"'))' install --record /tmp/pip-record-6k9decqb/install-record.txt --single-version-externally-managed --compile --install-headers /home/tcaswell/.virtualenvs/bleeding/include/site/python3.8/Cython" failed with error code 1 in /tmp/pip-req-build-dp4_j9ke/

@tacaswell
Copy link
Contributor

🐑 I see now, it has to do with the version guards in cython.

@hroncok
Copy link
Contributor

hroncok commented May 8, 2019

JFYI 3.8.0a4 is out

@hroncok
Copy link
Contributor

hroncok commented May 9, 2019

We are updating Fedora 31 to Python 3.8.

Could you please help me plan ahead? Is this fix planned for 0.29.x or only for 3.x?

@scoder
Copy link
Contributor

scoder commented May 9, 2019

I think it's worth backporting the fix to 0.29.x (setting pos-only args to a constant 0), given that it otherwise can't even compile in Py3.8.

PR against 0.29.x welcome.

@ghost
Copy link

ghost commented May 13, 2019

I am currently working on the 0.29 backport.

@pitrou
Copy link
Contributor

pitrou commented May 19, 2019

For me the fix still doesn't work, even with Cython master and Python 3.8.0a4+:

$ ./env/bin/python3 -V --version
Python 3.8.0a4+ (heads/master:f4e1babf44, May 19 2019, 16:01:13) 
[GCC 7.4.0]
$ ./env/bin/pip install -U  https://github.com/cython/cython/archive/master.zip
/home/antoine/cpython/default/env/lib/python3.8/site-packages/pip/_vendor/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Mapping
Collecting https://github.com/cython/cython/archive/master.zip
  Downloading https://github.com/cython/cython/archive/master.zip
     | 2.6MB 404kB/s
Installing collected packages: Cython
  Found existing installation: Cython 3.0a0
    Uninstalling Cython-3.0a0:
      Successfully uninstalled Cython-3.0a0
  Running setup.py install for Cython ... done
Successfully installed Cython-3.0a0

And then:

$ ./env/bin/pip install -U  numpy
/home/antoine/cpython/default/env/lib/python3.8/site-packages/pip/_vendor/html5lib/_trie/_base.py:3: DeprecationWarning: Using or importing the ABCs from 'collections' instead of from 'collections.abc' is deprecated, and in 3.8 it will stop working
  from collections import Mapping
Collecting numpy
  Downloading https://files.pythonhosted.org/packages/93/48/956b9dcdddfcedb1705839280e02cbfeb2861ed5d7f59241210530867d5b/numpy-1.16.3.zip (5.1MB)
     |████████████████████████████████| 5.1MB 4.0MB/s 
Installing collected packages: numpy
  Running setup.py install for numpy ... error
[...]

    numpy/random/mtrand/mtrand.c:311:11: error: too few arguments to function ‘PyCode_New’
               PyCode_New(a, k, l, s, f, code, c, n, v, fv, cell, fn, name, fline, lnos)
               ^
    numpy/random/mtrand/mtrand.c:44554:15: note: in expansion of macro ‘__Pyx_PyCode_New’
         py_code = __Pyx_PyCode_New(
                   ^~~~~~~~~~~~~~~~
    In file included from /home/antoine/cpython/default/env/include/python3.8d/compile.h:5:0,
                     from /home/antoine/cpython/default/env/include/python3.8d/Python.h:137,
                     from numpy/random/mtrand/mtrand.c:4:
    /home/antoine/cpython/default/env/include/python3.8d/code.h:105:28: note: declared here
     PyAPI_FUNC(PyCodeObject *) PyCode_New(
                                ^~~~~~~~~~

@hroncok
Copy link
Contributor

hroncok commented May 19, 2019

Does numpy recythonize their C sources when you install it via pip?

@pitrou
Copy link
Contributor

pitrou commented May 19, 2019

Ahah... That's a good question. Probably not, since Cython is able to compile itself fine :-/

@charris
Copy link

charris commented May 19, 2019

Does numpy recythonize their C sources when you install it via pip?

When installing from the source files on PyPI, no. Pip Installation from the repo should, but it may require a repo cleaning first.

@vstinner
Copy link
Contributor

Would it be possible to get a release? Right now, there is no Cython release supporting Python 3.8 which prevents to many popular applications. Random example: IPython cannot be installed on Python 3.8, because pyzmq uses Cython and the compilation of its Cython code fails on PyCode_New() call.

@richard-scott
Copy link

Have you tried this:

pip install git+https://github.com/cython/cython.git

That will get you an install direct from github.

@vstinner
Copy link
Contributor

I'm working for Red Hat. We prefer to package released code, than a Git commit ;-)

@hroncok
Copy link
Contributor

hroncok commented May 24, 2019

As a note, in Fedora, I'd prefer a working 0.29.x Cython. We have provided a patch but it was rejected. Not sure what should be our next steps :(

@mgedmin
Copy link
Author

mgedmin commented May 24, 2019

AFAIU the last official word was #2954 (comment), i.e. it would be helpful if somebody could provide a minimal fix for 0.29.x, without backporting the entire new feature.

@ghost ghost mentioned this issue May 27, 2019
@hroncok
Copy link
Contributor

hroncok commented May 27, 2019

Hopefully this will do: #2971

@avli
Copy link

avli commented Jun 3, 2019

I still get an error while trying to install Cython with Python 3.8:

running build_ext
    building 'Cython.Plex.Scanners' extension
    creating build/temp.macosx-10.14-x86_64-3.8
    creating build/temp.macosx-10.14-x86_64-3.8/private
    creating build/temp.macosx-10.14-x86_64-3.8/private/var
    creating build/temp.macosx-10.14-x86_64-3.8/private/var/folders
    creating build/temp.macosx-10.14-x86_64-3.8/private/var/folders/3h
    creating build/temp.macosx-10.14-x86_64-3.8/private/var/folders/3h/zzcwjm254553812zwnnbj2dm0000gp
    creating build/temp.macosx-10.14-x86_64-3.8/private/var/folders/3h/zzcwjm254553812zwnnbj2dm0000gp/T
    creating build/temp.macosx-10.14-x86_64-3.8/private/var/folders/3h/zzcwjm254553812zwnnbj2dm0000gp/T/pip-req-build-rf4_khcb
    creating build/temp.macosx-10.14-x86_64-3.8/private/var/folders/3h/zzcwjm254553812zwnnbj2dm0000gp/T/pip-req-build-rf4_khcb/Cython
    creating build/temp.macosx-10.14-x86_64-3.8/private/var/folders/3h/zzcwjm254553812zwnnbj2dm0000gp/T/pip-req-build-rf4_khcb/Cython/Plex
    clang -Wno-unused-result -Wsign-compare -Wunreachable-code -DNDEBUG -g -fwrapv -O3 -Wall -I/usr/local/opt/openssl@1.1/include -I/usr/local/opt/openssl@1.1/include -I/Library/Developer/CommandLineTools/SDKs/MacOSX10.14.sdk/usr/include -I/private/tmp/venv38/include -I/Users/andrey.lisin/.pyenv/versions/3.8-dev/include/python3.8 -c /private/var/folders/3h/zzcwjm254553812zwnnbj2dm0000gp/T/pip-req-build-rf4_khcb/Cython/Plex/Scanners.c -o build/temp.macosx-10.14-x86_64-3.8/private/var/folders/3h/zzcwjm254553812zwnnbj2dm0000gp/T/pip-req-build-rf4_khcb/Cython/Plex/Scanners.o
    /private/var/folders/3h/zzcwjm254553812zwnnbj2dm0000gp/T/pip-req-build-rf4_khcb/Cython/Plex/Scanners.c:7422:46: error: no member named 'tp_print' in 'struct _typeobject'
      __pyx_type_6Cython_4Plex_8Scanners_Scanner.tp_print = 0;
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ^
    1 error generated.
    error: command 'clang' failed with exit status 1

Python 3.8.0a4+, macOS.

I have tried both pip install git+https://github.com/cython/cython.git and pip install Cython.

@scoder
Copy link
Contributor

scoder commented Jun 3, 2019

That will fix itself as soon as CPython 3.8 beta 1 is released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

9 participants