[issue45086] f-string unmatched ']'

2021-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: The behavior remains the same in 3.11 ('main' branch). New PEG parser parses this the same. (Pablo, if there is a mistake below, please correct.) Normally, the parser copies code chars between quotes, with or without '\' interpretation, into a string

[issue45060] Do not use the equality operators with None

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

[issue45060] Do not use the equality operators with None

2021-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e2b29304137e6253b7bb89c180ef5d113d60b4eb by Serhiy Storchaka in branch '3.10': [3.10] bpo-45060: Get rid of few uses of the equality operators with None (GH-28087). (GH-28092) https://github.com/python/cpython/commit

[issue45058] Undefined behavior for syntax "except AError or BError:" accepted by interpreter

2021-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: "except a or b:" should be same as "except (a or b):" which should be same as "except a:", which is current behavior in 3.10.0, etc. -- nosy: +terry.reedy resolution: -> not a bug stage: -

[issue45034] Improve struct.pack out of range error messages

2021-09-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree, including use of hex, if possible, for unsigned (non-negative) values. Grepping 'format requires' returns F:\dev\3x\Modules\_struct.c: 365: "'%c' format requires 0 <= number <= %zu", F:\dev\3x\Modules\_struct.c: 371:

[issue20658] os.environ.clear() fails with empty keys (posix.unsetenv)

2021-09-03 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: +Python 3.11 -Python 2.7, Python 3.3, Python 3.4 ___ Python tracker <https://bugs.python.org/issue20658> ___ ___ Pytho

[issue45059] Typo: using "==" instead of "="

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

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 22fe0eb13c3441b71b60aaea0e7fe289a29783da by Terry Jan Reedy in branch 'main': bpo-45059: Add module cleanup to IDLE test_macosx (GH-28102) https://github.com/python/cpython/commit/22fe0eb13c3441b71b60aaea0e7fe289a29783da

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +26545 pull_request: https://github.com/python/cpython/pull/28102 ___ Python tracker <https://bugs.python.org/issue45

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Definitely a typo. Will apply fix and backport. The first import of macosx initializes _tk_type to None. The line in question intends to re-initialize it so that the subsequent assert can only pass if _init_tk_type changes it to something required. Many

[issue45059] Typo: using "==" instead of "="

2021-08-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 54f100514b02f6628450043e21ccfe39350d7ac7 by Serhiy Storchaka in branch 'main': bpo-45059: Fix IDLE test typo: using "==" instead of "=" (GH-28086) https://github.com/python/cpython/commit/54f100514b02f6628450

[issue45047] Update demo files

2021-08-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This submission is somewhat similar to #45037 more promising. It at least needs more explanation as to what it contributes that is not already present. Plus see review comment. (This part of my previous answer still applies: "When responding by

[issue45037] theme-change.py for tkinter lib

2021-08-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg400476 ___ Python tracker <https://bugs.python.org/issue45037> ___ ___ Python-bug

[issue45037] theme-change.py for tkinter lib

2021-08-28 Thread Terry J. Reedy
Change by Terry J. Reedy : -- Removed message: https://bugs.python.org/msg400475 ___ Python tracker <https://bugs.python.org/issue45037> ___ ___ Python-bug

[issue45037] theme-change.py for tkinter lib

2021-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Ayush, when responding by email, please delete the text you are responding to. After posting on the webpage, the quoted copy becomes redundant and noisy. -- I suspect that whatever tkinter demo existed previously was dropped because no one wanted

[issue45036] turtle.onrelease() event doesn't get triggered sometimes

2021-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: (turtle module has no relation to IDLE other than also using tkinter. The fact that turtledemo can be run from IDLE is incidental.) 3.10.0rc installed on Win 10. I first clicked randomly and never saw a missing 'release'. I noticed that the turtle

[issue45029] tkinter doc, hello world example - quit button clobbers method

2021-08-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: For whatever reason, the 3.9 backport, PR-27911, was closed. In any case, we will not edit the code we have replaced. Lyndon, when responding by email, please delete the old text as it is redundant and noisy when your email is added to the web page

[issue45032] struct.unpack() returns NaN

2021-08-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: Jorge, next time you have questions about how to use a module (and struct is fairly advanced), please ask on an appropriate forum, such as python-list. Then Steven's nice answer could be read by 100s of people instead of likely less than 10. I looked

