[issue13153] IDLE 3.x on Windows exits when pasting non-BMP unicode

2019-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Thank you for your example Terry. There was one dubious place which I did not change because I did not know how to trigger the execution of it. Now the clipboard is fixed. -- ___ Python tracker

[issue13153] IDLE 3.x on Windows exits when pasting non-BMP unicode

2019-10-03 Thread Terry J. Reedy
Terry J. Reedy added the comment: A week ago, I thought that the astral solution was to always replace with the \U escape. With this patch, we can and should send them to read-only text windows, and let the OS and font display it or a substitute. On Windows, at least, the emoji which

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-03 Thread Tim Peters
Tim Peters added the comment: My understanding is that the CFFI types at issue don't even have Py_TPFLAGS_HAVE_GC. They're completely invisible to gc. As Armin says in the CFFI issue report (linked to earlier), he never got the impression from the docs that he needed to implement anything

[issue38337] inspect: getmembers calls properties

2019-10-03 Thread hongweipeng
hongweipeng added the comment: I mean why member `__class__` is expected to be `)`. I check PR16521,for __class__, it always gets `)`. -- ___ Python tracker ___

[issue38350] ./configure --with-pydebug should use -O0 rather than -Og

2019-10-03 Thread Ned Deily
Change by Ned Deily : -- versions: -Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38346] Wrong behavior when using `assert_called_with` with mutable object

2019-10-03 Thread Jim Jeon
Jim Jeon added the comment: Thank you all for the kind answers. I didn't know copying could cause so many problems. @veky Thank you for the example. But it seems that the example will actually raise and I think it should. I am talking f.assert_called_with(b) when `b` has same values of `a`

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset f0c85793d2a087974969f7eea6ca24bbd1178d53 by Victor Stinner in branch 'master': bpo-38353: Rework ismodule() in getpath.c (GH-16574) https://github.com/python/cpython/commit/f0c85793d2a087974969f7eea6ca24bbd1178d53 --

[issue37700] shutil.copyfile does not raise SpecialFileError for socket files

2019-10-03 Thread AWhetter
Change by AWhetter : -- keywords: +patch pull_requests: +16167 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16575 ___ Python tracker ___

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16166 pull_request: https://github.com/python/cpython/pull/16574 ___ Python tracker ___

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 03a8a56faca0c1851051269e3517d70cbce830b7 by Victor Stinner in branch 'master': bpo-38353: Add subfunctions to getpath.c (GH-16572) https://github.com/python/cpython/commit/03a8a56faca0c1851051269e3517d70cbce830b7 --

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset e982d8b64f5d358c578bfca5cdfe4524dbc74000 by Victor Stinner in branch 'master': bpo-38353: Fix compiler warning in internal headers (GH-16573) https://github.com/python/cpython/commit/e982d8b64f5d358c578bfca5cdfe4524dbc74000 --

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: On my Fedora 30, GCC doesn't complain on "typedef struct pyruntimestate _PyRuntimeState;". But clang on macOS emits a warning, saying that it's C11-only feature. So I modified the internal header files to use "struct pyruntimestate" instead, to avoid any

[issue38367] test_regrtest hanged on AMD64 Windows10 3.x

2019-10-03 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/3/builds/3617 ... 0:25:50 load avg: 0.00 running: test_regrtest (13 min 48 sec) 0:26:20 load avg: 0.00 running: test_regrtest (14 min 18 sec) 0:26:50 load avg: 0.00 running: test_regrtest (14 min 48 sec) 0:27:02

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16165 pull_request: https://github.com/python/cpython/pull/16573 ___ Python tracker ___

[issue38366] dataclasses: generate the _hash_action table from the if-else tree

2019-10-03 Thread Eric V. Smith
Eric V. Smith added the comment: I don't see that as an improvement, especially when the goal is to not change any functionality. But maybe I'm just used to truth tables. To me, the truth table makes it clear that each case is handled correctly. -- assignee: -> eric.smith nosy:

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16164 pull_request: https://github.com/python/cpython/pull/16572 ___ Python tracker ___

