[issue29988] with statements are not ensuring that __exit__ is called if __enter__ succeeds

2018-09-24 Thread Gregory P. Smith
Change by Gregory P. Smith : -- versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34759] Possible regression in ssl module in 3.7.1 and master

2018-09-24 Thread Nathaniel Smith
Nathaniel Smith added the comment: Whoops, yep, I forgot it doesn't auto-close. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue34759] Possible regression in ssl module in 3.7.1 and master

2018-09-24 Thread Ned Deily
Ned Deily added the comment: This issue can now be closed, right? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31177] unittest mock's reset_mock throws an error when an attribute has been deleted

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Adding Michael for thoughts on the fix and desired behavior. Removing 3.5 since only security fixes are accepted and adding 3.8 which is also affected. Thanks -- nosy: +michael.foord versions: +Python 3.8 -Python 3.5

[issue22079] Ensure in PyType_Ready() that base class of static type is static

2018-09-24 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > It would be good if PyType_Ready() will check that base class of static type > is static. What's the rationale for this change? It's not explained in this bug report nor in the code. -- nosy: +jdemeyer ___

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-24 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34683] Caret positioned wrong for SyntaxError reported by ast.c

2018-09-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Wait, why did you make offsets 1-indexed? My suggestion was to make everything zero indexed... -- ___ Python tracker ___

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-24 Thread miss-islington
miss-islington added the comment: New changeset 936d740ac0308fdcb87c11cbe87962d4fe06f5ab by Miss Islington (bot) in branch '3.6': bpo-34770: Fix a possible null pointer dereference in pyshellext.cpp (GH-9497) https://github.com/python/cpython/commit/936d740ac0308fdcb87c11cbe87962d4fe06f5ab

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-24 Thread miss-islington
miss-islington added the comment: New changeset db23206367e2bfbbdfb29b7699f25a14ba353ae7 by Miss Islington (bot) in branch '3.7': bpo-34770: Fix a possible null pointer dereference in pyshellext.cpp (GH-9497) https://github.com/python/cpython/commit/db23206367e2bfbbdfb29b7699f25a14ba353ae7

[issue34793] Remove support for "with (await asyncio.lock):"

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Another discussion : https://github.com/python/cpython/pull/4753/files#r155656583 -- ___ Python tracker ___

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +8958 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-24 Thread miss-islington
miss-islington added the comment: New changeset f6c8007a29b95b3ea3ca687a9b4924769a696328 by Miss Islington (bot) (Zackery Spytz) in branch 'master': bpo-34770: Fix a possible null pointer dereference in pyshellext.cpp (GH-9497)

[issue34770] pyshellext.cpp: Possible null pointer dereference

2018-09-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +8959 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34793] Remove support for "with (await asyncio.lock):"

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I can see only around 3 results on GitHub with "with await asyncio.lock" and just wanted to add it as a data point : https://github.com/search?utf8=%E2%9C%93=%22with+await+asyncio.lock%22=Code -- nosy: +xtreak

[issue34776] Postponed annotations break inspection of dataclasses

2018-09-24 Thread Gregory P. Smith
Gregory P. Smith added the comment: fwiw, agreed that this should wait for 3.7.2. -- ___ Python tracker ___ ___ Python-bugs-list

[issue34776] Postponed annotations break inspection of dataclasses

2018-09-24 Thread Gregory P. Smith
Change by Gregory P. Smith : -- nosy: +gregory.p.smith versions: +Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread Xiang Zhang
Change by Xiang Zhang : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue32956] python 3 round bug

2018-09-24 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti, mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34786] ProcessPoolExecutor documentation reports wrong exception being raised

2018-09-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +8957 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34700] typing.get_type_hints doesn't know about typeshed

