A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2017-November/150394.html below:

[Python-Dev] Add Py_SETREF and Py_XSETREF to the stable C API

[Python-Dev] Add Py_SETREF and Py_XSETREF to the stable C API [Python-Dev] Add Py_SETREF and Py_XSETREF to the stable C APIVictor Stinner victor.stinner at gmail.com
Wed Nov 8 11:37:20 EST 2017
I like these macros!

Technically, would it be possible to use an inline function instead of
a macro for Python 3.7?

Victor

2017-11-08 17:30 GMT+01:00 Serhiy Storchaka <storchaka at gmail.com>:
> Macros Py_SETREF and Py_XSETREF were introduced in 3.6 and backported to all
> maintained versions ([1] and [2]). Despite their names they are private. I
> think that they are enough stable now and would be helpful in third-party
> code. Are there any objections against adding them to the stable C API? [3]
>
> [1] https://bugs.python.org/issue20440
> [2] https://bugs.python.org/issue26200
> [3] https://bugs.python.org/issue31983
>
> _______________________________________________
> 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/victor.stinner%40gmail.com
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4