Terry J. Reedy added the comment:
I don't think my suggestion is much better either, and I otherwise agree with
Serhiy. There are a thousand+ more important doc issues.
--
resolution: -> rejected
stage: -> resolved
status: ope
Terry J. Reedy added the comment:
Part of my reason for closing is that we have an index entry "iskeyword() (in
module keyword)" to help anyone who tries the function as a method. But I am
reopening for 2 reasons:
1. I think the following is a better improvement that reads bett
Change by Terry J. Reedy :
--
title: Clarify doc string for str.isidentifier() -> Clarify str.isidentifier
docstring, fix keyword.iskeyword docstring
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Debating historical design decisions that effectively cannot be changed is off
topic for the tracker (but fair game on python-list). However, I will explain
this much. The s.isxyz questions are answered by examining the characters and
codepoints in s
Change by Terry J. Reedy :
--
nosy: +willingc -serhiy.storchaka
title: Clarify str.isidentifier docstring, fix keyword.iskeyword docstring ->
Clarify str.isidentifier docstring; fix keyword.iskeyword docstring
versions: -Python 2.7, Python 3.6, Python
Change by Terry J. Reedy :
--
versions: +Python 2.7, Python 3.6, Python 3.8
___
Python tracker
<https://bugs.python.org/issue33014>
___
___
Python-bugs-list mailin
Change by Terry J. Reedy :
--
nosy: +lukasz.langa
___
Python tracker
<https://bugs.python.org/issue28788>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
George, your third sentence is missing a closing ')' somewhere. In the first
part, I believe you meant that the user is able to create a bad file by
directly writing other content or calling cf.write more than once. I don't get
the part a
Change by Terry J. Reedy :
--
nosy: +berker.peksag
___
Python tracker
<https://bugs.python.org/issue28788>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
As I posted above, keywork.iskeyword already has a bizarrely incorrect
docstring, so how can there be a performance impact? And why single out such a
rarely used function?
--
___
Python tracker
<ht
Terry J. Reedy added the comment:
Separate PRs for doc and code changes will be needed anyway if the code change
is restricted to 3.8.
To me, changing keyword.iskeyword.__doc__ from the irrelevant Python tautology
'x.__contains__(y) <==> y in x.' to something that says what t
Terry J. Reedy added the comment:
I cannot do anything from this bare description, as I cannot think of any
reason why stepping should introduce an error. It sounds like there are two
files involved. Try to reduce them to the minimum needed to reproduce the
issue and then upload
Terry J. Reedy added the comment:
I think the issues are slightly different. #12486 is about the awkwardness of
the API. This is about a false error after jumping through the hoops, which I
think Steve B did correctly.
Following the link, the Other_ID_Continue chars are
00B7
Terry J. Reedy added the comment:
Joshua opened #24194 as a duplicate of this because he could not reopen this.
I am leaving it open as the superseder for this as Serhiy has already added two
dependencies there, and because this seems to be a duplicate in turn of
#1693050 (which I will
Terry J. Reedy added the comment:
Actually, #1693050 and #12731, about \w, are duplicates.
--
___
Python tracker
<https://bugs.python.org/issue9712>
___
___
Pytho
Terry J. Reedy added the comment:
Whatever I may have said before, I favor supporting the Unicode standard for
\w, which is related to the standard for identifiers.
This is one of 2 issues about \w being defined too narrowly. I am somewhat
arbitrarily closing #1693050 as a duplicate of this
Terry J. Reedy added the comment:
Whatever I may have said before, I favor supporting the Unicode standard for
\w, which is related to the standard for identifiers.
This is one of 2 issues about \w being defined too narrowly. I am somewhat
arbitrarily closing this as a duplicate of #12731
Terry J. Reedy added the comment:
I closed #1693050 as a duplicate of #12731 (the /w issue). I left #9712 closed
and closed #32987 and marked both as duplicates of this.
In msg313814 of the latter, Serhiy indicates which start and continue
identifier characters are currently matched by \W
Terry J. Reedy added the comment:
#24194 is about tokenize failing, including on middle dot. There is another
tokenize name issue, already closed. I referenced Serhiy's analysis there and
on the two \w issues, and closed one of them.
--
resolution: -> duplicate
stage: nee
Terry J. Reedy added the comment:
I repeated Julian's test with installed 3.7.0b2 on Windows 10 and there is no
crash when running either from a command line or from an IDLE editor. So
either the issue has been fixed since 3.6.2, or it is specific to some
undisclosed system or cla
Terry J. Reedy added the comment:
Our ttk doc, https://docs.python.org/3/library/tkinter.ttk.html#item-options,
here copies the tk doc: "The list of values associated with the item." It
should say 'tuple or list', but that is a generic (and separate) issue of our
ttk
Terry J. Reedy added the comment:
bugs.python.org is for issues about patching the Python docs or the CPython
implementation, for future releases. Questions about using python/cpython
should go to Q&A forums, such a python-list or Stackoverflow.
--
nosy: +terry.reedy
resolu
Terry J. Reedy added the comment:
I think 'sequential numbers' would be slightly better than 'sequence numbers'.
To be, it better includes stepped and descending sequences. (Enough better
that I would be willing to do the PR and merge.) Otherwise, I think leave it
alo
Terry J. Reedy added the comment:
It is against Guido's general policy to add things not needed purely for
consistency. Unless there is a compelling use case, I think this should be
closed.
FHTM: I don't think Serhiy posts on SO, so you might consider adding his answer
to yours,
Terry J. Reedy added the comment:
I copied the three lines into a file, deleted '> ', added print('done'), and
saved. I ran the file, on Windows 10, with installed 2.7, 3.5, 3.6, and
repository 3.6, 3.7, and 3.8. No failures.
Adrien, please retest by copying what
Terry J. Reedy added the comment:
Thank you for the improved example. From Command Prompt, I now see
f:\dev\37>python -m trace -c f:/python/a/tem2.py
Running Debug|Win32 interpreter...
Traceback (most recent call last):
File "f:\dev\37\lib\runpy.py", line 193, in _run_m
Terry J. Reedy added the comment:
Reviewing Serhiy's patch, I changed my mind from 6 years ago (msg164774). I
may have over-estimated the difficulty; in any case the code patch is written.
(Tests are still needed.) And the code is rather straightforward and readable.
Beyond that,
Terry J. Reedy added the comment:
This was initially reported in pydev thread "ttk.Treeview.insert() does not
allow to insert item with iid=0" on 2018/3/16. Igor, you should have mentioned
on the thread that you had opened a tracker issue in response. It was only
happenstance
Terry J. Reedy added the comment:
The examples in the multiprocessing doc all put all multiprocessing calls
within a "if __name__ == '__main__':" statement. I know that this is necessary
on Windows, but don't know if or when it helps on other OSes.
Terry J. Reedy added the comment:
If the unforeseeable future arrives, someone can reopen or open a new issue.
--
nosy: +terry.reedy
resolution: -> wont fix
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bug
Change by Terry J. Reedy :
--
versions: -Python 3.5
___
Python tracker
<https://bugs.python.org/issue33117>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Two of your 3 suggested alternatives could lead to bugs. To use your example:
python -m mainmodule.submodule.foobar -o -b
is a convenient alternative and abbreviation for
python .../somedir/mainmodule/submodule/foobar.py -o -b
The two invocations should give
Terry J. Reedy added the comment:
Peter, please include x.y.z version with reports (and upgrade first if possible
;-). This was apparently fixed in #25532 last year for current versions. With
3.6.4 and 3.7.0b2 I get
Traceback (most recent call last):
File "F:\Python\a\tem2.py",
Terry J. Reedy added the comment:
Please make a specific suggestion for a change in a specific location in the
current online version of a particular doc -- the one you wish had been there
already.
--
nosy: +terry.reedy
___
Python tracker
<ht
Terry J. Reedy added the comment:
Yes. For 3.7 and 3.8, nothing appears until 41 seconds because test___all__
takes 40 seconds. For 3.6, the batch result appears at 37 seconds because
test___all__ runs in 36 seconds.
--
___
Python tracker
<ht
Terry J. Reedy added the comment:
inspect.signature(functools.reduce) raises, so I presume you mean the header
for the reduce entry at
https://docs.python.org/3/library/functools.html#functools.reduce. The first
line of the docstring, functools.reduce.__doc__, also displayed by
help
Terry J. Reedy added the comment:
Ewa handles recording of CAs.
--
assignee: -> docs@python
components: +Documentation
nosy: +Ewa.Jodlowska, docs@python, terry.reedy
stage: -> patch review
versions: +Python 3.8
___
Python tracker
Terry J. Reedy added the comment:
Can you write a test case that raises the exception? Use .read_string to
create the CF instance, as that calls .read_file, which calls ._read, which
calls ._join_multiline_values.
I wonder if we could delete .before_read and replace its call with the value
Terry J. Reedy added the comment:
python -m test -j0
--
___
Python tracker
<https://bugs.python.org/issue32823>
___
___
Python-bugs-list mailing list
Unsub
New submission from Terry J. Reedy :
Lib\idlelib\colorizer.py, line 25, is:
stringprefix = r"(?i:\br|u|f|fr|rf|b|br|rb)?"
The r prefix, but only the r prefix, must be preceded by a non-word character.
On pydev thread "IDLE colorizer", MRAB noted: "The \b will apply
Terry J. Reedy added the comment:
The current test is part of the htest. The section
# All valid prefixes for unicode and byte strings should be colored
contains "ur'is invalid'". This should be moved to a new section with other
invalid combinations.
# Invalid c
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +6054
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
To see the visually verified test, run Lib/idlelib/colorizer as the main
module, either from a command line or editor, and click the button.
--
stage: patch review -> test needed
___
Python tracker
<
Change by Terry J. Reedy :
--
stage: test needed -> patch review
___
Python tracker
<https://bugs.python.org/issue33204>
___
___
Python-bugs-list mai
Terry J. Reedy added the comment:
New changeset da58533ac67b01ce8f6466e6f03ff6b8b3bb04d5 by Terry Jan Reedy in
branch 'master':
bpo-33204: IDLE: consistently color invalid string prefixes (#6344)
https://github.com/python/cpython/commit/da58533ac67b01ce8f6466e6f03ff6
Terry J. Reedy added the comment:
Yes, still correct, as a keyword. Legal "x or''" is colored as "x"
"or" "''" . Legal "if'':" is colored as "if" "''"
":" ".
Change by Terry J. Reedy :
--
pull_requests: +6057
___
Python tracker
<https://bugs.python.org/issue33204>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 55966f3a0d5f1bf823bd22ce1abbde267b06552f by Terry Jan Reedy in
branch 'master':
bpo-33204: IDLE - revise and extend colorizer test. (GH-6347)
https://github.com/python/cpython/commit/55966f3a0d5f1bf823bd22ce1abbde
Terry J. Reedy added the comment:
My question about the idea is whether beginners would use this, or if it is the
sort of 'expert' feature that IDLE should avoid. I may ask on python-list for
more opinions.
https://stackoverflow.com/questions/49677886/python-idle-symbol-completio
Terry J. Reedy added the comment:
Vignesh: This issue tracker is for reporting bugs in the CPython interpreter.
Requests for help with problems with your code should go elsewhere, such as
pythonlist mail list or stackoverflow.com web site.
In this case, your problem is described in the
Terry J. Reedy added the comment:
We use 'crash' for, on Window, a process stopping either with no explanation or
a 'Your process has stopped box' from Windows.
In any case, PositionalList.py will not run without _DoublyLinkedBase.py, which
you did not upload.
The
Change by Terry J. Reedy :
--
title: shutil.rmtree fails when the inner floder is opened in Explorer on
Windows -> shutil.rmtree fails if inner folder is open in Windows Explorer
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue33251>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Nick and Raymond, I added both of you as nosy because, among other reasons, you
commented on the latest version of PEP575.
I agree that there is a bug in current CPython, in that the is* functions
should return, not raise, but I am not sure where is it, and
Terry J. Reedy added the comment:
[For future reference, if I were not closing this, I would ask the following:
Does 'on terminal mean that you started Python in interactive mode and then
entered lines in response to the '>>> prompt'? If so, did you start Python
fr
Terry J. Reedy added the comment:
The label has been changed. Senthil, go ahead and merge this.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
I believe I have seen this exact error message within the last few months, and
I found one example on SO.
https://stackoverflow.com/questions/21209124/weird-error-that-comes-up-during-python-program-run
--
nosy: +terry.reedy
Terry J. Reedy added the comment:
I would like python_coded_callable.__code__ to be the code object executed when
python_coded_callable is called, just as expected by the isxyz author(s). It
has to exist somewhere. Methods m and m3 both return 42 when called, and both
have the same code
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg315327
___
Python tracker
<https://bugs.python.org/issue33280>
___
___
Python-bugs-list m
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka, terry.reedy
___
Python tracker
<https://bugs.python.org/issue33297>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
It is standard in the Python stdlib that mutation methods usually return None
and never echo an input argument. If one can pass a node to
element.removeAttributeNode(node), there is no need to echo it back. So I
suspect that the current behavior is
Terry J. Reedy added the comment:
How about adding a sentence to the end of the first paragraph.
glob.glob(pathname, *, recursive=False)
Return a possibly-empty list of path names that match pathname, which must
be a string containing a path specification. pathname can be either
Terry J. Reedy added the comment:
Barry, thank you for your first submission.
You propose to test numbers.Complex.__bool__
def __bool__(self):
"""True if self != 0. Called for bool(self)."""
return self != 0
by adding the following to
Change by Terry J. Reedy :
--
stage: patch review -> needs patch
type: -> enhancement
___
Python tracker
<https://bugs.python.org/issue33284>
___
___
Pyth
Terry J. Reedy added the comment:
For future reference, 3.4 and 3.5 only get security fixes.
The quoted line of code is from the main part of
tkinter.colorchooser,Chooser._fixresult:
r, g, b = widget.winfo_rgb(result)
return (r/256, g/256, b/256), str(result)
where
Change by Terry J. Reedy :
--
versions: -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue33303>
___
___
Python-bugs-list mailin
Change by Terry J. Reedy :
--
nosy: +ezio.melotti, michael.foord, rbcollins
___
Python tracker
<https://bugs.python.org/issue33309>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
I guess I was not clear enough that I will test on Windows after someone else
does a backport that works on Linux.
--
___
Python tracker
<https://bugs.python.org/issue31
Terry J. Reedy added the comment:
I agree that anything that has the same FS-determined sorted or not behavior
should get the same note, for the same reason. Ben, can you test? Eryk, can
you enlighten us further?
PS: Ben, when responding by email, please delete the quote, as it is
Terry J. Reedy added the comment:
Big Stone: thank you for the clarification that IDLEX, and its patching of
idlelib, is not involved. WinPython is an independent augmented distribution.
Your suggestion about its IDLEX icon should be sent to its authors
Change by Terry J. Reedy :
--
stage: -> test needed
versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
components: +Library (Lib) -Tkinter
nosy: +gregorlingl, willingc
stage: -> test needed
type: behavior -> enhancement
versions: -Python 2.7, Python 3.4, Python 3.5, Python 3.6, Python 3.7
___
Python tracker
Change by Terry J. Reedy :
--
type: -> enhancement
versions: -Python 3.4, Python 3.5, Python 3.6, Python 3.7
___
Python tracker
<https://bugs.python.org/issu
Change by Terry J. Reedy :
--
assignee: -> docs@python
components: +Documentation
nosy: +docs@python
stage: -> needs patch
type: -> enhancement
versions: +Python 2.7, Python 3.6, Python 3.7, Python 3.8
___
Python tracker
<https://bug
Terry J. Reedy added the comment:
Thank you. Yes, we require a signed CA for something this non-trivial.
Victor, I don't know who maintains configure. If you don't, maybe you know who
does.
--
nosy: +terry.reedy, vstinner
stage: ->
Terry J. Reedy added the comment:
I am closing this as a duplicate of #12713. Paul, if you think that also
should be closed, say so there if you have not done so yet.
--
nosy: +terry.reedy
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -&
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka, twouters
versions: +Python 3.8 -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue33
Change by Terry J. Reedy :
--
components: +Windows
nosy: +paul.moore, steve.dower, tim.golden, zach.ware
stage: -> test needed
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
On my system: py -3.n -m test.test_regrtest (or test test_regrtest) fails for n
in {5, 6, 7}. 2.7 runs, but there are far fewer test methods. Repository
builds work fine.
--
nosy: +terry.reedy
stage: -> needs patch
type: -> behavior
ve
Terry J. Reedy added the comment:
ttk Label backgrounds work fine on Windows and, possibly, Linux (Serhiy?), and
even, possibly with tcl/tk 8.6 on macOS (Ned?). tk 8.6 for macOS has gotten
several bug fixes. C.D., please download and try out the python.org 3.7.0b3
macOS installer. It
Terry J. Reedy added the comment:
#21474 has the solution, which I plan to apply today.
--
keywords: +pep3121
resolution: -> duplicate
stage: -> resolved
status: open -> closed
superseder: -> Idle: updata fixwordbreaks() for unicode identifiers
title: Double clicking
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +6341
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Now-closed duplicate #33386 reported that μ, 0x3bc, is not selected as part of
identifiers when double clicking. This prompted some research.
The 'Windows' style imitates the behavior of Command Prompt, which I presume is
a carryover fro
Terry J. Reedy added the comment:
New changeset 5ff3a161c8a6b525c5e5b3e36e9c43f5a95bda60 by Terry Jan Reedy in
branch 'master':
bpo-21474: Update IDLE word/identifier definition from ascii to unicode.
(GH-6643)
https://github.com/python/cpython/commit/5ff3a161c8a6b525c5e5b3e36e9c43
Terry J. Reedy added the comment:
Thank you for the help. My immediate goal for IDLE is to fix unicode problems,
to the extent allowed by tk, before 3.7.0.
--
keywords: -patch
nosy: -miss-islington
resolution: -> fixed
stage: patch review -> resolved
status: open -&g
New submission from Terry J. Reedy :
The IDLE help doc viewer displays help.html in a tk Text subclass. This index
issue follows #25198, which fixed three immediate issues, and left the
following for later. When tackled, the items below should be separate issues
and PRs listed as
New submission from Terry J. Reedy :
Dependency of #33396.
1. Base the initial font sizes on the on the configured editor font size. Note
that editor font size defaults to 10 while the current base size is 12. I did
not find any explicit discussion of this in the original issue, #16893, or
Change by Terry J. Reedy :
--
dependencies: +IDLE help viewer: let users control font size
___
Python tracker
<https://bugs.python.org/issue33396>
___
___
Pytho
Change by Terry J. Reedy :
--
nosy: +csabella
___
Python tracker
<https://bugs.python.org/issue33397>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The files uploaded 2015-09-24 and 27 were merged later the same day. The merge
in between on 2015-09-25 was shorter and not uploaded separately. I opened
#33396 as an index issue for the other items and any new ones. I open #33397
for font sizing and
Terry J. Reedy added the comment:
PR6665 should get listed here as I changed the title to point here instead of
#25198
--
___
Python tracker
<https://bugs.python.org/issue33
Terry J. Reedy added the comment:
I reproduced the error on installed 2.7.14, running tk 8.5.18.
I ran TkinterCrash3-2-2.py 15 times on 64-bit Win10, installed x64 3.6.5, with
tk 8.6.8, and experienced no crashes. I ran it another 10 times with 32-bit
repository 3.8 debug and no crashes. My
Terry J. Reedy added the comment:
As I reported on the pydev thread "bpo-33257: seeking advice & approval on the
course of action", Firefox cannot find the string 'thread' in the tkinter
chapter of the official doc. Nor in the tkinter.ttk chapter. IDLE does not
fin
Terry J. Reedy added the comment:
Rerunning 2.7, I sometimes get the following almost immediately without
clicking [launch].
Exception in thread Thread-1:
Traceback (most recent call last):
File "C:\Programs\Python27\lib\threading.py", line 801, in __bootstrap_inner
self.run()
Terry J. Reedy added the comment:
You did not say 'never with threaded tcl'. You also claimed that tkinter is so
broken, with either threaded or non-threaded tcl/tk, that tkinter should be
trashed. Anyway, I like to test things for myself.
If 'never with threaded tcl
Terry J. Reedy added the comment:
Is threaded tcl just a compile switch, as with CPython?
--
___
Python tracker
<https://bugs.python.org/issue33257>
___
___
Pytho
Terry J. Reedy added the comment:
>From 1994 to 2017, _tkinter.c has received a steady flow of multiple revisions
>each year, for 333 total, by maybe 20 people including Guido. This makes it
>one of the more actively maintained files and indicates the opposite of
>indiffer
Change by Terry J. Reedy :
--
versions: +Python 3.7, Python 3.8
___
Python tracker
<https://bugs.python.org/issue33394>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
https://docs.python.org/3/reference/datamodel.html#customizing-instance-and-subclass-checks
says
"Note that these methods are looked up on the type (metaclass) of a class. They
cannot be defined as class methods in the actual class. This is consistent
Terry J. Reedy added the comment:
Tooltips still work fine on Windows and given Serhiy's edit, I presume the same
is true on Linux. As far as I remember and have recorded in NEWS.txt, IDLE on
2.7 is unchanged for over a year, since sometime before 2.7.13 was released.
It is too ea
6901 - 7000 of 13135 matches
Mail list logo