[issue42569] Callers of _Py_fopen/_Py_wfopen may be broken after addition of audit hooks

2020-12-04 Thread STINNER Victor
STINNER Victor added the comment: > In Windows, the fopen() and _wfopen() calls here should use the non-standard > "N" flag [1] to open a non-inheritable file descriptor and skip calling > set_inheritable(). Interesting. Do you want to propose a PR to enhance the Python implementation?

[issue42373] PEP 626 does not specify behavior of tracing for keywords.

2020-12-04 Thread Mark Shannon
Change by Mark Shannon : -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-

[issue30459] PyList_SET_ITEM could be safer

2020-12-04 Thread STINNER Victor
STINNER Victor added the comment: I propose to merge my PR 23645 change right now. If it breaks too many C extensions, we still have time before Python 3.10.0 final scheduled at Monday, 2021-10-04, to revert the change. "if (obj == NULL || PyList_SET_ITEM (l, i, obj) < 0)" Well, this is ob

[issue39947] [C API] Make the PyThreadState structure opaque (move it to the internal C API)

2020-12-04 Thread STINNER Victor
STINNER Victor added the comment: > bpo-35949 lists Py_ALLOW_RECURSION and Py_END_ALLOW_RECURSION which access > PyThreadState.recursion_critical member directly. Oh, problem solved by: commit dcc54215ac1eb4b6fab2a9ffe1abcdf3ac4bb77e Author: Serhiy Storchaka Date: Mon Oct 5 12:32:00 2020

[issue42572] Better path handling with argparse

2020-12-04 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +paul.j3, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2020-12-04 Thread Ned Deily
Change by Ned Deily : -- pull_requests: +22517 pull_request: https://github.com/python/cpython/pull/23649 ___ Python tracker ___ ___

[issue42536] Iterating on a zip keeps objects alive longer than expected (test_itertools leaks sometimes references)

2020-12-04 Thread Brandt Bucher
Brandt Bucher added the comment: New changeset 226a012d1cd61f42ecd3056c554922f359a1a35d by Brandt Bucher in branch 'master': bpo-42536: GC track recycled tuples (GH-23623) https://github.com/python/cpython/commit/226a012d1cd61f42ecd3056c554922f359a1a35d -- _

[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2020-12-04 Thread Ned Deily
Ned Deily added the comment: New changeset 29afab6c5f656f07ac85c9b2cf089631b2557a11 by Ned Deily in branch 'master': bpo-41116: Fix setup.py test for macOS Tcl/Tk frameworks (GH-23649) https://github.com/python/cpython/commit/29afab6c5f656f07ac85c9b2cf089631b2557a11 --

[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2020-12-04 Thread miss-islington
Change by miss-islington : -- pull_requests: +22518 pull_request: https://github.com/python/cpython/pull/23650 ___ Python tracker ___ __

[issue41116] build on macOS 11 (beta) does not find system-supplied third-party libraries

2020-12-04 Thread Ned Deily
Ned Deily added the comment: New changeset 06002b3f0d4570424feef37103c7e9b7d16bd63d by Miss Islington (bot) in branch '3.9': [3.9] bpo-41116: Fix setup.py test for macOS Tcl/Tk frameworks (GH-23649) (GH-23650) https://github.com/python/cpython/commit/06002b3f0d4570424feef37103c7e9b7d16bd63d

[issue13966] Add disable_interspersed_args() to argparse.ArgumentParser

2020-12-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: rhettinger -> versions: +Python 3.10 -Python 3.2, Python 3.3, Python 3.4, Python 3.5 ___ Python tracker ___

[issue9334] argparse does not accept options taking arguments beginning with dash (regression from optparse)

2020-12-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue42536] Iterating on a zip keeps objects alive longer than expected (test_itertools leaks sometimes references)

2020-12-04 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +22519 pull_request: https://github.com/python/cpython/pull/23651 ___ Python tracker ___ ___

[issue42536] Iterating on a zip keeps objects alive longer than expected (test_itertools leaks sometimes references)

2020-12-04 Thread Brandt Bucher
Change by Brandt Bucher : -- pull_requests: +22520 pull_request: https://github.com/python/cpython/pull/23652 ___ Python tracker ___ ___

[issue38843] Document argparse behaviour when custom namespace object already has the field set

2020-12-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- keywords: +patch pull_requests: +22521 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23653 ___ Python tracker __

[issue42574] Travis can't build the 3.8 branch right now

2020-12-04 Thread Brandt Bucher
New submission from Brandt Bucher : Travis seems to be using the wrong Python executable for (at least) the "make -j4 regen-all" step on the 3.8 branch. I have a hunch it's using the system python3 executable (3.5?). It causes the following failure when building: ... python3 ./Tools/scripts/u

[issue17005] Add a topological sort algorithm

2020-12-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: rhettinger -> resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue42574] Travis can't build the 3.8 branch right now

2020-12-04 Thread Brandt Bucher
Change by Brandt Bucher : -- keywords: +patch pull_requests: +22522 stage: -> patch review pull_request: https://github.com/python/cpython/pull/23652 ___ Python tracker ___ __

[issue42570] Try and Except doesn't work properly

2020-12-04 Thread Kshitish
Kshitish added the comment: for i in range(1,11): try: if i == i: print(i) if i == 5: continue print(i,'poc') except: print("Out") Output: 1 2 3 4 5 6 7 8 9 10 As you can see the continue keyword is not working.

[issue42575] Suggest to add an LinkedList data structure to python

2020-12-04 Thread Sam Yan
New submission from Sam Yan : There has been no LinkedList data structure for Python. Therefore suggest adding a LinkedList data structure. -- components: C API files: LinkedList.py messages: 382557 nosy: SamUnimelb priority: normal severity: normal status: open title: Suggest to add a

[issue42570] Try and Except doesn't work properly

2020-12-04 Thread Raymond Hettinger
Raymond Hettinger added the comment: Kshitish, it was inappropriate to reopen this issue. This forum is for tracking actual bugs in Python as opposed to bugs in a user's understanding of Python. My suggestion is that you post on StackOverflow so that the helpers there can explain what is g

[issue18943] argparse: default args in mutually exclusive groups

2020-12-04 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: rhettinger -> ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

<    1   2