[issue40275] test.support has way too many imports

2020-05-18 Thread hai shi
Change by hai shi : -- pull_requests: +19504 pull_request: https://github.com/python/cpython/pull/20207 ___ Python tracker ___ ___

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

2020-05-18 Thread Minmin Gong
Change by Minmin Gong : -- keywords: +patch pull_requests: +19503 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20206 ___ Python tracker ___

[issue40677] IO_REPARSE_TAG_APPEXECLINK is not defined in old Windows SDK

2020-05-18 Thread Minmin Gong
New submission from Minmin Gong : Python 3.8 introduces IO_REPARSE_TAG_APPEXECLINK, but this macro is not defined in Windows SDKs before 10. Need to manually define it. -- components: Windows messages: 369319 nosy: Minmin.Gong, paul.moore, steve.dower, tim.golden, zach.ware priority:

[issue39631] Fix file association MIME type on Windows

2020-05-18 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch nosy: +ZackerySpytz nosy_count: 5.0 -> 6.0 pull_requests: +19502 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/20205 ___ Python tracker

Re: why no camelCase in PEP 8?

2020-05-18 Thread Eli the Bearded
In comp.lang.python, Paul Rubin wrote: > Eli the Bearded <*@eli.users.panix.com> writes: >> One of those is easier to "grep" for than the other. > grep -i might help. Or might not, if I want case sensitivity in the rest of my RE. Elijah -- can, but doesn't want to, build REs that are

[issue32309] Implement asyncio.run_in_executor shortcut

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset cc2bbc2227c3f5ed9d8f6b3bd052e6f9e68279d2 by Kyle Stanley in branch 'master': bpo-32309: Implement asyncio.to_thread() (GH-20143) https://github.com/python/cpython/commit/cc2bbc2227c3f5ed9d8f6b3bd052e6f9e68279d2 -- nosy:

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset 3d062829deadcb8355e97090aba47138eb9bc649 by Miss Islington (bot) in branch '3.9': bpo-40669: Use requirements.pip when installing PEG dependencies (GH-20194) https://github.com/python/cpython/commit/3d062829deadcb8355e97090aba47138eb9bc649

[issue40668] Catastrophic loss of precision in colorsys module

2020-05-18 Thread Raymond Hettinger
Raymond Hettinger added the comment: See https://bugs.python.org/issue14323 -- nosy: +rhettinger, serhiy.storchaka ___ Python tracker ___

[issue31033] Improve traceback of cancelled tasks / add cancel() msg argument

2020-05-18 Thread Łukasz Langa
Łukasz Langa added the comment: New changeset f02c3048dc2f22053a2ba56ef5987967b89c4be3 by Miss Islington (bot) in branch '3.9': Use _PyErr_ChainStackItem() inside gen_send_ex(). (GH-20173) (#20202) https://github.com/python/cpython/commit/f02c3048dc2f22053a2ba56ef5987967b89c4be3 --

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread miss-islington
Change by miss-islington : -- pull_requests: +19501 pull_request: https://github.com/python/cpython/pull/20203 ___ Python tracker ___

[issue31033] Improve traceback of cancelled tasks / add cancel() msg argument

2020-05-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 6.0 -> 7.0 pull_requests: +19500 pull_request: https://github.com/python/cpython/pull/20202 ___ Python tracker

[issue40676] Use Argument Clinic for csv

2020-05-18 Thread Shantanu
Change by Shantanu : -- keywords: +patch pull_requests: +19499 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20200 ___ Python tracker ___

[issue40676] Use Argument Clinic for csv

2020-05-18 Thread Shantanu
New submission from Shantanu : To do all the functions in csv, we'd need to have support for **kwargs, tracked in https://bugs.python.org/issue20291. Am attaching a PR for the ones that can be made to work today. -- components: Argument Clinic messages: 369314 nosy: hauntsaninja,

[issue38306] High level API for loop.run_in_executor(None, ...)?

2020-05-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: Is this issue the same as this one? https://bugs.python.org/issue32309 -- nosy: +chris.jerdonek ___ Python tracker ___

[issue36456] task.cancel unbound recursion

2020-05-18 Thread Chris Jerdonek
Change by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40675] Add missing mimetypes for fonts

