[issue40224] Execute a @staticmethod (Python 3.8.2)

2020-04-08 Thread keyboardAnt
New submission from keyboardAnt : Executing the following code* raise a NameError**. Is it on purpose? Attached minimal example to reproduce. class C: val = C.sm() @staticmethod def sm(): return 'val' *With Python 3.8.2, on MacOS. **"Nam

[issue40224] Execute a @staticmethod (Python 3.8.2)

2020-04-08 Thread keyboardAnt
Change by keyboardAnt : Removed file: https://bugs.python.org/file49042/example.py ___ Python tracker <https://bugs.python.org/issue40224> ___ ___ Python-bugs-list mailin

[issue40224] delete_me

2020-04-08 Thread keyboardAnt
Change by keyboardAnt : -- components: -macOS title: Execute a @staticmethod (Python 3.8.2) -> delete_me versions: -Python 3.8 ___ Python tracker <https://bugs.python.org/issu