[issue32934] logging.handlers.BufferingHandler capacity is unclearly specified

2019-06-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +vinay.sajip type: -> behavior versions: +Python 3.7, Python 3.8, Python 3.9 -Python 3.6 ___ Python tracker ___ _

[issue36073] sqlite crashes with converters mutating cursor

2019-06-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +berker.peksag ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue37345] Add formal support for UDPLITE protococl

2019-06-21 Thread Gabe Appleton
Gabe Appleton added the comment: Okay, I removed the helper functions and added some additional documentation. Does that look okay now? -- versions: +Python 3.8 ___ Python tracker __

[issue37334] Add a cancel method to asyncio Queues

2019-06-21 Thread Caleb Hattingh
Caleb Hattingh added the comment: I'm interested in how this change would affect the pattern of shutting down a queue-processing task. How would one decide between whether to cancel the queue or the task? (I'm asking for real, this is not an objection to the PR). For example, looking at the

[issue19696] Merge all (non-syntactic) import-related tests into test_importlib

2019-06-21 Thread aeros167
Change by aeros167 : -- keywords: +patch pull_requests: +14127 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14303 ___ Python tracker

[issue19696] Merge all (non-syntactic) import-related tests into test_importlib

2019-06-21 Thread aeros167
aeros167 added the comment: > Yep, just make sure the tests still pass before and after the change. :) Sounds good, the first thing I had done before proposing the change was testing it in an IDE and using some logging to ensure that random.choose and random.choice were providing the same fu

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-21 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue37370] AF_UNIX should be supported on Windows

2019-06-21 Thread Paul Monson
Change by Paul Monson : -- keywords: +patch pull_requests: +14126 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14302 ___ Python tracker ___

[issue37370] AF_UNIX should be supported on Windows

2019-06-21 Thread Paul Monson
New submission from Paul Monson : AF_UNIX has been supported on windows since version 1803 (build 17134) see https://devblogs.microsoft.com/commandline/af_unix-comes-to-windows/ Enabling support for AF_UNIX will enable better peer-to-peer connectivity scenarios for Azure IoT Edge. The changes

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-21 Thread Brooke Storm
Brooke Storm added the comment: I should add that, after testing a bit, it isn't actually working in cmd.exe. That is simply using the overarching python install. It's not using the virtualenv at all. The virtualenv that was created by the venv module appears to be non-functional at least

[issue37369] Issue with pip in venv on Powershell in Windows

2019-06-21 Thread Brooke Storm
New submission from Brooke Storm : I am finding that, using Powershell on Windows 10 and the current version of Python 3.7.3 installed from the Microsoft Store, when I create a virtualenv via "python -m venv " and activate it in Powershell with the Activate.ps1 script that is generated, pip f

[issue37363] Additional PEP578 hooks

2019-06-21 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +14125 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14301 ___ Python tracker _

[issue30202] Update test.test_importlib.test_abc to test find_spec()

2019-06-21 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue37364] Use io.open_code for .pth files

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

[issue37364] Use io.open_code for .pth files

2019-06-21 Thread miss-islington
miss-islington added the comment: New changeset 35202c763703c9c00345b4445a638211e6e37bbc by Miss Islington (bot) in branch '3.8': bpo-37364: Use io.open_code() to read .pth files (GH-14299) https://github.com/python/cpython/commit/35202c763703c9c00345b4445a638211e6e37bbc -- ___

[issue20443] __code__. co_filename should always be an absolute path

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: Effect of my PR 14053 using script.py: import sys print(f"{__file__=}") print(f"{sys.argv=}") print(f"{sys.path[0]=}") Before: $ ./python script.py __file__=script.py sys.argv=['script.py'] sys.path[0]=/home/vstinner/prog/python/master With the change: $

[issue37364] Use io.open_code for .pth files

2019-06-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +14124 pull_request: https://github.com/python/cpython/pull/14300 ___ Python tracker ___ __

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: I closed the issue. test_gdb now ignores stderr in all branches. -- ___ Python tracker ___ ___ Py

[issue37364] Use io.open_code for .pth files

