[issue38324] [Windows] test__locale fails on Windows local machines

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: This issue *is* a duplicate of #37945 with respect to test_locale. So I remove that from the title. It is not a duplicate with respect to test__locale, which fails for a very different reason. The other failures I mentioned are noise here (and now fixed

[issue37945] [Windows] locale.getdefaultlocale() issues on Windows: test_locale.test_getsetlocale_issue1813()

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: test__locale (#38324) also passed CI and buildbots while failing locally. -- nosy: +terry.reedy stage: -> needs patch versions: +Python 3.10 ___ Python tracker <https://bugs.python.org/issu

[issue41988] No hyphen in broken up word in documentation

2020-10-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: Perhaps send the screenshot to the Brave devs, along with the doc url. -- ___ Python tracker <https://bugs.python.org/issue41

[issue42010] Generic types accept indexing/subscripting, causing confusion

2020-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think kj's patch is ready to merge. Guido, do you want to take a look? -- ___ Python tracker <https://bugs.python.org/is

[issue41859] Uncaught ValueError

2020-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg377737 ___ Python tracker <https://bugs.python.org/issue41859> ___ ___ Python-bug

[issue41859] Uncaught ValueError

2020-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -patanjalisutra666 ___ Python tracker <https://bugs.python.org/issue41859> ___ ___ Python-bugs-list mailing list Unsub

[issue41859] Uncaught ValueError

2020-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file49480/debian-desktop.png ___ Python tracker <https://bugs.python.org/issue41859> ___ ___ Python-bug

[issue42085] Add dedicated slot for sending values

2020-10-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +asvetlov, yselivanov ___ Python tracker <https://bugs.python.org/issue42085> ___ ___ Python-bugs-list mailing list Unsub

[issue42097] Python 3.7.9 logging/threading/fork hang

2020-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: Have you found this in 3.8+? Since last June, 3.7 only gets security fixes, and this might have been fixed in later versions. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue42

[issue41736] test_site: test_s_option() failed on AMD64 Windows8.1 Refleaks 3.7

2020-10-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: On Windows 10 and master, I ran 12 copies of test_site in parallel 10 times. Then I ran -R 3:100 3 times. All pass. Unless refleaks are considered security holes, perhaps this should be closed until it re-occurs in a normally maintained branch

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c3538b83816663d7b767391a375179a0ce923990 by Miss Skeleton (bot) in branch '3.9': bpo-41910: specify the default implementations of object.__eq__ and object.__ne__ (GH-22874) (#22876) https://github.com/python/cpyt

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset b2b3803081f07600710273b4f902b5be6e5596e7 by Miss Skeleton (bot) in branch '3.8': bpo-41910: specify the default implementations of object.__eq__ and object.__ne__ (GH-22874) (#22877) https://github.com/python/cpyt

[issue41910] Document that object.__eq__ implements `a is b`

2020-10-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Brett, I presume you want this closed. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41626] port shebang of tools from python2 to python3

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thoughts I wrote on the PR that belong here. (Thanks for the reminder, Éric.): *The use of #! in both stdlib and tools seems rather inconsistent. * Stdlib modules are best run with -m mod so as to run the code with the exact python binary they are meant

[issue33987] IDLE: use ttk.Frame for ttk widgets

2020-10-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg332835 ___ Python tracker <https://bugs.python.org/issue33987> ___ ___ Python-bug

[issue33987] IDLE: use ttk.Frame for ttk widgets

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I closed this prematurely. Cheryl's PR 11433 converts frames for help and statusbar. My patch also omitted searchbase, perhaps because this I wanted to refactor at the same time. In any case, the macOS appearance bug that motivated Mark's po

[issue33987] IDLE: use ttk.Frame for ttk widgets

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset facb522d44fceaf15de6bc95de1cd680c4621c2a by Cheryl Sabella in branch 'master': bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433) https://github.com/python/cpython/commit/facb522d44fceaf15de6bc95de1cd6

[issue33987] IDLE: use ttk.Frame for ttk widgets

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 06c9e01c651c35c2e058eca0f7073dd405578f78 by Miss Skeleton (bot) in branch '3.8': bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433) (GH-22900) https://github.com/python/cpython/commit/06c9e01c651c35c2e058eca0f7073d