2018-09-24 Thread Ben Darnell
Ben Darnell added the comment: Yeah, I think that would work at least for the sphinx use case. It seems like a strange partially-degraded mode and anything that needs structured access to the annotation would still need typeshed, but just getting the string would probably be enough for a

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2018-09-24 Thread Jeremy McMillan
Jeremy McMillan added the comment: subclass workaround implementation example https://github.com/isbm/salt/blob/976fe19d73ca6bf5df375eaa15d77ce4a5a54b7a/salt/_compat.py#L125 -- ___ Python tracker

[issue32956] python 3 round bug

2018-09-24 Thread Joshua Bronson
Joshua Bronson added the comment: This was so surprising to me that I had to check some other languages that I had handy. It turns out that not one of JavaScript, Ruby, Perl, C++, Java, Go, or Rust agrees with Python. In fact they all agreed with one another that 2.5 should round to 3.

[issue1529353] Squeezer - squeeze large output in IDLE's shell

2018-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tal, if you think this is ready, I would like to get this in the upcoming releases. I believe the deadline is midnight at the international dateline, which is noon UTC tomorrow, just over 9 hours from now. I decided that any suggestions I might have for

[issue34751] Hash collisions for tuples

2018-09-24 Thread Tim Peters
Tim Peters added the comment: And one more: x = (x * mult) ^ t; also appears to work equally well. So, way back when, it appears we _could_ have wormed around the disaster du jour just by applying a shift-xor permutation to the raw hash results. Note the implication: if we

[issue34776] Postponed annotations break inspection of dataclasses

2018-09-24 Thread Yury Selivanov
Yury Selivanov added the comment: NP, Eric, take your time. I agree that the PR isn't simple and needs a very careful review. -- ___ Python tracker ___

[issue34659] Inconsistency between functools.reduce & itertools.accumulate

2018-09-24 Thread Lisa Roach
Change by Lisa Roach : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34776] Postponed annotations break inspection of dataclasses

2018-09-24 Thread Eric V. Smith
Eric V. Smith added the comment: Unfortunately, I'm not going to be able to give this the attention it deserves before the 3.7.1 cutoff. The changes are sufficiently tricky that I want to make sure I think through the issue in the appropriate detail. Ned: I've made it not a release blocker.

[issue34751] Hash collisions for tuples

2018-09-24 Thread Tim Peters
Tim Peters added the comment: Just noting that this Bernstein-like variant appears to work as well as the FNV-1a version in all the goofy ;-) endcase tests I've accumulated: while (--len >= 0) { y = PyObject_Hash(*p++); if (y == -1) return -1;

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: The cutoff for PRs going into 3.7.0 was the rc1 on about 2018 May 15. The first 3 PRs are for merges after that cutoff but before the 3.6.6/3.7.0 release. PR9549 adds an entry to master that was somehow omitted even though included in the backports to 3.7

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread miss-islington
miss-islington added the comment: New changeset 1ab9dfcfbe99d576b41209ca8ddbcacb682e4495 by Miss Islington (bot) in branch '3.6': bpo-34162: Update idlelib/NEWS.txt to 2018-9-24. (GH-9551) https://github.com/python/cpython/commit/1ab9dfcfbe99d576b41209ca8ddbcacb682e4495 --

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread miss-islington
miss-islington added the comment: New changeset 65cc60b3687d33bfeda60b29a49a0708d4932b7b by Miss Islington (bot) in branch '3.7': bpo-34162: Update idlelib/NEWS.txt to 2018-9-24. (GH-9551) https://github.com/python/cpython/commit/65cc60b3687d33bfeda60b29a49a0708d4932b7b -- nosy:

[issue34751] Hash collisions for tuples

2018-09-24 Thread Tim Peters
Tim Peters added the comment: > advantage of my approach is that high-order bits become more > important: I don't much care about high-order bits, beyond that we don't systematically _lose_ them. The dict and set lookup routines have their own strategies for incorporating high-order bits

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +8956 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +8955 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 16fba6231458cc1ff82db8695ee772b74131cc83 by Terry Jan Reedy in branch 'master': bpo-34162: Update idlelib/NEWS.txt to 2018-9-24. (GH-9551) https://github.com/python/cpython/commit/16fba6231458cc1ff82db8695ee772b74131cc83 --