[issue38366] dataclasses: generate the _hash_action table from the if-else tree

2019-10-03 Thread Io Mintz
New submission from Io Mintz : The dataclasses._hash_action table is currently a bit hard to read. It could be generated once from the if-else tree written in https://bugs.python.org/issue32929#msg312829 instead, which would both be easier to read and easier to maintain, while still

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2019-10-03 Thread Zachary Ware
Change by Zachary Ware : -- nosy: -Amin Radjabov, chipstuff, emniclap, mwr256, paul.moore, steve.dower, taleinat, terry.reedy, tim.golden, zach.ware ___ Python tracker ___

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2019-10-03 Thread Zachary Ware
Zachary Ware added the comment: This issue seems to have become a spam magnet, so I'm clearing the nosy list to keep it out of our inboxes. -- ___ Python tracker ___

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2019-10-03 Thread Zachary Ware
Change by Zachary Ware : -- nosy: -Printer Setup, jacksmait, prince_parker ___ Python tracker ___ ___ Python-bugs-list mailing

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2019-10-03 Thread Zachary Ware
Change by Zachary Ware : -- Removed message: https://bugs.python.org/msg345856 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2019-10-03 Thread Zachary Ware
Change by Zachary Ware : -- hgrepos: -383 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2019-10-03 Thread Zachary Ware
Change by Zachary Ware : -- Removed message: https://bugs.python.org/msg353882 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset c515b573af1189fc46ddcd3323c53ed073b84848 by Victor Stinner in branch 'master': bpo-38353: Fix compiler warning in pycore_initconfig.h (GH-16570) https://github.com/python/cpython/commit/c515b573af1189fc46ddcd3323c53ed073b84848 --

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: > Or even fatal error out? There's no reason to have Py_TPFLAGS_HAVE_GC but > not implement tp_traverse, AFAIR. Well... It would prefer a smooth transition. Such sanity checks which mostly concerns developers perfectly fit the -X dev mode. I mean,

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: > Would it make any sense to add an opt-in option to emit a warning when a new > type is created with Py_TPFLAGS_HAVE_GC but it doesn't implement tp_traverse? Or even fatal error out? There's no reason to have Py_TPFLAGS_HAVE_GC but not implement

[issue38235] Docs of logging module says argument is named "lvl". TypeError.

2019-10-03 Thread AWhetter
Change by AWhetter : -- keywords: +patch pull_requests: +16162 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16571 ___ Python tracker ___

[issue32545] Unable to install Python 3.7.0a4 on Windows 10 - Error 0x80070643: Failed to install MSI package.

2019-10-03 Thread jacksmait
jacksmait added the comment: if you are facing problem with printer problems then click on http://www.printertechsupportphonenumbers.com/printer-driver-support/ and get solution of windows 10 printer driver is unavailable, printer driver is unavailable and etc or free contact us at

[issue34344] Fix the docstring for AbstractEventLoopPolicy.get_event_loop

2019-10-03 Thread miss-islington
miss-islington added the comment: New changeset 4de3fbe27f672dcd9c24d3e99258f39b12c365a5 by Miss Islington (bot) in branch '3.7': bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463) https://github.com/python/cpython/commit/4de3fbe27f672dcd9c24d3e99258f39b12c365a5

[issue34344] Fix the docstring for AbstractEventLoopPolicy.get_event_loop

2019-10-03 Thread miss-islington
miss-islington added the comment: New changeset 8edde5caabc611c6320fd104244abe3a409cf0b6 by Miss Islington (bot) in branch '3.8': bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463) https://github.com/python/cpython/commit/8edde5caabc611c6320fd104244abe3a409cf0b6

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16161 pull_request: https://github.com/python/cpython/pull/16570 ___ Python tracker ___

