osdir.com


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

[Python-Dev] Source of truth for C-API


I suggest you to add a new function and leaves the existing function
unchanged. "Just in case".

You may deprecate the old functions at the same time using Py_DEPRECATED().

Victor

Le mer. 23 janv. 2019 ? 17:44, Ivan Levkivskyi <levkivskyi at gmail.com> a ?crit :
>
> I added to extra parameters to each, see https://github.com/python/cpython/pull/11605/files#diff-d350c56a842065575842defb8aaa9f27
>
> --
> Ivan
>
> On Wed, 23 Jan 2019 at 16:41, Victor Stinner <vstinner at redhat.com> wrote:
>>
>> What is your change? Did you remove these functions? Change their parameters?
>>
>> Victor
>>
>> Le mer. 23 janv. 2019 ? 16:24, Ivan Levkivskyi <levkivskyi at gmail.com> a ?crit :
>> >
>> > Thanks for advice Victor and Steve!
>> >
>> > I looked at the list, and the two functions I mentioned are not in the list. So I assume the best strategy for now is to wait until first alpha-beta releases are out, and see if anyone complains.
>> >
>> > --
>> > Ivan
>> >
>> >
>> >
>> > On Wed, 23 Jan 2019 at 06:58, Steve Dower <steve.dower at python.org> wrote:
>> >>
>> >> On 22Jan.2019 1517, Victor Stinner wrote:
>> >> > I'm not aware of any tool to automatically list the content of the C API.
>> >>
>> >> The shell script attached to https://bugs.python.org/issue23903 should
>> >> be able to do it with different preprocessor values (we originally
>> >> intended to detect inconsistencies in the stable API, but when we found
>> >> lots of existing inconsistencies we couldn't agree on how to deal with
>> >> them).
>> >>
>> >> Cheers,
>> >> Steve
>>
>>
>>
>> --
>> Night gathers, and now my watch begins. It shall not end until my death.



-- 
Night gathers, and now my watch begins. It shall not end until my death.