[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

On 2018-11-21, 14:54 GMT, Benjamin Peterson wrote:
> In Python 3, there is no underlying FILE* because the io 
> module is implemented using fds directly rather than C stdio.

OK, so the proper solution is to kill all functions which expect 
FILE, and if you are anal retentive about stability of API, then 
you have to fake it by creating FILE structure around the 
underlying fd handler as I did in M2Crypto, right?


https://matej.ceplovi.cz/blog/, Jabber: mcepl at ceplovi.cz
GPG Finger: 3C76 A027 CA45 AD70 98B5  BC1D 7920 5802 880B C9D8
If you have a problem and you think awk(1) is the solution, then
you have two problems.
   -- David Tilbrook (at least 1989, source of the later famous
      jwz rant on regular expressions).