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
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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: -
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:
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
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
Change by Terry J. Reedy :
--
pull_requests: +26545
pull_request: https://github.com/python/cpython/pull/28102
___
Python tracker
<https://bugs.python.org/issue45
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
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
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
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg400476
___
Python tracker
<https://bugs.python.org/issue45037>
___
___
Python-bug
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg400475
___
Python tracker
<https://bugs.python.org/issue45037>
___
___
Python-bug
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
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
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
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
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
Change by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue44995>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
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
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
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
Change by Terry J. Reedy :
--
nosy: +asvetlov, yselivanov
___
Python tracker
<https://bugs.python.org/issue44963>
___
___
Python-bugs-list mailing list
Unsub
Change by Terry J. Reedy :
--
resolution: -> fixed
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue44954>
___
___
Python-bugs-list
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
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Not Implemented Error in stdLib HTMLParser
___
Python tracker
<https://bugs.python
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
<
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
Change by Terry J. Reedy :
--
resolution: -> rejected
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.org/issue44942>
___
___
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
Change by Terry J. Reedy :
--
title: Issue with unparse in ast module -> AttributeError in ast.unparse
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
nosy: +BTaskaya, Mark.Shannon, benjamin.peterson, brett.cannon, pablogsal,
yselivanov
___
Python tracker
<https://bugs.python.org/issue44
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
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
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
Change by Terry J. Reedy :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue44863>
___
___
Python-bugs-list mailing list
Unsubscribe:
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
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: patch review -> resolved
status: open -> closed
superseder: -> Remove the old parser
___
Python tracker
<https://bugs.python
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
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
Change by Terry J. Reedy :
--
nosy: +alanmcintyre, serhiy.storchaka, twouters
___
Python tracker
<https://bugs.python.org/issue44173>
___
___
Python-bugs-list m
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
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
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
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
Terry J. Reedy added the comment:
Close this?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue44821>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
#44821 is fixed
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue44826>
___
___
Python-bugs-list mailin
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
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
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
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
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
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
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
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
Change by Terry J. Reedy :
--
components: +Library (Lib) -Parser
stage: -> test needed
type: -> security
___
Python tracker
<https://bugs.python.org/i
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
Change by Terry J. Reedy :
--
nosy: -miss-islington
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
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
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
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
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
Terry J. Reedy added the comment:
Which comes out 'Tr̥Tīyā'. The underdot '̥' is '0x325'
--
___
Python tracker
<https://bugs.python.org/issue12737>
___
___
Pytho
Terry J. Reedy added the comment:
Yes, ask me to review.
--
___
Python tracker
<https://bugs.python.org/issue44693>
___
___
Python-bugs-list mailing list
Unsub
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
Terry J. Reedy added the comment:
dont obviously *match*
--
___
Python tracker
<https://bugs.python.org/issue44660>
___
___
Python-bugs-list mailin
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
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
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
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
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
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
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
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
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
Terry J. Reedy added the comment:
OK with me.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue44651>
___
___
Python-bugs-list mailin
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
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
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)
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
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
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
Terry J. Reedy added the comment:
See #44592, closed as duplicate of this.
--
___
Python tracker
<https://bugs.python.org/issue734176>
___
___
Python-bugs-list m
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
501 - 600 of 12638 matches
Mail list logo