Re: [Python-3000] how should we handle changes to the C API?

2007-02-13 Thread Brett Cannon
On 2/12/07, "Martin v. Löwis" <[EMAIL PROTECTED]> wrote: > Brett Cannon schrieb: > >> I'm unclear why you want to warn in PyErr_GivenExceptionMatches: > >> shouldn't you rather warn when the exception is raised? > >> > > > > Guido wants both so that you don't end up with useless values in the > > '

[Python-3000] pre-PEP: Default Argument Expressions

2007-02-13 Thread Chris Rebert
Requesting comments on the following pre-PEP. pybench runs both with and without the patch applied would also be appreciated. - Chris R Title: Default Argument Expressions Author: Christopher Rebert Status: Draft Type: Standards Track Requires: 3000 Python-Version: 3.0 Abstract This PEP

Re: [Python-3000] pre-PEP: Default Argument Expressions

2007-02-13 Thread Mike Klaas
On 2/13/07, Chris Rebert <[EMAIL PROTECTED]> wrote: > This PEP proposes new semantics for default arguments to remove > boilerplate code associated with non-constant default argument values, > allowing them to be expressed more clearly and succinctly. > Specifically, > all defau

Re: [Python-3000] pre-PEP: Default Argument Expressions

2007-02-13 Thread Anthony Baxter
On Wednesday 14 February 2007 15:44, Mike Klaas wrote: > 2. Performance. The speed of python is influenced greatly by the > performance of function dispatch. This may not show up in > pystone. pystone is an utterly useless benchmark. It should not be used, ever. The pre-PEP references pybench,

Re: [Python-3000] pre-PEP: Default Argument Expressions

2007-02-13 Thread Josiah Carlson
Chris Rebert <[EMAIL PROTECTED]> wrote: > Requesting comments on the following pre-PEP. pybench runs both with and > without the patch applied would also be appreciated. > - Chris R One Glyph Lefkowitz posted today [1] in response to dynamic attribute access the following, which is surely applic