[issue34047] IDLE: on macOS, scroll slider 'sticks' at bottom of file

2018-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: I opened #34796 for the scrollbar slider issues. -- superseder: -> Tkinter scrollbar issues on Mac. ___ Python tracker ___

[issue34796] Tkinter scrollbar issues on Mac.

2018-09-24 Thread Terry J. Reedy
New submission from Terry J. Reedy : #34047 was about scrollbar issues on MacOS in 3.7.0 and 3.6.6. One was due to an IDLE bug, which was fixed on the issue. Others, which can be demonstrated in the pure tkinter code below, are the subject of this issue. 1. Slider does not move properly

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8954 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 65fa1264a308a94e24afa76f41a68708a346738f by Terry Jan Reedy in branch '2.7': [2.7] bpo-34162: Update 2.7 idlelib/NEWS.txt to 2018-9-24 (GH-9550) https://github.com/python/cpython/commit/65fa1264a308a94e24afa76f41a68708a346738f --

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8953 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 5a606674edbf4a94370ee55b0906dd9bec83abb0 by Terry Jan Reedy in branch 'master': bpo-34162: Add entry for idlelib/NEWS.txt already included for 3.6/3.7 (GH-9549) https://github.com/python/cpython/commit/5a606674edbf4a94370ee55b0906dd9bec83abb0

[issue34162] idlelib/NEWS.txt for 3.8.0 (and backports)

2018-09-24 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +8952 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue34795] loop.sock_recv failure because of delayed callback handling

2018-09-24 Thread Neil Booth
Neil Booth added the comment: My library user reports: I can't reproduce the issue with uvloop on linux. (looks like uvloop does not work on windows atm) -- ___ Python tracker

[issue32892] Remove specific constant AST types in favor of ast.Constant

2018-09-24 Thread Neil Schemenauer
Neil Schemenauer added the comment: I've checked Quixote PTL module support. I will have to make some changes to support the removal of Str and other node types. E.g. I have to change visit_Str to visit_Constant. The fixes are pretty easy though and I think it is reasonable that this

[issue30064] BaseSelectorEventLoop.sock_{recv, sendall}() don't remove their callbacks when canceled

2018-09-24 Thread Yury Selivanov
Yury Selivanov added the comment: See also https://bugs.python.org/issue34795 -- nosy: +asvetlov versions: +Python 3.8 -Python 3.5, Python 3.6 ___ Python tracker ___

[issue34795] loop.sock_recv failure because of delayed callback handling

2018-09-24 Thread Neil Booth
Neil Booth added the comment: This seems related: https://bugs.python.org/issue30064 -- ___ Python tracker ___ ___

[issue34795] loop.sock_recv failure because of delayed callback handling

2018-09-24 Thread Yury Selivanov
Yury Selivanov added the comment: Can you reproduce this with uvloop? Andrew: I think we need to "lock" sockets from closing in sock_recv and friends the same way we do it in uvloop. -- ___ Python tracker

[issue34795] loop.sock_recv failure because of delayed callback handling

2018-09-24 Thread Neil Booth
New submission from Neil Booth : In certain circumstances the coroutine loop.sock_recv() registers a callback internally, which is called on e.g. task cancellation. The callback assumes a file descriptor that was open and valid at the time the callback was registered is still open and valid

[issue34781] infinite waiting in multiprocessing.Pool

2018-09-24 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +davin, pitrou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34751] Hash collisions for tuples

2018-09-24 Thread Tim Peters
Tim Peters added the comment: Jeroen, I understood the part about -2 from your initial report ;-) That's why the last code I posted didn't use -2 at all (neither -1, which hashes to -2). None of the very many colliding tuples contained -2 in any form. For example, these 8 tuples all have

[issue34794] memory leak in TkApp:_createbytearray

