This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author larry
Recipients Trundle, alex, asvetlov, barry, chris.jerdonek, daniel.urban, david.villa, dmalcolm, eric.smith, ezio.melotti, gregory.p.smith, jcea, jkloth, larry, mark.dickinson, pitrou, skrah, v+python
Date 2012-12-08.17:55:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1354989352.4.0.937207161041.issue16612@psf.upfronthosting.co.za>
In-reply-to
Content
Antoine, Stefan: There doesn't appear to be a bright line separating "this should get a PEP" from "this doesn't need a PEP".  That said, changes to the C API for CPython don't seem to merit PEPs very often, the recent "Stable ABI" being the lone exception to the rule I can recall.  Also, Guido already said (in python-dev) he didn't think it merited a PEP, and I tend to agree.

What I don't understand is what advantage writing a PEP would bring.  If you're worried that it needs discussion--okay, let's discuss it.  Surely we can do that here?  Or in python-dev?  What's on your mind?


Stefan: It sounds like Argument Clinic won't work well for _cdecimal, nor would any alternate DSL grammar work any better, really.  But have no fear--I doubt anyone is going to force you to accept Argument-Clinic-ization of _cdecimal against your will.  If you're comfortable maintaining the _cdecimal code without it, you certainly have my blessing.  Though I do hope you'll add the data needed to generate Signature objects once we figure out what that looks like.


Chris: clinic.txt is available for review as part of the patch I posted, please feel free to make your comments there.  I could file a new patch with the two changes you already suggest if you prefer.  (Though I'm not changing the name of the project to "Parameter Clinic"--the Monty Python reference is simply irresistible.)


Finally, an admission.  I wrote "Argument Clinic" thinking that the inspect.Signature Parameter objects had a per-Parameter docstring.  Well, they don't.  (I feel like an idiot.)  So we could theoretically remove the per-parameter docstrings from the DSL.  However, I'm pretty happy with the current structure of the DSL.  My inclination therefore is to leave them in.  (And who knows, maybe the Parameter object could grow a docstring.)  Still, if you're going to propose changes to the DSL, I submit that removing the per-parameter docstring is wholly viable.
History
Date User Action Args
2012-12-08 17:55:52larrysetrecipients: + larry, barry, gregory.p.smith, jcea, mark.dickinson, pitrou, eric.smith, jkloth, ezio.melotti, v+python, alex, Trundle, asvetlov, skrah, dmalcolm, daniel.urban, chris.jerdonek, david.villa
2012-12-08 17:55:52larrysetmessageid: <1354989352.4.0.937207161041.issue16612@psf.upfronthosting.co.za>
2012-12-08 17:55:52larrylinkissue16612 messages
2012-12-08 17:55:51larrycreate