[issue38353] Cleanup the path configuration implementation code (getpath.c)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 86ec5c65fe04ece16f3aada5292cc62726062ad0 by Victor Stinner in branch 'master': bpo-38353: Fix calculate_argv0_path() for symlinks (GH-16549) https://github.com/python/cpython/commit/86ec5c65fe04ece16f3aada5292cc62726062ad0 --

[issue34344] Fix the docstring for AbstractEventLoopPolicy.get_event_loop

2019-10-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +16160 pull_request: https://github.com/python/cpython/pull/16569 ___ Python tracker ___

[issue34344] Fix the docstring for AbstractEventLoopPolicy.get_event_loop

2019-10-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +16159 pull_request: https://github.com/python/cpython/pull/16568 ___ Python tracker ___

[issue34344] Fix the docstring for AbstractEventLoopPolicy.get_event_loop

2019-10-03 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset b23a8423a923077e4f83d3f328bb7542b4c940ed by Yury Selivanov (idomic) in branch 'master': bpo-34344 Fix AbstractEventLoopPolicy.get_event_loop docstring (GH-16463) https://github.com/python/cpython/commit/b23a8423a923077e4f83d3f328bb7542b4c940ed

[issue38266] Revert bpo-37878: Make PyThreadState_DeleteCurrent() Internal

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: > Since this sounds like a regression being introduced by 3.8.0, should the > reversion be included in 3.8.0 final or can it wait for 3.8.1? IMHO PR 16558 is safe: it adds code which already existed in Python 2.7, and likely previously. For me it's a low

[issue38140] Py_tp_dictoffset / Py_tp_finalize are unsettable in stable API

2019-10-03 Thread Eddie Elizondo
Eddie Elizondo added the comment: Woops, just realized that you already documented this, thanks! Btw, Victor already merged a fix for the windows compiler warning. This issue can be closed now -- ___ Python tracker

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: > 1. Docs should be changed to encourage implementing the full gc protocol for > "all" containers. Spell out what can go wrong if they don't. Be upfront > about that history has, at times, proved us too optimistic about that ever > since weakrefs were

[issue38346] Wrong behavior when using `assert_called_with` with mutable object