2020-05-18 Thread Sahil
New submission from Sahil : Currently guess_type method of mimetype fails to identity fonts from their extensions. -- components: Library (Lib) messages: 369312 nosy: sahil.prajapati priority: normal pull_requests: 19498 severity: normal status: open title: Add missing mimetypes for

[issue39060] asyncio.Task.print_stack doesn't print the full stack

2020-05-18 Thread Chris Jerdonek
Change by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: why no camelCase in PEP 8?

2020-05-18 Thread Juergen Brendel
On Mon, 2020-05-18 at 19:28 -0400, Dan Sommers wrote: > On Tue, 19 May 2020 09:55:04 +1200 > Juergen Brendel wrote: > > > ... he prefers snake-case. > > That's not snake_case. That's kebab-case.¹ > > ¹ https://wiki.c2.com/?KebabCase :-) --

[issue39839] Non-working error handler when creating a task with assigning a variable

2020-05-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: I took a look at this. Basically, the reason the exception handler isn't firing when the task is still in scope is that the exception handler is only a handler of "last resort." You can see that the exception handler is called inside Task.__del__ here:

Re: why no camelCase in PEP 8?

2020-05-18 Thread Dan Sommers
On Tue, 19 May 2020 09:55:04 +1200 Juergen Brendel wrote: > ... he prefers snake-case. That's not snake_case. That's kebab-case.¹ ¹ https://wiki.c2.com/?KebabCase -- https://mail.python.org/mailman/listinfo/python-list

[issue39839] Non-working error handler when creating a task with assigning a variable

2020-05-18 Thread Chris Jerdonek
Change by Chris Jerdonek : -- nosy: +chris.jerdonek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40614] ast.parse doesn't respect feature_version for debug f-strings

2020-05-18 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- nosy: +lys.nikolaou ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40546] Inconsistencies between PEG parser and traceback SyntaxErrors

2020-05-18 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Fixed in GH-20072 and bpo-40612. -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker ___

[issue39026] pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2020-05-18 Thread Kevin Mooney
Kevin Mooney added the comment: Ok, so there are three potential solutions 1. Add cpython_ prefix to cpython headers 2. Remove cpython/initconfig.h from cpython/pystate.h 3. Include initconfig.h rather than cpython/initconfig.h 1 intoduces verbosity and touches more than the other solutions.

[issue40672] asyncio.wait_for: process future result produced during cancelation

2020-05-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: Regarding the documentation, I'm not sure we _need_ to say what happens in this edge case for 3.9. It was already unspecified before 3.9, so we're not any worse off. (The change in issue 40607 was, however, documented.) I'd rather come to agreement on (1)

[issue40674] Deprecate urllib.request.urlretrieve() and cleanup()

2020-05-18 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- keywords: +patch pull_requests: +19497 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20197 ___ Python tracker ___

[issue40257] Improve the use of __doc__ in pydoc

2020-05-18 Thread Matthias Bussonnier
Matthias Bussonnier added the comment: > Looks like the revert is solving the issue? It appears to do so as far as I can tell, and most test pass on nightly, the rest seem to be unrelated to changes in current 3.9. Many thanks to Serhiy for all the work on making documentation better, and

[issue40674] Deprecate urllib.request.urlretrieve() and cleanup()

2020-05-18 Thread Rémi Lapeyre
Change by Rémi Lapeyre : -- components: Library (Lib) nosy: remi.lapeyre priority: normal severity: normal status: open title: Deprecate urllib.request.urlretrieve() and cleanup() type: behavior ___ Python tracker

[issue40614] ast.parse doesn't respect feature_version for debug f-strings

2020-05-18 Thread Shantanu
Change by Shantanu : -- keywords: +patch pull_requests: +19496 stage: -> patch review pull_request: https://github.com/python/cpython/pull/20196 ___ Python tracker ___

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3764069f3ba2a7e932837ae19265059339dc86e3 by Pablo Galindo in branch 'master': bpo-40669: Use requirements.pip when installing PEG dependencies (GH-20194) https://github.com/python/cpython/commit/3764069f3ba2a7e932837ae19265059339dc86e3

[issue31033] Improve traceback of cancelled tasks / add cancel() msg argument