[issue44998] macOS build test failure

2021-08-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +macOS nosy: +ned.deily, ronaldoussoren title: tests failed -> macOS build test failure ___ Python tracker <https://bugs.python.org/issu

[issue44995] "Hide the prompts and output" works abnormal

2021-08-27 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue44995> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44989] Fix documentation for truth testing

2021-08-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that this proposal is either premature or not needed. (But did you have anything specific in mind.) As you indicated, there are two separate subissues here. 1. NotImplemented: Issue 35712 added "It should not be evaluated in a boolean co

[issue44864] [argparse] Do not translate user-provided strings in `ArgumentParser.add_subparsers()`

2021-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'bug', for the tracker, mean a divergence between implementation and doc. Hence my question about the current doc. We could decide that either is wrong and should be changed. A change to meet 'expectations' and fix a 'design bug' is an enhancement

[issue44988] Use the newest tcl/tk support

2021-08-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am sympathetic to the idea, but is 8.7 out of beta yet? Do you have a link to the release page? Is it backward compatible, so that tkinter code written to run on current 8.6 would run on new binaries? In any case, such a change would only be done

[issue32397] textwrap output may change if you wrap a paragraph twice

2021-08-23 Thread Terry J. Reedy
Change by Terry J. Reedy : -- type: behavior -> enhancement versions: +Python 3.11 -Python 3.7, Python 3.8, Python 3.9 ___ Python tracker <https://bugs.python.org/issu

[issue44963] anext_awaitable is not a collections.abc.Generator

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

[issue44954] Bug in float.fromhex

2021-08-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed status: open -> closed ___ Python tracker <https://bugs.python.org/issue44954> ___ ___ Python-bugs-list

[issue44943] Integrate PyHyphen into the textwrap module?

2021-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: This strikes me as an example of the sort of thing that should not be in the stdlib. 'Correct' behavior is a matter of opinion and the language being hyphenated. I recommend rejecting. -- nosy: +terry.reedy versions: +Python 3.11 -Python 3.7

[issue44918] Unhandled Exception (Not Implemented) in HTMLParser().feed

2021-08-20 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Not Implemented Error in stdLib HTMLParser ___ Python tracker <https://bugs.python

[issue44915] Python keywords as string keys in TypedDict

2021-08-20 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current behavior is not a bug, so this is an enhancement proposal. -- nosy: +gvanrossum, terry.reedy type: behavior -> enhancement versions: +Python 3.11 -Python 3.8, Python 3.9 ___ Python tracker <

[issue41322] unittest: deprecate test methods returning non-None values

2021-08-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +lukasz.langa, serhiy.storchaka -fdrake, stefan, terry.reedy versions: +Python 3.11 -Python 3.7 ___ Python tracker <https://bugs.python.org/issue41

[issue44942] Add number pad enter bind to TK's simpleDialog

2021-08-19 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/issue44942> ___ ___

[issue44942] Add number pad enter bind to TK's simpleDialog

2021-08-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: This proposal is not a bug fix. In my testing on Windows today, Ryan is correct in saying (on the PR) that kp return key normally acts is same as normal return key. True regardless of Numlock. This is *also true*, at least on Windows, of instances

[issue42491] Tkinter wait_visibility hanging when used in thread

2021-08-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: tcl/tk can be compiled without or with thread support. For 8.5, the default was without. For 8.6, the default is with. The Windows and macOS installers include 8.6 compiled with the default. I have not previously heard of problems with thread when

[issue44830] Broken Mozilla devguide link in "Dealing with Bugs" doc section

2021-08-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Fixing the link now, given that it is possible, and someone someday writing a new doc to replace it are different issues. This issue is about the link. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44830] Broken Mozilla devguide link in "Dealing with Bugs" doc section

2021-08-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: https://support.mozilla.org/en-US/kb/contributors-guide-writing-good-bug still has a link to https://developer.mozilla.org/en-US/docs/Mozilla/QA/Bug_writing_guidelines but the fact that they moved the latter to https://github.com/mdn/archived-content/blob

[issue42560] Improve Tkinter Documentation

2021-08-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: It seems premature to worry about 8.7.0, as it might still be years away. 8.7.0a1 was 4 years ago. 8.6.0 spent 5 years in beta. https://sourceforge.net/projects/tcl/files/Tcl/. I'd like to see improved tkinter docs within a year. I don't think

