[issue43254] Fix *snprintf() man page links

2021-02-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +23351 pull_request: https://github.com/python/cpython/pull/24572 ___ Python tracker ___ __

[issue43254] Fix *snprintf() man page links

2021-02-18 Thread miss-islington
miss-islington added the comment: New changeset 8a42eb1492dec2ec0cc79146f0c817acb7328b19 by Miss Islington (bot) in branch '3.8': closes bpo-43254: Fix *snprintf() man page refs. (GH-24563) https://github.com/python/cpython/commit/8a42eb1492dec2ec0cc79146f0c817acb7328b19 -- ___

[issue43254] Fix *snprintf() man page links

2021-02-18 Thread miss-islington
miss-islington added the comment: New changeset 138488750512b47f1773630f90e92ec5038b6978 by Miss Islington (bot) in branch '3.9': closes bpo-43254: Fix *snprintf() man page refs. (GH-24563) https://github.com/python/cpython/commit/138488750512b47f1773630f90e92ec5038b6978 -- ___

[issue43259] argparse: allow add_mutually_exclusive_group on add_argument_group

2021-02-18 Thread Christoph Anton Mitterer
New submission from Christoph Anton Mitterer : Hey. AFAIU, the sole purpose of ArgumentParser.add_argument_group() is for the grouping within the help output. It would be nice, if one could create a mutually exclusive group (with ArgumentParser.add_mutually_exclusive_group) from/within such

[issue43246] Dict copy optimization violates subclass invariant

2021-02-18 Thread Inada Naoki
Inada Naoki added the comment: I am not sure this should be fixed. If so, I think we should use PyDict_CheckExact() instead of PyDict_Check() && (tp_iter is overridden || keys() is overridden || sq_item is overridden). -- nosy: +rhettinger ___ Pyt

[issue42840] `type` takes **kwargs for __init_subclass__

2021-02-18 Thread Guido van Rossum
Guido van Rossum added the comment: I'll try to review it in the coming weeks. -- ___ Python tracker ___ ___ Python-bugs-list maili

[issue41847] Update "install launcher for all users" installer option

2021-02-18 Thread Eryk Sun
Eryk Sun added the comment: > but at least for clean installs of 3.10 we can avoid the need > for admin completely Except updating PATHEXT always requires admin access. I do this manually by setting a user PATHEXT variable with %PATHEXT% as the first item and append the extensions that I ne

[issue43259] argparse: allow add_mutually_exclusive_group on add_argument_group

2021-02-18 Thread hai shi
Change by hai shi : -- nosy: +paul.j3, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue43260] Never release buffer when MemoryError in prtin()

2021-02-18 Thread Ramin Farajpour Cami
New submission from Ramin Farajpour Cami : Hi, When we use "a"*100 in print("a"*100) function, Show "MemoryError",Again i use print("1") again display "MemoryError", I think memory not release for use again, >>> print("a"*10) Traceback (most recent call last): F

[issue43260] Never release buffer when MemoryError in print()

2021-02-18 Thread Ramin Farajpour Cami
Change by Ramin Farajpour Cami : -- title: Never release buffer when MemoryError in prtin() -> Never release buffer when MemoryError in print() ___ Python tracker ___

[issue43259] argparse: allow add_mutually_exclusive_group on add_argument_group

2021-02-18 Thread paul j3
paul j3 added the comment: The mutually exclusive arguments are displayed with in the argument group, at least in my testing. From a copy-n-paste of your example: In [8]: parser.print_help() usage: ipython3 [-h] [--from-args FROM_ARGS | --from-files FROM_FILES | --from-stdin

[issue43223] [security] http.server: Open Redirection if the URL path starts with //

2021-02-18 Thread Hamza AVvan
Hamza AVvan added the comment: As for the directory issue, not only .ssh but an attacker can use any directory to make the open redirection exploitable. And as for the HTTP Header Location, the server does not remove extra trailing slash from the PAYLOAD uri, which seems to be the cause of v

[issue43261] Python 3.9 repair on Windows do not recover pip module

2021-02-18 Thread Svyatoslav
New submission from Svyatoslav : I by mistake run command `pip install -U pip setuptools wheel` on Windows which deleted pip and did not install a new version. I decided to repair Python using 3.9.1 installer option. But after repair pip still was not installed. -- components: Windows

[issue43260] Never release buffer when MemoryError in print()

2021-02-18 Thread Ramin Farajpour Cami
Ramin Farajpour Cami added the comment: Version : Python 3.8.5 (tags/v3.8.5:580fbb0, Jul 20 2020, 15:43:08) [MSC v.1926 32 bit (Intel)] on win32 -- ___ Python tracker ___ _

[issue43260] Never release buffer when MemoryError in print()

2021-02-18 Thread Ramin Farajpour Cami
Ramin Farajpour Cami added the comment: Python 3.9.1 (tags/v3.9.1:1e5d33e, Dec 7 2020, 16:33:24) [MSC v.1928 32 bit (Intel)] on win32 Type "help", "copyright", "credits" or "license" for more information. >>> print("a"*10) Traceback (most recent call last): File "", line 1, in Memo

[issue43262] "_weakrefset.py", line 56: IndexError: pop from empty list

2021-02-18 Thread Jinghao Shi
New submission from Jinghao Shi : One of our asyncio based application sporadically crash due to this stack trace: ``` File ".../lib/python3.8/asyncio/runners.py", line 48, in run loop.run_until_complete(loop.shutdown_asyncgens()) File ".../lib/python3.8/asyncio/base_events.py", line 595,

[issue43260] Never release buffer when MemoryError in print()

2021-02-18 Thread Ramin Farajpour Cami
Change by Ramin Farajpour Cami : -- type: -> crash ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue34013] Inconsistent SyntaxError for print

2021-02-18 Thread Vedran Čačić
Vedran Čačić added the comment: Aren't we overthinking this? Python 2 is a dead language. It has reached end of life more than a year ago (and was scheduled to do so in 2015). Why are we still trying to accomodate something that stopped being relevant a long time ago? -- nosy: +veky

[issue34013] Inconsistent SyntaxError for print

2021-02-18 Thread Ammar Askar
Ammar Askar added the comment: It's still one of the most common beginner mistakes, personally I think the trade-off in complexity at least for the grammar level fix is worth it here. -- nosy: +ammar2 ___ Python tracker

[issue34013] Inconsistent SyntaxError for print

2021-02-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Consistency' is in the eye of the beholder in that it is relative to some ideal. 'Inconsistent' has too much baggage as bad'. I would prefer to call the current rule 'restricted' or 'limited' and judge any expansion on its own merits. The arguments to pr

<    1   2