Terry J. Reedy added the comment:
I did take the code, and it would not run because of the indent. With that
fixed, it still did not run because the the indent in the quoted code fed to
exec. This does run:
import builtins
class K(dict):
def __getitem__(self, k):
if k not
Terry J. Reedy added the comment:
Can one of the Windows experts look at the attached log?
--
___
Python tracker
<https://bugs.python.org/issue32545>
___
___
Terry J. Reedy added the comment:
I was referring back to your original a) and b) items.
Perhaps 'accidental' versus 'intentional, for whatever reason', would be the
better contrast.
The weekly new issue report comes out on Fridays around noon eastern US. I
hope someone
Change by Terry J. Reedy :
--
components: +macOS
nosy: +ned.deily, ronaldoussoren
___
Python tracker
<https://bugs.python.org/issue32616>
___
___
Python-bug
Change by Terry J. Reedy :
--
nosy: +rhettinger
___
Python tracker
<https://bugs.python.org/issue32621>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
assignee: -> docs@python
components: +Documentation, Library (Lib)
nosy: +docs@python
stage: -> needs patch
___
Python tracker
<https://bugs.python.org/i
Terry J. Reedy added the comment:
Tuples often need parentheses when embedded in expressions. So often that
beginners often think that they are required. I believe this should be closed
as 'not a bug'. I nosied the two authors of the implementation for their
opinion.
-
Terry J. Reedy added the comment:
Agreed, like there is a bar between NameError and OSError.
The 2.7 version does not have the problem.
--
nosy: +terry.reedy
___
Python tracker
<https://bugs.python.org/issue32
Terry J. Reedy added the comment:
PR-1173 fixed this for 3.7, but it was not backported then. I added a comment
there.
--
keywords: -patch
stage: patch review -> backport needed
versions: -Python 3.7
___
Python tracker
<https://bugs.pyth
Terry J. Reedy added the comment:
Please either upload or include in a post a minimal testcase that reproduces
the problem. We can neither debug the problem or know if we fix it without one.
--
nosy: +michael.foord, terry.reedy
___
Python tracker
Terry J. Reedy added the comment:
I ran f:\dev\3x>python -m test -j5 test_asyncio test_asyncio test_asyncio
test_asyncio test_asyncio on fresh Win10 build and got
...
0:01:02 [5/5] test_asyncio passed (62 sec)
F:\dev\3x\lib\asyncio\selector_events.py:648: ResourceWarning: unclosed
transp
Terry J. Reedy added the comment:
Christian or Brett, do either of you know who maintains the Valgrind stuff?
There is no listing in the Expert's index.
--
nosy: +brett.cannon, christian.heimes, terry.reedy
___
Python tracker
&
Terry J. Reedy added the comment:
Hi, you seem to be in luck, regardless of version.
Python 3.7.0a4+ (heads/master:a49ac99029, Jan 27 2018, 00:11:50) [MSC v.1900 32
bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more inform
Terry J. Reedy added the comment:
Looking at the animated .gif, Jim's problem has nothing to do with IDLE in
particular, and is as least partly specific to his system, as I do not have the
same problem on my system. (That does not mean that improvements are not
possible, so that reboot
Terry J. Reedy added the comment:
test_winreg now works, taking about 5 seconds. It has been working recently
but I dont' know when or why the problem disappeared.
--
resolution: -> out of date
stage: -> resolved
status: ope
Change by Terry J. Reedy :
--
resolution: -> works for me
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
Change by Terry J. Reedy :
--
assignee: docs@python -> terry.reedy
components: +Library (Lib)
stage: patch review -> commit review
versions: +Python 3.6, Python 3.8
___
Python tracker
<https://bugs.python.org/i
Change by Terry J. Reedy :
--
versions: +Python 3.6
___
Python tracker
<https://bugs.python.org/issue32297>
___
___
Python-bugs-list mailing list
Unsubscribe:
New submission from Terry J. Reedy :
This is similar to #32297. I intend to backport, if not too much problem, for
the reason Victor gave on the PR 4803: "to reduce conflicts when backporting
fixes into Python 3.6."
I propose to not backport to Python 2.7, again for the reason V
Terry J. Reedy added the comment:
Since this modifies the output of a library module function for a specific
input, I will not backport unless and until there is agreement on doing so.
--
versions: -Python 3.6, Python 3.7
___
Python tracker
Terry J. Reedy added the comment:
I posted "Is object the most base type? (bpo-20285)" on pydev.
--
___
Python tracker
<https://bugs.python.o
Change by Terry J. Reedy :
--
nosy: +serhiy.storchaka
versions: +Python 3.8
___
Python tracker
<https://bugs.python.org/issue32614>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
New changeset 66771422d0541289d0b1287bc3c28e8b5609f6b4 by Terry Jan Reedy
(Cheryl Sabella) in branch 'master':
bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
pull_requests: +5333
___
Python tracker
<https://bugs.python.org/issue32614>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset c7de1d7ca62e2b67b90d6c178e63453c03833b75 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
bpo-32614: Modify re examples to use a raw string to prevent warning (GH-5265)
(#5499)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
versions: +Python 3.6, Python 3.8
___
Python tracker
<https://bugs.python.org/issue13553>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
New changeset fbf8e823c02ac1c93a48609cc74e439e19ccb426 by Terry Jan Reedy in
branch '3.6':
[3.6] bpo-32614: Modify re examples to use a raw string to prevent wa… …rning
(GH-5265) (GH-5500)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
assignee: docs@python -> terry.reedy
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
versions: +Python 3.6
___
Python tracker
<https://bugs.python
Change by Terry J. Reedy :
--
pull_requests: +5339
___
Python tracker
<https://bugs.python.org/issue30968>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Nick, this is about better documenting the behavior of __get(set/del)attr__ in
3.x it relations to AttributeError in a property. I think I understand what it
does and think the patch is correct. Could you either review or suggest
someone else who better
Change by Terry J. Reedy :
--
pull_requests: +5341
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
pull_requests: -5339
___
Python tracker
<https://bugs.python.org/issue30968>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
pull_requests: +5342
___
Python tracker
<https://bugs.python.org/issue30968>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 72584d23a54855ef5843d7475b7c5a904e3ef713 by Terry Jan Reedy in
branch '3.6':
[3.6] bpo-30928: prepare idlelib/NEWS.txt for 3.6.5 entries. (#5508)
https://github.com/python/cpython/commit/72584d23a54855ef5843d7475b7c5a
Change by Terry J. Reedy :
--
nosy: +vstinner
___
Python tracker
<https://bugs.python.org/issue32692>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
versions: -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue32730>
___
___
Python-bugs-list mailin
Terry J. Reedy added the comment:
New changeset c3d9508ff22ece9a96892b628dd5813e2fb0cd80 by Terry Jan Reedy (Leo
Arias) in branch 'master':
bpo-32746: Fix multiple typos (GH-5144)
https://github.com/python/cpython/commit/c3d9508ff22ece9a96892b628dd581
Change by Terry J. Reedy :
--
pull_requests: +5351
___
Python tracker
<https://bugs.python.org/issue32746>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset e86db34dd3b43dc9c9beb21a82cd2c3b7c4c05df by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
[3.7] bpo-32746: Fix multiple typos (GH-5144) (GH-5520)
https://github.com/python/cpython/commit/e86db34dd3b43dc9c9beb21a82cd2c
Terry J. Reedy added the comment:
New changeset c90a5dec03fbef3a26479c800d5d6d15c44d5afb by Terry Jan Reedy in
branch '3.6':
[3.6] bpo-32746: Fix multiple typos (GH-5144) (GH-5522)
https://github.com/python/cpython/commit/c90a5dec03fbef3a26479c800d5d6d
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: -> behavior
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
Add 1 new entry to all 3 versions. There will likely be merge conflicts to be
resolved because the lower context is not the same, but this should establish a
uniform lower context for the immediate future.
--
versions: +Python 3.8
Terry J. Reedy added the comment:
New changeset 845d86485e35a26478aedb3dc127d632fdc65759 by Terry Jan Reedy
(Cheryl Sabella) in branch 'master':
bpo-32765: Update configdialog General tab create page docstring (GH-5529)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
Correction: entries currently go under "What's New in IDLE 3.7.0" for both
master and 3.7 branches. Each "What's New in IDLE 3.x.0" is "since 3.(x-1).0
was released. (We used to not branch off x+1 until the first x.0rc1, i
Change by Terry J. Reedy :
--
pull_requests: +5364
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
New changeset 5b933aa8ec8b1c04488c26b3d61b813e237f55d9 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
bpo-32765: Update configdialog General tab create page docstring (GH-5529)
(GH-5537)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
New changeset 1c2b138671656abf8563a0cd7ef27c8c2e0be4e6 by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-32765: Update configdialog General tab create page docstring (GH-5529)
(GH-5538)
https://github.com/python/cpyt
Change by Terry J. Reedy :
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
type: enhancement -> behavior
___
Python tracker
<https://bugs.python
Terry J. Reedy added the comment:
Thanks for catching this.
--
___
Python tracker
<https://bugs.python.org/issue32765>
___
___
Python-bugs-list mailing list
Unsub
Terry J. Reedy added the comment:
New changeset 4abcbc0f0de8dc3c245950e118cd9d374dbfe42b by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
bpo-30928: IDLE - update NEWS.txt. (GH-5539) (GH-5540)
https://github.com/python/cpython/commit/4abcbc0f0de8dc3c245950e118cd9d
Change by Terry J. Reedy :
--
pull_requests: +5371
___
Python tracker
<https://bugs.python.org/issue30928>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
On #32761, Raymond reports that is ^A ('Home' for him) is bound to
<>, he sees the same behavior. So this is not Windows only.
Any change to EditorWindow.home_callback must be tested on all 3 major systems
before merging.
I hope to fix this
Terry J. Reedy added the comment:
Mac key bindings and Shell home method behavior are separate and long-standing
issues. They were discussed together in #18444, and this could be considered a
duplicate thereof. However, the two issues need to be discussed and solved
separately.
1. The
Terry J. Reedy added the comment:
New changeset 7bd5a75bbe28219d3fc18a239c2c554d1850abcb by Terry Jan Reedy in
branch '3.6':
bpo-30928: IDLE - update NEWS.txt [GH-5539] (GH-5545)
https://github.com/python/cpython/commit/7bd5a75bbe28219d3fc18a239c2c55
Terry J. Reedy added the comment:
Currently, Shell start and restart act differently. Start can execute one of
-s file, -c command, or neither (and there are other command line options).
Restart prints a RESTART separator banner and optionally runs an edit buffer,
but ignores all or most
Change by Terry J. Reedy :
--
pull_requests: -5367
___
Python tracker
<https://bugs.python.org/issue5594>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
The csv expert listed in https://devguide.python.org/experts/ is marked as
inactive, and I have never used the module. So you might need to ask for help
on core-mentorship list.
The csv doc for Sniffer.sniff says "Analyze the given sample and ret
Terry J. Reedy added the comment:
Looking at the code and docstring, lineterminator was intentionally (knowingly)
not sniffed, making this a feature addition.
--
___
Python tracker
<https://bugs.python.org/issue30
Terry J. Reedy added the comment:
While Sniffer *returns* a dialect with lineterminator = '\r\n', it *uses* '\n'
for splitting. This is slightly odd, as it leaves lines terminated by '\r'
while detecting within-line parameters, but it does not affect such dete
Change by Terry J. Reedy :
--
nosy: +benjamin.peterson
versions: -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue32750>
___
___
Pytho
Terry J. Reedy added the comment:
This tracker is for modifying the cpython distribution -- the interpreter,
stdlib, doc, and other associated files. Questions about using cpython and 3rd
party libraries like aiohttp should be directed elsewhere.
So, the relevant question here is whether
Change by Terry J. Reedy :
--
nosy: +bethard
___
Python tracker
<https://bugs.python.org/issue32756>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
I am pretty sure that if one deletes the prefix 'exec(' and suffic ')' and just
executes argument expression that has something on the order of 1 chr(nn)
calls added together, one would get the same result. In other words, I believe
Terry J. Reedy added the comment:
#32758 is about situations where stackoverflow *can* occur in 3.x.
--
nosy: +serhiy.storchaka
___
Python tracker
<https://bugs.python.org/issue32
Terry J. Reedy added the comment:
Experimenting on Windows with IDLE's current 3.7 Shell, where a user process
crash restarts Shell, compile('+a'*31365, '?', 'eval') consistently gives
RecursionError, values a bit larger sometimes crash, and values much l
Terry J. Reedy added the comment:
Ditto as to the limit for ast.parse.
>>> import ast; ast.parse('+chr(33)'*32000)
RESTART: Shell =
>>> import ast; ast.parse('+chr(33)'*3100
Terry J. Reedy added the comment:
3.5 and its docs are frozen except for security patches. The 3.7 doc is
identical.
The sentence refers to the def statement and perhaps should say so. It should
end with 'a required argument, an optional argument, and the return value
annotated&
Terry J. Reedy added the comment:
Replace 'sequence' with 'collection' and I agree. The for loop code just calls
iter() and it.next() until an exception. The behavior of it.next for builtins
should be documented with the builtins. (I think there is something already
Change by Terry J. Reedy :
--
nosy: +orsenthil
___
Python tracker
<https://bugs.python.org/issue32779>
___
___
Python-bugs-list mailing list
Unsubscribe:
Change by Terry J. Reedy :
--
nosy: +amaury.forgeotdarc, belopolsky, meador.inge
versions: -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue32
Change by Terry J. Reedy :
--
nosy: +amaury.forgeotdarc, belopolsky, meador.inge
___
Python tracker
<https://bugs.python.org/issue32782>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
There are hundreds of bug fixes in 3.6 that are not in 3.4. If there is a
Django version that works with 3.6 and you can otherwise upgrade, think about
doing so.
--
nosy: +terry.reedy
resolution: -> out of date
stage: -> resolved
status
Change by Terry J. Reedy :
--
nosy: +giampaolo.rodola
versions: -Python 3.4, Python 3.5
___
Python tracker
<https://bugs.python.org/issue32793>
___
___
Python-bug
Terry J. Reedy added the comment:
Ah, yes, the 'big red message' nicely gives the replacement. Please submit a
PR against master. Include a news blurb if you can (explained in the
devguide). If you cannot set the backport labels (I don't know of
non-committer author
Terry J. Reedy added the comment:
This looks straightforward. I believe we normally do not backport this type of
change. The tests for _strptime.py are in test_strptime.py, not
test__strptime.py.
--
nosy: +terry.reedy
stage: -> patch review
type: -> perfo
Change by Terry J. Reedy :
--
nosy: +orsenthil
___
Python tracker
<https://bugs.python.org/issue32804>
___
___
Python-bugs-list mailing list
Unsubscribe:
Terry J. Reedy added the comment:
Agreed. This could have been done without a PR.
--
___
Python tracker
<https://bugs.python.org/issue32800>
___
___
Python-bug
Terry J. Reedy added the comment:
And the conditional return can be done before sorting.
--
___
Python tracker
<https://bugs.python.org/issue32801>
___
___
Pytho
Terry J. Reedy added the comment:
New changeset 8d1f2f40389c476d9240ec87a33da0373597c6af by Terry Jan Reedy
(sblondon) in branch 'master':
bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609)
https://github.com/python/cpython/commit/8d1f2f40389c476d9240ec87a33da0
Terry J. Reedy added the comment:
New changeset e6033209754c5b01870791645044a791da1fa73f by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.7':
bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) (GH-5611)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
New changeset 9d8c24b79162711551394c8f8e6002342554791b by Terry Jan Reedy (Miss
Islington (bot)) in branch '3.6':
bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) GH-5612)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
New changeset ea6e6444bdf983c99d9175a22dd054bf02ee22b4 by Terry Jan Reedy (Miss
Islington (bot)) in branch '2.7':
bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609) (GH-5613)
https://github.com/python/cpyt
Terry J. Reedy added the comment:
I meant, could have been done without a bpo issue. And since the blurb was
added, I kept it. Thanks 'sbondon'.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Terry J. Reedy added the comment:
If ast_parse returns, a correct tree (A) rather than a buggy tree is a hard
requirement. If ast_parse does not return, an exception (B) rather than a
crash is strongly desired. We should not risk A to get B. I presume that
Serhiy is suggesting that
Terry J. Reedy added the comment:
Since Nick already merged and backported, at least a new PR is needed. Since
this is an old issue with a long discussion and several inactives on the nosy
list, I suggest a new issue starting from the merge result as a base: "More
revisions to test.su
Terry J. Reedy added the comment:
Serhiy, Is there any reason to not combine last two lines in one?
-regex = '(?P<%s>%s' % (directive, regex)
-return '%s)' % regex
+return '(?P<%s>%s)' % (directive, regex)
or to use f
New submission from Terry J. Reedy :
For me, on Windows, recent changes, since 3.7.0a4, have greatly reduced the
benefit of j0 (= j14 on my system). For 3.6.4 (installed), the times are
around 13:30 and 2:20. The times for 3.7.0a4 (installed) are about the same
parallel and would have been
Terry J. Reedy added the comment:
For me, on Windows, the tests for time, datetime, and _strptime have failures
on the master branch, so I don't want to submit a PR just now.
--
___
Python tracker
<https://bugs.python.org/is
Change by Terry J. Reedy :
--
Removed message: https://bugs.python.org/msg312021
___
Python tracker
<https://bugs.python.org/issue32823>
___
___
Python-bugs-list m
Terry J. Reedy added the comment:
For me, on Windows, the tests for time, datetime, and _strptime have failures
on the master branch, so I don't want to submit a PR just now.
--
___
Python tracker
<https://bugs.python.org/is
Terry J. Reedy added the comment:
Reponses on the pydev thread, which include 3 other coredevs:
"a base for all classes." object entry in lib ref, function
"the ultimate base class of all other classes." Martin Panter
object is neither a base or superclass of itself,
Terry J. Reedy added the comment:
What system? test_idle passes on Windows. Unfortunately, none of the *nix or
Mac buildbots run tkinter and hence no tests that require a live tk window, and
this one does. Cheryl, what do you see on your linux?
Byte 0xc3 in position 1540 is the first byte
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +5439
stage: needs patch -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
I just discovered that the default for me is some version of latin1, not ascii,
so that utf-8 'ö' is read as 'ö'. Hence, no UnicodeDecodeError even if 'ö' is
being read and decoded by the initial readline call. I presum
Terry J. Reedy added the comment:
I reproduced the exact failure by temporarily replacing 'utf-8' with 'ascii' in
my clone. So I don't need anyone else to verify the fix.
--
___
Python tracker
<https:
Terry J. Reedy added the comment:
New changeset f34e03ec0ea6a4cef8d966087c77e616c4a5893b by Terry Jan Reedy in
branch 'master':
bpo-32826: Add "encoding=utf-8" to open() in idle_test/test_help_about.
(GH-5639)
https://github.com/python/cpython/commit/f34e03ec0ea6a4cef8d9
New submission from Terry J. Reedy :
Built-in open has an encoding parameter whose default value depends on the
system: 'ascii' for some POSIX locales; 'latin1' or similar for most Windows
sold in the USA or western Europe; and ???. In idlelib.textview, the signature
for
Change by Terry J. Reedy :
--
keywords: +patch
pull_requests: +5447
stage: commit review -> patch review
___
Python tracker
<https://bugs.python.org/issu
Terry J. Reedy added the comment:
Serhiy, thanks for comment and review.
Cheryl, #32837 expands upon your comment.
--
resolution: -> fixed
stage: patch review -> resolved
status: open -> closed
___
Python tracker
<https://bug
Terry J. Reedy added the comment:
New changeset 688722cedd6437910ff185ecf94fb3b749ad37f2 by Terry Jan Reedy in
branch 'master':
bpo-32837: IDLE - require encoding argument for textview.view_file. (GH-5646)
https://github.com/python/cpython/commit/688722cedd6437910ff185ecf94fb3
6701 - 6800 of 13135 matches
Mail list logo