[issue45711] Simplify the interpreter's (type, val, tb) exception representation

2022-02-01 Thread da-woods
da-woods added the comment: Just a quick comment on Cython and these changes: Cython 0.29 can build itself on Python 3.11a4 with `CFLAGS="-DCYTHON_FAST_THREAD_STATE=0 -DCYTHON_USE_EXC_INFO_STACK=0" python3.11 setup.py build_ext`. I think there's some coroutine code left that i

[issue45905] Provide a C API for introspectable frames for Cython and similar tools

2021-11-29 Thread da-woods
Change by da-woods : -- nosy: +da-woods ___ Python tracker <https://bugs.python.org/issue45905> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue45122] Remove PyCode_New and PyCode_NewWithPosOnlyArgs

2021-09-07 Thread da-woods
da-woods added the comment: Done: https://github.com/Nuitka/Nuitka/issues/1203 -- ___ Python tracker <https://bugs.python.org/issue45122> ___ ___ Python-bug

[issue45122] Remove PyCode_New and PyCode_NewWithPosOnlyArgs

2021-09-07 Thread da-woods
da-woods added the comment: Nuitka (https://github.com/Nuitka/Nuitka/ - a third Python->C API compiler) also looks to use it so you might want to let them know too while you're doing the rounds on this. -- nosy: +da-woods ___ Python trac

[issue39432] Distutils generates the wrong export symbol for unicode module names

2021-04-17 Thread da-woods
da-woods added the comment: It looks like this wasn't quite fixed by the patch: the patch encoded `_` when it should have encoded ``. I've submitted a revised version to setuptools https://github.com/pypa/setuptools/pull/2646. My impression is that distutils is no longer updated and so

[issue28254] Add C API for gc.enable, gc.disable, and gc.isenabled

2021-04-17 Thread da-woods
da-woods added the comment: Cython currently does an elaborate process of importing the GC module and loading the "isenabled", "enable" and "disable" attributes each time it creates a cdef type https://github.com/cython/cython/blob/master/Cython/Utility/Extensi

[issue41886] PyType_Type is documented incorrectly

2020-09-29 Thread da-woods
New submission from da-woods : In the documentation PyType_Type is listed as a "PyObject*" (https://docs.python.org/3/c-api/type.html#c.PyType_Type). This is misleading because it is both not a pointer and is a PyTypeObject. Other type objects are documented as "PyTypeObjec

[issue39432] Distutils generates the wrong export symbol for unicode module names

2020-01-23 Thread da-woods
New submission from da-woods : Distuitls generates "export symbols" for extension modules to help ensure that they have have the correct linkage on Windows. https://github.com/python/cpython/blob/0d30ae1a03102de07758650af9243fd31211325a/Lib/distutils/command/build_ext.py#L692 It