2019-06-21 Thread miss-islington
miss-islington added the comment: New changeset 184f3d4f39056f6fe450d007d3b9b61d811a2a4d by Miss Islington (bot) (Steve Dower) in branch 'master': bpo-37364: Use io.open_code() to read .pth files (GH-14299) https://github.com/python/cpython/commit/184f3d4f39056f6fe450d007d3b9b61d811a2a4d --

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: For the record, examples of ignored patterns: ignore_patterns = ( 'Function "%s" not defined.' % breakpoint, 'Do you need "set solib-search-path" or ' '"set sysroot"?', # BFD: /usr/lib/debug/(...): unable

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset adcdb1e4f5eb3c63e4e40242737be9c00a26764c by Victor Stinner in branch '2.7': bpo-37362: test_gdb now ignores stderr (GH-14287) (GH-14297) https://github.com/python/cpython/commit/adcdb1e4f5eb3c63e4e40242737be9c00a26764c --

[issue37364] Use io.open_code for .pth files

2019-06-21 Thread Steve Dower
Change by Steve Dower : -- assignee: -> steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue37364] Use io.open_code for .pth files

2019-06-21 Thread Steve Dower
Change by Steve Dower : -- keywords: +patch pull_requests: +14123 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14299 ___ Python tracker _

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread miss-islington
miss-islington added the comment: New changeset 3523e0c47be372477e990df7435a0f45be80fd50 by Miss Islington (bot) in branch '3.8': bpo-37362: test_gdb now ignores stderr (GH-14287) https://github.com/python/cpython/commit/3523e0c47be372477e990df7435a0f45be80fd50 -- _

[issue36511] Add Windows ARM32 buildbot

2019-06-21 Thread Steve Dower
Steve Dower added the comment: New changeset f3e38ec7f014557296f6cc7b60a33d65faad1716 by Steve Dower in branch '3.8': bpo-36511: Fix -u parameters for ARM32 tests (GH-14280) https://github.com/python/cpython/commit/f3e38ec7f014557296f6cc7b60a33d65faad1716 -- ___

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread miss-islington
miss-islington added the comment: New changeset 16ec95bb191e4136630de7437f75636d4b6a450f by Miss Islington (bot) in branch '3.7': bpo-37362: test_gdb now ignores stderr (GH-14287) https://github.com/python/cpython/commit/16ec95bb191e4136630de7437f75636d4b6a450f -- nosy: +miss-isling

[issue37351] Drop libpython38.a from Windows release

2019-06-21 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14122 pull_request: https://github.com/python/cpython/pull/14298 ___ Python tracker ___ _

[issue37351] Drop libpython38.a from Windows release