[issue44830] Broken Mozilla devguide link in "Dealing with Bugs" doc section

2021-08-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Problems with linking to archive.org Wayback machine. 1. They have limited bandwidth. 2. Production linking, as opposed to research like Jack did to find the 'missing' page, stretches the meaning of 'fair use'. Potential problems with external docs. 1

[issue42560] Improve Tkinter Documentation

2021-08-15 Thread Terry J. Reedy
Terry J. Reedy added the comment: > Anyone have any big picture thoughts at this point? Yes. For years, I have wanted major changes in out tkinter docs, but making them myself has never become a top priority for me over working directly on IDLE. The latter has been hampe

[issue44898] Path.read_bytes() failed when path contains chinese character

2021-08-14 Thread Terry J. Reedy
Terry J. Reedy added the comment: pypy is a separate group of people and tracker. cpython 3.7 only gets security patches. -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bug

[issue44908] recommend httpx as well as requests in http.client/urllib.request docs

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: The problem with linking anything is that it inspires requests like this. We don't hand out links like candy. I think the intent was to maybe link one package if in some sense the standard alternative. I don't know the protocol for adding more. Likely

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks both of you for the fix and clean patch. I wonder if doctest should have picked up these, but this would be another issue. -- resolution: -> fixed stage: patch review -> resolved status: open -&g

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 43bab0537ceb6e2ca3597f8f3a3c79733b897434 by Miss Islington (bot) in branch '3.9': bpo-44907: Update error messages in tutorial examples (GH-27755) https://github.com/python/cpython/commit/43bab0537ceb6e2ca3597f8f3a3c79733b897434

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 25122b2cf9b55f67572dd454b6809e1f62f78f39 by Miss Islington (bot) in branch '3.10': bpo-44907: Update error messages in tutorial examples (GH-27755) https://github.com/python/cpython/commit/25122b2cf9b55f67572dd454b6809e1f62f78f39

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset ed524b4569b1e4a166886c880018418d46284378 by meowmeowmeowcat in branch 'main': bpo-44907: Update error messages in tutorial examples (GH-27755) https://github.com/python/cpython/commit/ed524b4569b1e4a166886c880018418d46284378

[issue44907] examples code output do not match the current version 3.9

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Example here is in https://docs.python.org/3/tutorial/controlflow.html#default-argument-values 2 more in PR in https://docs.python.org/3/tutorial/controlflow.html#function-examples I confirmed that message is same in 3.10 and 3.11. -- nosy

[issue44898] Path.read_bytes() failed when path contains chinese character

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: If there is no file or directory by the name you give, then the exception is correct and there is no bug in CPython. A failing example should look like Steven's, with the filename in a string that is use to both create and access the file. -- nosy

[issue44896] AttributeError in ast.unparse

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: Issue with unparse in ast module -> AttributeError in ast.unparse ___ Python tracker <https://bugs.python.org/issu

[issue44896] Issue with unparse in ast module

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +BTaskaya, Mark.Shannon, benjamin.peterson, brett.cannon, pablogsal, yselivanov ___ Python tracker <https://bugs.python.org/issue44

[issue44894] HTTP request handler: check sys.stderr != None before logging

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: HTTP request handler should check sys.stderr for None before use for logging -> HTTP request handler: check sys.stderr != None before logging ___ Python tracker <https://bugs.python.org/issu

[issue44865] [argparse] Missing translations

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Same comment as for #44964, plus note that 3.8 and before only get security patches. Also, 3.9,3.10 only get bug fixes and I don't know if this qualifies. -- nosy: +terry.reedy versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9

[issue44864] [argparse] Do not translate user-provided strings in `ArgumentParser.add_subparsers()`

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Jérémie, what does the doc say about translation? This will likely determine whether the is a bug report or a future-version-only enhancement request. The PR changes the two lines as indicated above and the CLA is signed. A blurb will be needed

[issue44863] Allow TypedDict to inherit from Generics

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +gvanrossum, kj ___ Python tracker <https://bugs.python.org/issue44863> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44862] [docs] make "Deprecated since version {deprecated}, will be removed in version {removed}" translation available

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for patching the english Python docs and CPython interpreter. Questions about using python should be asked elsewhere. The translated docs are the responsibility of a separate translation team and specific language teams. Either they chose

