[issue45224] Argparse shows required arguments as optional

2021-09-16 Thread Khalid Mammadov
Khalid Mammadov added the comment: This is another, larger example, where I actually stumbled on this when looking into Apache Airflow project. Below makes it confusing to see what is actually required and what not. Unless you look for square brackets. Would be it much nicer to list

[issue45224] Argparse shows required arguments as optional

2021-09-16 Thread Khalid Mammadov
Khalid Mammadov added the comment: May I suggest to change it again so we two sections: required and optional? This can help to be more clear from usage perspective. I have changed it locally and it looks like below: usage: myprogram.py [-h] [--foo FOO] --bar BAR required arguments

[issue45224] Argparse shows required arguments as optional

2021-09-16 Thread Khalid Mammadov
New submission from Khalid Mammadov : Currently argparse module shows all optional arguments under "optional arguments" section of the help. It also includes those flags/arguments that are required as well. This add confusion to a user and does not properly show

[issue39180] Missing getlines func documentation from linecache module

2020-02-22 Thread Khalid Mammadov
Change by Khalid Mammadov : -- resolution: -> duplicate ___ Python tracker <https://bugs.python.org/issue39180> ___ ___ Python-bugs-list mailing list Un

[issue39139] Reference to depricated collections.abc class in collections is unnecessary and confusing

2020-02-22 Thread Khalid Mammadov
Khalid Mammadov added the comment: Looks like this is covered in greater detail in the other PRs. So, closing the PR and the issue -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/i

[issue39139] Reference to depricated collections.abc class in collections is unnecessary and confusing

2020-02-22 Thread Khalid Mammadov
Change by Khalid Mammadov : -- resolution: -> duplicate ___ Python tracker <https://bugs.python.org/issue39139> ___ ___ Python-bugs-list mailing list Un

[issue39180] Missing getlines func documentation from linecache module

2020-02-22 Thread Khalid Mammadov
Khalid Mammadov added the comment: Looks like it's not meant to be made public as the module is meant to be working on a single line. So closing the issue and PR -- nosy: -ammar2 stage: patch review -> resolved status: open -> closed ___

[issue39180] Missing getlines func documentation from linecache module

2020-02-22 Thread Khalid Mammadov
Khalid Mammadov added the comment: How to find if it was intentional or over-site? -- ___ Python tracker <https://bugs.python.org/issue39180> ___ ___ Python-bug

[issue39130] Dict is reversable from v3.8 and should say that in the doc

2020-02-22 Thread Khalid Mammadov
Change by Khalid Mammadov : -- stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue39130> ___ ___ Pyth

[issue39180] Missing getlines func documentation from linecache module

2020-01-01 Thread Khalid Mammadov
Change by Khalid Mammadov : -- keywords: +patch pull_requests: +17216 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17784 ___ Python tracker <https://bugs.python.org/issu

[issue39180] Missing getlines func documentation from linecache module

2020-01-01 Thread Khalid Mammadov
Change by Khalid Mammadov : -- assignee: docs@python components: Documentation nosy: docs@python, khalidmammadov priority: normal severity: normal status: open title: Missing getlines func documentation from linecache module versions: Python 3.8

[issue39139] Reference to depricated collections.abc class in collections is unnecessary and confusing

2019-12-26 Thread Khalid Mammadov
Change by Khalid Mammadov : -- keywords: +patch pull_requests: +17153 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17707 ___ Python tracker <https://bugs.python.org/issu

[issue39139] Reference to depricated collections.abc class in collections is unnecessary and confusing

2019-12-26 Thread Khalid Mammadov
New submission from Khalid Mammadov : "Deprecated since version 3.3, will be removed in version 3.9: Moved Collections Abstract Base Classes to the collections.abc module. For backwards compatibility, they continue to be visible in this module through Python 3.8." on the o

[issue39130] Dict is reversable from v3.8 and should say that in the doc

2019-12-24 Thread Khalid Mammadov
Change by Khalid Mammadov : -- keywords: +patch pull_requests: +17148 stage: -> patch review pull_request: https://github.com/python/cpython/pull/17694 ___ Python tracker <https://bugs.python.org/issu

[issue39130] Dict is reversable from v3.8 and should say that in the doc

2019-12-24 Thread Khalid Mammadov
Change by Khalid Mammadov : -- assignee: docs@python components: Documentation nosy: docs@python, khalidmammadov priority: normal severity: normal status: open title: Dict is reversable from v3.8 and should say that in the doc type: enhancement versions: Python 3.8