[Python-Dev] Re: Proposal: declare "unstable APIs"

2021-06-05 Thread Guido van Rossum
On Sat, Jun 5, 2021 at 2:12 AM Serhiy Storchaka wrote: > 04.06.21 12:08, Petr Viktorin пише: > > It is used, and I started the work :) > > See e.g. > > https://docs.python.org/3.10/c-api/sequence.html#c.PySequence_Concat > > Great news! Several core developers (including me) tried to solve this >

[Python-Dev] Re: Proposal: declare "unstable APIs"

2021-06-05 Thread Guido van Rossum
On Fri, Jun 4, 2021 at 6:15 AM Victor Stinner wrote: > On Fri, Jun 4, 2021 at 12:29 AM Guido van Rossum wrote: > >> In the C API, there is the internal C API which fits with your > >> description. To access it, you have to declare the > >> Py_BUILD_CORE_MODULE macro. It's not usable directly on

[Python-Dev] Re: change of behaviour for '.' in sys.path between 3.10.0a7 and 3.10.0b1

2021-06-05 Thread Brett Cannon
On Sat., Jun. 5, 2021, 07:38 Robin Becker, wrote: > On 04/06/2021 19:29, Steve Dower wrote: > ... > > > > While we were investigating the reliably broken behaviour, we figured > that related behaviour was > > *unreliably* broken on all platforms. > > > > Specifically, if you imported a mo

[Python-Dev] Re: change of behaviour for '.' in sys.path between 3.10.0a7 and 3.10.0b1

2021-06-05 Thread Robin Becker
On 04/06/2021 19:29, Steve Dower wrote: ... While we were investigating the reliably broken behaviour, we figured that related behaviour was *unreliably* broken on all platforms. Specifically, if you imported a module through a relative path (resolved to CWD), changed the CWD, cleared

[Python-Dev] Re: Proposal: declare "unstable APIs"

2021-06-05 Thread Serhiy Storchaka
04.06.21 12:08, Petr Viktorin пише: > It is used, and I started the work :) > See e.g. > https://docs.python.org/3.10/c-api/sequence.html#c.PySequence_Concat Great news! Several core developers (including me) tried to solve this problem, but a large amount of work stopped us at an early stage. Gla