[issue36459] A possible double PyMem_FREE() due to tokenizer.c's tok_nextc()

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

[issue36459] A possible double PyMem_FREE() due to tokenizer.c's tok_nextc()

2019-03-27 Thread Zackery Spytz
Change by Zackery Spytz : -- keywords: +patch pull_requests: +12541 stage: -> patch review ___ Python tracker ___ ___

[issue36459] A possible double PyMem_FREE() due to tokenizer.c's tok_nextc()

2019-03-27 Thread Zackery Spytz
New submission from Zackery Spytz : Commit cb90c89de14aab636739b3e810cf949e47b54a0c added a PyMem_FREE(tok->buf) call in tok_nextc() if a PyMem_REALLOC() call fails. This will cause a double free when PyTokenizer_Free() is called on the tokenizer state. -- components: Interpreter

[issue36457] functools.singledispatchmethod interacts poorly with subclasses

2019-03-27 Thread Inada Naoki
Change by Inada Naoki : -- nosy: +lukasz.langa ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36458] Compile errors --without-threads

2019-03-27 Thread patrik
patrik added the comment: Not a problem. I wanted to record the issue just in case someone else encounters it, and also because there seems to have been a history of issues with the no-threads option. Happy to hear its sorted in 3.7. -- ___

[issue6422] timeit called from within Python should allow autoranging

2019-03-27 Thread Steven D'Aprano
Steven D'Aprano added the comment: > Were you working on the additional functionality that you mentioned in > msg272704 or would that be open for someone else to do? Thanks! Please consider it open. I don't expect it to be difficult, it's just finding the Round Tuits. Perhaps an easy first

[issue36458] Compile errors --without-threads

2019-03-27 Thread Ned Deily
Ned Deily added the comment: Thanks for the report. Unfortunately, Python 3.6.8 was the last bugfix release of 3.6 so we now only accept and fix security-related issues for it. I did a quick check and this does not appear to be a problem in 3.7.x but feel free to re-open the issue if it

[issue36458] Compile errors --without-threads

2019-03-27 Thread patrik
New submission from patrik : Compiling python 3.6.8 configured with --without-threads (no other options) fails, with undefined references to PyGILState_GetThisThreadState in pylifecycle.c, and PyGILState_Ensure and PyGILState_Release in object.c. I used Louis' fix from issue #24784 in

[issue36457] functools.singledispatchmethod interacts poorly with subclasses

2019-03-27 Thread Tim Mitchell
New submission from Tim Mitchell : The new functools.singledispatchmethod (issue32380) class interacts poorly with subclasses. There is no way for a sub-class to override or extend the dispatch registry. E.g. class BaseVistor: @singledispatchmethod def visit(self, obj): raise

[issue36455] collections.abc.Sequence doesn't support reflection/introspection

2019-03-27 Thread James Edwards
James Edwards added the comment: Edit conflict -- indeed -- self closing. --- I should point out that this could be fixed with something like the following: @classmethod def __subclasshook__(cls, C): if cls is Sequence: return _check_methods(C, "__reversed__",

[issue36456] task.cancel unbound recursion

2019-03-27 Thread Dima Tisnek
New submission from Dima Tisnek : Cancelling a deadlocked group of tasks results in MaximumRecursionError Inspired by https://stackoverflow.com/questions/55341189/handling-asyncio-deadlocks Given the following test-asyncio.py: ``` import asyncio async def test(): async def f():

[issue36455] collections.abc.Sequence doesn't support reflection/introspection

2019-03-27 Thread Josh Rosenberg
Change by Josh Rosenberg : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36455] collections.abc.Sequence doesn't support reflection/introspection

2019-03-27 Thread Josh Rosenberg
Josh Rosenberg added the comment: This is an exact duplicate of #35190 - "collections.abc.Sequence cannot be used to test whether a class provides a particular interface (doc issue)" -- nosy: +josh.r resolution: -> duplicate superseder: -> collections.abc.Sequence cannot be used to

[issue36455] collections.abc.Sequence doesn't support reflection/introspection

2019-03-27 Thread James Edwards
James Edwards added the comment: This was tagged as 3.7, but the issue still exists AFAICT in the latest github master: https://github.com/python/cpython/blob/master/Lib/_collections_abc.py -- ___ Python tracker

[issue36455] collections.abc.Sequence doesn't support reflection/introspection

