[issue41621] Document collections.defaultdict parameter default_factory

2021-06-22 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset d1ae57027fc39ff60dcfc1b63881400e5ca3ce56 by Dennis Sweeney in branch 'main': bpo-41621: Document defaultdict's default_factory parameter (GH-21945) https://github.com/python/cpython/commit/d1ae57027fc39ff60dcfc1b63

[issue44229] test_ssl: test_get_server_certificate() and test_msg_callback_deadlock_bpo43577() fail randomly on the macOS CI

2021-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: Two GHI test macOS failures yesterday, once on main, this is on 3.10 backport https://github.com/python/cpython/pull/26850/checks?check_run_id=2885797677 ERROR: test_get_server_certificate (test.test_ssl.SimpleBackgroundTests

[issue41621] Document collections.defaultdict parameter default_factory

2021-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 88a3342314c8b9ff40a2b6fd4759cfbf64712c67 by Miss Islington (bot) in branch '3.10': bpo-41621: Document defaultdict's default_factory parameter (GH-21945) https://github.com/python/cpython/commit/88a3342314c8b9ff40a2b6fd4

[issue41621] Document collections.defaultdict parameter default_factory

2021-06-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

[issue44404] tkinter's after() AttributeError with functools.partial (no attribute __name__)

2021-06-23 Thread Terry J. Reedy
Terry J. Reedy added the comment: I was thinking the same. -- ___ Python tracker <https://bugs.python.org/issue44404> ___ ___ Python-bugs-list mailing list Unsub

[issue44465] html.escape can be used in a few places in the standard lib instead of similar existing code

2021-06-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +ezio.melotti ___ Python tracker <https://bugs.python.org/issue44465> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44481] Tkinter config() minor documentation bug for shorthand options

2021-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: The specific subsection link is https://docs.python.org/3/library/tkinter.html#setting-options The outputs >>> import tkinter as tk >>> r = tk.Tk() >>> r.config('bg') ('background', 'background', '

[issue13814] Document why generators don't support the context management protocol

2021-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Note: Rietveld patch reviews are no longer accessible so I could not look at R. David's comments. -- ___ Python tracker <https://bugs.python.org/is

[issue44482] Possible resource leeak in glob in non-refcount implementations

2021-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Nick Coughlin explained on issue 13814 msg151763 why he thought that making generators be context managers could/should not be done. "Generators deliberately don't support the context management protocol. This is so that they raise an explicit Ty

[issue44185] mock_open file handle __exit__ does not call close

2021-06-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +michael.foord versions: -Python 3.6, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue44185> ___ ___

[issue44503] Hide __enter__ calls in mock_open

2021-06-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +michael.foord ___ Python tracker <https://bugs.python.org/issue44503> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40620] [doc] Range tutorial shorthand could be made clearer

2021-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: Another alternative is to make the example *be* interactive. This would also teach the easy, standard, and often better way to see the output of an iterable. >>> list(range(5, 10)) [5, 6, 7, 8, 9] >>> list(range(0, 10, 3)) [0, 3, 6, 9]

[issue44404] tkinter's after() AttributeError with functools.partial (no attribute __name__)

2021-06-26 Thread Terry J. Reedy
Terry J. Reedy added the comment: When the backport is done or Serhiy changes his mind. Can you change labels on your own PRs? -- nosy: -miss-islington stage: patch review -> ___ Python tracker <https://bugs.python.org/issu

[issue44404] tkinter's after() AttributeError with functools.partial (no attribute __name__)

2021-06-26 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> patch review ___ Python tracker <https://bugs.python.org/issue44404> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue20752] Difflib should provide the option of overriding the SequenceMatcher

2021-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: I reread the patch and my previous comment and am no more positive than I was then. The one use case presented is second-hand. Chris said "in order for [Bazaar] to use a custom sequence matcher, they had to essentially copy-paste and modify the s

[issue20752] Difflib should provide the option of overriding the SequenceMatcher

2021-06-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: 'Pending' is pretty useless because any comment erases it. This is a tracker bug that will not be fixed. -- status: open -> pending ___ Python tracker <https://bugs.pytho

