[Python-Dev] Re: RFC on PEP 675: Arbitrary Literal Strings

2022-02-07 Thread S Pradeep Kumar
in https://github.com/python/peps/pull/2313 -- S Pradeep Kumar ___ Python-Dev mailing list -- python-dev@python.org To unsubscribe send an email to python-dev-le...@python.org https://mail.python.org/mailman3/lists/python-dev.python.org/ Mess

[Python-Dev] Re: RFC on PEP 673: Self Type

2022-01-19 Thread S Pradeep Kumar
__` and `__mul__`. (The exact error and position is left up to the type checker.) Thanks for the questions! ___________ >> Python-Dev mailing list -- python-dev@python.org >> To unsubscribe send an email to python-dev-le...@python.org >> h

[Python-Dev] Re: RFC on Callable Type Syntax

2021-10-08 Thread S Pradeep Kumar
gt; return x+1" and you can't write "f 42". Allowing the omission of the > parentheses here would be inconsistent (even if some other languages allow > it). > > -- > --Guido van Rossum (python.org/~guido) > *Pronouns: he/him **(why is my pronoun here?)* > <ht

[Python-Dev] RFC on Callable Type Syntax

2021-10-07 Thread S Pradeep Kumar
Hello all, Typing-sig has been discussing user-friendly syntax for the type used to represent callables. [1] Since this affects the Python language syntax, we wanted to get some high-level feedback from you before putting up a detailed PEP. TL;DR: We want to propose syntax for Callable types,