[issue44258] Support PEP 515 for Fraction's initialization from string

2021-05-27 Thread Mark Dickinson
Mark Dickinson added the comment: +1 to the idea: `Decimal`, `float`, `complex` and `int` all understand the underscores; there's no good reason for `Fraction` not to. So yes please to the PR. There should be tests that check that only the underscore rules allowed by `int` and the others are

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: Both the original bug reported here, and the bug whereby completion could cause IDLE to freeze on macOS, have been fixed and backported to 3.10 and 3.9. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed __

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: New changeset 21a56a4bce186cd19a50502d2de5117551616005 by Miss Islington (bot) in branch '3.9': bpo-41611: IDLE: Catch TclError exceptions in AutoCompleteWindow.winconfig_event() (GH-26404) https://github.com/python/cpython/commit/21a56a4bce186cd19a50502d2de51175

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: New changeset 448abe8d8bcfdf50a5ecae1196199da46bdfed04 by Miss Islington (bot) in branch '3.10': bpo-41611: IDLE: Catch TclError exceptions in AutoCompleteWindow.winconfig_event() (GH-26404) https://github.com/python/cpython/commit/448abe8d8bcfdf50a5ecae1196199da

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- pull_requests: +25016 pull_request: https://github.com/python/cpython/pull/26421 ___ Python tracker ___ ___

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +25015 pull_request: https://github.com/python/cpython/pull/26420 ___ Python tracker ___ __

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +25014 pull_request: https://github.com/python/cpython/pull/26419 ___ Python tracker ___ __

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: New changeset 4e2e5c1c4f792b4011e4c78d011baea2aee39f1b by Tal Einat in branch 'main': bpo-41611: IDLE: Catch TclError exceptions in AutoCompleteWindow.winconfig_event() (GH-26404) https://github.com/python/cpython/commit/4e2e5c1c4f792b4011e4c78d011baea2aee39f1b

[issue44258] Support PEP 515 for Fraction's initialization from string

2021-05-27 Thread Sergey B Kirpichev
New submission from Sergey B Kirpichev : Right now: >>> from fractions import Fraction as F >>> F(1_2_3, 3_2_1) Fraction(41, 107) but >>> F('1_2_3/3_2_1') Traceback (most recent call last): File "", line 1, in File "/home/sk/src/cpython/Lib/fractions.py", line 115, in __new__ raise Va

[issue44256] _functools._lru_list_elem is exposed unintentionally.

2021-05-27 Thread Inada Naoki
Inada Naoki added the comment: New changeset 28be3191a9db2769ed05e55c6bcbccdd029656dd by Inada Naoki in branch 'main': bpo-44256: Do not expose _functools._list_elem_type (GH-26416) https://github.com/python/cpython/commit/28be3191a9db2769ed05e55c6bcbccdd029656dd -- ___

[issue44256] _functools._lru_list_elem is exposed unintentionally.

2021-05-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 1.0 -> 2.0 pull_requests: +25013 pull_request: https://github.com/python/cpython/pull/26418 ___ Python tracker _

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal, I think you had the right solution the first time. To me, tab is (should be) a fixed key, and the event added just once, like the other fixed keys. I am quite surprised that it isn't. Please revise or make a new patch to remove it from both configkey

[issue44257] typo and verbous grammar in the grammar spec

2021-05-27 Thread ShinWonho
Change by ShinWonho : -- keywords: +patch pull_requests: +25011 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26417 ___ Python tracker ___ __

[issue44257] typo and verbous grammar in the grammar spec

2021-05-27 Thread ShinWonho
New submission from ShinWonho : In Python Language Reference 10.Full Grammar Specification typo: assigment_expression verbous grammar: expressions and star_expression -- assignee: docs@python components: Documentation messages: 394630 nosy: docs@python, orangebana15 priority: normal sev

[issue44256] _functools._lru_list_elem is exposed unintentionally.