[issue41234] Remove symbol.sym_name

2021-08-13 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> Remove the old parser ___ Python tracker <https://bugs.python

[issue41234] Remove symbol.sym_name

2021-08-13 Thread Terry J. Reedy
Terry J. Reedy added the comment: Andrei, on bpo, # tags numbers as bpo numbers, and creates links to bpo issues, whereas in PRs, # tags numbers as PR numbers and creates links to PRs. So # must be removed and PR added when transferring references. So: PR 21624 or PR21624 or even, says

[issue44903] [Doc] How does one to about getting onto the "Other Graphical User Interface Packages" page?

2021-08-12 Thread Terry J. Reedy
Terry J. Reedy added the comment: The direct answer is that you open an issue like you did, make an argument, as you did, and then submit a pull request. But we certainly do not need two redundant lists. The Othergui page has a link to https://wiki.python.org/moin/GuiProgramming which

[issue44173] Stored (uncompressed) ZipExtFile in zipfile can be seekable at lower cost

2021-08-11 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +alanmcintyre, serhiy.storchaka, twouters ___ Python tracker <https://bugs.python.org/issue44173> ___ ___ Python-bugs-list m

[issue34013] Inconsistent SyntaxError for print

2021-08-10 Thread Terry J. Reedy
Terry J. Reedy added the comment: I think that this was properly closed after the last fix. There are multiple issues at play: 1. These parts of the Zen: "Special cases aren't special enough to break the rules. Although practicality beats purity. ... In the face of ambiguity, r

[issue44866] Inconsistent Behavior of int()

2021-08-08 Thread Terry J. Reedy
Terry J. Reedy added the comment: John, for next time, please read https://stackoverflow.com/help/minimal-reproducible-example -- ___ Python tracker <https://bugs.python.org/issue44

[issue41645] Typo First Page of Documentation

2021-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: This is not worth much more energy. Let's either add 'uses' or 'it uses' or close as 'works for me'. Lukasz, do you have a vote either way? I don't care which of us does a PR if we go that way. -- nosy: +lukasz.langa versions: +Python 3.11

[issue44854] Add .editorconfig to the root directory

2021-08-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I presume 'root directory' mean the repository directory. I would have to think about supporting this in IDLE. It already, I believe (or will), enforces the two whitespace rules when saving and defaults to 4-space indents for first lines of statements

[issue44821] Instance dictionaries should be created eagerly

2021-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Close this? -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue44821> ___ ___ Python-bugs-list mailin

[issue44826] Specialize STORE_ATTR using PEP 659 machinery.

2021-08-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: #44821 is fixed -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue44826> ___ ___ Python-bugs-list mailin

[issue44749] LOAD_NAME not using PyObject_GetItem when globals() is a dict subclass

2021-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: If you want to change that decision, I suggest posting on python-ideas list explaining why you disagree and get support for a change now. -- ___ Python tracker <https://bugs.python.org/issue44

[issue44749] LOAD_NAME not using PyObject_GetItem when globals() is a dict subclass

2021-08-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: Both preceding issues were closed as rejected. -- nosy: +terry.reedy resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Inconsistent behavior if globals is a dict subclass type: -> enhancement versions

[issue44762] getpass.getpass on Windows fallback detection is incomplete

2021-08-04 Thread Terry J. Reedy
Change by Terry J. Reedy : -- title: getpass.getpass on Windows fallback detection is bad -> getpass.getpass on Windows fallback detection is incomplete ___ Python tracker <https://bugs.python.org/issu

[issue44762] getpass.getpass on Windows fallback detection is bad

2021-08-04 Thread Terry J. Reedy
Terry J. Reedy added the comment: The rationale for the __stdin__ and stdin check is this: When python starts, both are usually set an io.TextIOWrapper wrapping a system console. (At least on Windows, both may instead be None instead.) __stdin__ should never be altered. Getpass.getpass

[issue44765] Misspelled Word In Docs

2021-07-31 Thread Terry J. Reedy
Terry J. Reedy added the comment: Eesa, when responding by email, please delete the message you are responding to. When posted on the web page, the quoted copy becomes noisy and distracting. Visit https://bugs.python.org/issue44765 to see the result. -- nosy: +terry.reedy