2019-10-03 Thread Mario Corchero
Mario Corchero added the comment: This might be painful in certain scenarios, like when using wraps on functions that modify the arguments: ``` def func(d): return d.pop("key") >>> def func(d): ... return d.pop("key") ... >>> m = Mock(wraps=func) >>> m({"key": 1}) 1 >>>

[issue34938] Fix mimetype.init() to account for from import

2019-10-03 Thread AWhetter
Change by AWhetter : -- keywords: +patch pull_requests: +16158 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16567 ___ Python tracker ___

[issue36225] Lingering subinterpreters should be implicitly cleared on shutdown

2019-10-03 Thread Joannah Nanjekye
Joannah Nanjekye added the comment: I remember julien wanting to check this out during a discussion we had at the sprints hence the loop in. -- nosy: +mdk ___ Python tracker

[issue38337] inspect: getmembers calls properties

2019-10-03 Thread Jonas Drotleff
Jonas Drotleff added the comment: > The results of this example are different from mine(version 3.7.4) I do not really see any difference. What do you mean? -- nosy: -Sanjay ___ Python tracker

[issue38337] inspect: getmembers calls properties

2019-10-03 Thread hongweipeng
hongweipeng added the comment: The results of this example are different from mine(version 3.7.4). ``` __init__ --- getmembers from instance --- Access property [('__class__', ), ... ('var', 'Hello')] --- getmembers from class--- [('__class__', ),'var', )] ``` -- nosy:

[issue26093] __qualname__ different when calling generator object w/ functions.partial

2019-10-03 Thread Dong-hee Na
Dong-hee Na added the comment: Python 3.9.0a0 (heads/bpo-31722:fc4a044a3c, Oct 4 2019, 03:10:14) [Clang 11.0.0 (clang-1100.0.33.8)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import functools >>> def f(): ... def g(): ... yield 1 ...

[issue7980] time.strptime not thread safe

2019-10-03 Thread Paul Ganssle
Paul Ganssle added the comment: >From what I can tell, this is a Python 2.7-only bug, and it's not a security >issue, so I think we can close the issue as either "wontfix" (because we won't >fix it in Python 2) or "fixed" (because it is already fixed in Python 3), >depending on your

[issue38266] Revert bpo-37878: Make PyThreadState_DeleteCurrent() Internal

2019-10-03 Thread Ned Deily
Ned Deily added the comment: Since this sounds like a regression being introduced by 3.8.0, should the reversion be included in 3.8.0 final or can it wait for 3.8.1? -- keywords: +3.8regression nosy: +lukasz.langa, ned.deily ___ Python tracker

[issue32758] Stack overflow when parse long expression to AST

2019-10-03 Thread Roundup Robot
Change by Roundup Robot : -- pull_requests: +16157 pull_request: https://github.com/python/cpython/pull/16566 ___ Python tracker ___

[issue38006] Crash in remove() weak reference callback of weakref.WeakValueDictionary at Python exit

2019-10-03 Thread Tim Peters
Tim Peters added the comment: Loose ends. Telegraphic because typing is hard. 1. Docs should be changed to encourage implementing the full gc protocol for "all" containers. Spell out what can go wrong if they don't. Be upfront about that history has, at times, proved us too optimistic

[issue32758] Stack overflow when parse long expression to AST

2019-10-03 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +16156 pull_request: https://github.com/python/cpython/pull/16565 ___ Python tracker ___

[issue37631] EXTRA_CFLAGS get overrided by CFLAGS_NODIST

2019-10-03 Thread Brett Cannon
Change by Brett Cannon : -- nosy: -brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue38357] print adding extra bytes in hex above x7F

2019-10-03 Thread Brett Cannon
Brett Cannon added the comment: @Artificial please see the various blog posts and explanations about why the clear separation between bytes and text came to be and thus this change isn't "unnecessarily complicated". -- nosy: +brett.cannon ___

[issue14364] Argparse incorrectly handles '--' as argument to option

2019-10-03 Thread Jonas Schäfer
Jonas Schäfer added the comment: Since I have been adversely affected by this bug ([1]), I looked at the patches. I combined issue14364.test.patch (which adds test cases for --foo=--) and dbldash.patch in my local working tree and that seems to resolve the issue (tests pass if and only if I

[issue38359] pyw.exe opens console window in Windows 10

2019-10-03 Thread Steve Dower
Steve Dower added the comment: This is resolved as far as I'm concerned - leaving open for Łukasz to cherrypick and close. -- stage: patch review -> backport needed ___ Python tracker

[issue38355] ntpath.realpath() fails on sys.executable

2019-10-03 Thread Steve Dower
Steve Dower added the comment: This is resolved as far as I'm concerned - leaving open for Łukasz to cherrypick and close. -- stage: patch review -> backport needed ___ Python tracker

[issue38359] pyw.exe opens console window in Windows 10

2019-10-03 Thread miss-islington
miss-islington added the comment: New changeset e74fa70bcc379de1ce956273c5386fc8a7b9c5e6 by Miss Islington (bot) in branch '3.8': bpo-38359: Ensures pyw.exe launcher reads correct registry key (GH-16561) https://github.com/python/cpython/commit/e74fa70bcc379de1ce956273c5386fc8a7b9c5e6

[issue38355] ntpath.realpath() fails on sys.executable

2019-10-03 Thread miss-islington
miss-islington added the comment: New changeset 6067e1d2bebccc2e73dd729d25c98df7bc9e2d59 by Miss Islington (bot) in branch '3.8': bpo-38355: Fix ntpath.realpath failing on sys.executable (GH-16551) https://github.com/python/cpython/commit/6067e1d2bebccc2e73dd729d25c98df7bc9e2d59 --

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread miss-islington
miss-islington added the comment: New changeset f9016e5fc9424d41c8e53de84f8699e78769a14a by Miss Islington (bot) in branch '3.7': [3.8] bpo-36670, regrtest: Fix WindowsLoadTracker() for partial line (GH-16550) (GH-16560)

[issue38363] No Module named ..." and UTF-8 Byte Order Marks

2019-10-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: False alarm, see Stephen Tucker's message here https://bugs.python.org/issue38365#msg353854 File name has a trailing space which is why it wasn't found. -- nosy: +steven.daprano resolution: -> works for me stage: -> resolved status: open ->

[issue38365] Issue 38363 - False Alarm - Sorry!

2019-10-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: Please don't create a *second* bug report to say that your previous bug report was erroneous. Just go and close the first one. -- nosy: +steven.daprano resolution: -> not a bug stage: -> resolved status: open -> closed

[issue38355] ntpath.realpath() fails on sys.executable

2019-10-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +16154 pull_request: https://github.com/python/cpython/pull/16563 ___ Python tracker ___

[issue38355] ntpath.realpath() fails on sys.executable

2019-10-03 Thread Steve Dower
Steve Dower added the comment: New changeset a0e3d27e4e3cb5b67e325df080fb18b70c2910cf by Steve Dower in branch 'master': bpo-38355: Fix ntpath.realpath failing on sys.executable (GH-16551) https://github.com/python/cpython/commit/a0e3d27e4e3cb5b67e325df080fb18b70c2910cf --

[issue38359] pyw.exe opens console window in Windows 10

2019-10-03 Thread Steve Dower
Steve Dower added the comment: New changeset 353fb1ecbfd58752dabae115c4964095e1e35e5f by Steve Dower in branch 'master': bpo-38359: Ensures pyw.exe launcher reads correct registry key (GH-16561) https://github.com/python/cpython/commit/353fb1ecbfd58752dabae115c4964095e1e35e5f --

[issue38359] pyw.exe opens console window in Windows 10

2019-10-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +16155 pull_request: https://github.com/python/cpython/pull/16564 ___ Python tracker ___

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: Thanks for the bug report. I was impacted by the bug with my French locale as well. I pushed a fix based on Lorenz Mende's work, with minor changes. I also enhanced WindowsLoadTracker to handle partial write and report parsing errors as warnings rather

[issue38365] Issue 38363 - False Alarm - Sorry!

2019-10-03 Thread Stephen Tucker
New submission from Stephen Tucker : Hi, Issue 38363 is a false alarm - I am sorry to have wasted your time. My mistake was that the file that had the BOM in it also had a space at the end of the filename. I removed the space and the module was found OK. Sorry again. Stephen Tucker.

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +16153 pull_request: https://github.com/python/cpython/pull/16562 ___ Python tracker ___

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset de3195c937d5fca0d79cc93dbafa76c0f89ca5b8 by Victor Stinner in branch '3.8': [3.8] bpo-36670, regrtest: Fix WindowsLoadTracker() for partial line (GH-16550) (GH-16560)

[issue38359] pyw.exe opens console window in Windows 10

2019-10-03 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +16152 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16561 ___ Python tracker ___

[issue38359] pyw.exe opens console window in Windows 10

2019-10-03 Thread Steve Dower
Change by Steve Dower : -- nosy: +lukasz.langa priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list

[issue38359] pyw.exe opens console window in Windows 10

2019-10-03 Thread Steve Dower
Steve Dower added the comment: I know what this is - in issue38133 I added support for the PEP 514 ExecutablePath key, but didn't add a check for WindowedExecutablePath for the pyw.exe case. I'll add it. -- assignee: -> steve.dower keywords: +3.8regression versions: +Python 3.9

[issue38333] add type signatures to library function docs

2019-10-03 Thread Guido van Rossum
Guido van Rossum added the comment: Since this discussion went down in flames quickly, I'm closing it. Another issue can be opened once someone has a concrete design of what this should look like in the formatted docs, an example that does this for a few libraries, and a prototype of a tool

[issue38333] add type signatures to library function docs

2019-10-03 Thread Guido van Rossum
Change by Guido van Rossum : -- resolution: -> postponed stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16151 pull_request: https://github.com/python/cpython/pull/16560 ___ Python tracker ___

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16150 pull_request: https://github.com/python/cpython/pull/16559 ___ Python tracker ___

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 098e25672f1c3578855d5ded4f5147795c9ed956 by Victor Stinner in branch 'master': bpo-36670: Enhance regrtest (GH-16556) https://github.com/python/cpython/commit/098e25672f1c3578855d5ded4f5147795c9ed956 --

[issue38364] inspect.iscoroutinefunction / isgeneratorfunction / isasyncgenfunction can't handle partialmethod objects

2019-10-03 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +asvetlov, yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue38364] inspect.iscoroutinefunction / isgeneratorfunction / isasyncgenfunction can't handle partialmethod objects

2019-10-03 Thread Martijn Pieters
New submission from Martijn Pieters : This is a follow-up to #33261, which added general support for detecting generator / coroutine / async generator functions wrapped in partials. It appears that partialmethod objects were missed out. While a partialmethod object will produce a

[issue13153] IDLE 3.x on Windows exits when pasting non-BMP unicode

2019-10-03 Thread Ma Lin
Ma Lin added the comment: > Thus this breaks editing the physical line past the astral character. We > cannot do anything with this. I tried, it's sad the experience is not very good. -- nosy: +Ma Lin ___ Python tracker

[issue38333] add type signatures to library function docs

2019-10-03 Thread Vedran Čačić
Vedran Čačić added the comment: https://www.python.org/dev/peps/pep-0484/#non-goals I really have nothing more to say. -- ___ Python tracker ___

[issue34455] Tkinter crashing when pressing Command + ^ (OSX)

2019-10-03 Thread Kevin Walzer
Kevin Walzer added the comment: We have committed some fixes to the keyboard code in the past year that seem to have fixed this issue. I do not see it in 8.6.10, now as a RC. I believe this bug is obsolete at this point. -- ___ Python tracker

[issue37878] Sub-Interpreters : Document PyThreadState_DeleteCurrent()

2019-10-03 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- pull_requests: +16149 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/16558 ___ Python tracker ___

[issue38362] platform.system() comparison problem

2019-10-03 Thread Steven D'Aprano
Steven D'Aprano added the comment: This is nothing to do with platform.system. You can see the same behaviour with any string comparison, or ints. The `is` operator is not a cute way of spelling `==`, it tests for object identity, not equality. It tests whether the two arguments are the

[issue38266] Revert bpo-37878: Make PyThreadState_DeleteCurrent() Internal

2019-10-03 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- keywords: +patch pull_requests: +16148 stage: -> patch review pull_request: https://github.com/python/cpython/pull/16558 ___ Python tracker

[issue1375011] http.cookies, Cookie.py: Improper handling of duplicate cookies

2019-10-03 Thread karl
karl added the comment: Relevant spec https://tools.ietf.org/html/rfc6265 -- nosy: +karlcow ___ Python tracker ___ ___

[issue38362] platform.system() comparison problem

2019-10-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Using "is" could be dependent on how the string is interned to refer to the same string during comparison for identity. Using == is more reliable and correct. -- nosy: +xtreak ___ Python tracker

[issue38348] Make python -m ast more configurable

2019-10-03 Thread Batuhan
Batuhan added the comment: I was checking typed_ast and i wanted to know which parts changed and implement that parts to astor. But there was no flags for --type-comments False. Also it can be handy to have an indention option to change it for fitting tree into the terminal width. On Thu,

[issue38363] No Module named ..." and UTF-8 Byte Order Marks

2019-10-03 Thread Stephen Tucker
New submission from Stephen Tucker : Hi, I am running Python 2.7.10 on Windows 10. I have discovered that if a .py source text file (that is, a Module text file) starts with a UTF-8 Byte Order Mark, the module does not get "found" by the import statement. I have just spent an inordinate

[issue38362] platform.system() comparison problem

2019-10-03 Thread Светломир Балевски
New submission from Светломир Балевски : Hi, I am using platform.system(). On linux I am using python3.6. >>> platform.system() 'Linux' >>> platform.system() is 'Linux' False >>> platform.system() == 'Linux' True On Windows with python 3.7: [‎10/‎3/‎2019 2:42 PM] >>> platform.system()

[issue38361] syslog: Default "ident" in syslog.openlog() shouldn't contain slash

2019-10-03 Thread Vaclav Bartos
New submission from Vaclav Bartos : When `syslog.openlog()` is called without parameters (or `syslog.syslog()` is called directly), the `ident` parameter should be set to "sys.argv[0] with leading path components stripped" (citation from docs). I suppose this means that when sys.argv[0] is

[issue38360] single-argument form of -isysroot should be supported

2019-10-03 Thread Joshua Root
New submission from Joshua Root : The path associated with the -isysroot compiler flag can be supplied either as a separate argument or in the same argument as -isysroot itself. The places in library code that do special handling of this flag should support both forms, but currently only

[issue9004] datetime.utctimetuple() should not set tm_isdst flag to 0

2019-10-03 Thread karl
karl added the comment: @gaurav The pull request https://github.com/python/cpython/pull/10870 has been closed in favor of https://github.com/python/cpython/pull/15773 which has already been merged. So we can probably close here. -- message_count: 7.0 -> 8.0 nosy: +karlcow

[issue38359] pyw.exe opens console window in Windows 10

2019-10-03 Thread Andrew Ushakov
New submission from Andrew Ushakov : pyw.exe (Python Launcher for Windows Version 3.8.121.1013) opens a console window at startup. To reproduce, run command below from the console: D:>pyw -c "import time; time.sleep(10)" By the way command: D:>pythomw -c "import time; time.sleep(10)" works

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16144 pull_request: https://github.com/python/cpython/pull/16556 ___ Python tracker ___

[issue19683] test_minidom has many empty tests

2019-10-03 Thread karl
karl added the comment: err… Errata on my previous comment. """ Simple implementation of the Level 1 DOM. Namespaces and other minor Level 2 features are also supported. """ https://github.com/python/cpython/blob/c65119d5bfded03f80a9805889391b66fa7bf551/Lib/xml/dom/minidom.py#L1-L3

[issue38358] ASSERTION ERROR WHILE USING TENSORFLOW

2019-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This is a tracker for bugs in Python itself. Tensorflow is a third-party library. Please use an appropriate bug tracker for reporting issues with tensorflow. -- nosy: +serhiy.storchaka resolution: -> third party stage: -> resolved status: open

[issue13153] IDLE 3.x on Windows exits when pasting non-BMP unicode

2019-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: >From the point of view of Tk, the astral character "" looks like either two >invisible characters "\ud83d\udcbb" or as four characters "ð\x9f\x92»" (two of >them are invisible). Thus this breaks editing the physical line past the >astral character. We

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16143 pull_request: https://github.com/python/cpython/pull/16555 ___ Python tracker ___

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +16142 pull_request: https://github.com/python/cpython/pull/16554 ___ Python tracker ___

[issue36670] regrtest: win_utils decodes typeperf output from the wrong encoding (test suite broken due to cpu usage feature on win 10/ german)

2019-10-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset c65119d5bfded03f80a9805889391b66fa7bf551 by Victor Stinner in branch 'master': bpo-36670: Enhance regrtest WindowsLoadTracker (GH-16553) https://github.com/python/cpython/commit/c65119d5bfded03f80a9805889391b66fa7bf551 --

[issue38348] Make python -m ast more configurable

2019-10-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Why do you need this feature? -- ___ Python tracker ___ ___ Python-bugs-list mailing list

  1   2   >