2019-06-21 Thread Steve Dower
Steve Dower added the comment: New changeset f5690925df897cf45818bf944b28d13f37b9f8ca by Steve Dower in branch 'master': bpo-37351: Removes libpython38.a from standard Windows distribution (#14276) https://github.com/python/cpython/commit/f5690925df897cf45818bf944b28d13f37b9f8ca --

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +14121 pull_request: https://github.com/python/cpython/pull/14297 ___ Python tracker ___ __

[issue30052] URL Quoting page links to function Bytes instead of defintion

2019-06-21 Thread Cheryl Sabella
Cheryl Sabella added the comment: Hi @wim.glenn, Thanks for the report. It looks like the same issue applies to all the built-in functions that are handled this way, not just bytearray and bytes. So, dict, frozenset, list, memoryview, range, set, str, and tuple too. I'm not sure what th

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: > I think when I wrote this I was over-optimistically thinking that we could > just add more patterns, but if it's becoming a pain, then your approach looks > good to me. Well, I tried hard to fit into this approach: over the years, I added more and more pa

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +14119 pull_request: https://github.com/python/cpython/pull/14295 ___ Python tracker ___ __

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread miss-islington
Change by miss-islington : -- pull_requests: +14120 pull_request: https://github.com/python/cpython/pull/14296 ___ Python tracker ___ __

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: New changeset e56a123fd0acaa295a28b98d2e46d956b97d1263 by Victor Stinner in branch 'master': bpo-37362: test_gdb now ignores stderr (GH-14287) https://github.com/python/cpython/commit/e56a123fd0acaa295a28b98d2e46d956b97d1263 --

[issue37352] Typo in documentation: "to making it easy"

2019-06-21 Thread Mark Rice
Mark Rice added the comment: Hi, first time on here. And new to the python bug tracker. But, the sentence might read fine as is, or could be tweaked to say "with an eye toward making it easily tested..." as Zach suggested. It is what my internal grammar alarm jumped to automatically. --

[issue37368] test_asyncio: test_create_server_ssl_match_failed() failed on s390x SLES 3.x and logged an unraisable exception

2019-06-21 Thread STINNER Victor
New submission from STINNER Victor : https://buildbot.python.org/all/#/builders/16/builds/3290 test_create_server_ssl_match_failed (test.test_asyncio.test_events.PollEventLoopTests) ... /home/dje/cpython-buildarea/3.x.edelsohn-sles-z/build/Lib/asyncio/sslproto.py:321: ResourceWarning: unclos

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: > UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 1: > invalid continuation byte Python is right: b'f\xf1\xf6rd' is not a valid UTF-8 string: $ python3 Python 3.7.3 (default, May 11 2019, 00:38:04) >>> b'f\xf1\xf6rd'.decode() Traceback

[issue37348] Optimize PyUnicode_FromString for short ASCII strings

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: I'm confused by the issue title: PyUnicode_GetString() doesn't exist, it's PyUnicode_FromString() :-) I changed the title. -- title: Optimize PyUnicode_GetString for short ASCII strings -> Optimize PyUnicode_FromString for short ASCII strings __

[issue37367] octal escapes applied inconsistently throughout the interpreter and lib

2019-06-21 Thread SilentGhost
Change by SilentGhost : -- components: +Regular Expressions nosy: +ezio.melotti, mrabarnett, serhiy.storchaka versions: +Python 3.9 ___ Python tracker ___ _

[issue37367] octal escapes applied inconsistently throughout the interpreter and lib

2019-06-21 Thread Dan Snider
New submission from Dan Snider : At present, the bytecode compiler can generate 512 different unicode characters, one for each integral from the range [0-511), 512 being the total number of syntactically valid permutations of 3 octal digits preceded by a backslash. However, this does not matc

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscr

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- versions: +Python 3.7, Python 3.8, Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- nosy: +giampaolo.rodola, josh.r, max, paul.moore, riccardomurri, serhiy.storchaka, steve.dower, tarek, tim.golden, zach.ware ___ Python tracker __

[issue37366] Add an "onitem" callback parameter to shutil.rmtree()

2019-06-21 Thread Jeffrey Kintscher
New submission from Jeffrey Kintscher : Add an "onitem" callback paramter to shutil.rmtree() that, if provided, gets called for each directory entry as it is encountered. This allows the caller to perform any required special handling of individual directory entries (e.g. unmounting a mount

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: I have no idea why the test fails on this specific server, whereas it pass on our large fleet of buildbots which test various libc and various compilers and platforms. I cannot investigate if I cannot reproduce the failure. Someone should run the test in a

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- type: -> enhancement ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-21 Thread Jeffrey Kintscher
Jeffrey Kintscher added the comment: The PR is ready for review. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubs

[issue37307] isinstance/issubclass doc isn't clear on whether it's an AND or an OR.

2019-06-21 Thread Terry J. Reedy
Change by Terry J. Reedy : -- versions: -Python 3.5, Python 3.6 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscrib

[issue37365] RecursionError not caught explicitly may crash with "Aborted (core dumped)"

2019-06-21 Thread Ned Deily
Ned Deily added the comment: Thank you for the report. The issue of the interpreter not being able to gracefully handle a stack overflow error is an old one: see, for example Issue18075 or Issue35542. So far, no one has proposed a solution and, as can be seen in Issue18075, workarounds som

[issue37323] test_asyncio: test_debug_mode_interop() fails using -Werror

2019-06-21 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- keywords: +patch pull_requests: +14118 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14293 ___ Python tracker ___

[issue37302] Add an "onerror" callback parameter to the tempfile.TemporaryDirectory member functions

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +14116 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14292 ___ Python tracker __

[issue36422] tempfile.TemporaryDirectory() removes entire directory tree even if it's a mount-point

2019-06-21 Thread Jeffrey Kintscher
Change by Jeffrey Kintscher : -- keywords: +patch pull_requests: +14117 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14292 ___ Python tracker __

[issue24214] UTF-8 incremental decoder doesn't support surrogatepass correctly

2019-06-21 Thread Roufique Hossain
Change by Roufique Hossain : -- nosy: +roufique7 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue37298] IDLE: Revise html to tkinker converter for help.html

2019-06-21 Thread Terry J. Reedy
Terry J. Reedy added the comment: Thank you for the research, including the crucial commit! What I understand from the quotes: 1. Sphinx 2 writes HTML5 by default. The html5 writers always writes paragraphs because they are required by the xhtml used by html5. 2. Firefox, for instance, di

[issue30202] Update test.test_importlib.test_abc to test find_spec()

2019-06-21 Thread Brett Cannon
Brett Cannon added the comment: New changeset a0d73a143af404deecb9c4fcdbd3ddbafd96b41b by Brett Cannon (Joannah Nanjekye) in branch 'master': bpo-30202 : Update test.test_importlib.test_abc to test find_spec() (GH-12847) https://github.com/python/cpython/commit/a0d73a143af404deecb9c4fcdbd3ddb

[issue32924] Python 3.7 docs in docs.p.o points to GitHub's master branch

2019-06-21 Thread miss-islington
miss-islington added the comment: New changeset 52c4a4fb816d51a36c02b043d6fd5eeb875411d6 by Miss Islington (bot) (Mariatta) in branch '3.8': [3.8] bpo-32924: Fix the Show Source url in 3.8 documentation. (GH-14282) https://github.com/python/cpython/commit/52c4a4fb816d51a36c02b043d6fd5eeb87541

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-21 Thread Carol Willing
Carol Willing added the comment: Thanks Petr for the wonderful summary. Of the pros/cons that you mention (if I am understanding correctly), I think that the issue comes down to sdist consumers and regeneration. 1. If sdist consumers will need to regenerate an sdist? 2. How many sdist consum

[issue37348] Optimize PyUnicode_GetString for short ASCII strings

2019-06-21 Thread Inada Naoki
Inada Naoki added the comment: PR 14291 seems simpler than PR 14283. But PR 14283 is faster because _PyUnicodeWriter is a learge struct. master: 3.7sec PR 14283: 2.9sec PR 14291: 3.45sec compiler: gcc (Ubuntu 8.3.0-6ubuntu1) 8.3.0 without LTO, without PGO -- __

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

2019-06-21 Thread Brett Cannon
Change by Brett Cannon : -- versions: +Python 3.9 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

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

2019-06-21 Thread Brett Cannon
Brett Cannon added the comment: > How will this interact with EnvBuilder.install_scripts() (which explicitly > states that it performs textual substitution)? It won't, so that would have to change as well. As you mentioned, Paul, I don't know who even uses the functionality through a subclas

[issue19696] Merge all (non-syntactic) import-related tests into test_importlib

2019-06-21 Thread Brett Cannon
Brett Cannon added the comment: > Would it be appropriate to change the "choose" method to "choice"? Yep, just make sure the tests still pass before and after the change. :) > should the name of "test_pkgimport" instead be "test_pkg_import"? Since things are moving it's fine to rename the f

