Re: [Python-Dev] Summary of Python tracker Issues

2012-12-03 Thread Petri Lehtinen
Brett Cannon wrote: > Do we have a graph of the historical trend of the number of bugs (or at least > the historical details stored somewhere)? I think we have had a net decrease > in > open bugs the last couple of weeks and it would be neat to see an absolute and > relative graph of the overall t

Re: [Python-Dev] [Python-checkins] cpython: Issue #16592: stringlib_bytes_join doesn't raise MemoryError on allocation

2012-12-03 Thread Nick Coghlan
On Sun, Dec 2, 2012 at 6:19 PM, Jeff Allen <"ja...py"@farowl.co.uk> wrote: > On 02/12/2012 07:08, Nick Coghlan wrote: > > On Sun, Dec 2, 2012 at 4:56 PM, christian.heimes < > python-check...@python.org> wrote: > >> ... >> diff --git a/Misc/NEWS b/Mi

Re: [Python-Dev] Keyword meanings [was: Accept just PEP-0426]

2012-12-03 Thread Daniel Holth
How to use Obsoletes: The author of B decides A is obsolete. A releases an empty version of itself that Requires: B B Obsoletes: A The package manager says "These packages are obsolete: A". Would you like to remove them? User says "OK". On Wed, Nov 21, 2012 at 2:54 AM, Stephen J. Turnbull wr

[Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

2012-12-03 Thread Larry Hastings
Say there, the Python core development community! Have I got a question for you! *ahem* Which of the following four options do you dislike least? ;-) 1) CPython continues to provide no "function signature" objects (PEP 362) or inspect.getfullargspec() information for any function imple

Re: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

2012-12-03 Thread Gregory P. Smith
On Mon, Dec 3, 2012 at 2:29 PM, Larry Hastings wrote: > > Say there, the Python core development community! Have I got > a question for you! > > *ahem* > > Which of the following four options do you dislike least? ;-) > > 1) CPython continues to provide no "function signature" >objects (PEP

Re: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

2012-12-03 Thread Nick Coghlan
+1 to what Greg said. -- Sent from my phone, thus the relative brevity :) ___ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-

Re: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

2012-12-03 Thread Glenn Linderman
On 12/3/2012 3:42 PM, Gregory P. Smith wrote: All the core devs I've asked said "given all that, I'd prefer the hairy preprocessor macros". But by the end of the conversation they'd changed their minds to prefer the custom DSL. Maybe I'll make a believer out of you too--read on

Re: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

2012-12-03 Thread Larry Hastings
On 12/03/2012 03:42 PM, Gregory P. Smith wrote: On Mon, Dec 3, 2012 at 2:29 PM, Larry Hastings > wrote: Default values for arguments are represented in C as strings; the conversion process attempts eval() on the string, and if that works it uses the

Re: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

2012-12-03 Thread Barry Warsaw
On Dec 03, 2012, at 02:29 PM, Larry Hastings wrote: >4) Builtin function arguments are defined in a small DSL; these >are expanded to code and data using a custom compile-time >preprocessor step. > >All the core devs I've asked said "given all that, I'd prefer the >hairy preprocessor macro

Re: [Python-Dev] Accept just PEP-0426

2012-12-03 Thread Daniel Holth
On Tue, Nov 20, 2012 at 11:01 PM, Nick Coghlan wrote: > On Wed, Nov 21, 2012 at 1:20 PM, Nick Coghlan wrote: > >> On Wed, Nov 21, 2012 at 1:10 PM, PJ Eby wrote: >> >>> Conversely, if you have already installed a package that says it >>> "Obsoletes" another package, this does *not* tell you that

Re: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

2012-12-03 Thread Larry Hastings
On 12/03/2012 02:37 PM, Barry Warsaw wrote: The biggest question with generated code is always the effect on debugging. How horrible will it be when I have to step through argument parsing to figure out what's going wrong? Right now, it's exactly like the existing solution. The generated fun

Re: [Python-Dev] Proposing "Argument Clinic", a new way of specifying arguments to builtins for CPython

2012-12-03 Thread Nick Coghlan
On Tue, Dec 4, 2012 at 8:37 AM, Barry Warsaw wrote: > On Dec 03, 2012, at 02:29 PM, Larry Hastings wrote: > > >4) Builtin function arguments are defined in a small DSL; these > >are expanded to code and data using a custom compile-time > >preprocessor step. > > > >All the core devs I've a