2020-05-18 Thread Chris Jerdonek
Chris Jerdonek added the comment: New changeset ff7a8b03c49153021d6de5d0b2fa8b5163059ed6 by Chris Jerdonek in branch 'master': Use _PyErr_ChainStackItem() inside gen_send_ex(). (GH-20173) https://github.com/python/cpython/commit/ff7a8b03c49153021d6de5d0b2fa8b5163059ed6 --

[issue40452] IDLE: preserve clipboard on closure

2020-05-18 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thanks Tal. I should have inquired about behavior on *nix before putting so much effort into a Windows-only workaround, and not try to rush something into the beta coming out today or tomorrow. I will return to trying to do an invisible paste into a bare

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-18 Thread Łukasz Langa
Łukasz Langa added the comment: We'll make this an announced 3.10 feature early on. The discussion at the Summit wasn't as clear cut to me: 35% of participants would rather see this default later than 3.9. -- ___ Python tracker

[issue35890] Cleanup some non-consistent API callings

2020-05-18 Thread Steve Dower
Steve Dower added the comment: New changeset 930badd414dd2376b1875e1775cb40855a87e180 by Steve Dower in branch '3.7': bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974) https://github.com/python/cpython/commit/930badd414dd2376b1875e1775cb40855a87e180 --

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: > Too bad nobody took any action here after the positive outcome of the > discussion at the summit. I didn't understand it this way. I understood that some people were not 100% comfortable to target 3.9. The question was 3.9 or 3.10. Since the release

Re: why no camelCase in PEP 8?

2020-05-18 Thread Juergen Brendel
Hello! We have now moved into a pros/cons discussion of snake vs camel-case, which wasn't the original question. But discussions about coding styles are always fun, so why not... :-) I agree with Eli's reasoning about the grep-ability. It's something that people don't often pay attention to,

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: > URLOpener has been deprecated since Python3.3 > (https://github.com/python/cpython/blob/master/Lib/urllib/request.py#L1703-L1705) > maybe it should just be removed from the codebase? It emits a DeprecationWarning since at least Python 3.6, so yes, it's

[issue39820] Bracketed paste mode for REPL

2020-05-18 Thread Aaron Meurer
Aaron Meurer added the comment: Related issue https://bugs.python.org/issue32019 -- nosy: +asmeurer ___ Python tracker ___ ___

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: > bpo-40669: Install PEG benchmarking dependencies in a venv (GH-20183) I like this approach :-) -- ___ Python tracker ___

[issue39026] pystate.h contains non-relative of initconfig.h include causing macOS Framework include failure

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: I propose to rename "cpython/initconfig.h" to "cpython/cpython_initconfig.h". #include "cpython/initconfig.h" would become: #include "cpython/cpython_initconfig.h" So it becomes possible to include a cpython_xxx.h header from another cpython_xxx.h header

[issue40275] test.support has way too many imports