[issue33987] IDLE: use ttk.Frame for ttk widgets

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 25687bbe0da160ebdd3cd422a01d677ce467e72e by Miss Skeleton (bot) in branch '3.9': bpo-33987: IDLE: Use ttk Frame on doc window and statusbar (GH-11433) (GH-22899) https://github.com/python/cpython/commit/25687bbe0da160ebdd3cd422a01d67

[issue5043] get_msvcr() returns None rather than []

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: The claimed bug is that when msc_pos is -1 in the code as posted, 'return []' should be executed, but None is returned instead. When I add 'msc_pos = -1 before the if statement, and call the function, after adding the needed sys impor

[issue3760] PEP 3121 --- PyType_Copy is missing

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: 12 years later there still is no PyType_Copy, at least not by that name, according to the doc index. So it is either not urgently needed or the need has been covered by other additions. I think that this should be closed as out of date and any new additions

[issue4573] zsh-style subpattern matching for fnmatch/glob

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond, is this zsh addition still relevant or out of date? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue4

[issue5906] Risk of confusion in multiprocessing module - daemonic processes

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Is the paragraph "Usually, daemon processes ..." in Pascal's initial post supposed to be a quote from https://docs.python.org/3/library/multiprocessing.html? 'daemon p' is nowhere in the corrent doc and I find nothing like this

[issue4573] zsh-style subpattern matching for fnmatch/glob

2020-10-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.10 -Python 2.7, Python 3.0 ___ Python tracker <https://bugs.python.org/issue4573> ___ ___ Python-bugs-list m

[issue3760] PEP 3121 --- PyType_Copy is missing

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zach Ware agreed on a coredev sprint discussion. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue41755] Docs: Please remove `from distutils.core import setup`

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: In that case, I agree. -- status: pending -> open ___ Python tracker <https://bugs.python.org/issue41755> ___ ___ Python-

[issue41755] Docs: Please remove `from distutils.core import setup`

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: But notice that even agreeing removes 'pending', making it pretty useless. -- stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.py

[issue42122] macOS complains about how fonts are accessed

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am sure that this is yet another macOS Catalina+ tcl/tk problem. 3.10 is fine on Mohave. Those complaints must come from macOS in response to 'Client' tk requests. IDLE and tkinter do not use those names. If you want to try to see wh

[issue42122] macOS complains about how fonts are accessed

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: On my Airbook, 'python310' was not found; 'python3.10' worked. -- ___ Python tracker <https://bug

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-10-22 Thread Terry J. Reedy
Change by Terry J. Reedy : -- assignee: loewis -> status: closed -> open versions: -Python 3.2, Python 3.3, Python 3.4, Python 3.5, Python 3.6, Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/

[issue42124] FAIL test_asyncio test_sendfile_close_peer_in_the_middle_of_receiving