2021-05-27 Thread Inada Naoki
Change by Inada Naoki : -- keywords: +patch pull_requests: +25010 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26416 ___ Python tracker ___

[issue44253] tkinter searches for tk.tcl in wrong directory

2021-05-27 Thread Adam Stewart
Adam Stewart added the comment: I think I FINALLY figured out the problem. We were setting `TCLLIBPATH` to `/lib/tk8.6` when it should be `/lib`. With this change, tkinter seems to work for me. Thanks for all of your help! -- ___ Python tracker <

[issue44248] copy.deepcopy calls objdect's __deepcopy__ with incorrect argument

2021-05-27 Thread Zachary Ware
Zachary Ware added the comment: Actually, looking into the implementation a bit, I can say there is definitely no bug here. Line 153 basically works out to `y = x.__deepcopy__(memo)`, which is how the `__deepcopy__` method is documented[1] to be called. Calling `copier(x)` instead would ca

[issue44256] _functools._lru_list_elem is exposed unintentionally.

2021-05-27 Thread Inada Naoki
Inada Naoki added the comment: Ref: GH-23405. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue44256] _functools._lru_list_elem is exposed unintentionally.

2021-05-27 Thread Inada Naoki
New submission from Inada Naoki : _lru_list_elem is internal data strucuture. It is intended to be used only in _lru_cache_wrapper. Until Python 3.9, it is not exposed. But it is exposed by dd3912 accidentally. -- components: Extension Modules keywords: 3.10regression messages: 394626

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread Anthony Sottile
Anthony Sottile added the comment: > Which types are sneaky and look like built-in types but do not act like them? well for starters, there's the tuple subclass which pretends to be a dict. but it violates substitutability for both `tuple` and `Mapping` so it's not useful in either contexts

[issue43413] tuple subclasses allow arbitrary kwargs

2021-05-27 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> third party stage: needs patch -> resolved status: open -> closed ___ Python tracker ___ _

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: Other recent ssl issues: * bpo-43921 * bpo-44229 * bpo-44237 -- ___ Python tracker ___ ___ Pytho

[issue41217] Obsolete note for default asyncio event loop on Windows

