[issue38588] Use-after-free in dict/list

2019-10-27 Thread LCatro
LCatro added the comment: Sure ,but how can i pull my fix code ? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38610] use-after-free in list object function

2019-10-27 Thread LCatro
New submission from LCatro : Code 1 : static PyObject * list_index_impl(PyListObject *self, PyObject *value, Py_ssize_t start, Py_ssize_t stop) // ... for (i = start; i < stop && i < Py_SIZE(self); i++) { int cmp = PyObject_RichCompareBool(self->ob_item[i], value,

[issue22367] Add open_file_descriptor parameter to fcntl.lockf() (use the new F_OFD_SETLK flag)

2019-10-27 Thread Dong-hee Na
Dong-hee Na added the comment: On issue 38602, the constant related to open file descriptors will be added. I will finalize this issue after issue 38602 is closed. -- assignee: -> corona10 nosy: +corona10 ___ Python tracker

[issue38602] Add fcntl.F_OFD_XXXX constant

2019-10-27 Thread Dong-hee Na
Dong-hee Na added the comment: > See also issue22367. Okay I will take a look at it also. :) -- ___ Python tracker ___ ___

[issue38609] Trashcan mechanism segfault during interpreter finalization in Python 3.7.5

2019-10-27 Thread ysnt27
New submission from ysnt27 : My original issue was reported to Boost.Python, https://github.com/boostorg/python/issues/248 And I found similar issue https://bugs.python.org/issue17703 It seems root cause exists in Python not Boost.Python. As the issue #17703 is already closed, I want to open a

[issue23692] Undocumented feature prevents re module from finding certain matches

2019-10-27 Thread Ma Lin
Change by Ma Lin : -- nosy: +Ma Lin ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38608] Undocumented behavior that IsolatedAsyncioTestCase would enable event loop debug mode

2019-10-27 Thread Wei-Cheng Pan
New submission from Wei-Cheng Pan : In bpo-32972 we enabled debug mode in IsolatedAsyncioTestCase._setupAsyncioLoop, which may print some warnings that are not that important to tests. (e.g. Executing took 0.110 seconds) I personally don't really like it being turn on by default, but if it

[issue38599] Deprecate creation of asyncio object when the loop is not running

2019-10-27 Thread Andrew Svetlov
Andrew Svetlov added the comment: At least it is my learned lesson from aiohttp development. -- ___ Python tracker ___ ___

[issue38599] Deprecate creation of asyncio object when the loop is not running

2019-10-27 Thread Andrew Svetlov
Andrew Svetlov added the comment: I have a different feeling: we should start raising deprecation for asyncio.Queue() if it is created without running event loop. It required `get_event_loop()` and `loop.is_running()` checks. Later the pair can be replaced with `get_running_loop()`. I

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

2019-10-27 Thread Guido van Rossum
Guido van Rossum added the comment: We never should have mentioned 4.0 as the target date to make this the default (and only) behavior -- who knows whether there will ever even be a Python 4.0? Even 3.10 might be on the early side (assuming we'll switch to a year-long release cycle per PEP 602

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

2019-10-27 Thread Eric V. Smith
Change by Eric V. Smith : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38606] Function to count total number of common divisors of two numbers

2019-10-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: Also, next time I suggest that you try running the code at least once before submitting it, as your code contains a syntax error that prevents it from running. -- nosy: +steven.daprano ___ Python tracker

[issue38602] Add fcntl.F_OFD_XXXX constant

2019-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also issue22367. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38530] Offer suggestions on AttributeError

2019-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Interesting, why locals are not cleared when an exception leaves a frame? -- ___ Python tracker ___