2020-10-22 Thread Terry J. Reedy
New submission from Terry J. Reedy : == FAIL: test_sendfile_close_peer_in_the_middle_of_receiving (test.test_asyncio.test_sendfile.ProactorEventLoopTests

[issue2190] MozillaCookieJar ignores HttpOnly cookies

2020-10-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://developer.mozilla.org/en-US/docs/Web/HTTP/Cookies Describes the purpose of the HttpOnly attribute used in PR. -- ___ Python tracker <https://bugs.python.org/issue2

[issue42122] macOS complains about how fonts are accessed

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: python.org 3.10 mac is still using 8.6.8. It is on IDLE/Python => About -- ___ Python tracker <https://bugs.python.org/issu

[issue42058] Process not running with args

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: bpo is the issue tracker for patching the python cpython repository. We support running python from system command line terminals and icons that we install, as specified in the CPython docs. Ask questions about running python otherwise on other forums

[issue42070] Revisit IsoCalendarDate being private from pickle perspective

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: If the current situation is not a bug, a mismatch between behavior and doc, a change would be an enhancement limited to the next release. -- nosy: +terry.reedy title: I think the rationale to keep IsoCalendarDate private from the pickle perspective

[issue42074] setup error on windows

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for attaching the log instead of including it inline. But when you reply by email, please delete the message you are responding too, as it duplicates the original already on the web page. The first error in the log is a failure to make a restore

[issue42075] Verbose/confusing default format on warnings

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: An application *can* change warnings. See lib/idlelib/run for an example. Library code should not make changes as they will be global or overwritten. A project that is both can restrict the changes to when run as main module. -- nosy

[issue38953] Untokenize and retokenize does not round-trip

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Zac, thank you for Hypothesmith. I am thinking about how to maybe use it to test certain IDLE functions. But your 2nd example, as posted, does not compile, even with 3.8. Typo? Thank you also for the two failure examples. I worked on untokenize in 2013

[issue42111] Make the xxlimited module an example of best extension module practices

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I would interpret the limited pydev response (1 person, whose concern you incorporated into your post) to indicate absence of opposition. Given that 384 was written by someone inactive for years, I say go ahead and submit a PR for review by any interested

[issue42116] Inspect library ignore comments at the end of a function (inspect.getsource)

2020-10-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +yselivanov ___ Python tracker <https://bugs.python.org/issue42116> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42121] unable to input certain Unicode characters in Text widget

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am closing this because I am rather sure that your problem is with your input method and its interaction with your OS and the tcl/tk GUI framework. Tkinter has essentially nothing to do with key and mouse input. A better place to ask for debugging help

[issue42123] Run parser twice; enable invalid_* rules only on the second run

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Since I do a lot of interactive compiling, I appreciate faster feedback. How much will the slowdown be on errors? -- nosy: +terry.reedy title: Run the two times, only enable invalid_* rules on the second run -> Run parser twice; enable inval

[issue42139] Synchronize What's New in 3.9 master and 3.9

2020-10-23 Thread Terry J. Reedy
New submission from Terry J. Reedy : Continuation of #41808, #41950, 9cf6752276e6fcfd0c23fdb064ad27f448aaaf75 (Langa, no diff). Attached is a current diff (about 1/2 hour ago). It appears to be all or almost all Langa's release edits in 9cf6752276e6fcfd0c23fdb064ad27f448aaaf75.

[issue41950] Typo in Python 3.9 what's new page

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: See #42139 -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue41950> ___ ___ Python-bugs-list mailin

[issue42139] Synchronize What's New in 3.9 master and 3.9

2020-10-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +21856 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/22936 ___ Python tracker <https://bugs.python.org/issu

[issue42070] Revisit IsoCalendarDate being private from pickle perspective

2020-10-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: If this point I suggest asking on pydev, maybe after you think more about how you want it to be for the next decade. If the behavior is intentional and the doc says nothing, one might consider the behavior the 'document'. Hence deprecation might

[issue42139] Synchronize What's New in 3.9 master and 3.9

2020-10-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42142] FAIL tkinter ttk LabeledScale test_resize

2020-10-24 Thread Terry J. Reedy
New submission from Terry J. Reedy : This appears to have timed out as there was no other error indication. Azure Pipelines, retested gave 2nd failure. Passed on another PR. test_resize (tkinter.test.test_ttk.test_extensions.LabeledScaleTest) ... Timeout (0:20:00)! Thread 0x7f787182e080

[issue33987] IDLE: use ttk.Frame for ttk widgets

2020-10-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e53e54425d9b7b9b7b082817da104d60bb25e3a2 by Mark Roseman in branch 'master': bpo-33987: Use ttk Label on IDLE statusbar (GH-22941) https://github.com/python/cpython/commit/e53e54425d9b7b9b7b082817da104d

[issue33987] IDLE: use ttk.Frame for ttk widgets

2020-10-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset c579ad14d3b5bb9a45d7b9cc708eaf0bf4884c50 by Mark Roseman in branch 'master': bpo-33987: Use master ttk Frame for IDLE config dialog (GH-22943) https://github.com/python/cpython/commit/c579ad14d3b5bb9a45d7b9cc708eaf

[issue42142] FAIL tkinter ttk LabeledScale test_resize, and more

2020-10-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Azure Pipelines Ubuntu, as before, but Combobox test_virtual_event. test_virtual_event (tkinter.test.test_ttk.test_widgets.ComboboxTest) ... Timeout (0:20:00)! Thread 0x7fb09e3f3080 (most recent call first): File "/home/vsts/work/1/s/Lib/tk

[issue33987] IDLE: use ttk.Frame for ttk widgets

2020-10-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5df6c99cb450fe2f30be681dbf68cd1d34d3bbe4 by Mark Roseman in branch 'master': bpo-33987: Add master ttk Frame to IDLE search dialogs (GH-22942) https://github.com/python/cpython/commit/5df6c99cb450fe2f30be681dbf68cd