[issue44776] Docs on mobile do not use monospace font for code snippets, misaligning carets of improved error messages

2021-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Wrong tracker. Not 3rd party, but not a bug in the doc .rst files or cpython code files. -- nosy: +terry.reedy resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracke

[issue44767] python -m flask run gives OSError: [WinError 10013] An attempt was made to access a socket in a way forbidden by its access permissions

2021-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: This tracker is for fixing bugs in CPython and its stdlib, not for bugs in 3rd party applications or their usage. Your report does not point to a bug in python itself. Try asking about this issue on a flask forum, python-list, maybe stackoverflow.com

[issue44748] argparse: a bool indicating if arg was encountered

2021-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Joker, please don't mess with headers. Enhancements only appear in future versions; argparse is a library module, not a test module. -- components: +Library (Lib) -Tests nosy: +terry.reedy stage: -> test needed versions: +Python 3.11 -Python

[issue44744] [security] Open redirect attack due to insufficient validation in Urlparse

2021-07-30 Thread Terry J. Reedy
Change by Terry J. Reedy : -- components: +Library (Lib) -Parser stage: -> test needed type: -> security ___ Python tracker <https://bugs.python.org/i

[issue44738] io_uring as a new backend to selectors and asyncio

2021-07-30 Thread Terry J. Reedy
Terry J. Reedy added the comment: Continue the discussion, including adding new info, to the #41271 -- nosy: +terry.reedy resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Add support for io_urin

[issue44693] Unclear definition of the "__future__" module in Docs

2021-07-25 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -miss-islington resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44693] Unclear definition of the "__future__" module in Docs

2021-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 4ce6c5285abd78dc936ec6036e7bb964fd55d955 by Miss Islington (bot) in branch '3.9': bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH-27358) https://github.com/python/cpython/commit/4ce6c5285abd78dc936ec6036e7bb964fd55d955

[issue44693] Unclear definition of the "__future__" module in Docs

2021-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 642d873d672eb1b4ddffd99e665c54ed358a4562 by Miss Islington (bot) in branch '3.10': bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) (GH-27357) https://github.com/python/cpython/commit/642d873d672eb1b4ddffd99e665c54ed358a4562

[issue44693] Unclear definition of the "__future__" module in Docs

2021-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 0363a4014d90df17a29042de008ef0b659f92505 by Steven Hsu in branch 'main': bpo-44693: Update __future__ entry in Doc/glossary.rst (GH-27349) https://github.com/python/cpython/commit/0363a4014d90df17a29042de008ef0b659f92505

[issue19217] Calling assertEquals for moderately long list takes too long

2021-07-25 Thread Terry J. Reedy
Terry J. Reedy added the comment: Lukasz, perhaps you can finish this. Too many assistent cooks and no chief cook. At least tell Jack (above) whether to submit his PR. -- nosy: +lukasz.langa, terry.reedy versions: +Python 3.11 -Python 3.6, Python 3.7, Python 3.8, Python 3.9

[issue12737] str.title() is overzealous by upcasing combining marks inappropriately

2021-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Which comes out 'Tr̥Tīyā'. The underdot '̥' is '0x325' -- ___ Python tracker <https://bugs.python.org/issue12737> ___ ___ Pytho

[issue44693] Unclear definition of the "__future__" module in Docs

2021-07-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yes, ask me to review. -- ___ Python tracker <https://bugs.python.org/issue44693> ___ ___ Python-bugs-list mailing list Unsub

[issue44693] Unclear definition of the "__future__" module in Docs

2021-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree with Steven's more careful analysis and with canning 'pseudo'. Current suggestion. A *future statement*, "from __future__ import *feature* ...", directs the compiler to compile the current module using syntax or semantics that wi

[issue44660] email.feedparser: support RFC 6532 section 3.5

2021-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: dont obviously *match* -- ___ Python tracker <https://bugs.python.org/issue44660> ___ ___ Python-bugs-list mailin

[issue44722] RFC: string Multiline Formatter

2021-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I suggest you close this issue and if you have an improved code, propose it on python-ideas list for discussion. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue44

[issue44709] [3.7] Popen Control Characters in stdout affect shell session

2021-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Interpreting the last post ... -- nosy: +terry.reedy resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue44693] Unclear definition of the "__future__" module in Docs