[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-10-27 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: Actually there is a patch. So please @netbnd please open a PR https://github.com/python/cpython -- ___ Python tracker ___

[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-10-27 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: @benedwards14 Feel free to open a PR. @netbnd said anyone can take on the issue since he may take long to revert with a PR. -- nosy: +nanjekyejoannah ___ Python tracker

[issue21002] _sre.SRE_Scanner object should have a fullmatch() method

2019-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I concur with David. The SRE_Scanner object is not public. Its search() method is used for implementing finditer(). Its match() method could be useful for implementing a functional equivalent of \G in Perl. But I do not know a use case for its fullmatch()

[issue38530] Offer suggestions on AttributeError

2019-10-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think I am going to proceed to modify PR 16856 by adding the name and the object to the AttributeError exceptions. This should not extend the lifetime of the object more than the current exception is doing as the exception keeps alive the whole

[issue38530] Offer suggestions on AttributeError

2019-10-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I think I am going to proceed modifying PR 16858 by adding the name and the object to the AttributeError exceptions. This should not extend the lifetime of the object more than the current exception is doing as the exception keeps alive the whole

[issue38530] Offer suggestions on AttributeError

2019-10-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg355498 ___ Python tracker ___ ___ Python-bugs-list

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

2019-10-27 Thread Andrew Svetlov
Andrew Svetlov added the comment: lgtm -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38529] Python 3.8 improperly warns about closing properly closed streams

2019-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: Yes, I've experienced this bug. We need to fix this in 3.8.1. -- nosy: +lukasz.langa priority: normal -> release blocker ___ Python tracker

[issue38314] Implement unix read_pipe.is_reading() method

2019-10-27 Thread Andrew Svetlov
Andrew Svetlov added the comment: Please do. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38599] Deprecate creation of asyncio object when the loop is not running

2019-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: Yes. As a remedy for this particular problem we can add checks here and there comparing `asyncio.get_running_loop()` and `self._loop`. Performance will suffer a bit but the usability will greatly improve. --

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

2019-10-27 Thread Kyle Stanley
Kyle Stanley added the comment: > Regarding 3.8 release notes update -- not sure if it is needed flr docs-only > change. I'm not certain if the entry is necessary; my main concern is just that it's already present in the 3.8 release notes/whatsnew without anywhere to look for further

[issue38606] Function to count total number of common divisors of two numbers

2019-10-27 Thread ishan gambhir
Change by ishan gambhir : -- components: +Library (Lib) ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38606] Function to count total number of common divisors of two numbers

2019-10-27 Thread ishan gambhir
Change by ishan gambhir : -- status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-10-27 Thread Kyle Stanley
Kyle Stanley added the comment: Sounds good, I'll work on opening a PR. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38606] Function to count total number of common divisors of two numbers

2019-10-27 Thread ishan gambhir
ishan gambhir added the comment: no issue I will consider your worthy sugestion -- resolution: rejected -> status: closed -> open ___ Python tracker ___

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

2019-10-27 Thread Yury Selivanov
Yury Selivanov added the comment: I'd add `and will be removed in 3.11.` now. -- ___ Python tracker ___ ___ Python-bugs-list

[issue38607] Document that cprofile/profile only profile the main thread

2019-10-27 Thread Ben Spiller
New submission from Ben Spiller : The built-in profiling modules only provide information about the main thread (at least when invoked as documented). To avoid user confusion we should state this in the documentation at https://docs.python.org/3/library/profile.html. Potentially we could

[issue38606] Function to count total number of common divisors of two numbers

2019-10-27 Thread Mark Dickinson
Mark Dickinson added the comment: Sorry, but I'm rejecting this: I don't think this is likely to have value to a range of users, and it's not a basic building block - as such, it doesn't really fit with the current design and intended usage of the math module. You might consider publishing

[issue38606] Function to count total number of common divisors of two numbers

2019-10-27 Thread ishan gambhir
Change by ishan gambhir : -- components: -2to3 (2.x to 3.x conversion tool) ___ Python tracker ___ ___ Python-bugs-list mailing

[issue21002] _sre.SRE_Scanner object should have a fullmatch() method