2018-09-24 Thread David Talkin
New submission from David Talkin : The Tkinter.PhotoImage class leaks memory with each change of the 'data' Attribute due to Image calling tk._createbytearray, which allocates memory, but never frees it. The offending method is in the TkApp class, _createbytearray(). -- components:

[issue34683] Caret positioned wrong for SyntaxError reported by ast.c

2018-09-24 Thread Guido van Rossum
Guido van Rossum added the comment: New changeset 025eb98dc0c1dc27404df6c544fc2944e0fa9f3a by Guido van Rossum (Ammar Askar) in branch 'master': bpo-34683: Make SyntaxError column offsets consistently 1-indexed (gh-9338)

[issue34683] Caret positioned wrong for SyntaxError reported by ast.c

2018-09-24 Thread Guido van Rossum
Guido van Rossum added the comment: Hm, should this be backported? I think it's safest not to. -- ___ Python tracker ___ ___

[issue34683] Caret positioned wrong for SyntaxError reported by ast.c

2018-09-24 Thread Guido van Rossum
Guido van Rossum added the comment: Fixed by gh-9338. Thanks Ammar! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34789] doc xml.sax.make_parser expects a list not just any sequence

2018-09-24 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: The existing PR can be re-targeted to merge to a maintenance branch (I'd be inclined to merge manually, myself, but will have to check the current devguide to make sure that's still allowed). A new PR can be made for the non-documentation fix for

[issue5950] Make zipimport work with zipfile containing comments

2018-09-24 Thread Zackery Spytz
Zackery Spytz added the comment: I've created a PR. -- nosy: +ZackerySpytz versions: +Python 3.8 -Python 3.6 ___ Python tracker ___

[issue5950] Make zipimport work with zipfile containing comments

2018-09-24 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +8951 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34792] Tutorial doesn''t discuss / and * function arguments

2018-09-24 Thread Ezio Melotti
Change by Ezio Melotti : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-09-24 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34789] doc xml.sax.make_parser expects a list not just any sequence

2018-09-24 Thread Andrés Delfino
Andrés Delfino added the comment: Admittedly, my Git-fu is not strong, but since the PR was opened against master, and given that the PR as is won't be merged to master, can it still be "backported" to 3.7, 3.6, and 2.7? Shouldn't I update the PR so it can be merged to master (that won't be

[issue34792] Tutorial doesn''t discuss / and * function arguments

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: There is a related issue to document / in signatures though : https://bugs.python.org/issue21314 -- nosy: +xtreak ___ Python tracker

[issue34793] Remove support for "with (await asyncio.lock):"

2018-09-24 Thread Yury Selivanov
New submission from Yury Selivanov : Never mind, we do this already. The question is then should we just remove the support for this syntax entirely in 3.8, or we should wait until 3.9? -- title: Raise DeprecationWarning for "with (await lock):" -> Remove support for "with (await

[issue34790] Deprecate passing coroutine objects to asyncio.wait()

2018-09-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34793] Raise DeprecationWarning for "with (await lock):"

2018-09-24 Thread Yury Selivanov
Change by Yury Selivanov : -- components: asyncio nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Raise DeprecationWarning for "with (await lock):" versions: Python 3.8 ___ Python tracker

[issue34789] doc xml.sax.make_parser expects a list not just any sequence

2018-09-24 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: It probably makes more sense to keep that PR for the maintenance branches, and create a new branch / PR to land on master. -- ___ Python tracker

[issue34789] doc xml.sax.make_parser expects a list not just any sequence

2018-09-24 Thread Andrés Delfino
Andrés Delfino added the comment: I think it makes sense for make_parser to accept any iterable too. I'll update the PR when I have the testcase ready. -- ___ Python tracker

[issue34751] Hash collisions for tuples

2018-09-24 Thread Tim Peters
Tim Peters added the comment: > when you do t ^= t << 7, then you are not changing > the lower 7 bits at all. I want to leave low-order hash bits alone. That's deliberate. The most important tuple component types, for tuples that are hashable, are strings and contiguous ranges of "not