2021-05-27 Thread edna
edna added the comment: You guys missed a copy of the same note at a different location here: https://docs.python.org/3/library/asyncio-eventloop.html#running-subprocesses It's still visible in all versions of the documentation for Python >=3.8 and should be fixed as well, as I (e.g.) got con

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset da9e0cb4dedf818540ad1f06305bb1ca9e568f51 by Miss Islington (bot) in branch '3.10': bpo-42972: Fully implement GC protocol for re types (GH-26368) (GH-26414) https://github.com/python/cpython/commit/da9e0cb4dedf818540ad1f06305bb1ca9e568f51

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: So far, I failed to reproduce the crash on my up-to-date local Windows 10 VM ("Version 21H1 (OS Build 19043.985)"). I built Python in release mode ("PCbuild\build.bat -e -p x64" command). I'm using Visual Studio 2019. test.pythoninfo: Py_DEBUG: No (sys.gett

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread miss-islington
miss-islington added the comment: New changeset 59f9594f9018450101079eb47e06e3c44cfeee36 by Miss Islington (bot) in branch '3.10': [3.10] bpo-44246: Update What's New for importlib.metadata. (GH-26408) (GH-26415) https://github.com/python/cpython/commit/59f9594f9018450101079eb47e06e3c44cfeee

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Mark Roseman
Mark Roseman added the comment: Let it go. Changing the Python docs to a behaviour that isn't guaranteed by the underlying library is a virtual guarantee that a later version of Tk (or even the way the API it uses behaves on another version of macOS) will have some other (unrelated) modifica

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: https://github.com/python/cpython/pull/26411/checks?check_run_id=2687367477 test.pythoninfo: Py_DEBUG: No (sys.gettotalrefcount() missing) os.cpu_count: 2 os.environ[VS140COMNTOOLS]: C:\Program Files (x86)\Microsoft Visual Studio 14.0\Common7\Tools\ platfor

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: https://dev.azure.com/Python/cpython/_build/results?buildId=81570&view=logs&j=c83831cd-3752-5cc7-2f01-8276919eb334 test.pythoninfo Py_DEBUG: No (sys.gettotalrefcount() missing) platform.architecture: 64bit WindowsPE platform.platform: Windows-10-10.0.17763-S

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread Jason R. Coombs
Jason R. Coombs added the comment: New changeset 28f12c9f4f39d283d823d81e311d863526dfdb54 by Jason R. Coombs in branch 'main': bpo-44246: Update What's New for importlib.metadata. (#26408) https://github.com/python/cpython/commit/28f12c9f4f39d283d823d81e311d863526dfdb54 --

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 2.0 -> 3.0 pull_requests: +25009 pull_request: https://github.com/python/cpython/pull/26415 ___ Python tracker _

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: Another error (not the crash): test_pha_required_nocert (test.test_ssl.TestPostHandshakeAuth) ... server: new connection from ('127.0.0.1', 51128) client cert is None client did not provide a cert server: connection cipher is now ('TLS_AES_256_GCM_SHA384

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: This issue now prevents me to merge https://github.com/python/cpython/pull/26414 backport :-( I'm debugging it on Windows. I tried: vstinner@DESKTOP-DK7VBIL C:\vstinner\python\main>python -u -X dev -m test -u all test_ssl -m test_pha_required_nocert -v -F

[issue11176] [doc] give more meaningful argument names in argparse documentation

2021-05-27 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Can you give the original authors some credit too on the PR, if you built on their work, please? We usually do it by putting co-author: in the PR comment. -- nosy: +nanjekyejoannah ___ Python tracker

[issue23937] IDLE: revise window size, placement startup options

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: When I changed the title, I intended to broaden the issue beyond 'start maximized'. Even for that, there are two possibilities. 1. Configure option (default as now). 2. Save 'current' position, which helps non-maximizers also. So I am inclined to the latt

[issue44255] strptime and week numbers without week days

2021-05-27 Thread Jaap van der Velde
New submission from Jaap van der Velde : When running: ``` datetime.strptime('2013 23', '%Y %W') ``` The result is `datetime.datetime(2013, 1, 1, 0, 0)`. When running: ``` datetime.strptime('2013 23 1', '%Y %W %w') ``` The result is `datetime.datetime(2013, 6, 10, 0, 0)`. It seems that `%W` is

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +25008 pull_request: https://github.com/python/cpython/pull/26414 ___ Python tracker ___ __

[issue31790] double free or corruption (while using smem)

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: pydev core has not touched 2.7 in a year. Anyone else maintaining 2.7 has had a chance to grab 2.7 issues. So all 2.7 issues should be closed unless obviously relevant to current issues (and even then have 2.7 removed). I agree that the later does not app

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset d1c732912e20e89815aca2d986442d349e82e31f by Miss Islington (bot) in branch '3.10': bpo-42972: Fully support GC protocol for _operator heap types (GH-26371) (GH-26413) https://github.com/python/cpython/commit/d1c732912e20e89815aca2d986442d349e82

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Ugh, should we make this a release blocker? -- ___ Python tracker ___ ___ Python-bugs-list

[issue26503] argparse with required field , not having new line separator in -help dispaly

2021-05-27 Thread Irit Katriel
Irit Katriel added the comment: issue11874 has been fixed and its PR has a unit test that seems similar to the case reported here (test_help_with_metavar). If you are still seeing this issue on 3.9 or higher, please create a new issue and include a code snippet that reproduces the problem.

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: > Is this happening on the current 3.10 or just with a specific PR? The test_httplib crash occured on https://github.com/python/cpython/pull/26411 PR which is unrelated to ssl. -- ___ Python tracker

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Is this happening on the current 3.10 or just with a specific PR? -- nosy: +pablogsal ___ Python tracker ___ _

[issue31790] double free or corruption (while using smem)

2021-05-27 Thread Irit Katriel
Irit Katriel added the comment: Terry, this is a 2.7 memory management issue with not a log to go by. Would you agree that there is no chance we can do anything about this? -- nosy: +iritkatriel status: open -> pending ___ Python tracker

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset e90e0422182f4ca7faefd19c629f84aebb34e2ee by Erlend Egeberg Aasland in branch 'main': bpo-43916: Use test.support.check_disallow_instantiation() in test_tcl (GH-26412) https://github.com/python/cpython/commit/e90e0422182f4ca7faefd19c629f84aebb34

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +25007 pull_request: https://github.com/python/cpython/pull/26413 ___ Python tracker ___ __

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset f4b70c22c8e37dd7a06702e30b121a6651683421 by Erlend Egeberg Aasland in branch 'main': bpo-42972: Fully support GC protocol for _operator heap types (GH-26371) https://github.com/python/cpython/commit/f4b70c22c8e37dd7a06702e30b121a6651683421 ---

[issue21633] Argparse does not propagate HelpFormatter class to subparsers

2021-05-27 Thread Irit Katriel
Irit Katriel added the comment: What Paul explained is also covered in the documentation here: https://docs.python.org/3/library/argparse.html#argparse.ArgumentParser.add_subparsers -- nosy: +iritkatriel resolution: -> not a bug stage: -> resolved status: open -> closed ___

[issue44252] test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
Change by STINNER Victor : -- title: test_ssl: test_pha_required_nocert() crashs randomly with "Windows fatal exception: access violation" on Windows -> test_ssl and test_httplib.HTTPSTest crash randomly with "Windows fatal exception: access violation" on Windows

[issue44252] test_ssl: test_pha_required_nocert() crashs randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: I forgot the link: https://github.com/python/cpython/pull/26411/checks?check_run_id=2687367477 Oh right, Erlend already reported exactly the same crash :-) -- ___ Python tracker

[issue44252] test_ssl: test_pha_required_nocert() crashs randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: Crash also seen on test_httplib: (...) test_attributes (test.test_httplib.HTTPSTest) ... ok test_host_port (test.test_httplib.HTTPSTest) ... ok Windows fatal exception: access violation Current thread 0x11ec (most recent call first): File "D:\a\cpython\

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: #44254 is a followup to change turtledemo unpressed button colors to something on white. -- ___ Python tracker ___ _

[issue44254] Change turtledemo button colors

2021-05-27 Thread Terry J. Reedy
New submission from Terry J. Reedy : [Following up on #44243.] tk/tkinter-based turtledemo buttons are currently white on something. On Mac, configured foreground button colors are honored (while the button is unpressed), while background colors are ignored. Given that the unpressed default

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: "The configure and cget subcommands can still manipulate the values, but do not cause any variation to the look of the widget." is wrong. Setting the foreground color *does* change the unpressed foreground color, so that 'white' becomes 'white on white'. I

[issue44253] tkinter searches for tk.tcl in wrong directory

2021-05-27 Thread Adam Stewart
Adam Stewart added the comment: Thanks, in that case it sounds like the problem is that Spack installs tcl and tk to separate directories, but since tk depends on tcl and not the other way around, tcl has no way of knowing where tk is installed. I'll see if I can convince the other Spack dev

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I can't contribute to that discussion, as it is on the committers ml, but I'll keep an eye on it. I'll refrain from further development on this issue until there's a consensus amongst the core devs. -- ___ Pyth

[issue44242] enum.IntFlag regression: missing values cause TypeError

2021-05-27 Thread Ethan Furman
Ethan Furman added the comment: I'm very much of the practicality beats purity philosophy, so I want to support the OP's flag without making them jump through hoops. On the flip side, I also appreciate that there are folks that want the extra security... So here's my plan: remove the creat

[issue43964] ctypes CDLL search path issue on MacOS

2021-05-27 Thread Victor Lazzarini
Victor Lazzarini added the comment: I have looked at this closely and it appears Python 3.6.5 has a search path for libraries and frameworks that is missing in the newer versions (3.7 onwards). I can load libraries from /usr/local/lib and ~/lib without any difficulties in 3.6.5, just by pass

[issue43964] ctypes CDLL search path issue on MacOS

2021-05-27 Thread Victor Lazzarini
Change by Victor Lazzarini : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscri

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: The completion freeze fix is easily backported to non-Windows installations. 1. Run IDLE 2. File => Open Module, enter 'idlelib.autocomplete_w', OK. 3. Goto line 247 (3.9) or 250 (3.10) with "acw.update". 4. Add # in from of above to disable it. 5. Save and cl

[issue44253] tkinter searches for tk.tcl in wrong directory

2021-05-27 Thread Ned Deily
Ned Deily added the comment: The message is coming from Tcl/Tk; tkinter is just passing it along and is otherwise not involved AFAIK. You don't need to use framework builds for Tcl or Tk on macOS but you should follow the recommendation of how to do a Unix build of Tcl and Tk as far as confi

[issue23937] IDLE: revise window size, placement startup options

2021-05-27 Thread Tal Einat
Tal Einat added the comment: In terms of its interface, IDLE is more like a REPL + text editor than what is commonly thought of as programming IDEs (Visual Studio, PyCharm/IDEA, Matlab, JupyterLab etc.) Terminals and text editors almost universally do not launch maximized by default. There

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread Jason R. Coombs
Jason R. Coombs added the comment: Although it feels the topic has shifted from the original concern (an unintentional incompatibility) to the broader topic of the API change to entry_points generally, I'm happy to address your comments: > - I don't think they were discussed thoroughly, and

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: See a second PR for the originally reported bug, GH-26404. -- ___ Python tracker ___ ___ Python-bugs-l

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: It appears that this behavior is the intended behavior of Tk on macOS. Given that tkinter is meant to be a relatively straightforward wrapping of Tcl/Tk, it seems to me that we too should consider this not to be a bug, and resolve this issue as "won't fix". ---

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: The Tcl/Tk devs have closed the issue I opened on their issue tracker as "not a bug", with the following comment: "Because Tk on the Mac uses API's to draw buttons, some configuration options are set by the OS and not by Tk. This is documented in the button man p

[issue44253] tkinter searches for tk.tcl in wrong directory

2021-05-27 Thread Adam Stewart
New submission from Adam Stewart : I'm trying to install Python with tkinter support using the Spack package manager. Spack adds the following flags to configure during install: ``` '--with-tcltk-libs=-L/Users/Adam/spack/opt/spack/darwin-catalina-x86_64/apple-clang-12.0.0/tcl-8.6.11-n7nea33urrk

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Please, check also the discusion happening here: https://mail.python.org/archives/list/python-committ...@python.org/thread/FHFI7QKWNHAVWVFTCHJGTYD3ZFVEUXDD/ -- ___ Python tracker

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-05-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Please, check also the discusion happening here: https://mail.python.org/archives/list/python-committ...@python.org/thread/FHFI7QKWNHAVWVFTCHJGTYD3ZFVEUXDD/ -- ___ Python tracker

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-05-27 Thread Erlend E. Aasland
Change by Erlend E. Aasland : -- pull_requests: +25006 pull_request: https://github.com/python/cpython/pull/26412 ___ Python tracker ___ ___

[issue44252] test_ssl: test_pha_required_nocert() crashs randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: GH 26411, run id 2687367477 also failed with an access violation: https://github.com/python/cpython/pull/26411/checks?check_run_id=2687367477 Not in test_pha_required_nocert, but test_local_bad_hostname. May be related. -- ___

[issue42109] Use hypothesis for testing the standard library, falling back to stubs

2021-05-27 Thread Brandt Bucher
Change by Brandt Bucher : -- nosy: +brandtbucher ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue12463] Calling SocketServer.shutdown() when server_forever() was not called will hang

2021-05-27 Thread Irit Katriel
Irit Katriel added the comment: This was added to the documentation under issue39797. -- nosy: +iritkatriel resolution: -> out of date stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue43988] Add test.support.check_disallow_instantiation()