[issue32924] Python 3.7 docs in docs.p.o points to GitHub's master branch

2019-06-21 Thread Mariatta
Change by Mariatta : -- pull_requests: +14115 stage: needs patch -> patch review pull_request: https://github.com/python/cpython/pull/14282 ___ Python tracker ___ _

[issue37348] Optimize PyUnicode_GetString for short ASCII strings

2019-06-21 Thread Inada Naoki
Change by Inada Naoki : -- pull_requests: +14114 pull_request: https://github.com/python/cpython/pull/14291 ___ Python tracker ___ _

[issue37316] mmap.mmap() passes the wrong variable to PySys_Audit()

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

[issue36511] Add Windows ARM32 buildbot

2019-06-21 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14113 pull_request: https://github.com/python/cpython/pull/14290 ___ Python tracker ___ _

[issue37316] mmap.mmap() passes the wrong variable to PySys_Audit()

2019-06-21 Thread Steve Dower
Steve Dower added the comment: New changeset 6c7947713a40851e123493ca0fe8f2791d7ed2a6 by Steve Dower in branch '3.8': bpo-37316: mmap.mmap() passes the wrong variable to PySys_Audit() (GH-14152) https://github.com/python/cpython/commit/6c7947713a40851e123493ca0fe8f2791d7ed2a6 -- __

[issue36511] Add Windows ARM32 buildbot

2019-06-21 Thread Steve Dower
Steve Dower added the comment: New changeset f8dd77d36067fd7be614edde1e5e9e7467c450dc by Steve Dower (Paul Monson) in branch 'master': bpo-36511: Fix -u parameters for ARM32 tests (GH-14280) https://github.com/python/cpython/commit/f8dd77d36067fd7be614edde1e5e9e7467c450dc -- __

[issue37365] RecursionError not caught explicitly may crash with "Aborted (core dumped)"

2019-06-21 Thread Adrien
New submission from Adrien : This is an issue that I first saw repoted by @remi.lapeyre on issue36272: https://bugs.python.org/issue36272#msg337843 It also be reported some years ago: https://stackoverflow.com/a/54171640/2291710 I searched but I did not find any existing issue, so I open a new

[issue37316] mmap.mmap() passes the wrong variable to PySys_Audit()

2019-06-21 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +14112 pull_request: https://github.com/python/cpython/pull/14289 ___ Python tracker ___ _

[issue37364] Use io.open_code for .pth files

2019-06-21 Thread Christian Heimes
Christian Heimes added the comment: +1 -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pytho

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2019-06-21 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +14111 pull_request: https://github.com/python/cpython/pull/14152 ___ Python tracker ___ ___

[issue37364] Use io.open_code for .pth files

2019-06-21 Thread Steve Dower
New submission from Steve Dower : Since .pth files may contain executable code, we should open them using io.open_code(). -- messages: 346230 nosy: christian.heimes, steve.dower priority: normal severity: normal stage: needs patch status: open title: Use io.open_code for .pth files typ

[issue37363] Additional PEP578 hooks

2019-06-21 Thread Steve Dower
New submission from Steve Dower : We should also (see whether we should) add audit hooks for the following modules: * configparser * crypt * ensurepip * ftplib * glob * http * imaplib * nntplib * pdb * poplib * runpy * shutil * smtpd * smtplib * socketserver * sqlite3 * telnetlib * webbrowser *

[issue37316] mmap.mmap() passes the wrong variable to PySys_Audit()

2019-06-21 Thread Steve Dower
Steve Dower added the comment: New changeset 08286d52b29de604a4b187bf1f0d4209e39c926c by Steve Dower (Zackery Spytz) in branch 'master': bpo-37316: mmap.mmap() passes the wrong variable to PySys_Audit() (GH-14152) https://github.com/python/cpython/commit/08286d52b29de604a4b187bf1f0d4209e39c92

[issue37316] mmap.mmap() passes the wrong variable to PySys_Audit()

2019-06-21 Thread Steve Dower
Steve Dower added the comment: Thanks! Well spotted. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue37293] concurrent.futures.InterpreterPoolExecutor

2019-06-21 Thread Eric Snow
Eric Snow added the comment: @Davin, we've spoken before about something similar for multiprocessing, IIRC. :) -- nosy: +davin ___ Python tracker ___

[issue37293] concurrent.futures.InterpreterPoolExecutor

2019-06-21 Thread Eric Snow
Eric Snow added the comment: FWIW, performance benefits when subinterpreters stop sharing the GIL are not the only benefit. In fact, PEP 554 is specifically written to avoid that consideration, focusing on the benefits of the concurrency model (i.e. CSP). So I wouldn't call this pointless

[issue37316] mmap.mmap() passes the wrong variable to PySys_Audit()

2019-06-21 Thread Eric Snow
Change by Eric Snow : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue37221] PyCode_New API change breaks backwards compatibility policy

2019-06-21 Thread Nick Coghlan
Nick Coghlan added the comment: I'm happy with the change in https://github.com/python/cpython/pull/13959, but we need sign-off from Ɓukasz as release manager on bumping the Py_VERSION_SERIAL a bit early so Cython can reliably detect that this change has been reverted without having to check

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-21 Thread Steve Dower
Steve Dower added the comment: > With this fixed, and the PyCode_New -> PyCode_New + PyCode_WithPosArgs fix > from bpo-37221 merged, then that long tail will get another few years of > life, and will start emitting deprecation warnings for the part that's > actually going to go away in Pytho

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-21 Thread Steve Dower
Steve Dower added the comment: > I'm curious what you mean here... msg345409 -- ___ Python tracker ___ ___ Python-bugs-list mailin

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread Dave Malcolm
Dave Malcolm added the comment: I think when I wrote this I was over-optimistically thinking that we could just add more patterns, but if it's becoming a pain, then your approach looks good to me. -- nosy: +dmalcolm ___ Python tracker

[issue30905] Embedding should have public API for interactive mode

2019-06-21 Thread Joannah Nanjekye
Change by Joannah Nanjekye : -- nosy: +nanjekyejoannah ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-21 Thread Nick Coghlan
Nick Coghlan added the comment: It isn't the actively maintained projects that publish wheel files that I'm worried about fixing - it's the sdist only projects that would otherwise only need recompilation to work on the new Python version. With this fixed, and the PyCode_New -> PyCode_New +

[issue37244] test_multiprocessing_forkserver: test_resource_tracker() failed on x86 Gentoo Refleaks 3.8

2019-06-21 Thread Pierre Glaser
Change by Pierre Glaser : -- keywords: +patch pull_requests: +14110 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14288 ___ Python tracker ___ __

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

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: I reported the issue to docutils. In fact, docutils FileInput class was already fixed to prevent the deprecation warning, but there was no release yet: https://sourceforge.net/p/docutils/bugs/363/ -- ___ Python tra

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-21 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > based on precedents that do not apply to this situation I'm curious what you mean here... -- ___ Python tracker ___ __

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

2019-06-21 Thread Steve Dower
Steve Dower added the comment: One thing to note is that if we sign this file, it'll have to bypass the text substitution step completely to avoid modifying line endings or encoding. So there could be code changes in venv too. This would be a great contribution from a PowerShell expert, and

[issue36210] correct AIX logic in setup.py for (non-existant) optional extensions

2019-06-21 Thread Nick Coghlan
Nick Coghlan added the comment: New changeset 08970cb03c61f62f4f69e7769d0075fa66bb86aa by Nick Coghlan (Michael Felt) in branch 'master': bpo-36210: update optional extension handling for AIX (GH-12202) https://github.com/python/cpython/commit/08970cb03c61f62f4f69e7769d0075fa66bb86aa --

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

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: Related change: commit 3c93153f7db5dd9b06f229e61978fd9199b3c097 Author: Victor Stinner Date: Tue May 14 15:49:16 2019 +0200 bpo-36915: regrtest always remove tempdir of worker processes (GH-13312) -- ___ Py

[issue37169] test_pyobject_is_freed_free fails with 3.8.0beta1

2019-06-21 Thread Matej Cepl
Matej Cepl added the comment: I don't think this has been really fixed, see attached log,even with the patch applied I am still getting: [ 6220s] == [ 6220s] FAIL: test_pyobject_freed_is_freed (test.test_capi.PyMemMallocDebu

[issue37250] C files generated by Cython set tp_print to 0: PyTypeObject.tp_print removed

2019-06-21 Thread Steve Dower
Steve Dower added the comment: FWIW, I agree totally with Petr's analysis. Jeroen's analysis ignores some points, has technical inaccuracies (nobody can use a static type compiled for 3.7 with 3.8), and is based on precedents that do not apply to this situation. (All of which I've mentioned

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread STINNER Victor
STINNER Victor added the comment: > In the past, I was lazy and just added more and more patterns to ignore on > stderr, but this approach doesn't work in the long term: gdb evolves > frequently, and there are always new messages. A recent example: test_gdb fails on Fedora because a warning

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +14109 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14287 ___ Python tracker ___ _

[issue36888] Create a way to check that the parent process is alive for deamonized processes

2019-06-21 Thread Pierre Glaser
Change by Pierre Glaser : -- pull_requests: +14108 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/14286 ___ Python tracker ___ ___

[issue37362] test_gdb must not fail on "unexpected" messages written into stderr

2019-06-21 Thread STINNER Victor
New submission from STINNER Victor : Currently, test_gdb fails if gdb logs messages on stderr which are "unexpected". I don't understand the rationale for that: Python is not supposed to test gdb. It's only supposed to check that python-gdb.py commands work as expected: stderr should be ignor

[issue37071] HTMLParser mistakenly inventing new tags while parsing

2019-06-21 Thread Cheryl Sabella
Cheryl Sabella added the comment: Thank you for the report. Looking at the BeautifulSoup source, there is a comment about this scenario: # Unlike other parsers, html.parser doesn't send separate end tag # events for empty-element tags. (It's handled in # han

[issue37335] Add 646 ASCII alias to locale coercion tests.

2019-06-21 Thread Jakub Kulik
Change by Jakub Kulik : -- pull_requests: +14107 pull_request: https://github.com/python/cpython/pull/14285 ___ Python tracker ___ _

[issue37358] Use vectorcall for functools.partial

2019-06-21 Thread Jeroen Demeyer
Change by Jeroen Demeyer : -- keywords: +patch pull_requests: +14106 stage: -> patch review pull_request: https://github.com/python/cpython/pull/14284 ___ Python tracker ___ _

[issue37361] urllib3: TypeError: unsupported operand type(s) for -=: 'Session' and 'int' in Retry class

2019-06-21 Thread SilentGhost
Change by SilentGhost : -- resolution: -> not a bug type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list Uns

  1   2   >