[issue34792] Tutorial doesn''t discuss / and * function arguments

2018-09-24 Thread Mark Diekhans
New submission from Mark Diekhans : https://docs.python.org/3/tutorial/controlflow.html doest not discuss / and * arguments (end of positional, keyword required) -- assignee: docs@python components: Documentation messages: 326277 nosy: diekhans, docs@python priority: normal severity:

[issue34778] Memoryview for column-major (f_contiguous) arrays from bytes impossible to achieve

2018-09-24 Thread mattip
mattip added the comment: This could be done via a `shape` kwarg to `cast` -- nosy: +mattip ___ Python tracker ___ ___

[issue32528] Change base class for futures.CancelledError

2018-09-24 Thread Yury Selivanov
Yury Selivanov added the comment: > Closing this issue as I, personally, don't see this happening and there's no > point in keeping it open. Actually, Andrew and I changed our opinion on this, so I'm re-opening the issue. After visiting three conferences this summer and talking to asyncio

[issue32528] Change base class for futures.CancelledError

2018-09-24 Thread Gustavo J. A. M. Carneiro
Gustavo J. A. M. Carneiro added the comment: What a shame, I've seen this error many times as well. Surely making it BaseException will not break that much code?... -- nosy: +gustavo ___ Python tracker

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-09-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +8950 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-09-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +8949 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-09-24 Thread miss-islington
miss-islington added the comment: New changeset 223e501fb9c2b6ae21b96054e20c4c31d94a5d96 by Miss Islington (bot) (Christian Heimes) in branch 'master': bpo-34791: xml package obeys ignore env flags (GH-9544) https://github.com/python/cpython/commit/223e501fb9c2b6ae21b96054e20c4c31d94a5d96

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-09-24 Thread miss-islington
Change by miss-islington : -- pull_requests: +8948 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34790] Deprecate passing coroutine objects to asyncio.wait()

2018-09-24 Thread Yury Selivanov
Yury Selivanov added the comment: > 4.0 is too far. Why not disallow them in 3.10? What's the current plan? I thought it's going to be 3.8, 3.9, 4.0. Is there a PEP detailing this? -- ___ Python tracker

[issue34790] Deprecate passing coroutine objects to asyncio.wait()

2018-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: 4.0 is too far. Why not disallow them in 3.10? -- nosy: +serhiy.storchaka ___ Python tracker ___

[issue34334] QueueHandler logs exc_info twice

2018-09-24 Thread Vinay Sajip
Vinay Sajip added the comment: Having looked at it again, Adrian Dries might be right that setting exc_text to None will also do the trick, and perhaps in a better way. The reasoning: Handler.format() formats record.msg % record.args, and caches it in record.message. If there is exception

[issue34364] problem with traceback for syntax error in f-string

2018-09-24 Thread Eric V. Smith
Eric V. Smith added the comment: It's more elaborate than I'd like, but I think it's the right way to solve it: I'm passing in the starting line and column number to the parser machinery. -- ___ Python tracker

[issue31084] QueueHandler not formatting messages

2018-09-24 Thread Cheryl Sabella
Change by Cheryl Sabella : -- pull_requests: +8947 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue13607] Move generator specific sections out of ceval.

2018-09-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> out of date stage: patch review -> resolved status: pending -> closed ___ Python tracker ___

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-09-24 Thread Christian Heimes
Change by Christian Heimes : -- keywords: +patch pull_requests: +8946 stage: -> patch review ___ Python tracker ___ ___

[issue34790] Deprecate passing coroutine objects to asyncio.wait()

2018-09-24 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +8945 stage: -> patch review ___ Python tracker ___ ___

[issue34364] problem with traceback for syntax error in f-string

2018-09-24 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Great! I was going to take it. Will be glad to make a review. -- ___ Python tracker ___ ___