[issue33962] IDLE: use ttk.spinbox with configdialog

2020-10-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: #27755 was about replacing uses of our custom DynOptionMenu with ttk.Combobox, which I believe we can do now, wherever we don't replace it with something else. One use is for font size choice; Spinbox was suggested as an alternative replacement. Sp

[issue33987] IDLE: use ttk.Frame for ttk widgets

2020-10-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks for hopefully finishing this issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42142] FAIL tkinter ttk LabeledScale test_resize, and more

2020-10-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Steve, we have a new Pipelines-specific intermittent tkinter test failure. Are you familiar with Pipelines, or do you know who is? -- nosy: +steve.dower ___ Python tracker <https://bugs.python.org/issue42

[issue5906] Risk of confusion in multiprocessing module - daemonic processes

2020-10-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.o

[issue42173] Drop Solaris support

2020-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Dear Solaris Python fans (about 20 so far here): Here is the situation. There are 1000s of open issues on this tracker and at least 100s of open cpython PRs, and only 20-30 core developers, mostly volunteers, actively (depending on definition) merging PRs

[issue42162] The license page for Python 3.0.1 is messed up

2020-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: The docs pages interpret x.y as x.y.latest. So the 3.0 doc is for the 3.0.1 release, the last for 3.0. https://docs.python.org/release/3.0.1/license.html https://docs.python.org/release/3.0/license.html is fine. What's messed up is the license history

[issue42177] Improving KeyError exception

2020-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Printing an exception is defined as printing the exception message, which currently is e.args[0]. We will not change that as it would break code worldwide. To print more, the class name can be used directly or as a key into a dict of replacements or

[issue42186] unittest overrides more serious warnings filter added before unittest.main()

2020-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nick and/or Victor: should this be closed in favor of #15626? or should the latter be closed as mostly fixed, with this being left open as a followup? -- nosy: +terry.reedy, vstinner versions: -Python 3.6, Python 3.7

[issue42190] global declarations affect too much inside exec or compile

2020-10-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: exec with different global and local dicts is most like executing code in a class definition, where locals is different from globals. But mimicking your exec with an actual class statement does not produce the same result. >>> gdict = {} &g

[issue26377] Tkinter dialogs will not close if root window not packed.

2020-10-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Looking at #26376 again, I think Ned's msg260413 identified Sam's problem. "Also note that installing ActiveTcl 8.6.x has no effect if the tkinter in use was linked with an 8.5 version of Tcl/Tk, as the one you are using apparently was. Mak

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-10-31 Thread Terry J. Reedy
New submission from Terry J. Reedy : On my macOS Mohave, 3.10, echoing '\U0001' (# = hex digit) or chr(#) (decimal digits) in IDLE's shell either prints an error box or hangs. On #13153, freezing on macOS was reported for 3.7.6. Until tkinter on Mac works better, w

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: In IDLE on Windows the following prints the first 3 astral planes in a couple of minutes. for i in range(0x1, 0x4, 32): chars = ''.join(chr(i+j) for j in range(32)) print(hex(i), chars) Perhaps half of the assigned chars in the f

[issue40511] IDLE: properly handle '(' and ')' within calls

2020-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset da7bb7b4d769350c5fd03e6cfb16b23dc265ed72 by Tal Einat in branch 'master': bpo-40511: Stop unwanted flashing of IDLE calltips (GH-20910) https://github.com/python/cpython/commit/da7bb7b4d769350c5fd03e6cfb16b2

[issue40511] IDLE: properly handle '(' and ')' within calls

2020-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: wyz, thank you for the report. It should be fixed now. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42239] IDLE: Restore calltip when needed

2020-11-01 Thread Terry J. Reedy
New submission from Terry J. Reedy : If one types 'int(' an int calltip is displayed. If one adds 'float(' then the float calltip is displayed instead. If one adds '"3.1")', the int calltip is restored. (Actually a new int calltip.) Finally, if

