[Python-Dev] Re: Expected stability of PyCode_New() and types.CodeType() signatures

2019-06-08 Thread Neil Schemenauer
On 2019-05-31, Simon Cross wrote: > As the maintainer of Genshi, one the libraries affected by the CodeType and > similar changes, I thought I could add a users perspective to the > discussion: [...] Thanks. I think this change to PyCode_New() could have been handled a bit better. Couldn't we

[Python-Dev] Question on handling of per-thread async exception with global pending.async_exc flag

2019-06-08 Thread Xintong Zhou
Hi, I am trying to understand the way that async exceptions are handled between _PyEval_EvalFrameDefault (in ceval.c) and PyThreadState_SetAsyncExc (pystate.c). In ceval.c, the eval loop determines whether to check for async exception for the current thread based on the global

[Python-Dev] Re: python-ideas and python-dev migrated to Mailman 3/HyperKitty

2019-06-08 Thread Ned Deily
On Jun 8, 2019, at 13:01, Antoine Pitrou wrote: > On Fri, 7 Jun 2019 19:03:50 -0400 > Ned Deily wrote: >> This worked for mamy years. I believe the issue is that the process relied >> on the old Subversion source web viewer which has more recently been retired. > > No, it used to work

[Python-Dev] Re: python-ideas and python-dev migrated to Mailman 3/HyperKitty

2019-06-08 Thread Antoine Pitrou
On Fri, 7 Jun 2019 19:03:50 -0400 Ned Deily wrote: > On Jun 7, 2019, at 18:03, Victor Stinner wrote: > > I am not sure that we are good at archiving. > > I'm not sure what this has to do with mailing list URLs but ... > > > Example with Subversion links in the bug tracker: > > > >

[Python-Dev] Re: Using vectorcall for tp_new and tp_init

2019-06-08 Thread Jeroen Demeyer
On 2019-06-07 20:42, Terry Reedy wrote: On 6/7/2019 6:41 AM, Jeroen Demeyer wrote: Hello, I'm starting this thread to brainstorm for using vectorcall to speed up creating instances of Python classes. Currently the following happens when creating an instance of a Python class X using X(.)