On Thu, Mar 25, 2021 at 9:01 PM Mark Shannon wrote:
> Maybe the problem is the term "stealing".
> The caller is transferring the reference to the callee.
> In some circumstances it can make a lot of sense to do so, since the
> caller has probably finished with the reference and the callee needs a
On Thu, Mar 25, 2021 at 11:58 AM Mark Shannon wrote:
> Hi Victor,
>
> I'm with you 100% on not returning borrowed references, doing so is just
> plain dangerous.
>
> However, is a blanket ban on stealing references the right thing?
>
> Maybe the problem is the term "stealing".
> The caller is tra
Please see https://lwn.net/Articles/847960/
:)
On Thu, Mar 25, 2021 at 2:34 PM Ethan Furman wrote:
> On 3/25/21 1:06 PM, Dan Stromberg wrote:
> >
> > I posted this to LWN, and thought I'd share it here too:
>
> This post is nearly completely devoid of context -- could you post a link,
> or what
Hi,
OpenSSL released 1.1.1k today with two high severity CVEs,
https://www.openssl.org/news/vulnerabilities.html
The ssl module is not affected by CVE-2021-3450 in its default
configuration. Python does not set X509_V_FLAG_X509_STRICT on
SSLContext. Only applications that that use ssl.VERIFY_X50
Glad to help! Thank you Guido, Antoine, Serhiy, and Victor for your insights
and scrutinising :)
E
On 25 Mar 2021, at 18:15, Guido van Rossum
mailto:gu...@python.org>> wrote:
I’m glad there is more clarity here. And thanks to Erlend Egeberg Aasland for
championing the PR!
—Guido
On Thu, Mar
On 3/25/21 1:06 PM, Dan Stromberg wrote:
I posted this to LWN, and thought I'd share it here too:
This post is nearly completely devoid of context -- could you post a link, or
what you are responding to, or something?
--
~Ethan~
___
Python-Dev mail
I posted this to LWN, and thought I'd share it here too:
I'm opposed to terse-ifying lambda in Python.
Lambda is rarely useful in Python - you're almost always better off using a
generator expression, a list comprehension, or something from the operator
module.
And lambdas tend to give rise to t
Hi Victor,
I'm with you 100% on not returning borrowed references, doing so is just
plain dangerous.
However, is a blanket ban on stealing references the right thing?
Maybe the problem is the term "stealing".
The caller is transferring the reference to the callee.
In some circumstances it can
On 25/03/2021 18.39, Antoine Pitrou wrote:
> On Thu, 25 Mar 2021 20:22:55 +0300
> Ivan Pozdeev via Python-Dev wrote:
>> On 24.03.2021 19:58, Antoine Pitrou wrote:
>>> On Wed, 24 Mar 2021 19:45:49 +0300
>>> Ivan Pozdeev via Python-Dev wrote:
How does C++ fare in binary compatibility? Last t
On Thu, 25 Mar 2021 20:22:55 +0300
Ivan Pozdeev via Python-Dev wrote:
> On 24.03.2021 19:58, Antoine Pitrou wrote:
> > On Wed, 24 Mar 2021 19:45:49 +0300
> > Ivan Pozdeev via Python-Dev wrote:
> >> How does C++ fare in binary compatibility? Last time I checked it out
> >> (about 10 years ago),
On 24.03.2021 19:58, Antoine Pitrou wrote:
On Wed, 24 Mar 2021 19:45:49 +0300
Ivan Pozdeev via Python-Dev wrote:
How does C++ fare in binary compatibility? Last time I checked it out (about 10
years ago), there was completely none, every compiler's ABI
was a black box without any guarantees
I’m glad there is more clarity here. And thanks to Erlend Egeberg Aasland
for championing the PR!
—Guido
On Thu, Mar 25, 2021 at 09:30 Victor Stinner wrote:
> Hi,
>
> A new Include/README.rst file was just added to document the 3 C API
> provided by CPython:
>
> * Include/: Limited C API
> * In
Hi,
A new Include/README.rst file was just added to document the 3 C API
provided by CPython:
* Include/: Limited C API
* Include/cpython/: CPython implementation details
* Include/internal/: The internal API
I would like to note that *new* public C API functions must no longer
steal references
Maybe we can change the discussion to something more productive like the
python module system or anything else?
___
Python-Dev mailing list -- python-dev@python.org
To unsubscribe send an email to python-dev-le...@python.org
https://mail.python.org/mailma
On Tue, 23 Mar 2021 at 21:39, Python Steering Council
wrote:
> This isn’t just about ‘master’ being rooted in slavery.
No it's not and I am shocked that such ignorance would exist to believe that.
--
Kind regards,
Stefano Borini
___
Python-Dev mai
15 matches
Mail list logo