2019-10-27 Thread Kyle Stanley
Kyle Stanley added the comment: > Is anyone able to make a call on whether this issue should be closed, or > alternatively give some guidance on what work this issue should encompass? Added Serhiy to the nosy list, since he's an active maintainer for the re module. -- nosy: +aeros

[issue38606] Function to count total number of common divisors of two numbers

2019-10-27 Thread ishan gambhir
New submission from ishan gambhir : The function given in attached file can be added in math module -- components: 2to3 (2.x to 3.x conversion tool) messages: 355490 nosy: ishan gambhir priority: normal severity: normal status: open title: Function to count total number of common

[issue21002] _sre.SRE_Scanner object should have a fullmatch() method

2019-10-27 Thread Kyle Stanley
Change by Kyle Stanley : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue23692] Undocumented feature prevents re module from finding certain matches

2019-10-27 Thread Matthew Barnett
Matthew Barnett added the comment: Suppose you had a pattern: .* It would advance one character on each iteration of the * until the . failed to match. The text is finite, so it would stop matching eventually. Now suppose you had a pattern: (?:)* On each iteration of the * it

[issue38606] Function to count total number of common divisors of two numbers

2019-10-27 Thread Mark Dickinson
Mark Dickinson added the comment: Thank you for the suggestion. I don't think this fits that well with the view of the math module as a set of basic building blocks: this is quite a specialist function that wouldn't come up often in applications. -- nosy: +mark.dickinson

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

2019-10-27 Thread Ivan Levkivskyi
Ivan Levkivskyi added the comment: IMO 3.10 would be better, since 3.9 would be too soon (it would be like a schedule for a normal deprecation). Also if we are really doing this, I think it is better to announce this soon. Also we should try to fix relevant issues related to string

[issue38529] Python 3.8 improperly warns about closing properly closed streams

2019-10-27 Thread Ron Frederick
Ron Frederick added the comment: Sorry, I should have said that the change below was in the file asyncio/streams.py. -- ___ Python tracker ___

[issue38529] Python 3.8 improperly warns about closing properly closed streams

2019-10-27 Thread Ron Frederick
Ron Frederick added the comment: I think the following change might address this problem: *** *** 233,239 def _on_reader_gc(self, wr): transport = self._transport ! if transport is not None: # connection_made was called

[issue32354] Unclear intention of deprecating Py_UNICODE_TOLOWER / Py_UNICODE_TOUPPER

2019-10-27 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-38604: Schedule Py_UNICODE API removal. -- ___ Python tracker ___ ___

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

2019-10-27 Thread STINNER Victor
STINNER Victor added the comment: I cited this change in the PEP 608 "Coordinated Python release". -- ___ Python tracker ___ ___

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

2019-10-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +levkivskyi ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38604] Schedule Py_UNICODE API removal

2019-10-27 Thread STINNER Victor
STINNER Victor added the comment: > (Right now) write an exhaustive list of all deprecated APIs: functions, > constants, types, etc. I searched "4.0" in the documentation: * Py_UNICODE type * array.array: "u" type * PyArg_ParseTuple, Py_BuildValue: "u", "u#", "Z", "Z#" formats *

[issue37838] typing.get_type_hints not working with forward-declaration and decorated functions

2019-10-27 Thread Benjamin Edwards
Benjamin Edwards added the comment: Hey Netzeband, are you still working on this, or would it be ok for me to have a go? If all you needed was help with a PR let me know, i have some experience? -- nosy: +benedwards14 ___ Python tracker

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

2019-10-27 Thread STINNER Victor
New submission from STINNER Victor : The PEP 563: Postponed evaluation of annotations was introduced an opt-in feature using "from __future__ import annotations". It is scheduled to become the default in Python 4.0. I would prefer to limit the number of incompatible changes in Python 4.0: it

[issue38604] Schedule Py_UNICODE API removal