2020-05-18 Thread STINNER Victor
STINNER Victor added the comment: New changeset a3ec3ad9e20e7d9ed148d4cfbd22aebec608b42a by Hai Shi in branch 'master': bpo-40275: More lazy imports in test.support (GH-20131) https://github.com/python/cpython/commit/a3ec3ad9e20e7d9ed148d4cfbd22aebec608b42a --

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
Petter S added the comment: I see. Perhaps that is the resolution then. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: URLOpener has been deprecated since Python3.3 (https://github.com/python/cpython/blob/master/Lib/urllib/request.py#L1703-L1705) maybe it should just be removed from the codebase? -- nosy: +remi.lapeyre ___ Python

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
Petter S added the comment: I can fix this, but it does not have high priority. -- ___ Python tracker ___ ___ Python-bugs-list

[issue35907] [security][CVE-2019-9948] Unnecessary URL scheme exists to allow local_file:// reading file in urllib

2020-05-18 Thread Petter S
Petter S added the comment: OK: https://bugs.python.org/issue40673 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40673] urllib.request.URLopener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
Change by Petter S : -- title: UrlOpener raises different exceptions based on implementation detail -> urllib.request.URLopener raises different exceptions based on implementation detail ___ Python tracker

[issue40673] UrlOpener raises different exceptions based on implementation detail

2020-05-18 Thread Petter S
New submission from Petter S : The following code crashes with TypeError: URLopener().open("unknown_proxy://test") the expected behavior is an OSError, which is normally raised for unknown protocols. This implementation of directly calling a method called "unknown_proxy" is fragile and was

[issue40257] Improve the use of __doc__ in pydoc

2020-05-18 Thread Łukasz Langa
Łukasz Langa added the comment: Looks like the revert is solving the issue? -- priority: release blocker -> high ___ Python tracker ___

Re: why no camelCase in PEP 8?

2020-05-18 Thread Chris Angelico
On Tue, May 19, 2020 at 7:11 AM Eli the Bearded <*@eli.users.panix.com> wrote: > Here's a simple argument against camel case Here's an even simpler argument. XMLHttpRequest ChrisA -- https://mail.python.org/mailman/listinfo/python-list

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +19495 pull_request: https://github.com/python/cpython/pull/20194 ___ Python tracker ___

[issue40528] Improve / Clear ASDL generator

2020-05-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19494 pull_request: https://github.com/python/cpython/pull/20193 ___ Python tracker ___

Re: why no camelCase in PEP 8?

2020-05-18 Thread Eli the Bearded
In comp.lang.python, Paul Rubin wrote: > I don't know if this was the explicit motivation for PEP 8, but it > has always seemed valid to me: > > https://en.wikipedia.org/wiki/Camel_case#Readability_studies There are three things cited there. One is a NYTimes story from 2009 "Against Camel

Re: Subprocess Popen confusion

2020-05-18 Thread Dick Holmes
In article , __pete...@web.de says... > > Dick Holmes wrote: > > > https://occovid19.ochealthinfo.com/coronavirus-in-oc > > > I'm trying to > > communicate using a continuing dialog between two > > processes on the same system. > > I think pexpect > >

NumPy 1.19. 0rc1 Release

2020-05-18 Thread Charles R Harris
Hi All, On behalf of the NumPy team I am pleased to announce that NumPy 1.19.0rc1 h= as been released. This NumPy release is marked by the removal of much technical debt: support for Python 2 has been removed, many deprecations have been expired, and documentation has been improved. The polishing

[issue38870] Expose ast.unparse in the ast module

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset c102a148256b00b7d48c51a1a97df19042e603de by Batuhan Taskaya in branch 'master': bpo-38870: Don't omit parenthesis when unparsing a slice in ast.unparse https://github.com/python/cpython/commit/c102a148256b00b7d48c51a1a97df19042e603de

Re: why no camelCase in PEP 8?

2020-05-18 Thread Chris Angelico
On Tue, May 19, 2020 at 5:51 AM Lance E Sloan wrote: > > I've been using Python for about 18 years. Several things have changed in > the language in those years. I don't disagree with most of it, but one of > the things that annoys me is the disapproval of using camelCase to name > symbols

why no camelCase in PEP 8?

2020-05-18 Thread Lance E Sloan
I've been using Python for about 18 years. Several things have changed in the language in those years. I don't disagree with most of it, but one of the things that annoys me is the disapproval of using camelCase to name symbols such as variables, functions, etc. I think PEP 8, the "Style

[issue40663] Wrong generated annotation on subscripting

2020-05-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19493 pull_request: https://github.com/python/cpython/pull/20192 ___ Python tracker ___

[issue40663] Wrong generated annotation on subscripting

2020-05-18 Thread Batuhan Taskaya
Change by Batuhan Taskaya : -- pull_requests: +19492 pull_request: https://github.com/python/cpython/pull/20191 ___ Python tracker ___

[issue40334] PEP 617: new PEG-based parser

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 75b863aa97016c6813709eb620c43295f84dd51f by Lysandros Nikolaou in branch 'master': bpo-40334: Reproduce error message for type comments on bare '*' in the new parser (GH-20151)

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-18 Thread Tal Einat
Tal Einat added the comment: I closed the PR but IMO this issue should remain open. I am changing the title, though, since this is not actually Windows-specific. -- ___ Python tracker

[issue40452] IDLE: preserve clipboard on closure

2020-05-18 Thread Tal Einat
Change by Tal Einat : -- stage: resolved -> needs patch status: closed -> open title: IDLE: preserve clipboard on closure on Windows -> IDLE: preserve clipboard on closure ___ Python tracker

Determining index of range of values in a matrix

2020-05-18 Thread swaroop . sahoo769
Hi All, I am using python for doing the following: I have a matrix which has dimension of 174*993. Each row of the matrix has some numbers in the range of 30-30.5. I would like to determine the index of the numbers in the range of 30-30.5 in each row. I can determine the index of the numbers in

[issue38870] Expose ast.unparse in the ast module

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset d71a6492dbd5434dfa6a0ad95e3ad98aa690887a by CyberSaxosTiGER in branch 'master': bpo-38870: correctly escape unprintable characters on ast.unparse (GH-20166)

[issue40672] asyncio.wait_for: process future result produced during cancelation

2020-05-18 Thread Yury Selivanov
Yury Selivanov added the comment: > 2) Add some warning about the value is thrown away (in debug mode) and > document it somewhere. The documentation update is definitely something that needs to be done in 3.9. Want to submit a PR? We can also issue a warning in asyncio debug mode. I'm

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread Lysandros Nikolaou
Change by Lysandros Nikolaou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40669] PEG Parser benchmarks fail if memory_profiler is not installed

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset dc31800f86fbcd40ee616984820b885d8adaa6a7 by Lysandros Nikolaou in branch 'master': bpo-40669: Install PEG benchmarking dependencies in a venv (GH-20183) https://github.com/python/cpython/commit/dc31800f86fbcd40ee616984820b885d8adaa6a7

