[Python-Dev] New poll about a macro for safe reference replacing

Mark Lawrence breamoreboy at yahoo.co.uk
Mon Dec 21 19:43:01 EST 2015


On 21/12/2015 21:57, Steve Dower wrote:
> Was Py_MOVEREF (or MOVE_REF) ever suggested?
>
> Those are valid objections, and now they're raised I remember them from
> last time. But I don't think they're a huge concern - setting a ref
> count directly doesn't seem useful anyway, and the compiler/IDE will let
> you know pretty quick if you put an integer vs a PyObject* there.
>
> Cheers,
> Steve
>

Or Py_SAFEREF or SAFE_REF?

-- 
My fellow Pythonistas, ask not what our language can do for you, ask
what you can do for our language.

Mark Lawrence



More information about the Python-Dev mailing list