[issue44701] Create a @deprecated decorator (annotation)

2021-07-28 Thread Leonardo Freua
Leonardo Freua added the comment: Ok thanks, I'll do it. -- ___ Python tracker <https://bugs.python.org/issue44701> ___ ___ Python-bugs-list mailing list

[issue35728] Tkinter font nametofont requires default root

2021-07-23 Thread Leonardo Freua
Leonardo Freua added the comment: Has the PR already solved the problem? If yes, could this issue not be closed? -- nosy: +Leonardofreua ___ Python tracker <https://bugs.python.org/issue35

[issue44701] Create a @deprecated decorator (annotation)

2021-07-21 Thread Leonardo Freua
New submission from Leonardo Freua : Would it be interesting to create a @deprecated decorator to avoid adding warnings.warn("deprecation message", DeprecationWarning, stacklevel=2) in methods body? Using the decorator approach to indicate depreciation would make the method

[issue44629] Some files from distutils module are importing all exceptions unnecessarily

2021-07-16 Thread Leonardo Freua
Leonardo Freua added the comment: Hi Éric, thanks for the info. I'm still learning about all the processes and how things work around here in order to avoid opening issues that no longer make sense. Thanks you again. -- ___ Python tracker &

[issue44650] Move test_futures files*.py into a subdirectory of Lib/test

2021-07-16 Thread Leonardo Freua
Leonardo Freua added the comment: Definitely not the same kind of reorganization! In issue44573 what was proposed was the reorganization of the data files used in the tests. And what I'm proposing now is equivalent to what was proposed in issue15907 (and there it was accepted, there is

[issue44650] Move test_futures files*.py into a subdirectory of Lib/test

2021-07-15 Thread Leonardo Freua
Leonardo Freua added the comment: List of files: test_future.py test_future3.py test_future4.py test_future5.py Obs.: In fact there are 5 files, since the number 2 doesn't exist. -- ___ Python tracker <https://bugs.python.org/is

[issue44650] Move test_futures files* into a subdirectory of Lib/test

2021-07-15 Thread Leonardo Freua
Change by Leonardo Freua : -- components: +Library (Lib), Tests type: -> enhancement versions: +Python 3.11 ___ Python tracker <https://bugs.python.org/issu

[issue44650] Move test_futures files*.py into a subdirectory of Lib/test

2021-07-15 Thread Leonardo Freua
Change by Leonardo Freua : -- title: Move test_futures files* into a subdirectory of Lib/test -> Move test_futures files*.py into a subdirectory of Lib/test ___ Python tracker <https://bugs.python.org/issu

[issue44650] Move test_futures files* into a subdirectory of Lib/test

2021-07-15 Thread Leonardo Freua
New submission from Leonardo Freua : There are currently 6 files referring to __future__ tests, these are in the root directory Lib/test. It would be interesting to move them to a directory called Lib/test/test_future. This change could contribute to the organization of the tests that have

[issue10572] Move test sub-packages to Lib/test

2021-07-15 Thread Leonardo Freua
Leonardo Freua added the comment: After so long a reason came up that prevents the movement of tests of ctypes, lib2to3, and idlelib (which even continues in the same folder, only the nomenclature was changed)? -- nosy: +Leonardofreua ___ Python

[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-13 Thread Leonardo Freua
Change by Leonardo Freua : -- keywords: +patch pull_requests: +25671 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27128 ___ Python tracker <https://bugs.python.org/issu

[issue44631] Refactoring the repr() of the _Environ class (os module)

2021-07-13 Thread Leonardo Freua
New submission from Leonardo Freua : Currently, the repr() code of the _Environ class does many things in a bunched way, making it difficult to read and difficult to determine the result returned by the method. Therefore, I propose an adjustment in the code to make it more readable, as well

[issue44629] Some files from distutils module are importing all exceptions unnecessarily

2021-07-13 Thread Leonardo Freua
New submission from Leonardo Freua : Some files from the distutils module are importing all the exceptions from the errors.py file unnecessarily, when in fact only a few of the Exception classes are used. Could I open a PR by fixing the files that are making these unnecessary imports? Or is

[issue44628] Remove the broken link for issue #445902 in unixcompiler.py (distutils)

2021-07-13 Thread Leonardo Freua
Change by Leonardo Freua : -- keywords: +patch pull_requests: +25666 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27121 ___ Python tracker <https://bugs.python.org/issu

[issue44628] Remove the broken link for issue #445902 in unixcompiler.py (distutils)

2021-07-13 Thread Leonardo Freua
New submission from Leonardo Freua : There is a broken link in the docstring of the runtime_library_dir_option() method of the UnixCCompiler class. See the broken link below: http://sourceforge.net/tracker/index.php?func=detail&aid=445902&group_id=5470&atid=105470 And the

[issue44612] inspect module points that could be using f-String

2021-07-12 Thread Leonardo Freua
Leonardo Freua added the comment: Thanks, Ammar. I'll look. -- ___ Python tracker <https://bugs.python.org/issue44612> ___ ___ Python-bugs-list m

[issue44612] inspect module points that could be using f-String

2021-07-12 Thread Leonardo Freua
Leonardo Freua added the comment: Understood. Anyway, it was good to try to help at this point. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44612] inspect module points that could be using f-String

2021-07-12 Thread Leonardo Freua
Change by Leonardo Freua : -- keywords: +patch pull_requests: +25648 stage: -> patch review pull_request: https://github.com/python/cpython/pull/27100 ___ Python tracker <https://bugs.python.org/issu

[issue44612] inspect module points that could be using f-String

2021-07-12 Thread Leonardo Freua
New submission from Leonardo Freua : There are some points in inspect module (I counted 48 since version 3.7) that could be using f-String formatting instead of format(). Changing these points will improve code readability, it will also decrease the complexity at these points and not to

[issue44573] Organize some data files in the Lib/test directory

2021-07-09 Thread Leonardo Freua
Change by Leonardo Freua : -- status: closed -> open ___ Python tracker <https://bugs.python.org/issue44573> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue44573] Organize some data files in the Lib/test directory

2021-07-09 Thread Leonardo Freua
Change by Leonardo Freua : -- stage: -> resolved status: open -> closed type: -> enhancement ___ Python tracker <https://bugs.python.org/issue44573> ___ ___

[issue44573] Organize some data files in the Lib/test directory

2021-07-06 Thread Leonardo Freua
New submission from Leonardo Freua : I noticed that some data files (used to perform some specific tests) are not organized in specific directories of their categories. Some files that I found are audiotest.au, badcert.pem, badkey.pem, cfgparser.1, cfgparser.2, etc (some are even .py files