[Python-Dev] Missing functions [Was: Re: Experiment an opt-in new C API for Python? (leave current API unchanged)]

Victor Stinner vstinner at redhat.com
Wed Nov 21 10:07:12 EST 2018


Please open a bug report once you have such issue ;-)

Victor
Le mer. 21 nov. 2018 à 15:56, Matěj Cepl <mcepl at cepl.eu> a écrit :
>
> On 2018-11-19, 11:59 GMT, Stefan Krah wrote:
> > In practice people desperately *have* to use whatever is
> > there, including functions with underscores that are not even
> > officially in the C-API.
>
> Yes, there are some functions which evaporated and I have never
> heard a reason why and how I am supposed to overcome their
> removal. E.g., when porting M2Crypto to Python3 I had to
> reimplement my own (bad) version of `FILE*
> PyFile_AsFile(PyObject *pyfile)` function
> (https://is.gd/tgQGDw). I think it is obvious why it is
> necessary for C bindings, and I have never found a way how to
> get the underlying FILE handle from the Python File object
> properly.
>
> Just my €0.02.
>
> Matěj
> --
> https://matej.ceplovi.cz/blog/, Jabber: mcepl at ceplovi.cz
> GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
>
> All of us could take a lesson from the weather. It pays no
> attention to criticism.
>   -- somewhere on the Intenret
>
> _______________________________________________
> Python-Dev mailing list
> Python-Dev at python.org
> https://mail.python.org/mailman/listinfo/python-dev
> Unsubscribe: https://mail.python.org/mailman/options/python-dev/vstinner%40redhat.com


More information about the Python-Dev mailing list