"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
Phone
-Original Message-
From: "Steve Dower"
Sent: 12/20/2016 17:56
To: "Python Dev"
Subject: [Python-Dev] Issue #23903 - stable API is incomplete
For those who aren't aware, the stable API (PEP 384) is broken on
Windows because the exports from python3.dll have not
For those who aren't aware, the stable API (PEP 384) is broken on
Windows because the exports from python3.dll have not been kept up to date.
Over at http://bugs.python.org/issue23903 we're trying to address this
by automatically generating the DLL based on the headers. This has shown
that man
11 matches
Mail list logo