Terry J. Reedy added the comment:
Thank you Roger. Good to hear from you.
https://stackoverflow.com/questions/66286367/why-is-my-function-faster-than-pythons-print-function-in-idle,
Feb 2021, was about this issue. In my answer I verified the claim and then
showed in further experiments
Terry J. Reedy added the comment:
On pydev, Guido said "There was talk of deprecating colorsys, but PEP 594 now
lists it under "modules to keep". Victor, do you know enough to review?
--
___
Python tracker
<https://bugs.pyt
Terry J. Reedy added the comment:
Ned, I like your idea. In particular, link to sysconfig.get_paths for how
prefix is used on a particular machine to define installation paths.
Sidenote:
https://docs.python.org/3/library/sysconfig.html#installation-paths
says "Python currently sup
Terry J. Reedy added the comment:
Verified in IDLE also. Thanks for doing the test I should have done.
--
resolution: -> out of date
stage: test needed -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
On Windows, I believe the correct sentence would be "On Windows, they are in
prefix/Lib and prefix/include". Ned, how to complete "On macOS, they are in ?."
Victor, with recent file movement, is "while the platform independent
Terry J. Reedy added the comment:
For comparison:
True = 0
SyntaxError: cannot assign to True
del True
SyntaxError: cannot delete True
It almost seems like __debug__ is a hidden keyword value, but with a
startup-dependent value
--
components: +Interpreter Core
nosy: +pablogsal
Terry J. Reedy added the comment:
A link to an authoritative reference with the formulas would be necessary to
merge this. I inquired of pydev list whether improvement is allowed.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.
Terry J. Reedy added the comment:
Filter, map, and zip are documented as functions to allow other interpreters to
implement them as such, with generator functions. That does not apply here,
but maybe there is another reason for socket being called a 'function.
Antoine, git blame cr
Terry J. Reedy added the comment:
Pablo, did you intend to backport to 3.10 or should this be closed?
--
nosy: +pablogsal, terry.reedy
type: -> enhancement
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
nosy: +eric.araujo, ezio.melotti, mdk, willingc
versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issue45
Change by Terry J. Reedy :
--
nosy: +bquinlan, pitrou
___
Python tracker
<https://bugs.python.org/issue45761>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Should we just remove ' array,' from things that cannot be copied, or does this
need more discussion?
--
keywords: +easy, newcomer friendly
nosy: +lukasz.langa, terry.reedy
versions: -Python 3.6, Python 3.7,
Terry J. Reedy added the comment:
Victor, A sentence about hash randomization you wrote for #32329 in PR-4873 is
not currently correct. Change code or doc?
--
nosy: +terry.reedy, vstinner
___
Python tracker
<https://bugs.python.org/issue45
Change by Terry J. Reedy :
--
title: Update python.org Windows and macOS installers to use Tk 8.6.12 -> Make
python.org Windows and macOS installers use Tk 8.6.12
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Might want to special case running certain console commands in Shell, such as
'pip install'.
https://stackoverflow.com/questions/69936921/packages-not-installing-in-idle-shell
SyntaxError: invalid syntax. Perhaps you forg
Terry J. Reedy added the comment:
Without assurance that the problem exists in current python, let alone a
reproducing code, there is nothing we can do. If this or a related problem
occurs again, this can be reopened, or a new issue started.
--
resolution: -> out of date
st
Terry J. Reedy added the comment:
PR-29419 solves the issue in #45717 of not giving a link for _* modules with no
doc. It does not solve this issue of giving the proper link for module that
need non-standard links, which typically need a '#' suffix, as in
'.../library/2
Terry J. Reedy added the comment:
'System V' is in the first line of the second paragraph of
https://docs.python.org/3/library/multiprocessing.shared_memory.html
Davin, git blame says you wrote this in Feb 2019.
--
nosy: +davin, pitrou, terry.reedy
versions: -
Terry J. Reedy added the comment:
https://docs.python.org/3/reference/import.html#submodules
The point of the section is that even though the names 'for' and 'bar' are not
directly importing into 'spam', they get attached to 'spam' any way as indirec
Terry J. Reedy added the comment:
Agreed. 'pip ...' not working is a recurring question on stackoverflow, usually
from an IDLE user. 'python' is much rarer. Note that IDLE's shell may be a
beginner's only exposure to the word 'shell'. The stand
Terry J. Reedy added the comment:
Would there be any change at the Python level?
--
nosy: +terry.reedy
type: -> performance
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Eryk, does this or does this not look to you like a bug in CPython? I don't
know enough to tell.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/is
Change by Terry J. Reedy :
--
resolution: -> not a bug
stage: -> resolved
status: pending -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
This worked for me on main and 3.10. Thanks.
--
___
Python tracker
<https://bugs.python.org/issue43652>
___
___
Python-bug
Terry J. Reedy added the comment:
Because today's spammer, whose message was removed, deleted us all. Restoring
the version to 3.3 is not possible.
--
___
Python tracker
<https://bugs.python.org/is
Terry J. Reedy added the comment:
hyperparser.py, line 13, _ASCII_ID_CHARS
line 15, _ASCII_ID_FIRST_CHARS, frozenset(string.ascii_letters + "_")
Only used on line 18 and 21 to create 128 item lookup tables. The point is to
be fast as hyperparser scans multiple chars when inv
Terry J. Reedy added the comment:
editor.py, line 809, IDENTCHARS
Used in the immediately following def colorize_syntax_error on line 814.
if char and char in self.IDENTCHARS:
text.tag_add("ERROR", pos + " wordstart", pos)
I believe the intent is to
Terry J. Reedy added the comment:
undo.py, line 254, alphanumeric
Used in immediately following lines to classify chars as 'alphanumeric',
'newline', or 'punctuation' (the default). I believe I have only ever looked
at this module to add the test code at the
Terry J. Reedy added the comment:
autocomplete.py, line 33, ID_CHARS is only used on line 137 to find the prefix
of an identifier when completions have been explicitly requested.
while i and (curline[i-1] in ID_CHARS or ord(curline[i-1]) > 127):
i -
Terry J. Reedy added the comment:
autoexpand.py, line 20, wordchars
'wordchars' is correct here since words beginning with digits can be expanded.
>>> s = '0x4f334'
>>> 0x4f334 # Hit alt-/ after 0 and enter
324404
Used in line 89 in method getprevword
Terry J. Reedy added the comment:
There have been occasional discussions about IDLE not being properly unicode
aware in some of its functions. Discussions have foundered on these facts and
no fix made.
1. The direct replacement string, your 'identcontchars', seems too bi
Terry J. Reedy added the comment:
I checked for other possible ascii only problems and only found
config_key.py: 14: ALPHANUM_KEYS = tuple(string.ascii_lowercase + string.digits)
config_key.py: 39: if 'Shift' in modifiers and key in
string.ascii_lowercase:
config_
Terry J. Reedy added the comment:
Serhiy, thanks for the list. I can see it as either justifying or refuting the
proposal. So +-1 for the moment.
(I opened #45692 to eliminate the duplication in idlelib.)
--
nosy: +terry.reedy
___
Python tracker
New submission from Terry J. Reedy :
IDLE currently defines the same set of chars in 5 places with 5 names. (Listed
by Serhiy Storchaka in #45669.)
Lib/idlelib/autoexpand.py:20:wordchars = string.ascii_letters +
string.digits + "_"
Lib/idlelib/undo.py:254:al
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue45647>
___
___
Python-bugs-list m
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue45646>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
By 'it' I meant the comment and 2.6 compatibility you asked about.
--
___
Python tracker
<https://bugs.python.o
Change by Terry J. Reedy :
--
assignee: terry.reedy ->
components: +Tkinter, macOS -IDLE
status: open -> closed
___
Python tracker
<https://bugs.python.org/i
Terry J. Reedy added the comment:
Yes, revise and retest your branch and push it.
--
___
Python tracker
<https://bugs.python.org/issue45584>
___
___
Python-bug
Terry J. Reedy added the comment:
Lukasz, is 'delete it' the no-brainer it seems to be?
--
nosy: +lukasz.langa, terry.reedy
___
Python tracker
<https://bugs.python.o
Terry J. Reedy added the comment:
Python has async frameworks other than anyncio. At least one is much older
than asyncio. I think that this proposal to run one by default, on startup,
should be rejected.
>My script must be able to run properly without any special setup.
Then write
Change by Terry J. Reedy :
--
nosy: +lukasz.langa, pablogsal
stage: -> test needed
versions: -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Windows people, do we support running on WSL? Is there a buildbot running it?
--
nosy: +terry.reedy
stage: -> test needed
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Current docs:
math.ceil(x)
Return the ceiling of x, the smallest integer greater than or equal to x.
If x is not a float, delegates to x.__ceil__(), which should return an Integral
value.
math.floor(x)
Return the floor of x, the largest integer
Change by Terry J. Reedy :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
___
Python tracker
<https://bugs.python.org/issue45
Change by Terry J. Reedy :
--
assignee: terry.reedy ->
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> tkinter.filedialog linked with Tk 8.6.11 crashes on macOS 12
Monterey, breaking IDLE saves
title: Error In opening a file throug
Change by Terry J. Reedy :
--
nosy: -terry.reedy
___
Python tracker
<https://bugs.python.org/issue45466>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
How about: create a fake test file test/test_xintperf with test case and test
method(s) that run timeit with a suite of int operations and print report.
Create 'draft' PRs for main and 3.10 (and 3.9?). Run just this test on
buildbots. (I beli
Change by Terry J. Reedy :
--
stage: -> test needed
title: input() method limited to 4095 characters on *NIX -> Batch-mode input()
limited to 4095 characters on *NIX
versions: +Python 3.11 -Python 3.10, Python 3.6, Python 3.7, Python 3.8, Pytho
Terry J. Reedy added the comment:
#43476 is clearly an enhancement request. It proposes to stash info in the GUI
process in a way that lets it be into from the other process by non-standard
means.
This is closer to a bugfix request in that successive lines have a different
response in
Terry J. Reedy added the comment:
The method to run just code in userspace, without involving the debugger or
history list, is runcommand. It needs a code string. The hard part is the
code needed to recreate the exception instance in the user space. It will be
different for SyntaxError
Terry J. Reedy added the comment:
This is most likely an oversight. It affects both normal and -n mode. The
three sys attributes can be written. Given the error instance e caught in the
IDLE process, we need to execute, *in the user namespace*,
sys.last_type, sys.last_value
Change by Terry J. Reedy :
--
stage: patch review -> needs patch
versions: +Python 3.11 -Python 2.7, Python 3.3, Python 3.4
___
Python tracker
<https://bugs.python.org/issue1
Terry J. Reedy added the comment:
In Windows, I now get the Mark's macOS result instead of the Z.D.Error.
>>> (1.0+0j)**(float('inf') + 0j)
(nan+nanj)
Has there been a revision of complex ** on another issue such th
Terry J. Reedy added the comment:
_bootstrap_external also appears to be undocumented. It does has
_NamespaceLoader among its 77 entries.
--
___
Python tracker
<https://bugs.python.org/issue18
Terry J. Reedy added the comment:
Or should this be marked for 3.11?
--
versions: -Python 2.7
___
Python tracker
<https://bugs.python.org/issue5120>
___
___
Terry J. Reedy added the comment:
Can we close this? I expect that if crashes were still happening from this
cause, there would be a newer issue.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue5
Terry J. Reedy added the comment:
Nick, is this issue still needed?
--
nosy: +terry.reedy
title: Document that runpy.run_path and run_module copy the module globals ->
Doc that runpy.run_path and run_module copy module globals
versions: +Python 3.11 -Python 2.7, Python 3.3, Pyt
Terry J. Reedy added the comment:
Close this? As near as I can tell, there is currectly no doc for
importlib._bootstrap ('_bootstrap' neither in Index nor importlib doc). Also,
it does not currently contain NamespaceLoader (not in dir(importlib._bootstrap).
--
nosy: +t
Change by Terry J. Reedy :
--
type: -> behavior
___
Python tracker
<https://bugs.python.org/issue43678>
___
___
Python-bugs-list mailing list
Unsubscrib
Terry J. Reedy added the comment:
I presume something like this:
>>> {}.get(vars=1)
Traceback (most recent call last):
File "", line 1, in
{}.get(vars=1)
TypeError: get() takes no keyword arguments # 3.8+
Report is 3.7.
--
nosy: +terry.reedy
resolution: re
Terry J. Reedy added the comment:
As the title suggested, this is a generic help(module) issue that involves
several library modules, including idlelib. It just happened to be reported
for 2to3. For example, the generated text for
import idlelib; help(idlelib)
includes
MODULE
Terry J. Reedy added the comment:
The current behavior is documented in Help => IDLE Help "User output in Shell".
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://b
Terry J. Reedy added the comment:
More specific would be "Inheriting from multiple exceptions may fail due to
instance layout conflicts. Such conflicts may depend on the Python version."
This would effectively say "Don't bother reporting layout conflicts -- we know
abo
Terry J. Reedy added the comment:
EP, do you have any insight into these issues? Why does 8.6.11 result in test
failures? Bug in our test or in tk?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue45
Change by Terry J. Reedy :
--
nosy: +epaine
___
Python tracker
<https://bugs.python.org/issue45436>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Unfortunately, no. The standard stream replacements were renamed to
StdOutputFile, etc, and slightly revised, but the buggy behavior remains. The
worst is that shell restart does not completely restart the shell. It has to
be closed instead.
I would
Terry J. Reedy added the comment:
I believe standard interpreter only adds '' to path after its startup. But it
might be vulnerable to shadowing of delayed imports.
--
___
Python tracker
<https://bugs.python.o
Terry J. Reedy added the comment:
I was CC-ed on a response to a user who reported module shadowing as a security
issue. If it is disabled by default, we could add an option to enable for
intentional experiments. See idle.py.
--
___
Python
Terry J. Reedy added the comment:
I emailed the OP reporting the fix, which will be in the next releases of 3.10
and 3.11.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bug
Terry J. Reedy added the comment:
New changeset 42ac06dcd234bdda989dcfe854ac5173337024c9 by Terry Jan Reedy in
branch 'main':
bpo-45495: Add 'case' and 'match' to IDLE completions list. (GH-29000)
https://github.com/python/cpython/commit/42ac06dcd2
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +27282
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/29000
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
We can add the mac change once it is manually tested on some system. I may try
on my macbook. Windows will be another PR or even issue.
--
___
Python tracker
<https://bugs.python.org/issue45
Terry J. Reedy added the comment:
That is because they are not keywords in keyword.kwlist. But we can add them
to the completion list. Thanks for transferring the report.
--
stage: -> test needed
type: -> behavior
___
Python tracker
Change by Terry J. Reedy :
--
title: IDLE: Add match and case -> IDLE: Add match and case to completions
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Thanks for the ready-to-go patch.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
New changeset 855d6247adb39d4e38b698b89e519587318abd80 by Miss Islington (bot)
in branch '3.10':
[3.10]bpo-45463: Clarify that global statements allows multiple names
(GH-28851) (GH-28989)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
New changeset ac1b7a3319f268487c310ac7449703193f5eddad by Miss Islington (bot)
in branch '3.9':
[3.9]bpo-45463: Clarify that global statements allows multiple names (GH-28851)
(GH-28990)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
New changeset 4ecd119b007cb766b8bede2dc78b70d29cd932dd by Luca Chiodini in
branch 'main':
bpo-45463: Clarify that global statements allows multiple names (GH-28851)
https://github.com/python/cpython/commit/4ecd119b007cb766b8bede2dc78b70
Change by Terry J. Reedy :
--
nosy: +gvanrossum, kj
___
Python tracker
<https://bugs.python.org/issue45489>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Posting the idea to python-ideas list might generate interest and ideas.
--
nosy: +terry.reedy
stage: -> test needed
versions: +Python 3.11
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Suggestion: At the end of https://docs.python.org/3/bugs.html, add
"Creating a subclass that inherits from multiple exceptions may not work and
the potential conflicts may change in new versions."
--
assignee: -> docs@pyth
Change by Terry J. Reedy :
--
stage: -> patch review
title: Documentation inconsistency on the number of identifiers allowed in
global stmt -> Document that # of identifiers allowed in global stmt is plural
versions: +Python 3.10, Python 3.11, Pyth
Terry J. Reedy added the comment:
I suggest "Lambda expression parameters ...". Keep "Function parameters ..."
for the other.
Note that the first error is adding invalid outer parens, whereas the second is
adding inner parens for sublist.
-
Terry J. Reedy added the comment:
I believe that translation errors should be reported elsewhere, but I do not
see anything in https://docs.python.org/3/bugs.html. Adding something to the
English version of that doc would be covered here. Julien?
--
nosy: +mdk, terry.reedy
Terry J. Reedy added the comment:
Did you delete the old installation in the old location first?
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue45
Terry J. Reedy added the comment:
Steve, how do we make it so that "Edit with IDLE" appears when right-clicking
on a .pyi file in Windows explorer? As easy as on mac (see Ronald's answer
above)?
--
nosy: +steve.dower
___
Python
Terry J. Reedy added the comment:
In Paine's failing color test, the returned tuple is The returned tuple is
(0x4a48, 0x3c27, 0x8c91) versus (0x4a4a, 0x3c3c, 0x8c91), which is to say,
nearly correct. Since the tested call is
self._getints(self.tk.call('winfo', '
Terry J. Reedy added the comment:
Yes. After this issue is done, we should open a new issue and nosy Steve
Dower, who is in charge of that for Windows, and Ned Deily, in case anything
should be done on mac.
--
___
Python tracker
<ht
Terry J. Reedy added the comment:
I am going to call the file util.py and will work on a PR.
--
___
Python tracker
<https://bugs.python.org/issue45447>
___
___
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 380c44087505d0d560f97e325028f27393551164 by Terry Jan Reedy in
branch 'main':
bpo-20692: Add Programming FAQ entry for 1.__class__ error. (GH-28918)
https://github.com/python/cpython/commit/380c44087505d0d560f97e325028f2
Change by Terry J. Reedy :
--
pull_requests: +27209
pull_request: https://github.com/python/cpython/pull/28918
___
Python tracker
<https://bugs.python.org/issue20
Terry J. Reedy added the comment:
Whereas to me, 'not shaded' is easily the worst. Users can customize the
sidebar colors, but since the default is the same at the text, I would not want
to deliver IDLE with a scheme that I think is awful.
On Windows, I agree that the light theme
Change by Terry J. Reedy :
--
nosy: +taleinat
___
Python tracker
<https://bugs.python.org/issue45451>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Thank you for doing the research.
I have been thinking about adding a file containing idlelib 'leaf' objects,
those with no idlelib dependencies, which are needed in more than one file.
would be to reduce the complexity of the idlelib depend
Terry J. Reedy added the comment:
No. The last version did not properly incorporate my suggestion, so I will make
a PR that I am willing to merge.
--
assignee: docs@python -> terry.reedy
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
It should be fairly easy to recognize x.pyi as a python file. Just have to
find the place. Something like
def f(i:int) -> int: ...
would have 'def' and 'int' highlighted.
--
___
Change by Terry J. Reedy :
--
title: test_ttk test_compound and test_tk test_type fails with Tk 8.6.11.1 ->
test_ttk test_compound, test_tk test_type fail with Tk 8.6.11.1
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
stage: commit review -> resolved
___
Python tracker
<https://bugs.python.org/issue45353>
___
___
Python-bugs-list mailing list
Un
301 - 400 of 12707 matches
Mail list logo