[issue19073] Inability to specific __qualname__ as a property on a class instance.

2022-01-25 Thread Irit Katriel
Irit Katriel added the comment: See also Issue41294. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue19073] Inability to specific __qualname__ as a property on a class instance.

2022-01-07 Thread Irit Katriel
Irit Katriel added the comment: This is the check that is preventing qualname being a property: https://github.com/python/cpython/blob/994f90c0772612780361e1dc5fa5223dce22f70a/Objects/typeobject.c#L2853 Note that it is not the same check used for assignment, which is here: https://github.com

[issue19073] Inability to specific __qualname__ as a property on a class instance.

2021-02-20 Thread Lewis Gaul
Lewis Gaul added the comment: This would also be useful for me - I just hit this same problem. If someone could give some guidance on how to make this change I'd be happy to put up a PR. -- nosy: +LewisGaul ___ Python tracker

[issue19073] Inability to specific __qualname__ as a property on a class instance.

2021-02-15 Thread Irit Katriel
Change by Irit Katriel : -- versions: +Python 3.10 -Python 3.4 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue19073] Inability to specific __qualname__ as a property on a class instance.

2013-09-22 Thread Antoine Pitrou
Antoine Pitrou added the comment: I guess this would be a harmless improvement in any case. -- nosy: +pitrou stage: -> needs patch type: behavior -> enhancement versions: +Python 3.4 -Python 3.3 ___ Python tracker

[issue19073] Inability to specific __qualname__ as a property on a class instance.

2013-09-22 Thread Graham Dumpleton
New submission from Graham Dumpleton: Python 3 introduced __qualname__. This attribute exists on class types and also instances of certain class types, such as functions. For example: def f(): pass print(f.__name__) print(f.__qualname__) class Class: pass print(Class.__name__) print(Class.__