[issue44521] str.removeprefix(): add strict: bool

2021-06-28 Thread Terry J. Reedy
Terry J. Reedy added the comment: Start by presenting this idea on python-ideas list. -- nosy: +terry.reedy ___ Python tracker <https://bugs.python.org/issue44

[issue42889] Incorrect behavior after ast node visits

2021-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: We usually used 'fixed' for 'fixed in this issue'. In any case, 'Resolution' is secdondary to 'Status'. -- resolution: -> out of date stage: -> resolved status: open -> closed _

[issue4600] __class__ assignment: new-style? heap? == confusing

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

[issue4600] __class__ assignment error message confusing

2021-07-05 Thread Terry J. Reedy
Terry J. Reedy added the comment: I neglected to mention above what c is. I Irit guessed right as >>> class C: pass ... >>> c = C() is what I (also) usually do for examples and testing. Removing "new-style" elsewhere solved the issue with the erro

[issue42766] urllib.request.HTTPPasswordMgr uses commonprefix instead of commonpath

2021-07-06 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: +orsenthil ___ Python tracker <https://bugs.python.org/issue42766> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue42878] urllib.request.HTTPPasswordMgr.is_suburi does not care about order

2021-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: Yair, is this really a separate bug from that reported in #42766? In other words, are there separate and distinct failing test cases? If not, this should be closed as a duplicate. -- nosy: +orsenthil, terry.reedy

[issue44574] IDLE: Implement or delete python-context-help.

2021-07-06 Thread Terry J. Reedy
New submission from Terry J. Reedy : The config.IdleConf.GetCoreKeys keyBindings dict contains '<>': [''] The was included in the initial version by Steven Gava, 9930061c, on 2001 Dec 2. So it appears in the Keys page of the config dialog, as noticed

[issue44574] IDLE: Implement or delete python-context-help.

2021-07-06 Thread Terry J. Reedy
Terry J. Reedy added the comment: I should check whether all other keybindings are implemented. -- ___ Python tracker <https://bugs.python.org/issue44

[issue11343] Make errors due to full parser stack identifiable

2021-07-07 Thread Terry J. Reedy
Terry J. Reedy added the comment: I retract my original comment as I now agree with SyntaxError + distinct message. Given Irit's report, I think the remaining question is whether A. The implication that 'too many nested parentheses' is compiler specific is strong enough

[issue44550] Spam

2021-07-09 Thread Terry J. Reedy
Change by Terry J. Reedy : -- nosy: -skoolbeep ___ Python tracker <https://bugs.python.org/issue44550> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue44560] Many MUA don't recognize charset "eucgb2312_cn" in email header

2021-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Anything before 3.9 only gets security patches. -- nosy: +terry.reedy title: Unrecognized charset "eucgb2312_cn" in email header for many MUA -> Many MUA don't recognize charset "eucgb2312_cn" in email header versio

[issue44583] Failure to build on OSF1.

2021-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Jay, this issue and PR should either be closed, or you should post on pydev list saying why support should be re-enabled, along with a credible offer to maintain platform support for several years. -- nosy: +terry.reedy

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

2021-07-09 Thread Terry J. Reedy
Terry J. Reedy added the comment: Akuli, what tk widgets do you think are not known to tkinter? In any case, tk menu is known to tkinter. I cannot reproduce when running on Windows with 3.10.0b3: Add "print(root.children)" (after add_cascade) results in {'!menu': , &#x

[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

[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

[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

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

2021-07-15 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

[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

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

[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

[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

[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

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

[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

[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

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

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

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

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

[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

[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

[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

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

[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

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

[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

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

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

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

[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

[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

[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

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

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

[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

[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

[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

[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

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

2021-08-04 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

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

2021-08-04 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

[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

[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

[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

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

[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

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

[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

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

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

[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

[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

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

[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 if this is

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

[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

[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

[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

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

[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

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

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

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

[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

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

[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

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

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

[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

[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

[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

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

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

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

[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

<    20   21   22   23   24   25   26   27   28   29   >