2021-05-27 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: > Lib/test/test_tcl.py might use it [...] Absolutely. > Serhiy suggested to write an unit test for curses.ncurses_version: > https://bugs.python.org/issue43916#msg391936 > > This work can be done in bpo-43916. All right. -- _

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: I merged your PR and backported it to add a NEWS entry, thanks. -- ___ Python tracker ___ ___ Pyt

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 427232f9d221d54870fa3e89bd1dac55cf42243f by Miss Islington (bot) in branch '3.9': bpo-43667: Add news fragment for Solaris changes (GH-26405) (GH-26410) https://github.com/python/cpython/commit/427232f9d221d54870fa3e89bd1dac55cf42243f

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0574b0686d76e6f9199f800b5f32bd56eaff3c77 by Miss Islington (bot) in branch '3.10': bpo-43667: Add news fragment for Solaris changes (GH-26405) (GH-26409) https://github.com/python/cpython/commit/0574b0686d76e6f9199f800b5f32bd56eaff3c77 ---

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset fba42d11880f444bb94d9891e3949f082a57b9a9 by Erlend Egeberg Aasland in branch 'main': bpo-42972: Fully implement GC protocol for re types (GH-26368) https://github.com/python/cpython/commit/fba42d11880f444bb94d9891e3949f082a57b9a9 -- _

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +25005 pull_request: https://github.com/python/cpython/pull/26411 ___ Python tracker ___ __

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: > GH-26399 is failing with an access violation on Windows. It's failing in one > of the flaky tests. I wonder if the segfault is related to flaky tests > somehow... I created bpo-44252 to track this crash, it might be unrelated to commit dcb8786a9848516e823