2019-03-27 Thread James Edwards
New submission from James Edwards : Consider: from collections.abc import * class DefinitelyNotAList: def __init__(self, backer): self.backer = backer def __getitem__(self, key): return self.backer[key] def __len__(self):

[issue36454] test_time: test_monotonic() failed on AMD64 FreeBSD 10-STABLE Non-Debug 3.7

2019-03-27 Thread STINNER Victor
New submission from STINNER Victor : AMD64 FreeBSD 10-STABLE Non-Debug 3.7: https://buildbot.python.org/all/#/builders/170/builds/354 == FAIL: test_monotonic (test.test_time.TimeTestCase)

[issue36085] Enable better DLL resolution

2019-03-27 Thread Eryk Sun
Eryk Sun added the comment: > There are no specific "import" tests, because it's such a pain to set > those up (I need to delete files from the build directory during the > test, and if other tests have already used them that will fail, or I > need to copy the Python install elsewhere so it

[issue36451] Docs zh-cn roots error in nav bar

2019-03-27 Thread Ned Deily
Change by Ned Deily : -- assignee: -> mdk components: +Documentation ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36453] get_importer only return the first valid path_hook(importer)

2019-03-27 Thread Windson Yang
New submission from Windson Yang : Is it an expected behavior the get_importer function only returns the first valid path_hook(importer) from sys.path_hooks? def get_importer(path_item): """Retrieve a finder for the given path item The returned finder is cached in

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-27 Thread miss-islington
miss-islington added the comment: New changeset 1ff04dcadfb57a8a8f61a6ea93292e8ae96dca4a by Miss Islington (bot) in branch '3.7': bpo-36245: Fix more empty environment variable checks (GH-12592) https://github.com/python/cpython/commit/1ff04dcadfb57a8a8f61a6ea93292e8ae96dca4a --

[issue36448] Message "You will need to rebuild pythoncore to see the changes" should mention "make regen-all"

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: > For some reason, the Travis CI build on > https://github.com/python/cpython/pull/12582 isn't actually starting. It says > "Waiting for status to be reported" but I pushed 10 hours ago. Travis CI had some problem with linux builds

[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +inada.naoki, rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-27 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +12539 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36452] Detect dict iteration "overflow" when changing keys

2019-03-27 Thread Thomas Perl
New submission from Thomas Perl : Using: Python 3.8 (git commit ID: d5a5a33f12b60129d57f9b423b77d2fcba506834), the following code snippet: = a = {0: 0} for i in a: del a[i] a[i+1] = 0 print(i) = Prints the following output: = 0 1 2 3 4 = The reason for this

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-27 Thread Steve Dower
Change by Steve Dower : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +12538 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-27 Thread Steve Dower
Steve Dower added the comment: New changeset bb89aa24cf71f9874d1d26f3a2440fefa0b6bbcc by Steve Dower in branch '2.7': bpo-36245: Avoid problems when building in a directory containing spaces. (GH-12241) https://github.com/python/cpython/commit/bb89aa24cf71f9874d1d26f3a2440fefa0b6bbcc

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-27 Thread Steve Dower
Steve Dower added the comment: New changeset b95a79c928fc4a6135d91c0c553cb2a63cf15140 by Steve Dower in branch 'master': bpo-36245: Fix more empty environment variable checks (GH-12592) https://github.com/python/cpython/commit/b95a79c928fc4a6135d91c0c553cb2a63cf15140 --

[issue36085] Enable better DLL resolution

2019-03-27 Thread Steve Dower
Steve Dower added the comment: I implemented the feature Eryk was asking for, as it's also by far the easiest way to test the add_dll_directory function. So now ctypes.CDLL (and subclasses) have a `winmode` argument that gets turned directly into LoadLibraryEx flags (changing `mode` would

[issue36451] Docs zh-cn roots error in nav bar

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I guess it will be fixed with https://bugs.python.org/issue36425 -- nosy: +mdk, xtreak, zhsj ___ Python tracker ___

[issue36451] Docs zh-cn roots error in nav bar

2019-03-27 Thread Solo Lee
New submission from Solo Lee : There is no link to zh-cn docs in python docs page, as in the file upload. Thx! -- files: python docs en page.png messages: 338992 nosy: Solo Lee priority: normal severity: normal status: open title: Docs zh-cn roots error in nav bar type: behavior Added

[issue31327] bug in dateutil\tz\tz.py

2019-03-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31327] bug in dateutil\tz\tz.py

2019-03-27 Thread Cheryl Sabella
Change by Cheryl Sabella : -- stage: -> needs patch versions: +Python 3.7, Python 3.8 -Python 3.6 ___ Python tracker ___ ___

[issue33953] The DEFAULT_ENTROPY variable used to store the current default random bytes value should be documented for `secrets` module

2019-03-27 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +rhettinger versions: -Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue31292] `python setup.py check --restructuredtext` fails when a include directive is present.

2019-03-27 Thread miss-islington
miss-islington added the comment: New changeset 9cad523328324bd82fa19b597ead1614a0e61ae2 by Miss Islington (bot) in branch '3.7': bpo-31292: Fixed distutils check --restructuredtext for include directives (GH-10605)

[issue31292] `python setup.py check --restructuredtext` fails when a include directive is present.

2019-03-27 Thread miss-islington
miss-islington added the comment: New changeset 600aca47f085a06579e7af4c6423ea7e907b4bb4 by Miss Islington (bot) in branch '2.7': bpo-31292: Fixed distutils check --restructuredtext for include directives (GH-10605)

[issue31292] `python setup.py check --restructuredtext` fails when a include directive is present.

2019-03-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thanks @flying sheep for the PR and @merwok for the review! -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 2.7, Python 3.8 -Python 3.5, Python 3.6 ___ Python

[issue36448] Message "You will need to rebuild pythoncore to see the changes" should mention "make regen-all"

2019-03-27 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > As an aside, I thought we had a merge hook to check this on Travis? For some reason, the Travis CI build on https://github.com/python/cpython/pull/12582 isn't actually starting. It says "Waiting for status to be reported" but I pushed 10 hours ago...

[issue31292] `python setup.py check --restructuredtext` fails when a include directive is present.

2019-03-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: New changeset d5a5a33f12b60129d57f9b423b77d2fcba506834 by Cheryl Sabella (Philipp A) in branch 'master': bpo-31292: Fixed distutils check --restructuredtext for include directives (GH-10605)

[issue31292] `python setup.py check --restructuredtext` fails when a include directive is present.

2019-03-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +12537 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31292] `python setup.py check --restructuredtext` fails when a include directive is present.

2019-03-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +12536 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36373] asyncio.gather: no docs for deprecated loop parameter

2019-03-27 Thread dtrauma
dtrauma added the comment: Yes, exactly, document deprecation status XOR what it does :) -- ___ Python tracker ___ ___

[issue36373] asyncio.gather: no docs for deprecated loop parameter

2019-03-27 Thread Emmanuel Arias
Emmanuel Arias added the comment: @dtrauma jus for clarify. You say that if loop is not deprecated document it else document it. Right? -- ___ Python tracker ___

[issue36373] asyncio.gather: no docs for deprecated loop parameter

2019-03-27 Thread dtrauma
dtrauma added the comment: Just to be clear, I don't know if loop is deprecated on this function like on all the others, I just suspect it to be. But it currently is completely undocumented, which either way is a bug. :) -- ___ Python tracker

[issue36448] Message "You will need to rebuild pythoncore to see the changes" should mention "make regen-all"

2019-03-27 Thread Steve Dower
Steve Dower added the comment: So an important aspect of the "fix" is that this message only appears after the fix has been applied. Anyone running into this locally has already updated those files, and just needs to "git add -u" to include them in their next commit. (Unfortunately, MSBuild

[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

2019-03-27 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: To clarify: the purpose of MyList is specifically to check that no double deallocations occur. For this test to make sense, MyList should not use the trashcan itself. -- ___ Python tracker

[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

2019-03-27 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: Yes of course. When not using the trashcan, stuff crashes. I don't get your point... -- ___ Python tracker ___

[issue36443] Disable coerce_c_locale and utf8_mode by default in _PyPreConfig?

2019-03-27 Thread STINNER Victor
STINNER Victor added the comment: Done. I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36202] Calling Py_DecodeLocale() before _PyPreConfig_Write() can produce mojibake

2019-03-27 Thread STINNER Victor
STINNER Victor added the comment: My commit disabled C locale coercion and UTF-8 Mode by default when Python is embedded which fix this issue in Python 3.8. I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue36202] Calling Py_DecodeLocale() before _PyPreConfig_Write() can produce mojibake

2019-03-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset d929f1838a8fba881ff0148b7fc31f6265703e3d by Victor Stinner in branch 'master': bpo-36443: Disable C locale coercion and UTF-8 Mode by default (GH-12589) https://github.com/python/cpython/commit/d929f1838a8fba881ff0148b7fc31f6265703e3d

[issue36443] Disable coerce_c_locale and utf8_mode by default in _PyPreConfig?

2019-03-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset d929f1838a8fba881ff0148b7fc31f6265703e3d by Victor Stinner in branch 'master': bpo-36443: Disable C locale coercion and UTF-8 Mode by default (GH-12589) https://github.com/python/cpython/commit/d929f1838a8fba881ff0148b7fc31f6265703e3d

[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

2019-03-27 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Disabling the trashcan mechanism returns the problem for solving which the trashcan mechanism was introduced. >>> from _testcapi import MyList >>> L = None >>> for i in range(100): ... L = MyList((L,)) ... >>> del L Segmentation fault (core

[issue36273] test_thread leaks a core dump on PPC64 AIX 3.x

2019-03-27 Thread Michael Felt
Michael Felt added the comment: I have looked at this briefly. I would consider it a regression, or a spurious incident as the bot run before (https://buildbot.python.org/all/#/builders/10/builds/2223) and after (https://buildbot.python.org/all/#/builders/10/builds/2225) do not show this

[issue20271] urllib.parse.urlparse() accepts wrong URLs

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: See also issue36338 for a possible security issue for host of value "benign.com[attacker.com]" (spam[::1] format) where attacker.com is parsed as the host name assuming presence of [ and ] to be a IPV6 address without validation of the value

[issue36338] urlparse of urllib returns wrong hostname

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I found this page to be uesful : https://url.spec.whatwg.org/#host-parsing and following the steps it seems that this should raise an error since at the 7th step it denotes that asciiDomain shouldn't contain forbidden host code point including

[issue33356] Windows 10 buildbot: test__xxsubinterpreters.test_already_running() fails randomly

2019-03-27 Thread STINNER Victor
STINNER Victor added the comment: The bug is still here. It looks like a race condition triggered on very slow buildbot like AMD64 FreeBSD 10-STABLE Non-Debug 3.x: https://buildbot.python.org/all/#/builders/167/builds/728 0:18:13 load avg: 4.84 [405/420/1] test__xxsubinterpreters failed --

[issue36441] Cannot create venv with debug binaries installed

2019-03-27 Thread miss-islington
miss-islington added the comment: New changeset 65445f65e6080310d612f73083ba172eb2c6e326 by Miss Islington (bot) in branch '3.7': bpo-36441: Fixes creating a venv when debug binaries are installed. (GH-12566) https://github.com/python/cpython/commit/65445f65e6080310d612f73083ba172eb2c6e326

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-27 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +12535 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-27 Thread Steve Dower
Steve Dower added the comment: I did the 2.7 backport, and also fixed two more instances in that file. Pretty sure my automerges won't work without a core dev review, so if someone wants to hit Approve and/or Merge for me, feel free. -- ___

[issue36245] PCBuild/build.bat errors, probably from space characters in paths

2019-03-27 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +12534 stage: backport needed -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue36450] 3D Array Assignment to all 2D sub-arrays

2019-03-27 Thread Eric Snow
Eric Snow added the comment: In Python, multiplication on a list does not make copies of the values in the original list. So what you have done is equivalent to the following: a = [0, 0] b = [a, a] M = [b, b] Hence: >>> M[0] is M[1] True >>> M[0][0] is M[0][1] True >>>

[issue33261] inspect.isgeneratorfunction fails on hand-created methods

2019-03-27 Thread Petr Viktorin
Petr Viktorin added the comment: I just reviewed, and I plan to merge it if I don't see any pushback from the others. Sorry for the extreme delay. -- nosy: +petr.viktorin ___ Python tracker

[issue32312] Create Py_AtExitRegister C API

2019-03-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: This may be especially useful to make sure that extension modules that have threads that were not created by Python calling into Python (registering with the interpreter and picking up the GIL) are stopped before the interpreter starts shutting down

[issue36441] Cannot create venv with debug binaries installed

2019-03-27 Thread miss-islington
Change by miss-islington : -- pull_requests: +12533 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36441] Cannot create venv with debug binaries installed

2019-03-27 Thread Steve Dower
Steve Dower added the comment: New changeset 4a9a505d6f2474a570422dad89f8d1b344d6cd36 by Steve Dower in branch 'master': bpo-36441: Fixes creating a venv when debug binaries are installed. (#12566) https://github.com/python/cpython/commit/4a9a505d6f2474a570422dad89f8d1b344d6cd36 --

[issue32312] Create Py_AtExitRegister C API

2019-03-27 Thread Eric Snow
Eric Snow added the comment: > Neil Schemenauer added the comment: > Regarding m_traverse, maybe the list of finalizers should be stored somewhere > in the interpreter > state, not in the atexit module state. That would make more sense to me. > atexit could merely be > a way to manage it

[issue31904] Python should support VxWorks RTOS

2019-03-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset f4333d0479d6974d142e858522e95cbf8381f016 by Victor Stinner (hliu0) in branch 'master': bpo-31904: Fix test_utf8_mode on VxWorks (GH-12428) https://github.com/python/cpython/commit/f4333d0479d6974d142e858522e95cbf8381f016 --

[issue36450] 3D Array Assignment to all 2D sub-arrays

2019-03-27 Thread John Bachman
Change by John Bachman : -- versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36444] Python initialization: remove _PyMainInterpreterConfig

2019-03-27 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36450] 3D Array Assignment to all 2D sub-arrays

2019-03-27 Thread John Bachman
New submission from John Bachman : Tested on Python3.6 on Ubuntu 18.04 The following code snippet produces the wrong results. Snippet: M = [[[0] * 2] * 2] * 2 M[0][0][0] = 1

[issue36443] Disable coerce_c_locale and utf8_mode by default in _PyPreConfig?

2019-03-27 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12531 stage: -> patch review ___ Python tracker ___ ___

[issue36202] Calling Py_DecodeLocale() before _PyPreConfig_Write() can produce mojibake

2019-03-27 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +12532 stage: -> patch review ___ Python tracker ___ ___

[issue35983] tp_dealloc trashcan shouldn't be called for subclasses

2019-03-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35900] Add pickler hook for the user to customize the serialization of user defined functions and types.

2019-03-27 Thread Pierre Glaser
Change by Pierre Glaser : -- pull_requests: +12530 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31341] remove IRIX support code

2019-03-27 Thread Chih-Hsuan Yen
Change by Chih-Hsuan Yen : -- pull_requests: +12529 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue16995] Add Base32 support for RFC4648 "Extended Hex" alphabet (patch attached)

2019-03-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: Is there interest in having this patch converted to a pull request? -- nosy: +cheryl.sabella versions: +Python 3.8 -Python 3.6 ___ Python tracker

[issue36446] Need Windows x86-64 MSI installer for Python >= 3.x.x

2019-03-27 Thread Zachary Ware
Zachary Ware added the comment: Our installer scheme was modernized for Python 3.5, and a description of its use can be found here: https://docs.python.org/3/using/windows.html The new scheme is significantly more flexible, though it is somewhat more complex to enable that flexibility. If

[issue36338] urlparse of urllib returns wrong hostname

2019-03-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: -12526 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36418] urllib.parse.*Result: support _replace for additional computed addresses

2019-03-27 Thread Fred L. Drake, Jr.
Change by Fred L. Drake, Jr. : -- nosy: +fdrake ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36338] urlparse of urllib returns wrong hostname

2019-03-27 Thread Ronald Oussoren
Ronald Oussoren added the comment: Given a quick scan of RFC 3986[1] I'd say that the behaviour of Ruby seems to be the most correct. That said, I'd also check what the major browsers do in this case (FWIW both FF and Safari use 'benign.com' as the hostname in this case). [1]

[issue25251] Unknown MS Compiler version 1900

2019-03-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: Should this issue be closed as third-party or do we want to leave it open as reference? -- nosy: +cheryl.sabella ___ Python tracker ___

[issue6422] timeit called from within Python should allow autoranging

2019-03-27 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hello Steven, Were you working on the additional functionality that you mentioned in msg272704 or would that be open for someone else to do? Thanks! -- nosy: +cheryl.sabella ___ Python tracker

[issue32312] Create Py_AtExitRegister C API

2019-03-27 Thread Cheryl Sabella
Change by Cheryl Sabella : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36447] test__xxsubinterpreters leaked references and memory blocks

2019-03-27 Thread Zackery Spytz
Change by Zackery Spytz : -- title: test__xxsubinterpreters leaked regards and memory blocks -> test__xxsubinterpreters leaked references and memory blocks ___ Python tracker

[issue36447] test__xxsubinterpreters leaked regards and memory blocks

2019-03-27 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue36447] test__xxsubinterpreters leaked regards and memory blocks

2019-03-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 34ef64fe5947bd7e1b075c785fc1125c4e600cd4 by Victor Stinner (Pablo Galindo) in branch 'master': bpo-36447, bpo-36447: Fix refleak in _PySys_InitMain() (GH-12586) https://github.com/python/cpython/commit/34ef64fe5947bd7e1b075c785fc1125c4e600cd4

[issue36444] Python initialization: remove _PyMainInterpreterConfig

2019-03-27 Thread STINNER Victor
STINNER Victor added the comment: New changeset 5ac27a50ff2b42216746fedc0522a92c53089bb3 by Victor Stinner in branch 'master': bpo-36444: Rework _Py_InitializeFromConfig() API (GH-12576) https://github.com/python/cpython/commit/5ac27a50ff2b42216746fedc0522a92c53089bb3 --

[issue36447] test__xxsubinterpreters leaked regards and memory blocks

2019-03-27 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +12528 stage: -> patch review ___ Python tracker ___ ___

[issue36407] xml.dom.minidom wrong indentation writing for CDATA section

2019-03-27 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35810] Object Initialization does not incref Heap-allocated Types

2019-03-27 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 364f0b0f19cc3f0d5e63f571ec9163cf41c62958 by Petr Viktorin (Eddie Elizondo) in branch 'master': bpo-35810: Incref heap-allocated types in PyObject_Init (GH-11661) https://github.com/python/cpython/commit/364f0b0f19cc3f0d5e63f571ec9163cf41c62958

[issue36449] __aexit__ is not called when a context manager is used in an async generator

2019-03-27 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Could this be possibly due to issue34769 ? There was another report related to this commit : issue36403 ➜ cpython git:(41e5ec377b) git checkout 41e5ec377b && make -s -j4 > /dev/null HEAD is now at 41e5ec377b bpo-34769: Thread safety for

[issue36449] __aexit__ is not called when a context manager is used in an async generator

2019-03-27 Thread Andrey Lemets
New submission from Andrey Lemets : This code (https://gist.github.com/EnotYoyo/d751951c5ff77e22686715aa9ab05b56) works correctly in python3.6.6 but does not in python3.6.8+ -- components: asyncio messages: 338953 nosy: Andrey Lemets, asvetlov, yselivanov priority: normal severity:

[issue36448] Message "You will need to rebuild pythoncore to see the changes" should mention "make regen-all"

2019-03-27 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +12527 stage: -> patch review ___ Python tracker ___ ___

[issue36448] Message "You will need to rebuild pythoncore to see the changes" should mention "make regen-all"

2019-03-27 Thread Jeroen Demeyer
New submission from Jeroen Demeyer : On Windows builds, one may get the message C:\projects\cpython\PCbuild\_freeze_importlib.vcxproj(130,5): error : importlib.h, importlib_external.h, importlib_zipimport.h updated. You will need to rebuild pythoncore to see the changes. See for example

[issue36447] test__xxsubinterpreters leaked regards and memory blocks

2019-03-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Bisecting shows that: 8b9dbc017a190d13f717e714630d620adb7c7ac2 is the first bad commit commit 8b9dbc017a190d13f717e714630d620adb7c7ac2 Author: Victor Stinner Date: Wed Mar 27 01:36:16 2019 +0100 bpo-36444: Remove _PyMainInterpreterConfig

[issue36447] test__xxsubinterpreters leaked regards and memory blocks

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

[issue36338] urlparse of urllib returns wrong hostname

2019-03-27 Thread Pierre Glaser
Change by Pierre Glaser : -- pull_requests: +12526 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36338] urlparse of urllib returns wrong hostname

2019-03-27 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- pull_requests: -12525 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36447] test__xxsubinterpreters leaked regards and memory blocks

2019-03-27 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I cannot reproduce with the current master: ❯ ./python -m test test__xxsubinterpreters -R : Run tests sequentially 0:00:00 load avg: 1.50 [1/1] test__xxsubinterpreters beginning 9 repetitions 123456789 . == Tests result: SUCCESS == 1 test OK.

[issue36338] urlparse of urllib returns wrong hostname

2019-03-27 Thread Pierre Glaser
Change by Pierre Glaser : -- pull_requests: +12525 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

  1   2   >