2021-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I thnk the glossary should say both. Approximately: "When the first statement of a program starts 'from __future__ import feature', a pseudo-module ... . When used later in a program, __future__ is a real module." Link each statement to an a

[issue44671] Create a built-in yaml module

2021-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: The current status of this idea is that it has been rejected. Please read the previous discussion(s) and consider the arguments against. If you then still want this idea reconsidered, please post to the python-ideas list explaining why you think

[issue44660] email.feedparser: support RFC 6532 section 3.5

2021-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: RFC 6532 Internationalized Email Headers https://datatracker.ietf.org/doc/html/rfc6532 3.5. Changes to MIME Message Type Encoding Restrictions https://datatracker.ietf.org/doc/html/rfc6532#section-3.5 don't obviously "message/global Emails with non-ide

[issue35728] Tkinter font nametofont requires default root

2021-07-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: The code I gave above now exits with a clearer message. RuntimeError: No master specified and tkinter is configured to not support default root But now, in 3.10, the master can be specified, so that fnt = font.nametofont('TkFixedFont', root) works. Thank

[issue43950] Include column offsets for bytecode instructions

2021-07-19 Thread Terry J. Reedy
Terry J. Reedy added the comment: The effort to match caret lines to general unicode is similar to a previous issue that was closed as futile. (But I could not find it.) It has a downside that should be considered. The fundamental problem is that there is no fixed pitch font for unicode

[issue44603] REPL: exit when the user types exit instead of asking them to explicitly type exit()

2021-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another issue: exit() and quit() work unconditionally when called, regardless of the context: "a = (3, exit(), 'abc')". The abbreviated versions will not. An alternative change is to revise the representation. Perhaps tell the truth first

[issue44603] REPL: exit when the user types exit instead of asking them to explicitly type exit()

2021-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: I agree that turning 'exit' and 'quit' into semi-keywords is not acceptible. I added this to my PR review. >>> exit = 3 >>> exit f:\dev\3x> -- ___ Python tracker <https://bu

[issue44651] An unclear definition in Doc/glossary.rst

2021-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: OK with me. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue44651> ___ ___ Python-bugs-list mailin

[issue44610] Format issue with strftime and %Y

2021-07-16 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue44610> ___ ___ Python-bugs-list m

[issue44603] REPL: exit when the user types exit instead of asking them to explicitly type exit()

2021-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: This has been proposed and rejected before. So I think a pydev discussion and steering council decision would be needed to change. The current rule in interactive mode is that typing an expression statement echoes the representation of the resulting object

[issue44592] tkinter focus_get() with non-tkinter Tk widget

2021-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Traceback (most recent call last): File "C:\Programs\Python310\lib\tkinter\__init__.py", line 1921, in __call__ return self.func(*args) File "C:\Programs\Python310\lib\tkinter\__init__.py", line 839, in callit func(*args)

[issue29753] [Linux] ctypes packs bitfields Incorrectly

2021-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: Charles and Sam: In the future, when responding by email, please delete the email you are responding to, except maybe for a line. When your response is posted to web page, the quote is redundant and distracting. -- nosy: +terry.reedy versions

[issue44413] OverflowError: mktime argument out of range after 2019

2021-07-16 Thread Terry J. Reedy
Terry J. Reedy added the comment: The posted code is incomplete, improperly indented, and a bit jumbled with respect to prompts. If the bug is real, it should be possible to reproduce without pytz. I do not have it on either Windows or macOS. Vyacheslav, can you post a better failing

[issue44583] Failure to build on OSF1.

2021-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: On 7/9/2021 5:29 PM, Jay Krell wrote: > Probably. What does "support" mean? This is not my ballpark. One can also access pydev as newsgroup gmane.comp.python.devel at news.gmane.io -- ___ Python tr

[issue734176] Make Tkinter.py's nametowidget work with cloned menu widgets

2021-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: See #44592, closed as duplicate of this. -- ___ Python tracker <https://bugs.python.org/issue734176> ___ ___ Python-bugs-list m

[issue44592] tkinter focus_get() with non-tkinter Tk widget

2021-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am not quite convinced that this is a duplicate of #734176. The latter is about tearoff clones and nothing is cloned here. But I do notice that number 'names were also prefixed with '#'. What happens if 'tearoff=0' is added to the cascade so

<    1   2   3   4   5   6   7   8   9   10   >