[issue44252] test_ssl: test_pha_required_nocert() crashs randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +erlendaasland priority: normal -> ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue44252] test_ssl: test_pha_required_nocert() crashs randomly with "Windows fatal exception: access violation" on Windows

2021-05-27 Thread STINNER Victor
New submission from STINNER Victor : Christian Heimes reported a crash in bpo-42972: https://bugs.python.org/issue42972#msg394520 --- GH-26399 is failing with an access violation on Windows. It's failing in one of the flaky tests. I wonder if the segfault is related to flaky tests somehow... h

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-05-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 3.0 -> 4.0 pull_requests: +25003 pull_request: https://github.com/python/cpython/pull/26409 ___ Python tracker _

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-05-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +25004 pull_request: https://github.com/python/cpython/pull/26410 ___ Python tracker ___ __

[issue43667] Solaris: Fix broken Unicode encoding in non-UTF locales

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 164a4f46d1606e21d82babc010e397a9116e6730 by Jakub KulĂ­k in branch 'main': bpo-43667: Add news fragment for Solaris changes (GH-26405) https://github.com/python/cpython/commit/164a4f46d1606e21d82babc010e397a9116e6730 --

[issue43988] Add test.support.check_disallow_instantiation()

2021-05-27 Thread STINNER Victor
Change by STINNER Victor : -- title: Add test.support.assert_dissallow_instantiation -> Add test.support.check_disallow_instantiation() versions: +Python 3.11 ___ Python tracker _