2019-10-27 Thread STINNER Victor
New submission from STINNER Victor : Python 3.3 deprecated the C API functions using Py_UNICODE type. Examples in the doc: * https://docs.python.org/dev/c-api/unicode.html#c.Py_UNICODE * https://docs.python.org/dev/c-api/unicode.html#deprecated-py-unicode-apis Currently, functions removal is

[issue18765] unittest needs a way to launch pdb.post_mortem or other debug hooks

2019-10-27 Thread Benjamin Edwards
Benjamin Edwards added the comment: Hi RĂ©mi, I'd also be happy to take a look at your problem, if it's still open, do you have patch of what you've done so far? -- nosy: +benedwards14 ___ Python tracker

[issue37330] open(): remove 'U' mode, deprecated since Python 3.3

2019-10-27 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16487 pull_request: https://github.com/python/cpython/pull/16959 ___ Python tracker ___

[issue29612] TarFile.extract() suffers from hard links inside tarball

2019-10-27 Thread TROUVERIE Joachim
Change by TROUVERIE Joachim : -- pull_requests: +16486 pull_request: https://github.com/python/cpython/pull/16958 ___ Python tracker ___

[issue22491] Support Unicode line boundaries in regular expression

2019-10-27 Thread Lewis Gaul
Lewis Gaul added the comment: Hi there, I'm running 'EnHackathon' in a couple of weeks, and was wondering if this could be a good issue for a small team of first-time contributors with experience in C to work on. Would anyone be able to offer any guidance for where to start in

[issue38603] inspect.getdoc could examine the __class__ cell for dynamically generated subclasses

2019-10-27 Thread Antony Lee
Change by Antony Lee : -- keywords: +patch pull_requests: +16485 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16957 ___ Python tracker ___

[issue38603] inspect.getdoc could examine the __class__ cell for dynamically generated subclasses