[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: IDLE: Restore calltip when needed -> IDLE: Restore or keep calltip when needed ___ Python tracker <https://bugs.python.org/issu

[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +22012 stage: test needed -> patch review pull_request: https://github.com/python/cpython/pull/23098 ___ Python tracker <https://bugs.python.org/issu

[issue42239] IDLE: Restore or keep calltip when needed

2020-11-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I dislike the idea of creating a Hyperparser and calling get_surrounding_brackets on every ). For (, the open is the ( just typed and the close is typically the newline to the right. For ), the open may be several lines back. I will test for noticeable

[issue42173] Drop Solaris support

2020-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: People interested in helping Solaris issues should see my post above, msg380006. Issue #35455, about thread time on Solaris, with a simple but non-trivial patch, was just closed as fixed after reviews from 2 coredevs and a 3rd person. I presume Victor will

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-02 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor, does my test run to completion (without exception) on your Fedora? If it does, I definitely would not disable astral char display on Fedora. This version catches exceptions and reports them separately and runs directly with tkinter, in about a

[issue42142] FAIL tkinter ttk LabeledScale test_resize, and more

2020-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: All 3 of these timeout failures are Ubuntu. They are a $*#(*&(#& nuisance for a required test. Please submit a PR to skip on Ubuntu, if we can detect that, or linux, if not. I have the impression that LabeledScale and Combobox are both composite

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: Kevin, Serhiy tried to report this upstream but failed. msg380143. Perhaps you could. One person running my test program reported """ Fedora 32 x86-64 Cinnamon 4.6.7 Linux 5.8.16-200.fc32.x86_64 Python 3.8.6 (default, Sep 25 2020, 00:00:

[issue42222] Modernize integer test/conversion in randrange()

2020-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: To me, ValueError("non-integer arg 1 for randrange()") (ValueError('bad type') is a bit painful to read. We do sometime fix such bugs, when not documented, in future releases. Current the doc, "Return a randomly selected eleme

[issue42222] Modernize integer test/conversion in randrange()

2020-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: To put what I said another way: both items are mental paper cuts and I see benefit to both coredevs and users in getting rid of them. That is not to say 'no cost', but that there is a real benefit to be balanced against the

[issue42275] Jupyter Lab Terminals not available (error was No module named 'winpty.cywinpty')

2020-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: The 'culprit' is that many 3rd party packages have not yet released 'official' wheels. This is unfortunately typical this soon after a new version is released. We are hoping that predictable yearly releases will improve the situati

[issue42283] test_idle is interactive on macOS 11

2020-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Strange. test_idle runs fine on my Mohave, so I cannot investigate what you see. Tests of classes that create windows and call wait_window pass _utest_=True and wait_window calls are guarded by "if not _utest:". I believe this is always in __in

[issue42283] test_idle is interactive on macOS 11

2020-11-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ned, do you have any experience of tk acting so differently on different macOS versions? -- nosy: +ned.deily ___ Python tracker <https://bugs.python.org/issue42

[issue42225] Tkinter hangs or crashes when displaying astral chars

2020-11-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: Serhiy, does Ronald's report above re 8.6.10 on macOS suggest what might be needed to make print("😀") work on Mac? As I remember, your year-old _tkinter patch to make print() work on Linux and Windows converts Python strings differently on

[issue42299] Add test_formatter (or remove deprecated formatter module?)

2020-11-09 Thread Terry J. Reedy
New submission from Terry J. Reedy : #14019 has a patch, unrelated to the issue, that adds test.test_formatter. There still is no such file, so I open this issue to move the patch here. It is the second version, responding to review by Ezio Melotti. But formatter has been deprecated since

[issue14019] Unify tests for str.format and string.Formatter

2020-11-09 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file31202/mywork.patch ___ Python tracker <https://bugs.python.org/issue14019> ___ ___ Python-bugs-list m

[issue42299] Add test_formatter (or remove deprecated formatter module?)

2020-11-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: The patch is by Francisco Freire (francisco.freire) * (CLA signed). There is apparently no way to directly move a patch from one issue to another, so I download and upload. -- keywords: +patch Added file: https://bugs.python.org/file49584/mywork2

[issue14019] Unify tests for str.format and string.Formatter

2020-11-09 Thread Terry J. Reedy
Change by Terry J. Reedy : Removed file: https://bugs.python.org/file31453/mywork2.patch ___ Python tracker <https://bugs.python.org/issue14019> ___ ___ Python-bug

[issue14019] Unify tests for str.format and string.Formatter

2020-11-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Victor: Irit is reviewing old issues to decide whether to close or not. She has to touch it somehow to mark it as reviewed. Irit: if you only change the version, others may think that you blindly updated the version. Better to say something that moves the

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

2020-11-12 Thread Sijmen J. Mulder
Sijmen J. Mulder added the comment: With './configure; make' of master on macOS 11 on Apple Silicon I get the library detection failure. The quick and easy fix was to amend inc_dirs and lib_dirs in setup.py: if MACOS: +sysroot = macos

[issue32426] Tkinter: reference document of possible cursor names

2020-11-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: A link here is not a patch. The current tkinter doc for the cursor option in https://docs.python.org/3/library/tkinter.html#tk-option-data-types badly needs updating. """ The standard X cursor names from cursorfont.h can be used, without

[issue42290] Unicode inconsistent display after concencated

2020-11-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Xia, when saying 'unexpected', one usually needs to also say what was expected. When discussing mixed direction chars, we need to be especially careful in describing what we see with different terminals, different browsers, and different OSes.

[issue42290] Display of Unicode strings with bidi characters

2020-11-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Unicode inconsistent display after concencated -> Display of Unicode strings with bidi characters ___ Python tracker <https://bugs.python.org/issu

[issue42293] Installation of pyinstaller in Windows fails with utf8 error

2020-11-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: A 'crash' is when the program hangs or stops unexpectedly *without* an Exception and message. Lib/site-packages/sitecustomize.py is an optional added module. https://docs.python.org/3/library/site.html#index-5 Apparently, attempted insta

[issue42302] [Turtle] Add clockwise and anticlockwise method as alias to right and left

2020-11-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Clockwise' and 'counterclockwise'* refer to an object either continuously spinning on an axis or possibly moving in a circle. An object in linear motion turns right or left. This is especially true for an organism or object with left

[issue42318] [tkinter] surrogate pairs in Tcl/Tk string when pasting an emoji in a text widget

2020-11-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yash, this is specifically a macOS issue. Printing astral chars in tkinter/IDLE on Windows and Linux has 'worked' (details not important) for over a year. -- nosy: +terry.reedy ___ Python track

[issue42328] ttk style.map function incorrectly handles the default state for element options.

2020-11-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +serhiy.storchaka, terry.reedy ___ Python tracker <https://bugs.python.org/issue42328> ___ ___ Python-bugs-list mailin

[issue42338] Enable Debug Build For Python Native Modules in Windows, with Visual Studio Toolchain

2020-11-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for developing patches to the cpython repository. Questions are better asked on the python-list and occasionally the pydev mailing lists. I am leaving this open in case there is a doc change request lurking somewhere. -- components

[issue42348] Language Reference: Set items

2020-11-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Raymond's last point is that set objects should be immutably hashable. I would say 'must be' in the sense that mutably hashable objects break sets in various ways, starting with uniqueness. If we were to make a change, I think the replac

[issue42335] Python Crashes Exception code 0xc0000374 ntdll.dll

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: When python as delivered crashes running pure non-ctype Python code, we usually consider it a bug to be fixed. As soon as one pokes around with ctypes or imports 3rd party binaries, the crash is usually due to a user or 3rd par. So this probably should be

[issue42334] Subclassing int and complex with keyword arguments weird

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: When reporting a failure please copy and paste the exception and message and when non-trivial, the traceback. In this case: "TypeError: 'test' is an invalid keyword argument for complex()". The difference between int and complex vers

[issue42330] Add browsh in the webbrowser module

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: We do not add just any old or new browser to webrowser's predefined list. (And there are likely some that should be dropped.) The last addition was the Chrome group in 3.3. Neither Microsoft Explorer or Edge are listed. I believe the forme

[issue42328] ttk style.map function incorrectly handles the default state for element options.

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: You have 2 user names, both nosy. You logged in with the lower-case name, hence the Author listing above. However, your CLA was registered with your uppercase (older?) login name. (If this is not what you intended, please write ewa at ython.org and

[issue42316] Walrus Operator in list index

2020-11-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: PEP 572 does not saw much of anything about when parens are needed. Nor does the low priority itself. Looking through the grammar of expressions, an assignment_expression is also a starred_expression, a positional_item (in calls), and the first part of a

<    38   39   40   41   42   43   44   45   46   47   >