On 08/04/2016 11:58 PM, Nick Coghlan wrote:
I occasionally wonder if we should document the "/" notation in
https://docs.python.org/3/library/inspect.html#introspecting-callables-with-the-signature-object
as it can sometimes show up in the text representation of signature
objects:
>>>
On 5 August 2016 at 09:12, Larry Hastings wrote:
> / is the delimiter between positional-only parameters and
> positional-or-keyword arguments. It's not actual Python syntax, but Guido
> said (somewhere) that *if* Python ever sprouted a syntax for positional-only
>
On Thu, Aug 4, 2016 at 11:33 PM, Alexander Belopolsky
wrote:
>
> On Thu, Aug 4, 2016 at 7:12 PM, Larry Hastings wrote:
>>
>> C extension functions get the module passed in automatically, but this is
>> done internally and from the Python level
On Thu, Aug 4, 2016 at 7:12 PM, Larry Hastings wrote:
> C extension functions get the module passed in automatically, but this is
> done internally and from the Python level you can't see it.
Always something new to learn! This was not so in Python 2.x - self was
passed as
On 08/04/2016 03:45 PM, Alexander Belopolsky wrote:
On Thu, Aug 4, 2016 at 2:19 PM, Larry Hastings > wrote:
AFAIK the Clinic DSL can handle all of Python's C extensions. I
have no plans to "revise the whole approach"; if someone else
On Thu, 4 Aug 2016 at 15:47 Alexander Belopolsky <
alexander.belopol...@gmail.com> wrote:
>
> On Thu, Aug 4, 2016 at 2:19 PM, Larry Hastings wrote:
>
>> AFAIK the Clinic DSL can handle all of Python's C extensions. I have no
>> plans to "revise the whole approach"; if
On Thu, Aug 4, 2016 at 7:00 PM, Brett Cannon wrote:
>> >>> os.rename.__text_signature__
>> '($module, /, src, dst, *, src_dir_fd=None, dst_dir_fd=None)'
>>
>> ?
>>
>> What does the "$module, /," part mean?
>
>
> Don't remember what the $module means but the / means
On Thu, Aug 4, 2016 at 2:19 PM, Larry Hastings wrote:
> AFAIK the Clinic DSL can handle all of Python's C extensions. I have no
> plans to "revise the whole approach"; if someone else does I haven't heard
> about it.
I was just wondering that with so much effort to bring
On 08/04/2016 09:11 AM, Alexander Belopolsky wrote:
Furthermore, the 3.4 release notes contain a warning
saying "The Argument Clinic PEP is not fully up to date with the state
of the implementation." It does not look like this situation has
improved since.
It hasn't. The PEP lags behind
On Thu, 4 Aug 2016 at 09:14 Alexander Belopolsky <
alexander.belopol...@gmail.com> wrote:
> What is the current status of the Argument Clinic DSL? The clinic
> preprocessor was released [1] with Python 3.4 with a promise [2] "that
> signature metadata for programmatic introspection will be added
What is the current status of the Argument Clinic DSL? The clinic
preprocessor was released [1] with Python 3.4 with a promise [2] "that
signature metadata for programmatic introspection will be added to
additional callables implemented in C as part of Python 3.4
maintenance releases." We are
11 matches
Mail list logo