[issue40663] Wrong generated annotation on subscripting

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 2135e10dc717c00d10d899d232bebfc59bb25032 by Batuhan Taskaya in branch 'master': bpo-40663: Correctly handle annotations with subscripts in ast_unparse.c (GH-20156)

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset e6578a226d8a8a13d1062d154fad0fef28ee2416 by Irit Katriel in branch 'master': bpo-40662: Fixed ast.get_source_segment for ast nodes that have incomplete location information (GH-20157)

[issue40662] ast.get_source_segment behaviour with missing location info doesn't match docstring

2020-05-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +3.9regression -patch ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue40528] Improve / Clear ASDL generator

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 63b8e0cba3d43e53a8dd8878ee1443c8427f462d by Batuhan Taskaya in branch 'master': bpo-40528: Improve AST generation script to do builds simultaneously (GH-19968)

[issue40661] The new parser segfaults when parsing invalid input

2020-05-18 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 7b7a21bc4fd063b26a2d1882fddc458861497812 by Lysandros Nikolaou in branch 'master': bpo-40661: Fix segfault when parsing invalid input (GH-20165) https://github.com/python/cpython/commit/7b7a21bc4fd063b26a2d1882fddc458861497812

[issue40661] The new parser segfaults when parsing invalid input

2020-05-18 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue40257] Improve the use of __doc__ in pydoc

2020-05-18 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 08b47c367a08f571a986366aa33828d3951fa88d by Serhiy Storchaka in branch 'master': bpo-40257: Revert changes to inspect.getdoc() (GH-20073) https://github.com/python/cpython/commit/08b47c367a08f571a986366aa33828d3951fa88d --

[issue40672] asyncio.wait_for: process future result produced during cancelation

2020-05-18 Thread Roman Skurikhin
New submission from Roman Skurikhin : In https://bugs.python.org/issue40607 asyncio.wait_for behavior was changed so it propagates exceptions that happened during cancellation. But it still raises `TimeoutError` if cancelation ends with some value being returned. In the following example

[issue32803] smtplib: LMTP broken in the case of multiple RCPT

2020-05-18 Thread Jacob Middag
Jacob Middag added the comment: Could anyone take a look to the PR? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

Re: Sphinx plugin to make easier-to-navigate class documentation

2020-05-18 Thread Ethan Furman
On 05/18/2020 09:46 AM, Kale Kundert wrote: I'm writing to share a Sphinx plugin I wrote, which I think makes the documentation for large classes much easier to navigate and understand.  The plugin is called `autoclasstoc` and you can find the documentation here:

[issue40257] Improve the use of __doc__ in pydoc

2020-05-18 Thread Mark Dickinson
Change by Mark Dickinson : -- nosy: +mark.dickinson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35890] Cleanup some non-consistent API callings

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset 460eac20a625d5dcef409dadc120a26d272a8013 by Miss Islington (bot) in branch '3.8': bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974) https://github.com/python/cpython/commit/460eac20a625d5dcef409dadc120a26d272a8013

