[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2021-02-03 Thread Tom Birch
Change by Tom Birch : -- components: +C API, Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2021-02-03 Thread Tom Birch
Tom Birch added the comment: Steve Dower: this issue is independent of distutils, reopening -- components: -Distutils status: closed -> open ___ Python tracker ___ __

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2021-02-03 Thread Steve Dower
Steve Dower added the comment: Distutils is now deprecated (see PEP 632) and all tagged issues are being closed. From now until removal, only release blocking issues will be considered for distutils. If this issue does not relate to distutils, please remove the component and reopen it. If y

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: Linking extensions to libpython with a static build of python will cause problems (as you described in your initial message). The not very satisfactory response is "don't do that then". Note that distutils won't link against libpython by default. Longer t

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Ronald Oussoren added the comment: I've removed two spammy comments and adjusted the categories (the latter explains Larry's annoyance, someone selected all categories which automatically added him to the nosy list). -- ___ Python tracker

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- components: +Distutils -2to3 (2.x to 3.x conversion tool), Argument Clinic, C API, Cross-Build, asyncio, ctypes nosy: +dstufft, eric.araujo, froody, ned.deily -Alex.Willmer, asvetlov, yselivanov, zhtw1234 versions: -Python 3.6, Python 3.7 _

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- Removed message: https://bugs.python.org/msg382879 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-12 Thread Ronald Oussoren
Change by Ronald Oussoren : -- Removed message: https://bugs.python.org/msg382880 ___ Python tracker ___ ___ Python-bugs-list mailin

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread Larry Hastings
Larry Hastings added the comment: Sorry, somehow bpo decided I added two people to this issue? Weird. Anyway I have removed them (Ned and "froody"). -- nosy: +larry -froody, ned.deily ___ Python tracker _

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread Larry Hastings
Larry Hastings added the comment: Stop adding me to this issue. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread 雅雯
Change by 雅雯 : Removed file: https://bugs.python.org/file49667/IMAG0629_1.jpg ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread 雅雯
雅雯 added the comment: 你們全都有病,現實生活沒朋友上網做夫妻,纸上談兵沒有用,叫對方離婚和你們在一起阿!賤人、渣男…… -- nosy: +larry ___ Python tracker ___ ___ Python-bugs-list m

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread Larry Hastings
Change by Larry Hastings : -- nosy: -larry ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread 雅雯
雅雯 added the comment: 幹你娘 -- components: +2to3 (2.x to 3.x conversion tool), Argument Clinic, Build, Cross-Build, asyncio, ctypes nosy: +Alex.Willmer, asvetlov, larry, yselivanov, zhtw1234 versions: +Python 3.10, Python 3.6, Python 3.7 Added file: https://bugs.python.org/file49667/IMAG

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread Tom Birch
Tom Birch added the comment: > Does this affect unix-style builds with --enable-shared or framework builds? I believe the answer is no, since in both those cases the `python` executable doesn't contain definitions for any of the libpython symbols. In my testing I was using a python binary fr

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-11 Thread Ronald Oussoren
Ronald Oussoren added the comment: Does this affect unix-style builds with --enable-shared or framework builds? For the latter the python executable is linked to the framework, and lib python.dylib is an alias for the framework. A related known problem is that linking an extension to a dif

[issue42616] C Extensions on Darwin that link against libpython are likely to crash

2020-12-10 Thread Tom Birch
New submission from Tom Birch : After https://github.com/python/cpython/pull/12946, there exists an issue on MacOS due to the two-level namespace for symbol resolution. If a C extension links against libpython.dylib, all symbols dependencies from the Python C API will be bound to libpython. W