"Victor Stinner"
Sent: 12/21/2016 8:40
To: "Nathaniel Smith"
Cc: "Steve Dower" ; "Serhiy Storchaka"
; "Python Dev"
Subject: Re: [Python-Dev] Issue #23903 - stable API is incomplete
2016-12-21 17:21 GMT+01:00 Nathaniel Smith :
> It sounds like
21/2016 8:22
To: "Steve Dower"
Cc: "Serhiy Storchaka" ; "Victor Stinner"
; "Python Dev"
Subject: Re: [Python-Dev] Issue #23903 - stable API is incomplete
On Dec 21, 2016 7:43 AM, "Steve Dower" wrote:
"Ok, now why should _Py_PrintRefe
2016-12-21 17:21 GMT+01:00 Nathaniel Smith :
> It sounds like the opt-out approach isn't working very well, and maybe an
> opt-in approach should be considered instead? I recognize that the way C
> headers work makes this difficult, but it seems like something needs to
> change.
I proposed somethi
On Dec 21, 2016 7:43 AM, "Steve Dower" wrote:
"Ok, now why should _Py_PrintReferences() function be exported?"
It probably shouldn't, but it needs an #ifndef Py_LIMITED_API check so it
is excluded from the headers (my list was automatically generated).
It sounds like the opt-out approach isn't
On 21.12.16 17:41, Steve Dower wrote:
"Ok, now why should _Py_PrintReferences() function be exported?"
It probably shouldn't, but it needs an #ifndef Py_LIMITED_API check so
it is excluded from the headers (my list was automatically generated).
And ideally, private functions that are deliberate
e
comments, or if they're new, a version check on Py_LIMITED_API.
Top-posted from my Windows Phone
-Original Message-
From: "Victor Stinner"
Sent: 12/21/2016 6:25
To: "Serhiy Storchaka"
Cc: "Python Dev"
Subject: Re: [Python-Dev] Issue #23903 - st
2016-12-21 14:06 GMT+01:00 Serhiy Storchaka :
>> These functions are private. Would it be possible to not export them?
>
> Private functions used in public macros (like _Py_NewReference) should be
> exported.
Ah, _Py_NewReference is used in the PyObject_INIT(op, typeobj) *macro*, right.
IMO it's
On 21.12.16 11:50, Victor Stinner wrote:
2016-12-21 2:52 GMT+01:00 Steve Dower :
_PyBytes_DecodeEscape
_PyDebug_PrintTotalRefs
_PyThreadState_Current
_PyTrash_thread_deposit_object
_PyTrash_thread_destroy_chain
_PyUnicode_DecodeUnicodeEscape
_Py_AddToAllObjects
_Py_ForgetReference
_Py_GetRefTota
2016-12-21 2:52 GMT+01:00 Steve Dower :
> _PyBytes_DecodeEscape
> _PyDebug_PrintTotalRefs
> _PyThreadState_Current
> _PyTrash_thread_deposit_object
> _PyTrash_thread_destroy_chain
> _PyUnicode_DecodeUnicodeEscape
> _Py_AddToAllObjects
> _Py_ForgetReference
> _Py_GetRefTotal
> _Py_HashSecret_Initial
I should also point out that when 3.6.0 releases, all of these will already be
in the stable API for other platforms. I'm not going to take a stance on
whether we can break it there between 3.6.0 and 3.6.1, but it may already be
too late to remove any.
Top-posted from my Windows Phone
-Ori
10 matches
Mail list logo