Sphinx plugin to make easier-to-navigate class documentation

2020-05-18 Thread Kale Kundert
I'm writing to share a Sphinx plugin I wrote, which I think makes the documentation for large classes much easier to navigate and understand.  The plugin is called `autoclasstoc` and you can find the documentation here: https://autoclasstoc.readthedocs.io/en/latest/ I wrote this plugin because,

[issue35890] Cleanup some non-consistent API callings

2020-05-18 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +19491 pull_request: https://github.com/python/cpython/pull/20190 ___ Python tracker ___

[issue35890] Cleanup some non-consistent API callings

2020-05-18 Thread miss-islington
Change by miss-islington : -- nosy: +miss-islington nosy_count: 5.0 -> 6.0 pull_requests: +19490 pull_request: https://github.com/python/cpython/pull/20189 ___ Python tracker

[issue35890] Cleanup some non-consistent API callings

2020-05-18 Thread Steve Dower
Steve Dower added the comment: New changeset 98e42d1f882b9b59f587d538c562dbc7d11c64c3 by Minmin Gong in branch 'master': bpo-35890: Use RegQueryInfoKeyW and CryptAcquireContextW explicitly (GH-19974) https://github.com/python/cpython/commit/98e42d1f882b9b59f587d538c562dbc7d11c64c3

[issue25872] multithreading traceback KeyError when modifying file

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40620] Range tutorial shorthand could be made clearer

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset ab9d9535aad5e627cb9ae471f186e27a65e48c6e by Miss Islington (bot) in branch '3.8': bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h (GH-20137)

[issue40646] Builtins in doc show signature in documentation

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40646] Builtins in doc show signature in documentation

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: -rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40670] supplying an empty string to timeit causes an IndentationError

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40042] Enum Flag: psuedo-members have None for name attribute

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40666] TarFile.add does not support pathlib.Path as a value to first argument.

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40657] Resource leaks with threading.Thread

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40650] Pytime.c doesn't need to include windows.h

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset 8e49c1fcf15969ca5c585648a5520617cc0566e6 by Miss Islington (bot) in branch '3.7': bpo-40650: Include winsock2.h in pytime.c, instead of a full windows.h (GH-20137)

[issue38815] test_ssl: test_min_max_version() fails on FreeBSD and Fedora

2020-05-18 Thread Christian Heimes
Christian Heimes added the comment: If you think that a ticket no longer apply, please use the pending status and give me a chance to verify the result. I haven't looked into the issue and I don't have time to do it right now. -- stage: resolved -> commit review status: open ->

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset ddd5bbdeec8cf18ef074b3506c96d22ac3dc1f93 by Miss Islington (bot) in branch '3.8': bpo-40653: Move _dirnameW out of GH-ifdef HAVE_SYMLINK/GH-endif (GH-20144) https://github.com/python/cpython/commit/ddd5bbdeec8cf18ef074b3506c96d22ac3dc1f93

[issue40640] Tutorial for Continue missing ... line

2020-05-18 Thread Rahul Kumaresan
Change by Rahul Kumaresan : -- nosy: +rahul-kumi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue40653] _dirnameW is used outside HAVE_SYMLINK

2020-05-18 Thread miss-islington
miss-islington added the comment: New changeset 6da26f8cec5c3f012e2fd001042ccadcd8aba640 by Miss Islington (bot) in branch '3.7': bpo-40653: Move _dirnameW out of GH-ifdef HAVE_SYMLINK/GH-endif (GH-20144) https://github.com/python/cpython/commit/6da26f8cec5c3f012e2fd001042ccadcd8aba640

[issue40452] IDLE: preserve clipboard on closure on Windows

2020-05-18 Thread E. Paine
Change by E. Paine : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38605] [typing] PEP 563: Postponed evaluation of annotations: enable it by default in Python 3.10

2020-05-18 Thread Guido van Rossum
Guido van Rossum added the comment: Too bad nobody took any action here after the positive outcome of the discussion at the summit. -- components: +Interpreter Core -Library (Lib) stage: -> needs patch type: -> behavior versions: -Python 3.9

  1   2   3   >