[Python-Dev] Re: PEP 701 – Syntactic formalization of f-strings

2022-12-21 Thread Pablo Galindo Salgado
Hi everyone, For those that are not following the discussion in the discourse thread, I am holding a poll to get an idea of the community opinions on how quotes should work in nested f-strings for PEP 701: https://discuss.python.org/t/pep-701-syntactic-formalization-of-f-strings/22046/24 For us

[Python-Dev] Re: Feature Request: Adding Way to Annotate Class Variables Distinct from Instance Variables

2022-12-21 Thread Christopher Barker
First: this is Python-dev, which is not really the best palce for this kind of question. I'd try: https://discuss.python.org/ Though interestingly, I don't see a Typing topic --maybe I missed it. Or this list: https://mail.python.org/archives/list/typing-...@python.org/ But a couple thoughts:

[Python-Dev] Re: Feature Request: Adding Way to Annotate Class Variables Distinct from Instance Variables

2022-12-21 Thread Steve Holden
Well, the first comment is that this isn't really the best list to ask such questions on, since it was created for the Python developers to discuss the development of the language and its implementation. Further, such discussions nowadays take place on discuss.python.org, and you can find more info

[Python-Dev] Feature Request: Adding Way to Annotate Class Variables Distinct from Instance Variables

2022-12-21 Thread sakaic2003
Hello folks, I am Chihiro, a.k.a. Frodo821, and this is my first post to this group. I searched for a way to annotate both class variables and instance variables with different types and concluded that there is currently no way to do this. For example, what I want to: ``` class Foo: variabl