[issue32829] Lib/ be more pythonic

2018-03-17 Thread R. David Murray
R. David Murray added the comment: The risk of introducing a bug is higher than the minimal benefit of making the changes. Thus we do not typically accept changes like this. We'll clean up such code when we touching it for other reasons. -- nosy:

[issue32829] Lib/ be more pythonic

2018-03-05 Thread Дилян Палаузов
Дилян Палаузов added the comment: The variables got_it in distutils/command/sdist and quote in email/_header_value_parser can be skipped making the code shorter and faster. -- ___ Python tracker

[issue32829] Lib/ be more pythonic

2018-02-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Dilyan, please explain what you believe the problems to be and how the patch solves it. These seem to be 3 separate issues. Do not change idlelib.config. config_main.def contain 'default = True' or 'default = False' and that is what the

[issue32829] Lib/ be more pythonic

2018-02-12 Thread Christian Heimes
Christian Heimes added the comment: We generally don't accept patches on bugs.python.org. Please open a pull request on github, see https://devguide.python.org/#contributing -- nosy: +christian.heimes ___ Python tracker

[issue32829] Lib/ be more pythonic

2018-02-12 Thread Дилян Палаузов
New submission from Дилян Палаузов : diff --git a/Lib/distutils/command/sdist.py b/Lib/distutils/command/sdist.py --- a/Lib/distutils/command/sdist.py +++ b/Lib/distutils/command/sdist.py @@ -251,14 +251,11 @@ class sdist(Command): for fn in standards: