[issue37714] 2to3 tab Problems

2019-07-29 Thread Aldwin Pollefeyt
Aldwin Pollefeyt added the comment: There is a reindent.py tool to help you in this case. After running the 2to3 on the FrisPy, I tried the reindent tool, and the example worked fine afterwards. $ wget https://raw.githubusercontent.com/python/cpython/master/Tools/scripts/reindent.py $

[issue37714] 2to3 tab Problems

2019-07-29 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37714] 2to3 tab Problems

2019-07-29 Thread Xinmeng Xia
New submission from Xinmeng Xia : Traceback (most recent call last): File "/home/xxm/Desktop/instrument/datasetpy3/FrisPy/example.py", line 4, in import FrisPy File "/home/xxm/Desktop/instrument/datasetpy3/FrisPy/FrisPy/__init__.py", line 5, in from .disc import * File

[issue37713] 2to3 division problems leading to program crashes in Python3

2019-07-29 Thread Zachary Ware
Zachary Ware added the comment: This is not a bug; division changed in Python 3 such that `/` is the "true division" operator, whereas `//` is the "integer division" operator. Note that this was actually added in Python 2.2, though it was guarded by `from __future__ import division` for the

[issue37713] 2to3 division problems leading to program crashes in Python3

2019-07-29 Thread Xinmeng Xia
New submission from Xinmeng Xia : The snake game will report a crash in Python3: Traceback (most recent call last): File "/home/xxm/Desktop/instrument/datasetpy3/Snake_game/runGame.py",line 20, in w.addch(food[0], food[1], curses.ACS_PI) TypeError: integer argument expected, got float

[issue35083] Fix documentation for __instancecheck__

2019-07-29 Thread Caleb Donovick
Change by Caleb Donovick : -- nosy: +donovick ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37709] CSVReader ignores dialect.lineterminator

2019-07-29 Thread Skip Montanaro
Skip Montanaro added the comment: I imagine this is a corner case which will continue to cause problems. At the time the csv module was originally written, I believe the authors' intent was to read and write CSV files which were compatible with Excel. In Python 3, you have to open input

[issue37531] Fix regrtest timeout for subprocesses: regrtest -jN --timeout=SECONDS

2019-07-29 Thread Jeremy Kloth
Change by Jeremy Kloth : -- nosy: +jkloth ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37587] JSON loads performance improvement for long strings

2019-07-29 Thread Marco Paolini
Marco Paolini added the comment: I forgot to mention, I was inspired by @christian.heimes 's talk at EuroPython 2019 https://ep2019.europython.eu/talks/es2pZ6C-introduction-to-low-level-profiling-and-tracing/ (thanks!) -- ___ Python tracker

[issue37712] Exception frames from unittest.TestCase.fail dependent on nesting

2019-07-29 Thread Matthew Roeschke
New submission from Matthew Roeschke : With this toy example: import unittest def this_fails(): a = 1 + None class TestExample(unittest.TestCase): def test_this(self): try: this_fails() except Exception: self.fail('Fail') if __name__ ==

[issue37587] JSON loads performance improvement for long strings

2019-07-29 Thread Marco Paolini
Marco Paolini added the comment: I am also working on a different patch that uses the "pcmpestri" SSE4 processor instruction, it looks like this for now. While at it I realized there is (maybe) another potential speedup: avoiding the ucs4lib_find_max_char we do for each chunk of the string

[issue37587] JSON loads performance improvement for long strings

2019-07-29 Thread Marco Paolini
Marco Paolini added the comment: On gcc, running the tests above, the only change that is relevant for speedup is switching around the strict check. Removing the extra MOV related to the outer "c" variable is not significant (at least on gcc and the few tests I did) Unfortunately I had to

[issue37268] Deprecate the parser module

2019-07-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > Any update on deprecating the parser module? Wish granted: PR 15017 -- ___ Python tracker ___

[issue37268] Deprecate the parser module

2019-07-29 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +14780 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15017 ___ Python tracker

[issue37069] regrtest: log unraisable exceptions and uncaught thread exceptions

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: regrtest now uses :func:`sys.unraisablehook` to mark a test as "environment altered" (ENV_CHANGED) if it emits an "unraisable exception". -- resolution: -> fixed stage: patch review -> resolved status: open -> closed

[issue37268] Deprecate the parser module

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: > Yep, will make a PR soon. Any update on deprecating the parser module? -- ___ Python tracker ___

[issue37313] test_concurrent_futures stopped after 25 hours on AMD64 Windows7 SP1 3.7

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: The root issue will be solved by bpo-37531: ensure that regrtest kills a worker process if it takes longer than TIMEOUT seconds. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Fix regrtest timeout for

[issue37314] Compilation failed on AMD64 Debian root 3.8: undefined reference to _PyTraceMalloc_NewReference

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: I didn't see the failure on this buildbot recently, so I close the issue. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker

[issue37359] test_regrtest: test_list_cases() fails on x86 Gentoo Installed with X 3.x

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: The current status is that regrtest has a new --cleanup command but it's not used. regrtest should not leak temporary files anymore. The remaining issue is when regrtest re-runs tests sequentially and a test does crash the regrtest main process. In this

[issue37711] regrtest: re-run failed tests in subprocesses

2019-07-29 Thread STINNER Victor
Change by STINNER Victor : -- title: regrtest: re-run tests in subprocesses -> regrtest: re-run failed tests in subprocesses ___ Python tracker ___

[issue37711] regrtest: re-run tests in subprocesses

2019-07-29 Thread STINNER Victor
New submission from STINNER Victor : When using python3 -m test -w, failed tests are re-run in the regrtest main process, even if -jN option is used. If a test does crash, regrtest doesn't remove its temporary directory which can lead to random test failures like bpo-37359. At least when

[issue37386] [EASY] test_io: test_large_file_ops() failed on AMD64 Windows7 SP1 3.x with: [Errno 28] No space left on device

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: According to Serhiy, the right solution is to contact buildbot owners to ask them to ensure that all workers have enough free disk space: at least 2 GiB. -- resolution: -> not a bug stage: patch review -> resolved status: open -> closed

[issue37474] Should Py_Initialize() control the floating point mode?

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: fp_except.c: C program to test for float point exceptions: * FE_OVERFLOW * FE_UNDERFLOW * FE_INVALID I prefer to avoid testing FE_INEXACT which a test might be too specific to an implementation of the libm. I also chose to avoid testing FE_DIVBYZERO, since

[issue1047397] cgitb failures

2019-07-29 Thread Ethan Furman
Change by Ethan Furman : -- nosy: +Rhodri James, ethan.furman ___ Python tracker ___ ___ Python-bugs-list mailing list

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

2019-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e941cbcf8c2fce59a9afa8043948f9a147e09177 by Terry Jan Reedy in branch '3.7': bpo-34162: Update idlelib/news.txt for 3.7.5 (GH-15016) https://github.com/python/cpython/commit/e941cbcf8c2fce59a9afa8043948f9a147e09177 --

[issue37474] Should Py_Initialize() control the floating point mode?

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: > The current FreeBSD documentation for fedisableexcept says: All exceptions > are masked by default. The fedisableexcept manual page says that since this manual page was added to FreeBSD 6.0 which was released in 2005. Python started to tune FPU control

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

2019-07-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +14779 pull_request: https://github.com/python/cpython/pull/15016 ___ Python tracker ___

[issue37354] Write PowerShell Activate.ps1 to be static so it can be signed

2019-07-29 Thread Steve Dower
Steve Dower added the comment: I just chatted with Derek about this, and while we identified some potential regressions (previously we were injecting str(prompt) into Activate.ps1, and now we're showing repr(prompt)), I don't think they're widely used. For example, if you previously did:

[issue37354] Write PowerShell Activate.ps1 to be static so it can be signed

2019-07-29 Thread Derek Keeler
Change by Derek Keeler : -- nosy: +d3r3kk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2019-07-29 Thread miss-islington
miss-islington added the comment: New changeset 8b50e3e2729190d4b65ee9510d81f01bd31f2f7c by Miss Islington (bot) in branch '3.8': bpo-34162: Update idlelib/news.txt. (GH-15011) https://github.com/python/cpython/commit/8b50e3e2729190d4b65ee9510d81f01bd31f2f7c --

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

2019-07-29 Thread miss-islington
miss-islington added the comment: New changeset 6c9f46fa3a90eeb02c35ba0e92e7f75edc67e51d by Miss Islington (bot) in branch '3.7': bpo-34162: Update idlelib/news.txt. (GH-15011) https://github.com/python/cpython/commit/6c9f46fa3a90eeb02c35ba0e92e7f75edc67e51d --

[issue37706] IDLE test_sidebar test_(click/drag)_selection fail on macOS 8.6

2019-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Tests disabled, leaving open for live behavior report. -- nosy: -miss-islington stage: patch review -> needs patch title: IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS -> IDLE test_sidebar

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread miss-islington
miss-islington added the comment: New changeset ad36d21223fd8118af8dbcf55ead03ee5905e7c3 by Miss Islington (bot) in branch '3.7': bpo-37706: Disable 3 IDLE scrollbar tests on Mac. (GH-15010) https://github.com/python/cpython/commit/ad36d21223fd8118af8dbcf55ead03ee5905e7c3 --

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread miss-islington
miss-islington added the comment: New changeset 8513b90e114a815ebf4b389bcdfb08b49207a751 by Miss Islington (bot) in branch '3.8': bpo-37706: Disable 3 IDLE scrollbar tests on Mac. (GH-15010) https://github.com/python/cpython/commit/8513b90e114a815ebf4b389bcdfb08b49207a751 -- nosy:

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

2019-07-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14778 pull_request: https://github.com/python/cpython/pull/15015 ___ Python tracker ___

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

2019-07-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14777 pull_request: https://github.com/python/cpython/pull/15014 ___ Python tracker ___

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

2019-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset f35c51d2eadd297bcf06d4f7c536bd1d8682b724 by Terry Jan Reedy in branch 'master': bpo-34162: Update idlelib/news.txt. (#15011) https://github.com/python/cpython/commit/f35c51d2eadd297bcf06d4f7c536bd1d8682b724 --

[issue33820] IDLE subsection of What's New 3.6

2019-07-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed superseder: -> IDLE subsection of What's New 3.7 ___ Python tracker

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

2019-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: Release peps -- needed for proposed and actual release dates. 3.7 PEP 537 https://www.python.org/dev/peps/pep-0537/ 3.8 PEP 569 https://www.python.org/dev/peps/pep-0569/ 3.9 PEP 596 https://www.python.org/dev/peps/pep-0596/ --

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14776 pull_request: https://github.com/python/cpython/pull/15013 ___ Python tracker ___

[issue37549] os.dup() fails for standard streams on Windows 7

2019-07-29 Thread Eryk Sun
Eryk Sun added the comment: > It sounds like we should probably revert to the middle ground, and > skip _raising the error_ if _Py_set_inheritable for files of type > FILE_TYPE_CHAR. The problem is just console pseudohandles in Windows 7 and earlier. Maybe it should just check for this

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14775 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15012 ___ Python tracker ___

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset e8874b85b4e3bbb735467b0beaa933dcef362004 by Terry Jan Reedy in branch 'master': bpo-37706: Disable 3 IDLE scrollbar tests on Mac. (#15010) https://github.com/python/cpython/commit/e8874b85b4e3bbb735467b0beaa933dcef362004 --

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

2019-07-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- pull_requests: +14774 stage: commit review -> patch review pull_request: https://github.com/python/cpython/pull/15011 ___ Python tracker ___

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread Terry J. Reedy
Terry J. Reedy added the comment: IDLE tests passed the Azure macOS test (when it does not timeout) before and since #17535 was merged. So this failure report initially surprised me. But then I checked Display Build Info on

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread Terry J. Reedy
Change by Terry J. Reedy : -- keywords: +patch pull_requests: +14773 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/15010 ___ Python tracker

[issue37710] Python SSL module does not clear error queue before IO operations using SSL_get_error

2019-07-29 Thread Andrew Collins
New submission from Andrew Collins : Per the OpenSSL documentation: "The current thread's error queue must be empty before the TLS/SSL I/O operation is attempted, or SSL_get_error() will not work reliably." https://www.openssl.org/docs/man1.1.1/man3/SSL_get_error.html Modules/_ssl.c does

[issue37709] CSVReader ignores dialect.lineterminator

2019-07-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems related : https://bugs.python.org/issue1072404 . There is a note on docs that it's ignored and may be changed in future. https://docs.python.org/3/library/csv.html -- nosy: +skip.montanaro, xtreak

[issue37708] Harmonize random.choice(s) behavior with random.sample on iterators

2019-07-29 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Seems similar to https://bugs.python.org/issue37682 -- nosy: +rhettinger, xtreak ___ Python tracker ___

[issue37709] CSVReader ignores dialect.lineterminator

2019-07-29 Thread Benjamin Schollnick
New submission from Benjamin Schollnick : I've run into a situation where the CSV input file is very unusual. The Delimiter is "\x06" and the lineterminator is "\x07". While I've written code to work around this, it would be significantly nicer if the CSV Reader code actually paid attention

[issue37708] Harmonize random.choice(s) behavior with random.sample on iterators

2019-07-29 Thread Lex Flagel
New submission from Lex Flagel : It would be nice to make random.sample and random.choice both have the same behavior with iterators. Currently random.sample accepts them happily, and whereas random.choice does not. E.g. > import random > d = {'a':1, 'b':2} > random.sample(d.keys(),1) Out:

[issue37688] The results from os.path.isdir(...) an Path(...).is_dir() are not equivalent for empty path strings.

2019-07-29 Thread Brett Cannon
Brett Cannon added the comment: Changing the semantics of os.path.isdir() for something like this isn't worth breaking code; basically it's now a quirk of the function. -- ___ Python tracker

[issue37689] Add Path.is_relative_to()

2019-07-29 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-29 Thread Neil Schemenauer
Neil Schemenauer added the comment: I think expanding the list of tests used by --pgo is fine, as long as we put a little thought into each one we add. The ones added by Steve look fine to me. It seems useful to run a profiler and see if there are any unusually expensive tests being added.

[issue37707] Skip individual unit tests that are expensive for the PGO task

2019-07-29 Thread Neil Schemenauer
Change by Neil Schemenauer : -- keywords: +patch pull_requests: +14772 pull_request: https://github.com/python/cpython/pull/15009 ___ Python tracker ___

[issue37496] Support annotations in signature strings.

2019-07-29 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: -nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue14817] pkgutil.extend_path has no tests

2019-07-29 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: -nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33150] Signature error for methods of class configparser.Interpolation

2019-07-29 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: -nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37707] Skip individual unit tests that are expensive for the PGO task

2019-07-29 Thread Neil Schemenauer
New submission from Neil Schemenauer : Add a new support decorator, @skip_if_pgo_task and then use it to mark test cases. I suspect the PGO task works well if it can exercise common code paths. Running long tests likely have rapidly diminishing benefits. The instrumented PGO executable

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

2019-07-29 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: -nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue11953] Missing WSA* error codes

2019-07-29 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: -nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37444] Differing exception between builtins and importlib when importing beyond top-level package

2019-07-29 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: -nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37653] make install fails

2019-07-29 Thread Ronald Oussoren
Ronald Oussoren added the comment: A trick w.r.t. comments in command-lines is to use the ":" command, that's a no-op shell command that ignores its arguments (although you do need to take care with shell special characters as it is just a command like any other). --

[issue37690] Simplify linking of shared libraries on the AIX OS

2019-07-29 Thread Eric N. Vander Weele
Eric N. Vander Weele added the comment: Thanks for the in-depth responses and feedback. When reinvestigating this in more detail that led me to create this patch, I discovered that the premise upon which I was operating upon was not the default (desired) compiler and linker flags. It turns

[issue37549] os.dup() fails for standard streams on Windows 7

2019-07-29 Thread Steve Dower
Steve Dower added the comment: > What 3.7.3 does is to skip calling _Py_set_inheritable for all files of type > FILE_TYPE_CHAR It sounds like we should probably revert to the middle ground, and skip _raising the error_ if _Py_set_inheritable for files of type FILE_TYPE_CHAR. As Victor