[issue34791] xml package does not obey sys.flags.ignore_environment

2018-09-24 Thread Christian Heimes
New submission from Christian Heimes : On two occasions, the xml package uses environment variables to override parser / DOM implementations: xml.sax package and xml.dom.domreg module. On both occasions, the code should not use env vars to override module names, when the interpreter is

[issue34776] Postponed annotations break inspection of dataclasses

2018-09-24 Thread Eric V. Smith
Eric V. Smith added the comment: Ned: I'm marking this as a release blocker because I'd like to get it in 3.7.1. If I can't do that in the next 5 hours or so, I'll remove the release blocker tag. -- assignee: -> eric.smith nosy: +ned.deily priority: normal -> release blocker

[issue34790] Deprecate passing coroutine objects to asyncio.wait()

2018-09-24 Thread Yury Selivanov
New submission from Yury Selivanov : asyncio.wait() accepts coroutines, wraps them into Tasks, and later returns those implicitly created Tasks in (done, pending) sets. This is very confusing to new asyncio users and it's almost impossible to figure out what is going on. See the first PR

[issue34372] Parenthesized expression has incorrect line numbers

2018-09-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Tracebacks should contain the first line of continuation lines versions: -Python 3.7 ___ Python tracker

[issue34364] problem with traceback for syntax error in f-string

2018-09-24 Thread Eric V. Smith
Eric V. Smith added the comment: I worked on this at the core sprint, and I have a patch almost ready. -- ___ Python tracker ___

[issue34364] problem with traceback for syntax error in f-string

2018-09-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue12458] Tracebacks should contain the first line of continuation lines

2018-09-24 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2018-09-24 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue22490] Using realpath for __PYVENV_LAUNCHER__ makes Homebrew installs fragile

2018-09-24 Thread Guido van Rossum
Guido van Rossum added the comment: Thanks, I have confirmed that this reproduces our issue and that your PR fixes it. I guess at this point we need someone to test with Brew. -- ___ Python tracker

[issue34789] doc xml.sax.make_parser expects a list not just any sequence

2018-09-24 Thread Fred L. Drake, Jr.
Fred L. Drake, Jr. added the comment: I'm just going to presume this issue has been around a long time, but I think that's a pretty safe presumption. Accepting a general sequence instead of only a list would reasonable, and I'd support a fix that caused the code to accept a general sequence

[issue34789] doc xml.sax.make_parser expects a list not just any sequence

2018-09-24 Thread Andrés Delfino
Change by Andrés Delfino : -- keywords: +patch pull_requests: +8944 stage: -> patch review ___ Python tracker ___ ___

[issue26452] Wrong line number attributed to comprehension expressions

2018-09-24 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks much Greg for the details but I am closing this as fixed since there have been some improvements merged with issue12458 along with tests. The original issue reported regarding multi-line comprehension was fixed as I have tested it on

[issue34788] ipaddress module fails on rfc4007 scoped IPv6 addresses

2018-09-24 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +pmoody ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34789] doc xml.sax.make_parser expects a list not just any sequence

2018-09-24 Thread Andrés Delfino
New submission from Andrés Delfino : Doc says: "If parser_list is provided, it must be a *sequence* of strings which name modules that have a function named create_parser()" but code concatenas parser_list with an existing list: for parser_name in parser_list + default_parser_list: Fix this

[issue33977] [Windows] test_compileall fails randomly with PermissionError: [WinError 5] Access is denied: (...).pyc

2018-09-24 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34037] asyncio: BaseEventLoop.close() shutdowns the executor without waiting causing leak of dangling threads

2018-09-24 Thread STINNER Victor
STINNER Victor added the comment: > Maybe. At least we need to add a "timeout" argument to asyncio.run() to let > it wait for executor jobs. The shutdown() method of concurrent.futures.Executor API doesn't accept a timeout. It waits for multiple things. I added "block_on_close = True"

  1   2   >