Terry J. Reedy added the comment:
Your example is 4 spaces, 3 (non-space) chars, 2 spaces, 3 chars, 2 spaces.
With the cursor after the 2 internal spaces, backspace deletes 1 space, not 2.
However, with the first block expanded from 3 chars to 4, backspace deletes
both spaces.
Without out
Terry J. Reedy added the comment:
The Mac-specific shutdown warning from multiprocessing is not directly related
to IDLE. 'multiprocessing' is not imported by IDLE and is not in sys.modules
when IDLE starts.
>From 'all-day' I assume that there was a time period be
Terry J. Reedy added the comment:
Serhiy, should 'text' be '!text' in a tkinter-generated widget name?
--
___
Python tracker
<https://bug
Change by Terry J. Reedy :
--
title: IDLE: problem -> IDLE: problems with completions on Mac
___
Python tracker
<https://bugs.python.org/issue41611>
___
___
Py
Terry J. Reedy added the comment:
On my Macbook Air Mohave, I don't get completion boxes on either 3.8.3rc1 or
3.9.0rc1, even when clicking Edit => Show completions. Nor does IDLE quit or
print anything in Terminal.
--
___
Python tracker
Terry J. Reedy added the comment:
Tim, I have been reading this, without examining all the details, to learn more
about FP accuracy problems.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
Active voice is strongly recommended for docstrings in PEP 257 and commit
messages somewhere in the Developer guide and applies to docs. The doc for the
asyncio call_x functions all start with the active voice: 'Schedule', which is
the main act
Terry J. Reedy added the comment:
New changeset 7173fc84e61b80b19261e47fca38030206a3a78e by wyz23x2 in branch
'master':
bpo-41573: Update release versions in General FAQ (GH-21915)
https://github.com/python/cpython/commit/7173fc84e61b80b19261e47fca38030206a3a78e
-
Terry J. Reedy added the comment:
PEP 8 discourages the use of bare except.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
New changeset 429a86a12016ae42ea32d754e0725cbee8e99808 by Miss Islington (bot)
in branch '3.9':
bpo-41573: Update release versions in General FAQ (GH-21915) (#21938)
https://github.com/python/cpython/commit/429a86a12016ae42ea32d754e0725c
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
versions: -Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issue37426>
___
___
Python-bugs-list mailin
Change by Terry J. Reedy :
--
stage: -> resolved
status: open -> closed
versions: -Python 3.8, Python 3.9
___
Python tracker
<https://bugs.python.org/i
Terry J. Reedy added the comment:
Pending improving the our docs, I would like to replace the Archive link, which
is slow to respond. Issue: there is no copyright notice. Once might expect it
to belong to NMT, but they seem to have disowned it by removing the web pages.
The dead links
Change by Terry J. Reedy :
--
stage: patch review -> needs patch
versions: -Python 3.5
___
Python tracker
<https://bugs.python.org/issue37149>
___
___
Python-
Terry J. Reedy added the comment:
Mika and supriya: this is not a 'forum'. It is a workspace for discussing
possible and actual improvements to out githup python/cpython and
python/devguide repositories via github pull requests. (Other python
repositories have their own discuss
Terry J. Reedy added the comment:
The docs are normative as well as descriptive. The specific doc for sys.argv
is https://docs.python.org/3/library/sys.html#sys.argv. It says that a proper
Python stdlib sys module has an args attribute that is a non-empty list whose
first item is a string
Terry J. Reedy added the comment:
You should justify the proposed change here on the issue, and see if the doc
says anything about the issue either way.
--
nosy: +ezio.melotti, michael.foord, rbcollins, terry.reedy
___
Python tracker
<ht
Terry J. Reedy added the comment:
Base facts: The Unicode Character Database, UCD, is defined in Tech Report 44,
https://www.unicode.org/reports/tr44/. The latest files (now for 13.0) are at
https://www.unicode.org/Public/UCD/latest/ and in particular, in the ucd
subdirectory. ucd
Terry J. Reedy added the comment:
If it is otherwise possible to user-only install both 32 and 64 bit versions,
then using the same site-packages strikes me a bug, even if only fixed in the
next version.
--
nosy: +terry.reedy
___
Python tracker
Change by Terry J. Reedy :
--
title: __class__ not set defining 'X' as . Was
__classcell__ propagated to type.__new__? -> __class__ not set defining 'X' as
___
Python tracker
<https://
Terry J. Reedy added the comment:
New changeset a1473d2c9106abbdc619bdcc973c15a87e3f0f12 by Miss Islington (bot)
in branch '3.8':
bpo-41634: Fix a typo in the curses documentation (GH-21958)
https://github.com/python/cpython/commit/a1473d2c9106abbdc619bdcc973c15a87e3f0f12
-
Terry J. Reedy added the comment:
New changeset 6b5e88744cb48156a5dee47244dbc1b0dd82567c by Miss Islington (bot)
in branch '3.9':
bpo-41634: Fix a typo in the curses documentation (GH-21958)
https://github.com/python/cpython/commit/6b5e88744cb48156a5dee47244dbc1
Terry J. Reedy added the comment:
Karthikeyan, I went ahead and merged and closed this trivial fix because I
could not imagine any reason to hold it up.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
_
Terry J. Reedy added the comment:
On Windows, I get an indefinite hang rather than an overt crash with a crash
box. I believe that there was some swapping out to disk. I got the same with
list(itertools.count()).
If you got a core dump or crash report, you might upload it.
There is
Terry J. Reedy added the comment:
I agree that a second verb might be better but 'is' is wrong. How about
Python has ... and uses a simple but effective approach ..
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.o
Change by Terry J. Reedy :
Removed file: https://bugs.python.org/file49430/Screenshot_2020_0828_104656.png
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
I am replacing the text snippet screenshot with a link to the online doc:
https://docs.python.org/3/c-api/init.html#c.Py_Initialize
The only encoding python 'forces' in recent Python is utf-8 in utf-8 mode and
on some systems. See
https://docs.
Terry J. Reedy added the comment:
I just noticed that Py_Initialize "does not set sys.argv; use PySys_SetArgvEx()
for that."
https://docs.python.org/3/c-api/init.html#c.Py_Initialize
https://docs.python.org/3/c-api/init.html#c.PySys_SetArgvEx
void PySys_SetArgvEx(int argc, wchar_t *
Terry J. Reedy added the comment:
New link works and I read it, including the reference to #839151.
--
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
I had the same idea late last night, though after 20 years, I have forgotten
how to spell "['']" in C. (Is some sort of allocation or declaration
required?).
In the doc, change "It does not set sys.argv; use PySys_SetArgvEx() for t
Terry J. Reedy added the comment:
sys.argv cannot be set until sys exists. As I mentioned above, subsequent
calls before finalization must continue to be no-ops.
Code that depends on a bug, in this case of sys.argv not existing, is always
vulnerable. In this case, I would expect that
Terry J. Reedy added the comment:
I am assuming that Murat is correct that the only problem is confusion between
'Shell' (which is a subclass of the base editor window) and Editor Window
(which is a different subclass). For further help, please to to a general
forum, such as p
Terry J. Reedy added the comment:
New changeset 6844b56176c41f0a0e25fcd4fef5463bcdbc7d7c by Marek Madejski in
branch 'master':
bpo-41528: Use math module in turtle (GH-21837)
https://github.com/python/cpython/commit/6844b56176c41f0a0e25fcd4fef5463bcdbc7d7c
--
nosy: +t
Change by Terry J. Reedy :
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Terry J. Reedy added the comment:
For future reference, bpo has a search function. Searching with component =
IDLE and status = Closed or Don't care would have found this.
--
resolution: -> fixed
stage: -> resolved
status: open -> closed
superseder: -> IDLE
Terry J. Reedy added the comment:
You could post a suggested replacement for a couple of the expressions, with
the warning that we would not necessarily use it. math.hypot has recently be
worked over so that it is perhaps more accurate than the standard C version
Terry J. Reedy added the comment:
This is a duplicate of an existing tkinter and Linux issue we don't know how to
fix. #40452
--
components: +Tkinter -IDLE
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Tkinter/IDLE: preserve cli
Terry J. Reedy added the comment:
I closed duplicate issue #41709, Linux Mint 19.3, python 3.6.8
--
versions: -Python 3.7
___
Python tracker
<https://bugs.python.org/issue40
Terry J. Reedy added the comment:
Minimal example
>>> a{ # or
>>> a {
In 3.8, this is immediately flagged as a SyntaxError. In 3.9 and master, a
continuation prompt is issued. This strikes me as a parsing buglet that should
preferably be fixed, as it implies that some
Change by Terry J. Reedy :
--
components: +Library (Lib)
stage: -> test needed
type: -> enhancement
versions: +Python 3.10
___
Python tracker
<https://bugs.python.org/i
Change by Terry J. Reedy :
--
nosy: +yselivanov
stage: -> needs patch
versions: +Python 3.10 -Python 3.7
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
versions: -Python 3.7
___
Python tracker
<https://bugs.python.org/issue41687>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The original title was "Why does not range() support decimals?". In general,
such questions should be directed to question forums, such as
https://mail.python.org/mailman/listinfo/python-list or stackoverflow.com.
This question has been answer
Terry J. Reedy added the comment:
On Windows with current master, the baseline for running anything with 1 import
(">>> import sys; len(sys.modules)") is 35 imported modules. Adding "import
unittest" increases this to 80. What slightly puzzles me is that
New submission from Terry J. Reedy :
f:\dev\3x>python -m test test.test_winconsoleio
Running Debug|Win32 interpreter...
0:00:00 Run tests sequentially
0:00:00 [1/1] test.test_winconsoleio
ÄÄ^Z^Z^Z^Z^Z^Z^Z^Z^Z^Z
It quickly fails, prints seems garbage and several blanks li
Terry J. Reedy added the comment:
test_consoleio now fails and hangs for me. Issue 41729.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue38
Terry J. Reedy added the comment:
Running test -v test_winconsoleio showed that the hang is in test_cntl_z.
With that commented out, I get failures in test_input (1st assert) and
test_partial_reads and some bizarre console behavior.
F:\dev\3x>python -m test -v test_winconsoleio
Running De
Terry J. Reedy added the comment:
After splitting the two reads onto two lines, the indefinite hang happens in
the second one, stdin.readall.
def test_ctrl_z(self):
with open('CONIN$', 'rb', buffering=0) as stdin:
source = '\xC4\x
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +21228
stage: needs patch -> patch review
pull_request: https://github.com/python/cpython/pull/22146
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
I was assuming that the default was 1, not 0. But now that CI tests pass code
as is, I will leave it alone.
--
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
New changeset 06d0b8b67e8aebd8fe4c34e97d6915c11f4afa30 by Mark Roseman in
branch 'master':
bpo-37149: Change Shipman tkinter link from archive.org to TkDocs (GH-22188)
https://github.com/python/cpython/commit/06d0b8b67e8aebd8fe4c34e97d6915
Terry J. Reedy added the comment:
New changeset 8a30bdd21dff6d1957df135c9d0b9983a0f61228 by Miss Islington (bot)
in branch '3.8':
bpo-37149: Change Shipman tkinter link from archive.org to TkDocs (GH-22188)
(#22193)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
The tkdocs pages load in less than a second rather than in several seconds,
have the obsolete link lined out, and include a short explanatory note. So I
made the replacement.
Ned, please backport to 3.7 and 3.6 if still built nightly
Terry J. Reedy added the comment:
Vitaly, when you repost to posts by email, please delete the post you are
responding to, expect possible for a particular line. The full post is already
here on the web page above the response, and a duplicate copy is just noise
that wastes screen space
Change by Terry J. Reedy :
--
versions: +Python 3.10 -Python 3.7
___
Python tracker
<https://bugs.python.org/issue38240>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
Issue 38240 was closed as a duplicate of this. After reconsidering, I agree
with leaving the name alone. Changing test assertXXX method names is a big
nuisance, which we have done enough of.
If one is using IDLE,
>>> unittest.TestCase.assertC
Terry J. Reedy added the comment:
Steve, as author of the file and line in question, do you have any objection to
changing it?
--
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
An OSError for a file the OS can read seems a bit off. What is the
accompanying message? Would something like ValueError("bz2 compressor failed
with BZ_DATA_ERROR") be better?
Michał, are there precedents or models for this in the other file c
Terry J. Reedy added the comment:
I verified with master on Win10 debug 32 build. The relevant lines, 147-151, are
if verbose > 1:
print('Output from test script %r:' % script_exec_args)
print(repr(err))
print('Expected output:
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +21260
stage: -> patch review
pull_request: https://github.com/python/cpython/pull/22206
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
title: Improper NotADirectoryError when opening a file under a fake directory
-> Improper NotADirectoryError when opening a file in a fake directory
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
https://docs.python.org/3/library/configparser.html#exceptions, like similar
sections for other module docs, lists and explains the non-builtin exceptions
defined and used in the module. Functions in all modules can potentially raise
various builtin
Terry J. Reedy added the comment:
Bound is created with 5 public attributes:
>>> dir(bound)
[..., 'apply_defaults', 'args', 'arguments', 'kwargs', 'signature']
>>> bound.args
()
>>> bound.arguments
{}
>>&
Terry J. Reedy added the comment:
The opening message confused me by using 'need' as 'currently required to call'
rather than 'required to compute (test) and necessarily needed to call'; but
after reading the code, I believe I understand and modified title to m
Change by Terry J. Reedy :
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Can't pass Path like objects to subprocess api's on Windows.
___
Python tracker
<https://b
Terry J. Reedy added the comment:
Also, 3.7 only get security patches.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue41753>
___
___
Terry J. Reedy added the comment:
I closed #41753 as a duplicate of this.
On that issue, Eryk Sun said "The underlying subprocess.Popen class was updated
in 3.8 to support path-like objects in `args` (with shell=False) and
`executable` on Windows [1]. This change was not backported t
Terry J. Reedy added the comment:
There is discussion on pydev about formally deprecating distutils, which would
deprecate that snippet.
--
nosy: +dstufft, eric.araujo, terry.reedy
___
Python tracker
<https://bugs.python.org/issue41
Change by Terry J. Reedy :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue41760>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I cannot reproduce on Win 10, 32bit repository debug builds, amd64 machine,
with either current master or 3.8, started from command prompt in normal
environment with same command. I also used installed 3.9 a bit.
Are .pyenv and pyenv-win your names or do
Terry J. Reedy added the comment:
Two issues about Sphinx 3.2.1 failing with "duplicate token description"
(posted on both)
#41760 'sign', multiple people nosy, failed where?
#41762 'format_spec', on Travis, PR by Victor Stinner (2.2.0 okay)
Terry J. Reedy added the comment:
Two issues about Sphinx 3.2.1 failing with "duplicate token description"
(posted on both)
#41760 'sign', multiple people nosy, failed where?
#41762 'format_spec', on Travis, PR by Victor Stinner (2.2.0 okay)
Terry J. Reedy added the comment:
Are you the Elisha Paine that suggested the original fix?
I am still interested in the subject, but there are a lot of factors to
consider.
Rereading #33656, I disagree that IDLE is lying; tk scales on startup and
others agreed with the current setting
Terry J. Reedy added the comment:
New changeset 31c9828ec026e5d9b9122d55bf0aa7cb45bfecc5 by Terry Jan Reedy in
branch 'master':
bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146)
https://github.com/python/cpython/commit/31c9828ec026e5d9b9122d55bf0aa7
Terry J. Reedy added the comment:
I use signature for IDLE call tips, but have never used .bind and subsequent
calls. After understanding the behavior, my question as initial reviewer is
whether it is an *implementation* bug. Perhaps, but not obviously so.
Whether or not it is a design
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 c2577b9e0e2f8652f079b4ac473347c63f15e25c by Miss Islington (bot)
in branch '3.9':
bpo-41729: Fix test_winconsole failures (3) and hang (GH-22146)
https://github.com/python/cpython/commit/c2577b9e0e2f8652f079b4ac473347
Terry J. Reedy added the comment:
New changeset 7e711ead26fea6465e0ef2e3b8880b57ba8fc129 by Terry Jan Reedy in
branch 'master':
bpo-41731: Make test_cmd_line_script pass with -vv (GH-22206)
https://github.com/python/cpython/commit/7e711ead26fea6465e0ef2e3b8880b
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Terry J. Reedy :
The IDLE Shell window title is set with pyshell line 836
shell_title = "Python " + python_version() + " Shell"
The python_version() part was added in March 2013 by the first patch for issue
17390: https://hg.python.org/cpython/r
Terry J. Reedy added the comment:
The Xfce task switcher appears to be showing the tk widget '_class' option.
When tkinter create a tk widget, it by default sets the 'class' option to the
tkinter class name. This is 'Tk' and 'Toplevel' respectively
Terry J. Reedy added the comment:
Sreedevi: the Windows tag is meant for issues that involve Windows behavior
that is different from other OSes; the IDLE tag is meant for issues that
involve the behavior of IDLE, as distinct from other ways of running Python
code. They should not be used
Terry J. Reedy added the comment:
If you want to pursue, you might try python-list to find other users. I am not
sure if this change really qualifies for python-ideas.
--
___
Python tracker
<https://bugs.python.org/issue41
Terry J. Reedy added the comment:
I ran turtledemo and played with colormixer a few years ago, so slightly older
Windows should not matter. Was Python installed with the python.org installer?
(The appdate path suggests so.) Your single-user versus my all-user install
should not matter
Terry J. Reedy added the comment:
I should have suggested that you upload the test results as a file. Anyway, 8
errors: the two locale failures I expected (failures #1, #6), test_distutils
(#5, multiple failures), test_compileall (#4), and failures for buffer (#2),
copy_reg (#3), pickle
Terry J. Reedy added the comment:
Another oddity of this crash is that Python usually checks stack usage and
raise RecursionError when the limit is reached. Event handling apparently can
bypass this.
I opened python-list thread "Need tests of turtledemo.colordemo on Windows
installa
Terry J. Reedy added the comment:
The main issue I have with the existing doc is its use of 'top-level' to mean
the main, initial, startup module that first executes the user code for a
python 'program'. We routinely use 'top-level' instead for the global scope
New submission from Terry J. Reedy :
Win10, master repository 32-debug build: test_locale and test__locale fail as
they have for a year. test_compileall test_asyncio failed as they have before,
but not a few weels ago.
*** PermissionError: [WinError 5] Access is denied:
'f:\\dev\\3x\\
Terry J. Reedy added the comment:
The backport to 3.9 is still pending. The bot claims that there is a merge
conflict. This should not happen because What's New in 3.9 should be identical
in master and 3.9. My guess is that someone only changed it in 3.9, though
another change in m
Terry J. Reedy added the comment:
This is definitely moot as the method was removed in #37328 (rather than in
#27032). Thanks for catching this.
--
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> remove deprecated HTMLPar
Change by Terry J. Reedy :
--
pull_requests: +21344
pull_request: https://github.com/python/cpython/pull/22293
___
Python tracker
<https://bugs.python.org/issue27
Change by Terry J. Reedy :
--
nosy: +terry.reedy
nosy_count: 3.0 -> 4.0
pull_requests: +21345
pull_request: https://github.com/python/cpython/pull/22293
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
New changeset 4daeb9eec294f73a5811ef6ab3a0f8e61174a24c by Terry Jan Reedy in
branch '3.9':
[3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288)
https://github.com/python/cpython/commit/4daeb9eec294f73a5811ef6ab3a0f8
Terry J. Reedy added the comment:
New changeset 4daeb9eec294f73a5811ef6ab3a0f8e61174a24c by Terry Jan Reedy in
branch '3.9':
[3.9] bpo-27032, bpo-37328: Document removing HTMLParser.unescape() (GH-22288)
https://github.com/python/cpython/commit/4daeb9eec294f73a5811ef6ab3a0f8
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from Terry J. Reedy :
The 3.9 copy is 5 lines longer, meaning that after the b1 split, something was
added to 3.9 directly instead of to master first and backported, or added to
both and deleted from master.
Lukasz, is checking the two copies part of the final release process
Change by Terry J. Reedy :
--
nosy: +terry.reedy
nosy_count: 8.0 -> 9.0
pull_requests: +21347
pull_request: https://github.com/python/cpython/pull/22294
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +21346
stage: test needed -> patch review
pull_request: https://github.com/python/cpython/pull/22294
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
The 3.9 copy (only) of What'New 3.9, line 882 has duplicated words 'deprecated
deprecated'. I made a branch off of updated 3.9 to fix this and pushed to my
fork, but github repeated refuses to make a PR (against 3.9), giving me the
unico
4001 - 4100 of 13135 matches
Mail list logo