2019-10-27 Thread Antony Lee
New submission from Antony Lee : Currently, `inspect.getdoc()` fails to inherit docstrings in dynamically generated subclasses, such as ``` class Base: def method(self): "some docstring" def make_subclass(): class subclass(Base): def method(self): return super().method()

[issue23692] Undocumented feature prevents re module from finding certain matches

2019-10-27 Thread Lewis Gaul
Lewis Gaul added the comment: Hi there, if anyone's able to provide any guidance on this issue I'd be happy to take a look into it. Is this a behaviour that is feasible to fix, or should this just be documented in some way as suggested by Evgeny? -- nosy: +Lewis Gaul

[issue15243] Misleading documentation for __prepare__

2019-10-27 Thread Benjamin Edwards
Benjamin Edwards added the comment: Is this still open, does the patch still need a pull request? -- nosy: +benedwards14 ___ Python tracker ___

[issue16142] ArgumentParser inconsistent with parse_known_args

2019-10-27 Thread Benjamin Edwards
Benjamin Edwards added the comment: Hey this has been open for quite a while, is there anything that needs finishing off? -- nosy: +benedwards14 ___ Python tracker ___

[issue21002] _sre.SRE_Scanner object should have a fullmatch() method

2019-10-27 Thread Lewis Gaul
Lewis Gaul added the comment: Scanner is not documented in CPython's own re documentation: https://docs.python.org/3/library/re.html#regular-expression-objects, so I'd say there's no obligation to maintain consistency with public APIs. Is anyone able to make a call on whether this issue

[issue38602] Add fcntl.F_OFD_XXXX constant

2019-10-27 Thread Dong-hee Na
Change by Dong-hee Na : -- keywords: +patch pull_requests: +16484 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16956 ___ Python tracker ___

[issue17306] Improve the way abstract base classes are shown in help()

2019-10-27 Thread Benjamin Edwards
Benjamin Edwards added the comment: Michael are you still interested in doing this, if not can I take it on? -- nosy: +benedwards14 ___ Python tracker ___

[issue38602] Add fcntl.F_OFD_XXXX constant

2019-10-27 Thread Dong-hee Na
New submission from Dong-hee Na : Since Linux 3.15 is released. fcntl.F_OFD_ is used for python code. It can be found on GitHub. (https://github.com/ceph/ceph/blob/41d3fdc554ce920a631c7c6699a383134173fcff/qa/workunits/fs/misc/filelock_interrupt.py#L13) I am working on this issue.

[issue38314] Implement unix read_pipe.is_reading() method

2019-10-27 Thread Benjamin Edwards
Benjamin Edwards added the comment: Shubham are you still interested in this, or are you ok with me taking it on? -- nosy: +benedwards14 ___ Python tracker ___

[issue38534] Version 3.8.0 has released with a wrong MS KB number reference

2019-10-27 Thread Benjamin Edwards
Benjamin Edwards added the comment: Have made a new PR, am just waiting for my CLA to be approved. -- nosy: +benedwards14 ___ Python tracker ___

[issue38534] Version 3.8.0 has released with a wrong MS KB number reference

2019-10-27 Thread Benjamin Edwards
Change by Benjamin Edwards : -- pull_requests: +16483 pull_request: https://github.com/python/cpython/pull/16955 ___ Python tracker ___

[issue38601] Couldn't able to install multiple python minor version in windows due to EXE script

2019-10-27 Thread Kiran Kumar Kotari
Change by Kiran Kumar Kotari : -- title: Couldn't able to install multiple python minor version in windows -> Couldn't able to install multiple python minor version in windows due to EXE script ___ Python tracker

[issue38601] Couldn't able to install multiple python minor version in windows

2019-10-27 Thread Kiran Kumar Kotari
New submission from Kiran Kumar Kotari : Today, Python 2.x/3.x Windows installation script is check for any python minor versions installed from the same train and updating it. This creates a problem of checking the project features. We solved multi-trains like 3.5 and 3.6 installation using

[issue38351] Modernize email example from %-formatting to f-string

2019-10-27 Thread Lewis Gaul
Lewis Gaul added the comment: Hi all, I'm a newcomer interested in making this small fix, but it looks like this has become a bit of a contentious issue. Are there any advances on whether this is a desirable fix? -- nosy: +Lewis Gaul ___ Python

[issue24430] ZipFile.read() cannot decrypt multiple members from Windows 7zFM

2019-10-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: > I got carried away refactoring the decrypter for a future scenario where > there could be different decrypters (possibly using certificates too) :) The decrypter was implemented with a generator for performance. The performance of decrypting is not

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-27 Thread Julien Palard
Julien Palard added the comment: New changeset 155a9dc129c129270763525cd3eb2704990e406d by Julien Palard (Miss Skeleton (bot)) in branch '3.7': bpo-38592 Add pt-br switcher to Python Docs website (GH-16924) (GH-16954)

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-27 Thread Julien Palard
Julien Palard added the comment: New changeset 955f96f6aae7c1a54d88c3f7a51c2e142ac7e4d4 by Julien Palard (Miss Skeleton (bot)) in branch '3.8': bpo-38592 Add pt-br switcher to Python Docs website (GH-16924) (GH-16953)

[issue37523] zipfile: Raise ValueError for i/o operations on closed zipfile.ZipExtFile

2019-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Could you please test what performance effect it has on read()? -- nosy: +serhiy.storchaka ___ Python tracker ___

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

2019-10-27 Thread Andrew Svetlov
Andrew Svetlov added the comment: > If we add the deprecation warning just for 3.9, would the removal release > also be pushed forward? Yes, deprecating in 3.9 with removal in 3.11 is fine. Regarding 3.8 release notes update -- not sure if it is needed flr docs-only change. In the

[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-27 Thread miss-islington
miss-islington added the comment: New changeset ed2db3113d54a5f8af1b419a9f5fdf3642285c82 by Miss Skeleton (bot) in branch '3.7': bpo-38334: Fix seeking backward on an encrypted zipfile.ZipExtFile. (GH-16937) https://github.com/python/cpython/commit/ed2db3113d54a5f8af1b419a9f5fdf3642285c82

[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-27 Thread miss-islington
miss-islington added the comment: New changeset 76fbdaa2a693caaa1b8eb34104720fc774ff80df by Miss Skeleton (bot) in branch '3.8': bpo-38334: Fix seeking backward on an encrypted zipfile.ZipExtFile. (GH-16937) https://github.com/python/cpython/commit/76fbdaa2a693caaa1b8eb34104720fc774ff80df

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +16481 pull_request: https://github.com/python/cpython/pull/16953 ___ Python tracker ___

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +16482 pull_request: https://github.com/python/cpython/pull/16954 ___ Python tracker ___

[issue38592] Add pt-br to the language switcher at the Python docs website

2019-10-27 Thread Julien Palard
Julien Palard added the comment: New changeset 85c6f8c65cd4f7219522c1f304bdfff19f785e7a by Julien Palard (Marco Rougeth) in branch 'master': bpo-38592 Add pt-br switcher to Python Docs website (GH-16924) https://github.com/python/cpython/commit/85c6f8c65cd4f7219522c1f304bdfff19f785e7a

[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +16479 pull_request: https://github.com/python/cpython/pull/16951 ___ Python tracker ___

[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +16480 pull_request: https://github.com/python/cpython/pull/16952 ___ Python tracker ___

[issue38334] zipfile: Seeking encrypted file breaks after seeking backwards

2019-10-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 5c32af7522d908e8c7da0243af37618433289cc5 by Serhiy Storchaka in branch 'master': bpo-38334: Fix seeking backward on an encrypted zipfile.ZipExtFile. (GH-16937) https://github.com/python/cpython/commit/5c32af7522d908e8c7da0243af37618433289cc5

[issue38600] Change the mark up of NULL

2019-10-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +patch pull_requests: +16478 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16950 ___ Python tracker

[issue38600] Change the mark up of NULL

2019-10-27 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : Currently NULL is mostly marked up as *NULL* in the C API documentation (although it is marked up as ``NULL`` outside of the C API documentation). It is rendered with italic font as function parameters and contradicts with formatting other macros and

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

2019-10-27 Thread Kyle Stanley
Kyle Stanley added the comment: > It was the first time I saw a deprecation clearly documented in a final > release that didn't have an associated deprecation warning. I want to clarify that this may be a more common occurrence than I'm realizing, I'm not entirely certain. Also it's not

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

2019-10-27 Thread Kyle Stanley
Kyle Stanley added the comment: > I think we can add `DeprecationWarning` for 3.9. If we add the deprecation warning just for 3.9, would the removal release also be pushed forward? > Honestly, we just missed the issue when were prepared for 3.8 Yeah that's definitely understandable, there

[issue38599] Deprecate creation of asyncio object when the loop is not running

2019-10-27 Thread Andrew Svetlov
New submission from Andrew Svetlov : Consider the following code: import asyncio q = asyncio.Queue() async def main(): await asyncio.gather(q.put(1), q.get(1)) asyncio.run(main()) This code just hangs since run() creates a loop but queue is bound with another (default) event loop.

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

2019-10-27 Thread Andrew Svetlov
Andrew Svetlov added the comment: I think we can add `DeprecationWarning` for 3.9. Since it is a) just a warning b) already marked as deprecated in docs -- the harm is minimal. Honestly, we just missed the issue when were prepared for 3.8 -- ___

[issue37309] idlelib/NEWS.txt for 3.9.0 and backports

2019-10-27 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset baf2657eff82f5c33ae8194499d97ba963871655 by Terry Jan Reedy in branch '3.7': [3.7] bpo-37309: First idlelib/NEWS.txt for 3.7.6 (GH-) (#16949) https://github.com/python/cpython/commit/baf2657eff82f5c33ae8194499d97ba963871655 --