Re: [Python-Dev] Accepting PEP 415 (alternative implementation strategy for PEP 409's "raise exc from None" syntax)

2012-05-14 Thread Benjamin Peterson
2012/5/14 Nick Coghlan : > On Tue, May 15, 2012 at 12:20 AM, Barry Warsaw wrote: >> On May 14, 2012, at 10:04 PM, Nick Coghlan wrote: >> >>>As the subject line says, as Guido's delegate, I'm accepting >>>Benjamin's PEP 415 with the current reference implementation. >> >> I'm glad to see this PEP g

Re: [Python-Dev] Accepting PEP 415 (alternative implementation strategy for PEP 409's "raise exc from None" syntax)

2012-05-14 Thread Nick Coghlan
On Tue, May 15, 2012 at 12:20 AM, Barry Warsaw wrote: > On May 14, 2012, at 10:04 PM, Nick Coghlan wrote: > >>As the subject line says, as Guido's delegate, I'm accepting >>Benjamin's PEP 415 with the current reference implementation. > > I'm glad to see this PEP get accepted.  I have just minor q

Re: [Python-Dev] cpython: Issue #14532: Add a secure_compare() helper to the hmac module, to mitigate

2012-05-14 Thread Antoine Pitrou
On Sun, 13 May 2012 19:53:27 +0200 charles-francois.natali wrote: > > +This module also provides the following helper function: > + > +.. function:: secure_compare(a, b) [...] You need a versionadded tag. Regards Antoine. ___ Python-Dev mailing li

Re: [Python-Dev] Accepting PEP 415 (alternative implementation strategy for PEP 409's "raise exc from None" syntax)

2012-05-14 Thread Barry Warsaw
On May 14, 2012, at 10:04 PM, Nick Coghlan wrote: >As the subject line says, as Guido's delegate, I'm accepting >Benjamin's PEP 415 with the current reference implementation. I'm glad to see this PEP get accepted. I have just minor quibbles :). Can you or Benjamin improve the title of the PEP?

[Python-Dev] Accepting PEP 415 (alternative implementation strategy for PEP 409's "raise exc from None" syntax)

2012-05-14 Thread Nick Coghlan
As the subject line says, as Guido's delegate, I'm accepting Benjamin's PEP 415 with the current reference implementation. This PEP changes the implementation of the new "raise exc from None" syntax to eliminate the use of Ellipsis as a "not set" sentinel value in favour of a separate "__suppress_c