Re: [Python-Dev] python code in argument clinic annotations

2014-01-16 Thread Yury Selivanov
Larry, On January 16, 2014 at 2:58:02 PM, Larry Hastings (la...@hastings.org) wrote: > > However, the generated output is still going to be checked in > to the repository regardless. OK. Since it looks like it’s 100% accepted to commit it to the repo, then my question is moot. And again, Larry

Re: [Python-Dev] python code in argument clinic annotations

2014-01-16 Thread Georg Brandl
Am 16.01.2014 20:46, schrieb Yury Selivanov: > Guido, > > On Thursday, January 16, 2014, Guido van Rossum > wrote: > > On Thu, Jan 16, 2014 at 11:15 AM, Yury Selivanov > > wrote: > > The whole discussion of whether clinic should write its output > > right

Re: [Python-Dev] python code in argument clinic annotations

2014-01-16 Thread Larry Hastings
On 01/16/2014 11:46 AM, Yury Selivanov wrote: There is just one reason for having it in C -- having it integrated in the build process, so that the generated output/sidefiles are not in the repository. It's possible to integrate Argument Clinic into the build process without rewriting it in C.

Re: [Python-Dev] python code in argument clinic annotations

2014-01-16 Thread Larry Hastings
On 01/16/2014 11:36 AM, Guido van Rossum wrote: On Thu, Jan 16, 2014 at 11:15 AM, Yury Selivanov wrote: If we keep it strictly declarative, then, at least, we’ll have this possibility in the future. Sounds like a pretty unlikely scenario. Why would you implement clinic in C? We'll never reim

Re: [Python-Dev] python code in argument clinic annotations

2014-01-16 Thread Yury Selivanov
Guido, On Thursday, January 16, 2014, Guido van Rossum wrote: > On Thu, Jan 16, 2014 at 11:15 AM, Yury Selivanov > > wrote: > > The whole discussion of whether clinic should write its output > > right in the source file (buffered or not), or in a separate sidefile, > > started because we current

Re: [Python-Dev] python code in argument clinic annotations

2014-01-16 Thread Guido van Rossum
On Thu, Jan 16, 2014 at 11:15 AM, Yury Selivanov wrote: > The whole discussion of whether clinic should write its output > right in the source file (buffered or not), or in a separate sidefile, > started because we currently cannot run the clinic during the build > process, since it’s written in p

[Python-Dev] python code in argument clinic annotations

2014-01-16 Thread Yury Selivanov
The whole discussion of whether clinic should write its output right in the source file (buffered or not), or in a separate sidefile, started because we currently cannot run the clinic during the build process, since it’s written in python. But what if, at some point, someone implements the Tools/