[issue37633] Py_CompileString and PyParser_SimpleParseString not exported in python38.dll

2019-07-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37653] make install fails

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: Crap. That's why I didn't want to put the comment "inside" the code, but as separated commands. Well, I learnt something today: bash is the standard :-) -- ___ Python tracker

[issue30755] locale.normalize() and getdefaultlocale() convert C.UTF-8 to en_US.UTF-8

2019-07-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10819] ValueError on repr(closed_socket_file)

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: This issue is closed. Please open a new issue. -- ___ Python tracker ___ ___ Python-bugs-list

[issue15987] Provide a way to compare AST nodes for equality recursively

2019-07-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37549] os.dup() fails for standard streams on Windows 7

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: Honestly, I'm not sure of what is the right solution for this issue. -- ___ Python tracker ___

[issue37689] Add Path.is_relative_to()

2019-07-29 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread Tal Einat
Tal Einat added the comment: Unfortunately, my Mac is out of order, so I am unable to diagnose and fix this. I hope to be able to do so again in a few weeks. -- ___ Python tracker

[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?

2019-07-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I will close this for now, we can revisit this if we find a better solution for the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-07-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14771 pull_request: https://github.com/python/cpython/pull/15005 ___ Python tracker ___

[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?

2019-07-29 Thread miss-islington
miss-islington added the comment: New changeset 9ea738e580f58c3d2f9b0d56561d57b9e9412973 by Miss Islington (bot) in branch '3.8': bpo-37500: Make sure dead code does not generate bytecode but also detect syntax errors (GH-14612)

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread Ned Deily
Ned Deily added the comment: > tested on 10.14 with Tk 8.6.8 and 8.6.0 er, make that "8.6.9" not "8.6.0" -- ___ Python tracker ___

[issue11953] Missing WSA* error codes

2019-07-29 Thread Ngalim Siregar
Change by Ngalim Siregar : -- keywords: +patch pull_requests: +14770 stage: -> patch review pull_request: https://github.com/python/cpython/pull/15004 ___ Python tracker ___

[issue37706] IDLE test_sidebar testcases test_click_selection and test_drag_selection can fail on macOS

2019-07-29 Thread Ned Deily
New submission from Ned Deily : On macOS, there are two test failure seen with test_sidebar (tested on 10.14 with Tk 8.6.8 and 8.6.0 - the failures should be reproducible with the python.org 3.8.0b3 installer for macOS which will be available soon.)

[issue36002] configure --enable-optimizations with clang fails to detect llvm-profdata

2019-07-29 Thread Doyle Rowland
Doyle Rowland added the comment: ../configure LLVM_PROFDATA=//llvm-profdata --enable-optimizations is also work-around. -- nosy: +weibullguy ___ Python tracker ___

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-07-29 Thread Anthony Sottile
Change by Anthony Sottile : -- pull_requests: +14769 pull_request: https://github.com/python/cpython/pull/15003 ___ Python tracker ___

[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?

2019-07-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14768 pull_request: https://github.com/python/cpython/pull/15002 ___ Python tracker ___

[issue37603] parsetok(): Assertion `(intptr_t)(int)(a - line_start) == (a - line_start)' failed, when running get-pip.py

2019-07-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I just merged PR 14433 -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-07-29 Thread Anthony Sottile
Anthony Sottile added the comment: sure! the only other case I could come up with involves multi-line strings and invalid escape sequences + Werror let me see if I can fold that in as well -- ___ Python tracker

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-07-29 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks Anthony Sottile for the fix! I suggest adding more test cases that do not involve f-strings, what do you think? Can you create another PR for those? -- nosy: +pablogsal ___ Python tracker

[issue37433] syntax error in multiline f-string produces ~40k spaces output

2019-07-29 Thread miss-islington
Change by miss-islington : -- pull_requests: +14767 pull_request: https://github.com/python/cpython/pull/15001 ___ Python tracker ___

[issue37705] winerror_to_errno implementation

2019-07-29 Thread Eryk Sun
New submission from Eryk Sun : OSError and _Py_fstat_noraise rely on winerror_to_errno() in PC/errmap.h in order to translate a Windows system error code into a POSIX errno value. PC/errmap.h is supposed to be generated by PC/generrmap.c, which is based on the old CRT's _dosmapperr()

[issue37603] parsetok(): Assertion `(intptr_t)(int)(a - line_start) == (a - line_start)' failed, when running get-pip.py

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: > This is marked as release blocker but since BPO-37433 is still in review, I'm > releasing 3.0b3 as is. Please resolve this by b4, I will block the last beta > on this issue. That sounds reasonable to me. FYI I just approved (but not merged) PR 14433.

[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?

2019-07-29 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: I am fine with backporting the 3.9 solution to 3.8. Sorry for the delay. -- ___ Python tracker ___

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-29 Thread Steve Dower
Steve Dower added the comment: Thanks for approving my PR, Greg! -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue36044] PROFILE_TASK for PGO build is not a good workload

2019-07-29 Thread Steve Dower
Steve Dower added the comment: > What matters there is compiling the underlying lzma, bz2, and sqlite3 > libraries with PGO. that isn't done as part of our build system. On Windows they are linked in as source files, which is why it matters for us. On platforms where we rely on system

[issue37549] os.dup() fails for standard streams on Windows 7

2019-07-29 Thread Łukasz Langa
Łukasz Langa added the comment: This is marked as release blocker but since there is no movement on the possible solution, I'm releasing 3.80b3 without a fix. Please resolve this by b4, I will block the last beta on this issue. -- ___ Python

[issue37603] parsetok(): Assertion `(intptr_t)(int)(a - line_start) == (a - line_start)' failed, when running get-pip.py

2019-07-29 Thread Łukasz Langa
Łukasz Langa added the comment: This is marked as release blocker but since BPO-37433 is still in review, I'm releasing 3.0b3 as is. Please resolve this by b4, I will block the last beta on this issue. -- ___ Python tracker

[issue37500] 3.8.0b2 no longer optimizes away "if 0:" ?

2019-07-29 Thread Łukasz Langa
Łukasz Langa added the comment: Victor closed the 3.8 backport, stating on GitHub: "I closed the 3.8 backport (without merging it), until we agree on what should be done." This is marked as release blocker. I will be releasing 3.8b3 as is, please decide what to do here before b4, I will

[issue37669] Make mock_open return per-file content

2019-07-29 Thread Damien Nadé
Damien Nadé added the comment: To summarize the change I'm proposing, I'd say that instead of having mock_open creating closures (functions inside a specific context), mock_open now creates objects that will hold the contexts. Each context would be filename-dedicated and would include

[issue15454] Allow dircmp.report() output stream to be customized

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: This issue is not newcomer friendly, I remove the easy keyword. -- keywords: -easy nosy: +vstinner ___ Python tracker ___

[issue5256] rlcompleter adds builtins when custom dict is used

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: This issue is not newcomer friendly, I remove the easy keyword. -- keywords: -easy nosy: +vstinner ___ Python tracker ___

[issue12436] Missing items in installation/setup instructions

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: This issue is not newcomer friendly, I remove the easy keyword. -- keywords: -easy nosy: +vstinner ___ Python tracker ___

[issue8898] The email package should defer to the codecs module for all aliases

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: This issue is not newcomer friendly, I remove the easy keyword. -- keywords: -easy nosy: +vstinner ___ Python tracker ___

[issue968430] error flattening complex smime signed message

2019-07-29 Thread STINNER Victor
STINNER Victor added the comment: This issue is not newcomer friendly, I remove the easy keyword. -- keywords: -easy nosy: +vstinner ___ Python tracker ___

  1   2   >