[issue43916] Mark static types newly converted to heap types as immutable: add Py_TPFLAGS_DISALLOW_INSTANTIATION type flag

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: Erlend added test.support.check_disallow_instantiation() function in bpo-43988 to write tests for immutable types. -- ___ Python tracker ___

[issue43988] Add test.support.assert_dissallow_instantiation

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: > I believe we can close this now, Victor. Please reopen if you disagree :) I validated that all tests named "test(...)disallow(...)inst(...)" are now using support.check_disallow_instantiation(). Lib/test/test_tcl.py might use it in: @support.cpython_o

[issue44031] test_embed and test_tabnanny fails if the current directory is non-ASCII

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: Alexei S: "how we can fix this small problem in next releases of test_embed test_tabnanny? other tests didn't fail" Any for any bug, someone has to investigate why "test_embed and test_tabnanny fails if the current directory is non-ASCII", and then someone h

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure that it's safe to call PyObject_ClearWeakRefs() in tp_clear function. PyObject_ClearWeakRefs() comment starts with: "This function is called by the tp_dealloc handler to clear weak references." For example in Modules/arraymodule.c, I don't under

[issue44248] copy.deepcopy calls objdect's __deepcopy__ with incorrect argument

2021-05-27 Thread Zachary Ware
Zachary Ware added the comment: Do you have a short reproducer showing a behavioral bug here? That particular line of code hasn't changed in 19 years[1] :) [1] https://github.com/python/cpython/blame/main/Lib/copy.py#L153 -- nosy: +zach.ware ___

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread miss-islington
miss-islington added the comment: New changeset da8097aaf5a55c23f5b5ddbeffc2d90d06e00d93 by Miss Islington (bot) in branch '3.10': bpo-42972: Fully support GC for mmap heap types (GH-26373) https://github.com/python/cpython/commit/da8097aaf5a55c23f5b5ddbeffc2d90d06e00d93 -- ___

