[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: +24990 pull_request: https://github.com/python/cpython/pull/26397 ___ Python tracker ___ __

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

2021-05-27 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 59af59c2dfa52dcd5605185263f266a49ced934c by Erlend Egeberg Aasland in branch 'main': bpo-42972: Fully support GC for pyexpat, unicodedata, and dbm/gdbm heap types (GH-26376) https://github.com/python/cpython/commit/59af59c2dfa52dcd5605185263f266a

[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: +24991 pull_request: https://github.com/python/cpython/pull/26398 ___ Python tracker ___ __

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

2021-05-27 Thread Christian Heimes
Christian Heimes added the comment: New changeset 6ef5ba391d700bde7ec3ffd5fb7132a30dd309c4 by Erlend Egeberg Aasland in branch 'main': bpo-42972: Fully support GC for hashlib heap types (GH-26374) https://github.com/python/cpython/commit/6ef5ba391d700bde7ec3ffd5fb7132a30dd309c4 --

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

2021-05-27 Thread Christian Heimes
Christian Heimes added the comment: New changeset dcb8786a9848516e823e090bb36079678913d8d3 by Erlend Egeberg Aasland in branch 'main': bpo-42972: Fully implement GC protocol for ssl heap types (GH-26370) https://github.com/python/cpython/commit/dcb8786a9848516e823e090bb36079678913d8d3 -

[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: +24992 pull_request: https://github.com/python/cpython/pull/26399 ___ Python tracker ___ __

[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 4431922f92747f77e3eb790c6d1881232e1b5e8c by Miss Islington (bot) in branch '3.10': [3.10] bpo-42972: Fully support GC for hashlib heap types (GH-26374) (GH-26398) https://github.com/python/cpython/commit/4431922f92747f77e3eb790c6d1881232e1b5e8c

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

2021-05-27 Thread Christian Heimes
Christian Heimes 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... https://dev.azure.com/Python/cpython/_build/results?buildId=81570&view=logs&j=c83831cd-3752-5cc7-2

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: Confirmed on macOS. This bugs also affects the underlying Tcl/Tk, confirmed with 8.6.11. To reproduce: $ wish % button .b -text START -bg red -fg white .b % pack .b -- ___ Python tracker

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: I've created an issue about this on the Tcl/Tk issue tracker: https://core.tcl-lang.org/tk/tktview/46274a117823fd65c6d98d38465b43165d0c4680 -- ___ Python tracker ___

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: > With 3.10.0b1 on Mac I am getting attribute completion freezes. I had to > turn them off. I am tempted to disable completions until there is a Mac IDLE > developer to dig into issues like this. Confirmed. This may be a separate issue. I have a macOS machine

[issue37596] Reproducible pyc: frozenset is not serialized in a deterministic order

2021-05-27 Thread Filipe Laíns
Filipe Laíns added the comment: I understand, the proposal would be to make frozensets keep the creation order. -- ___ Python tracker ___ __

[issue38768] [feature request] Add lldb equivalent to Tools/gdb

2021-05-27 Thread Shreyan Avigyan
Shreyan Avigyan added the comment: Would be great. LLDB is also supported on Windows (by Visual Studio) unlike gdb. -- nosy: +shreyanavigyan ___ Python tracker ___ ___

[issue44243] tkinter button colors on Mac

2021-05-27 Thread E. Paine
E. Paine added the comment: Does the activebackground option fix this? E.g. r = tk.Tk() b = tk.Button(r, fg="white", bg="red", activebackground="red") b.pack() r.mainloop() -- nosy: +epaine ___ Python tracker _

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: I can reproduce this consistently on macOS by running IDLE, typing "sys.ba" in the shell and pressing the tab key. I've carefully narrowed this down to the call to acw.update() in AutoCompleteWindows.winconfig_event(). Removing that call makes everything work p

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- stage: -> needs patch type: -> behavior versions: +Python 3.10, Python 3.11 ___ Python tracker ___ ___ Py

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: I've confirmed that the acw.update() call is still required on Windows to avoid the completion list positioning bug, and that IDLE doesn't freeze as described in this issue on Windows with that call in place. -- ___ Py

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

2021-05-27 Thread Alexei S
Alexei S added the comment: the problem is caused by language?? -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubsc

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +24993 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26400 ___ Python tracker ___

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: See PR GH-26400. -- stage: patch review -> needs patch ___ Python tracker ___ ___ Python-bugs-list mai

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: To clarify, the above is regarding IDLE freezing on macOS after hitting tab to complete, with no completions window open, and with multiple completions possible. That may not be identical to the issue originally reported here. Apologies if I've caused some conf

[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: Hm, I'm unable to reproduce it w/addr sanitiser on macOS (FWIW). $ ./python.exe -m test test_ssl -F -u all -m test_pha_required_nocert Passing 1000 successful runs now. I'll see if I can get a Win dev env set up later. -- ___

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

2021-05-27 Thread Alexei S
Alexei S added the comment: yes! the problem was in folder caption! -- ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

[issue44243] tkinter button colors on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: Thanks for helping with this, E. Paine! Unfortunately, no, adding activebackground='red' doesn't help, even directly in a wish shell. -- ___ Python tracker

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

2021-05-27 Thread Alexei S
Alexei S added the comment: how we can fix this small problem in next releases of test_embed test_tabnanny? other tests didn't fail -- ___ Python tracker ___ _

[issue43988] Add test.support.assert_dissallow_instantiation

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 8cec740820fc875117bfa7b6bdb10202ebeb8fd5 by Erlend Egeberg Aasland in branch 'main': bpo-43988: Document test.support.check_disallow_instantiation() (GH-26394) https://github.com/python/cpython/commit/8cec740820fc875117bfa7b6bdb10202ebeb8fd5 -

[issue43988] Add test.support.assert_dissallow_instantiation

2021-05-27 Thread Erlend E. Aasland
Erlend E. Aasland added the comment: I believe we can close this now, Victor. Please reopen if you disagree :) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker _

[issue44245] Cross-compilation of CPython 3.8 with _socket module using Anddroid NDK fails

2021-05-27 Thread Ladislav Heller
New submission from Ladislav Heller : Trying to cross-compile CPython 3.8 using Android NDK toolchain with _socket module enabled. Build fails at: ../Modules/socketmodule.c:6739:5: error: invalid use of undefined type 'struct if_nameindex' for (i = 0; ni[i].if_index != 0 && i < INT_MAX;

[issue38908] Troubles with @runtime_checkable protocols

2021-05-27 Thread miss-islington
miss-islington added the comment: New changeset 09696a3e218404e77f8c1fbf187ca29a4a357a9d by Miss Islington (bot) in branch '3.10': [3.10] bpo-38908: [docs] Add changes to 3.10 whatsnew and fix some minor inaccuracies in news (GH-26096) (GH-26337) https://github.com/python/cpython/commit/0969

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

2021-05-27 Thread STINNER Victor
STINNER Victor added the comment: So it seems like the weakref list (__weaklistoffset__) doesn't have to be handled by visit, clear or free functions, it only has to be deallocated with PyObject_ClearWeakRefs() in the dealloc function. I noticed that when reviewing partial_clear(partialobjec

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Tal Einat
Tal Einat added the comment: The original issue appears to be caused by <> also being bound to Tab, but <> only being bound using event_add() once in EditorWindow.__init__(). Therefore, RemoveKeybindings() does remove the binding for tab due to <>, but <> is not bound again by ApplyKeybind

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +24994 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/26401 ___ Python tracker __

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread Tal Einat
Tal Einat added the comment: New changeset abc4bd5db91c86b6b74289241378a13bd3a0a5e2 by Tal Einat in branch 'main': bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400) https://github.com/python/cpython/commit/abc4bd5db91c86b6b74289241378a13bd3a0a5e2 -- __

[issue41611] IDLE: problems with completions on Mac

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

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread miss-islington
miss-islington added the comment: New changeset 5e6219b8fa14bc36d1a98dc03b4e01756829fffa by Miss Islington (bot) in branch '3.10': bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400) https://github.com/python/cpython/commit/5e6219b8fa14bc36d1a98dc03b4e01756829fffa -- __

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- keywords: +patch pull_requests: +24996 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/26403 ___ Python tracker ___

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Tal Einat
Tal Einat added the comment: Indeed, adding the events bound in EditorWindow.__init__ to RemoveKeybindings() and ApplyKeybindings(), so they are bound in the correct order, resolves this issue. See PR GH-26403. -- ___ Python tracker

[issue43654] IDLE: Applying settings disables tab completion

2021-05-27 Thread Tal Einat
Change by Tal Einat : -- versions: +Python 3.11, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: h

[issue41611] IDLE: problems with completions on Mac

2021-05-27 Thread miss-islington
miss-islington added the comment: New changeset 65fb9a2701df276852720618bdc2a4bf6adbf810 by Miss Islington (bot) in branch '3.9': bpo-41611: IDLE: fix freezing on completion on macOS (GH-26400) https://github.com/python/cpython/commit/65fb9a2701df276852720618bdc2a4bf6adbf810 -- ___

[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 0bf0500baa4cbdd6c5668461c2a2a008121772be by Miss Islington (bot) in branch '3.10': bpo-42972: Fully support GC for pyexpat, unicodedata, and dbm/gdbm heap types (GH-26376) https://github.com/python/cpython/commit/0bf0500baa4cbdd6c5668461c2a2a00

[issue41611] IDLE: problems with completions on Mac

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

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

2021-05-27 Thread Anthony Sottile
New submission from Anthony Sottile : this is breaking code that's unfortunately out of my control (vendor) -- also it looks really wrong ```python import importlib.metadata print('looks like a list:') print(importlib.metadata.distribution('pip').entry_points) print('first item:') print(import

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

2021-05-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +jaraco ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue44247] bpo stacktrace linkifier does not understand 3.10+

2021-05-27 Thread Anthony Sottile
New submission from Anthony Sottile : for instance in this issue: https://bugs.python.org/issue44246 it links to 3.1/... instead of 3.10/... -- messages: 394549 nosy: Anthony Sottile priority: normal severity: normal status: open title: bpo stacktrace linkifier does not understand 3.10

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

2021-05-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems this was reported in https://github.com/python/importlib_metadata/issues/300 . Closed in https://github.com/python/importlib_metadata/commit/5ca9bc7dcf73d72260486afb28dadf5e532cf657. -- nosy: +xtreak _

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

2021-05-27 Thread Jakub Kulik
Change by Jakub Kulik : -- pull_requests: +24998 pull_request: https://github.com/python/cpython/pull/26405 ___ Python tracker ___ _

[issue44247] bpo stacktrace linkifier does not understand 3.10+

2021-05-27 Thread Zachary Ware
Zachary Ware added the comment: Could you open this at https://github.com/python/bugs.python.org please? -- nosy: +zach.ware resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker

[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: This backward incompatibility was unintentionally introduced in importlib_metadata 3.6 (https://importlib-metadata.readthedocs.io/en/latest/history.html#v3-6-0, released Feb 23) and was previously reported in https://github.com/python/importlib_metadata/is

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

2021-05-27 Thread Anthony Sottile
Anthony Sottile added the comment: the "what's new" mentions nothing of this break, nor the aggressive deprecation warnings, nor the various shifted interfaces (such as this one): https://docs.python.org/3.10/whatsnew/3.10.html#importlib-metadata -- _

[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: +24999 pull_request: https://github.com/python/cpython/pull/26406 ___ 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 4d7f8f9f7fb09ea8eb4e43409a16a91b0bf18571 by Erlend Egeberg Aasland in branch 'main': bpo-42972: Fully support GC protocol for _queue.SimpleQueue (GH-26372) https://github.com/python/cpython/commit/4d7f8f9f7fb09ea8eb4e43409a16a91b0bf18571 -

[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: +25000 pull_request: https://github.com/python/cpython/pull/26407 ___ 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 318adeba780851c416505e48a3454cacca831419 by Erlend Egeberg Aasland in branch 'main': bpo-42972: Fully support GC for mmap heap types (GH-26373) https://github.com/python/cpython/commit/318adeba780851c416505e48a3454cacca831419 -- _

[issue43693] Logically merge cell and locals array. They are already contiguous in memory

2021-05-27 Thread Eric Snow
Eric Snow added the comment: New changeset 9f494d492944c3a6a7a7471b4ad3a025dc7de289 by Eric Snow in branch 'main': bpo-43693: Add _PyCode_New(). (gh-26375) https://github.com/python/cpython/commit/9f494d492944c3a6a7a7471b4ad3a025dc7de289 -- ___ P

[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: Yes, perhaps the What's New could be refreshed. There is a Compatibility Note in the docs for `entry_points` about the deprecated usage (https://docs.python.org/3.10/library/importlib.metadata.html?highlight=importlib%20metadata#entry-points). I want the W

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

2021-05-27 Thread Donald O'Donnell
New submission from Donald O'Donnell : In copy.py of Std Lib, line 153 is now: y = copier(memo) Should be: y = copier(x) The present version copies the `memo` dict rather than `x`, the object to be copied by it's __deepcopy__ method. -- components: Library (Lib) files: diff

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

2021-05-27 Thread Anthony Sottile
Anthony Sottile added the comment: personally I think they should be reverted -- they were not committed in spirit with the backwards compatibility policy: https://www.python.org/dev/peps/pep-0387/#making-incompatible-changes - I don't think they were discussed thoroughly, and when oppositio

[issue44249] Readme typo fix

2021-05-27 Thread Ayush Parikh
Change by Ayush Parikh : -- assignee: docs@python components: Documentation nosy: ayush332, docs@python priority: normal severity: normal status: open title: Readme typo fix type: enhancement ___ Python tracker _

[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: In the What's New, I used :func:`importlib.metadata.entry_points`, but that doesn't seem to resolve to the docs for the function. I need to figure out how to link to the entry_points anchor that's there. -- ___ P

[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 __

[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 ___

[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

[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 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

[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/

[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 ___ ___

[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 -- ___

[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 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

[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

[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

[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.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 _

[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 --

[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 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 _

[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

[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

[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

[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: 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 -- _

[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 ---

[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: I merged your PR and backported it to add a NEWS entry, thanks. -- ___ Python tracker ___ ___ Pyt

[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. -- _

[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 _

[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

[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. -- ___

[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 ___ ___

[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

[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

[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

[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

[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". ---

[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

[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

[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

[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

[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

[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

  1   2   >