[issue44249] Readme typo fix

2021-05-27 Thread Ayush Parikh
Change by Ayush Parikh : -- keywords: +patch pull_requests: +25002 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26385 ___ Python tracker ___ ___

[issue44251] ctypes '_get_soname' fails silently on missing objdump

2021-05-27 Thread Guillaume Desforges
New submission from Guillaume Desforges : ## Description Libraries such as oscrypto will use `ctypes.utils.find_library` to look for libraries, which in turns uses ``. However, on Linux, if the system does not have the objdump command, the function fails silently. https://github.com/python/

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset e73b3b1cd48c92d847990e220cb9cbdbde86476a by Miss Islington (bot) in branch '3.10': bpo-42972: Fully support GC protocol for _queue.SimpleQueue (GH-26372) (GH-26406) https://github.com/python/cpython/commit/e73b3b1cd48c92d847990e220cb9cbdbde8647

[issue44250] Link to ibera IRC goes to 404 page

2021-05-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Reported at https://github.com/python/pythondotorg/issues/1776 . This tracker deals with CPython related issues and python.org has its own tracker at GitHub. -- nosy: +xtreak resolution: -> third party stage: -> resolved status: open -> cl

[issue42972] [C API] Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset ea47a8a71ad56ec349f02bf8c6a1d3bf04acabcc by Miss Islington (bot) in branch '3.10': bpo-42972: Fully implement GC protocol for ssl heap types (GH-26370) (GH-26399) https://github.com/python/cpython/commit/ea47a8a71ad56ec349f02bf8c6a1d3bf04acabcc

[issue44246] 3.10 beta 1: breaking change in importlib.metadata entry points

2021-05-27 Thread Jason R. Coombs
Change by Jason R. Coombs : -- keywords: +patch pull_requests: +25001 stage: -> patch review pull_request: https://github.com/python/cpython/pull/26408 ___ Python tracker ___

[issue44250] Link to ibera IRC goes to 404 page

2021-05-27 Thread Mark Winterbottom
New submission from Mark Winterbottom : The link to "libera" on https://www.python.org/community/irc/ goes to http://libera.chat/t which is 404 not found. -- messages: 394561 nosy: londonappdev priority: normal severity: normal status: open title: Link to ibera IRC goes to 404 page __

  1   2   >