[issue11192] test_socket error on AIX

2018-09-13 Thread Michael Felt
Change by Michael Felt : -- pull_requests: +8686 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34656] memory exhaustion in Modules/_pickle.c:1393

2018-09-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34605] Avoid master/slave terminology

2018-09-13 Thread Giampaolo Rodola'
Change by Giampaolo Rodola' : -- nosy: +giampaolo.rodola ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- stage: -> patch review type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
New submission from Gregory P. Smith : Found in the stdlib test suite while testing the fix for bpo-6721: When subprocess is called with a preexec_fn and os.register_at_fork has been used and the fork() system call fails, the Python error state is set before the "after fork in parent process"

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- keywords: +patch pull_requests: +8687 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsub

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- components: +Extension Modules ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset a20b6adb5a5880fd22c099961eb9f9787739cefe by Miss Islington (bot) (Gregory P. Smith) in branch 'master': bpo-34658: Fix rare subprocess prexec_fn fork error. (GH-9255) https://github.com/python/cpython/commit/a20b6adb5a5880fd22c099961eb9f9787739c

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8688 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34639] PYTHONCOERCECLOCALE is ignored when using -E or -I option

2018-09-13 Thread Nick Coghlan
Nick Coghlan added the comment: Respecting -E and -I isn't a problem per se - the problem is moving the _Py_CoerceLegacyLocale call to a point that's incredibly late in the startup process *just* to get it to respect those flags. I don't actually mind if you reinstate the extra pass through

[issue34605] Avoid master/slave terminology

2018-09-13 Thread Gabriel Marko
Gabriel Marko added the comment: The discussion under GH PRs is now censored. What will be the next level? -- ___ Python tracker ___ __

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-13 Thread Nick Coghlan
Nick Coghlan added the comment: Reviewing the way things are now, I don't think it's worth rearranging this yet again for 3.7 - instead, I'll just put it back the way I intended it to be (and the way the PEP describes) for 3.8. The issue is that Victor had good reasons for moving the handlin

[issue34659] Inconsistency between functools.reduce & itertools.accumulate

2018-09-13 Thread Azat Ishmukhametovich Ibrakov
New submission from Azat Ishmukhametovich Ibrakov : Why there is an optional `initial` parameter for `functools.reduce` function, but there is no such for `itertools.accumulate`, when they both are doing kind of similar things except that `itertools.accumulate` yields intermediate results and

[issue34639] PYTHONCOERCECLOCALE is ignored when using -E or -I option

2018-09-13 Thread Nick Coghlan
Nick Coghlan added the comment: For the PYTHONCOERCECLOCALE=warn case, it turns out that my preferred approach to implementing bpo-34589 also naturally ends up respecting -I and -E for that (i.e. supplying -I or -E will suppressed the warning). However, my upcoming PR for that also reinstate

[issue34659] Inconsistency between functools.reduce & itertools.accumulate

2018-09-13 Thread R. David Murray
R. David Murray added the comment: Presumably because conceptually an 'initial value' would be like adding an additional element on to the front of the iterable being passed as an argument, and itertools is all about operating on iterables. I'm not saying such an argument could not be added

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-13 Thread Nick Coghlan
Nick Coghlan added the comment: The actual functional error is that the following will currently give different outputs on Fedora and CentOS 7, whereas in the original PEP 538 implementation it would always print "C", even if locale coercion would otherwise normally work on your current plat

[issue34605] Avoid master/slave terminology

2018-09-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: No further discussion needed. This issue has been closed and resolved. Thanks Victor for the PRs. -- nosy: +Mariatta ___ Python tracker ___

[issue34587] test_socket: testCongestion() hangs on my Fedora 28

2018-09-13 Thread Nick Coghlan
Nick Coghlan added the comment: Same problem here. However, checking the test code, it seems that what's happening is that even though the sending socket has been put into non-blocking mode, self.cli.sendto in the _testCongestion helper method invoked by the ThreadableTest base class [1] has

[issue34657] pyconfig.h macro "timezone" name clashes with user source are likely

2018-09-13 Thread Ned Deily
Change by Ned Deily : -- components: +Windows -Build nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ __

[issue34657] pyconfig.h macro "timezone" name clashes with user source are likely

2018-09-13 Thread Zachary Ware
Zachary Ware added the comment: This is a duplicate of bpo-24643. -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h ___ Python tracker

[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

2018-09-13 Thread Zachary Ware
Zachary Ware added the comment: This was just reported again in bpo-34657. We should go ahead and define _Py_timezone et al., which I will try to do today if nobody beats me to it :) -- priority: normal -> high versions: +Python 3.7, Python 3.8 -Python 3.5, Python 3.6 __

[issue34597] Python needs to check existence of functions at runtime for targeting older macOS platforms

2018-09-13 Thread Ned Deily
Ned Deily added the comment: While, as Ronald notes, it would be nice to fully support weak linking so that building Python on macOS 10.n with a deployment target for 10.m where m < n so that an application with an embedded or bundled Python can run on 10.m through 10.n systems, in the mean

[issue7713] implement ability to disable automatic search path additions

2018-09-13 Thread Carol Willing
Carol Willing added the comment: Closing as the release has reached EOL. -- nosy: +willingc resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker ___

[issue34585] Don't use AC_RUN_IFELSE to determine float endian

2018-09-13 Thread Ned Deily
Change by Ned Deily : -- nosy: +mark.dickinson, tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue34583] os.stat() wrongfully returns False for symlink on Windows 10 v1803

2018-09-13 Thread Ned Deily
Change by Ned Deily : -- components: +Windows -Library (Lib) nosy: +paul.moore, steve.dower, tim.golden, zach.ware ___ Python tracker ___ __

[issue34582] VSTS builds should use new YAML syntax and pools

2018-09-13 Thread Ned Deily
Change by Ned Deily : -- nosy: +steve.dower ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyth

[issue34597] Python needs to check existence of functions at runtime for targeting older macOS platforms

2018-09-13 Thread Zorg
Zorg added the comment: https://bugs.python.org/issue31359 has a better details about this issue. I personally believe it's safer to link against a newer SDK and deal with the trouble of finding out what to strip out, which will be opted into implications or code paths that linking a binary

[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

2018-09-13 Thread Steve Dower
Steve Dower added the comment: I'd still rather put the redefinitions in our files that need it, and leave end users untouched. -- ___ Python tracker ___

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-13 Thread Nick Coghlan
Change by Nick Coghlan : -- pull_requests: +8689 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue34578] Pipenv lock : ModuleNotFoundError: No module named '_ctypes'

2018-09-13 Thread Ned Deily
Ned Deily added the comment: Since you are using pipenv and it is not part of the Python standard library, you should check the pipenv issue tracker and documentation and, if necessary, ask there: https://github.com/pypa/pipenv/issues -- nosy: +ned.deily resolution: -> third party

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-13 Thread Nick Coghlan
Nick Coghlan added the comment: Alternate PR is up at https://github.com/python/cpython/pull/9257 There's one setting that remains in CoreConfig: "warn_on_c_locale", which _Py_UnixMain also uses to decide whether or not to actually emit the passed in locale coercion warning. The coercion wa

[issue31577] crash in os.utime() in case of a bad ns argument

2018-09-13 Thread Ned Deily
Ned Deily added the comment: Thanks, Serihy. Can we either close this now or remove 3.7 and "release blocker"? -- ___ Python tracker ___

[issue34603] ctypes on Windows: error calling C function that returns a struct containing 3 bools

2018-09-13 Thread Vladimir Matveev
Change by Vladimir Matveev : -- keywords: +patch pull_requests: +8690 stage: -> patch review ___ Python tracker ___ ___ Python-bugs

[issue34597] Python needs to check existence of functions at runtime for targeting older macOS platforms

2018-09-13 Thread Ned Deily
Ned Deily added the comment: > https://bugs.python.org/issue31359 has a better details about this issue. Yea, the approach there is again dealing with using a newer SDK to build for an older system. > I personally believe it's safer to link against a newer SDK and deal with the > trouble of

[issue31577] crash in os.utime() in case of a bad ns argument

2018-09-13 Thread Zachary Ware
Zachary Ware added the comment: The crash is fixed, so I've lowered the priority. Serhiy, are you still interested in pursuing an alternative fix in 3.8, or content with what's merged? -- priority: release blocker -> normal resolution: -> fixed stage: patch review -> commit review s

[issue34653] PyParser_SimpleParseStringFilename should be deleted

2018-09-13 Thread Eric V. Smith
Change by Eric V. Smith : -- keywords: +patch pull_requests: +8691 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-li

[issue34660] Remove ableist terms and pejoratives from source code and docs

2018-09-13 Thread 25.45
New submission from 25.45 : It has come to my attention that CPython's source code contains problematic ableist/saneist terms and/or pejoratives, namely sanity check144 silly 26 insane 13 crazy 13 stupid 6 lame2 lunatic 1 Some of t

[issue34659] Inconsistency between functools.reduce & itertools.accumulate

2018-09-13 Thread Raymond Hettinger
Change by Raymond Hettinger : -- assignee: -> rhettinger nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34653] PyParser_SimpleParseStringFilename should be deleted

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 53c427e839d3e55d4791dca687a2d47534465a7a by Miss Islington (bot) (Eric V. Smith) in branch 'master': bpo-34653: Removed unused function PyParser_SimpleParseStringFilename. (GH-9260) https://github.com/python/cpython/commit/53c427e839d3e55d4791dc

[issue34480] _markupbase.py fails with UnboundLocalError on invalid keyword in marked section

2018-09-13 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: -> ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:

[issue1621] Do not assume signed integer overflow behavior

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8692 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue1621] Do not assume signed integer overflow behavior

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8692, 8693 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: ht

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : BusyBox has a unzip command, but it doesn't support -t. == FAIL: test_unzip_zipfile (test.test_shutil.TestShutil) -- Tr

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8694 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue29341] Missing accepting path-like object in docstrings of os module functions

2018-09-13 Thread Farhaan Bukhsh
Farhaan Bukhsh added the comment: Hey I would like to make this change which file should I look into? -- nosy: +fhackdroid ___ Python tracker ___ _

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset a710ebd21b09efe902dde84d4862ce5c6427f7af by Benjamin Peterson in branch 'master': closes bpo-34661: Fix test_shutil if unzip doesn't support -t. (GH-9262) https://github.com/python/cpython/commit/a710ebd21b09efe902dde84d4862ce5c6427f7af ---

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8696 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8695 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset b2ff9a9f9298761985aa85aa3f42421ce6effb9e by Miss Islington (bot) in branch '3.7': bpo-34658: Fix rare subprocess prexec_fn fork error. (GH-9255) https://github.com/python/cpython/commit/b2ff9a9f9298761985aa85aa3f42421ce6effb9e --

[issue17239] XML vulnerabilities in Python

2018-09-13 Thread Christian Heimes
Change by Christian Heimes : -- pull_requests: +8697 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue34662] tarfile.TarFile may write corrupt files if not closed

2018-09-13 Thread Daniel Pope
New submission from Daniel Pope : A tarfile.TarFile object open for writing may silently write corrupt tar files if it is destroyed before being closed. While explicitly calling close() or using the object as a context manager is recommended, I would not expect this in basic usage. There are

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8698 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 1550b7311216082748ddcdc048ee0374ce004513 by Miss Islington (bot) in branch '3.7': closes bpo-34661: Fix test_shutil if unzip doesn't support -t. (GH-9262) https://github.com/python/cpython/commit/1550b7311216082748ddcdc048ee0374ce004513 --

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 7eeb80b1e0034fd4e6b8d03b2c0fc5c94fe8d8fa by Miss Islington (bot) in branch '3.6': closes bpo-34661: Fix test_shutil if unzip doesn't support -t. (GH-9262) https://github.com/python/cpython/commit/7eeb80b1e0034fd4e6b8d03b2c0fc5c94fe8d8fa --

[issue34662] tarfile.TarFile may write corrupt files if not closed

2018-09-13 Thread Daniel Pope
Daniel Pope added the comment: I have several suggestions for steps to address this: 1. Don't create reference cycles. TarInfo.tarfile does not appear to be a documented attribute (https://docs.python.org/3/library/tarfile.html#tarinfo-objects) and could perhaps be deleted. 2. Issue a Resou

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8699 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue20047] bytearray partition bug

2018-09-13 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +8700 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8702 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8701 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e78734d579439861f6d7e12f35d268836b2c1e24 by Benjamin Peterson in branch 'master': bpo-34661: Fix test skipping call. (GH-9266) https://github.com/python/cpython/commit/e78734d579439861f6d7e12f35d268836b2c1e24 -- ___

[issue33239] tempfile module: functions with the 'buffering' option are incorrectly documented

2018-09-13 Thread Antti Haapala
Antti Haapala added the comment: This week we were bit by this in production. I foolishly thought that the docs would give me correct default values... It is worse that it didn't actually occur until we went over the limit. -- nosy: +ztane ___ Py

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-13 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : In some systems, posix_spawn has an optional flag (POSIX_SPAWN_USEVFORK) that is GNU specific and allows the user to force posix_spawn to spawn the child using vfork instead of fork. This is very beneficial as it gives great speedups compare with no

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +8703 stage: -> patch review ___ Python tracker ___ ___ Python

[issue33649] asyncio docs overhaul

2018-09-13 Thread Carol Willing
Change by Carol Willing : -- pull_requests: +8704 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue34664] test.test_os.MakedirTests.test_mode is too strict

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : If TESTFN is in a directory with S_ISGID set in its mode, test_os will fail: == FAIL: test_mode (test.test_os.MakedirTests) ---

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 18e21883a4ec2a36a02054eb2ff47e3ba9bd1d33 by Benjamin Peterson in branch '2.7': [2.7] closes bpo-34661: Fix test_shutil if unzip doesn't support -t. (GH-9267) https://github.com/python/cpython/commit/18e21883a4ec2a36a02054eb2ff47e3ba9bd1d33

[issue34664] test.test_os.MakedirTests.test_mode is too strict

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8705 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue34665] Py_FinalizeEx() - Bugs & caveats - Add info that NumPy and Pandas don't support reinitialization

2018-09-13 Thread Johannes M.
New submission from Johannes M. : Since about a decade, it's a know problem that NumPy and Pandas initialization function crashes on reinitialization after a call to Py_Finalize() + Py_Initialize(). [https://github.com/numpy/numpy/issues/8097] [https://github.com/numpy/numpy/issues/11925] It

[issue34639] PYTHONCOERCECLOCALE is ignored when using -E or -I option

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: > Respecting -E and -I isn't a problem per se - the problem is moving the > _Py_CoerceLegacyLocale call to a point that's incredibly late in the startup > process *just* to get it to respect those flags. Would you mind to elaborate how it is an issue? The LC

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 218b4bf47410ff8ab46b68461267fe10db18aee1 by Miss Islington (bot) in branch '3.7': bpo-34661: Fix test skipping call. (GH-9266) https://github.com/python/cpython/commit/218b4bf47410ff8ab46b68461267fe10db18aee1 -- __

[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-09-13 Thread Ned Deily
Ned Deily added the comment: I can't reproduce this either using a current top of 3.7 branch and installed on macOS; I also tried building 3.7 just prior to the fix for Issue21446 that Brett mentioned; the test also did not fail. Let's close this until it can be reproduced outside of doko's

[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

2018-09-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: -vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
New submission from Andrew Svetlov : Methods are needed for providing consistent stream API with control flow switched on by default. -- components: asyncio messages: 325279 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Implement async write and async

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 81361cdff847f14f6258c0ead17817d6f9e04022 by Miss Islington (bot) in branch '3.6': bpo-34661: Fix test skipping call. (GH-9266) https://github.com/python/cpython/commit/81361cdff847f14f6258c0ead17817d6f9e04022 -- __

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +8706 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-13 Thread Ned Deily
Ned Deily added the comment: New changeset 66755cbb1e529f54c9066639ebbbac81add0affd by Ned Deily in branch 'master': bpo-34247: add porting note to 3.7 What's New (GH-9223) https://github.com/python/cpython/commit/66755cbb1e529f54c9066639ebbbac81add0affd --

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8707 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: > LC_CTYPE=C PYTHONCOERCECLOCALE=0 python3 -E ... The UTF-8 Mode has the same behavior: PYTHONUTF8 env var is ignored when using -E, but enabled by the C locale: you can use -X utf8=0 in that case to ensure that the UTF-8 Mode is disabled. I wanted to propo

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: > (in earlier Python versions, it respected an ill-defined subset of those > environment variables, ...) I'm not aware of the Python 3.6 issue ("ill-defined"): which env vars were not properly handled? -- ___ Pyt

[issue1621] Do not assume signed integer overflow behavior

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: Benjamin: what do you think of adding an explicit check after the "new_size <<= 1;" loop? if (new_size > (size_t)PY_SSIZE_T_MAX) { PyErr_NoMemory(); return -1; } Technically, PyMem_Malloc() already implements the check, so it's not re

[issue34587] test_socket: testCongestion() hangs on my Fedora 28

2018-09-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +8708 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue34664] test.test_os.MakedirTests.test_mode is too strict

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8709 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34664] test.test_os.MakedirTests.test_mode is too strict

2018-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 84db4a9978069a98978e9cd7951d1a01d47e5286 by Benjamin Peterson in branch 'master': closes bpo-34664: Only check file permission bits of newly created directories. (GH-9273) https://github.com/python/cpython/commit/84db4a9978069a98978e9cd7951d

[issue34587] test_socket: testCongestion() hangs on my Fedora 28

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: I proposed PR 9277 to remove the test: see the PR for the rationale. > Neither socket.py nor test_socket.py have changed recently though, so it > seems to me that this is either a recent Fedora bug (where the socket is > blocking when it shouldn't), or else

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: I suggest to name the parameter "use_vfork", or maybe even "vfork". -- nosy: +vstinner ___ Python tracker ___ ___

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 305056494d7e1debec3df268b8925725b0110293 by Miss Islington (bot) in branch '3.7': bpo-34247: add porting note to 3.7 What's New (GH-9223) https://github.com/python/cpython/commit/305056494d7e1debec3df268b8925725b0110293 -- nosy: +miss-

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-13 Thread Ned Deily
Ned Deily added the comment: I've merged Nick's suggested porting note so I'm going to remove the "release blocker" status. Can we also close this now? -- priority: release blocker -> ___ Python tracker _

[issue34651] Disallow fork in a subinterpreter.

2018-09-13 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +8710 stage: needs patch -> patch review ___ Python tracker ___ ___ Python-

[issue34664] test.test_os.MakedirTests.test_mode is too strict

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset b2a6aa32f34b6d77c15f175a9df7271a05519bf9 by Miss Islington (bot) in branch '3.7': closes bpo-34664: Only check file permission bits of newly created directories. (GH-9273) https://github.com/python/cpython/commit/b2a6aa32f34b6d77c15f175a9df7271

[issue34660] Remove ableist terms and pejoratives from source code and docs

2018-09-13 Thread Carol Willing
Carol Willing added the comment: Thank you for filing an issue. I will be carefully reviewing the Python documentation section by section over the next several months. I will open individual issues as I go through each section as well as pull requests as I thoughtfully review each section.

[issue34668] test_resource fails if test has CAP_SYS_RESOURCE but isn't root

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : test_prlimit tries to test that raising the hardlimit of an unprivileged process. It tries to raise the hardlimit of pid 1, which usually raises a PermissionError. However, if the tests are privileged, this test can't work. The test tries to avoid this

[issue34667] Review documentation section by section

2018-09-13 Thread Carol Willing
New submission from Carol Willing : This issue is a placeholder for a comprehensive documentation review by content sections. I will develop a more detailed workplan in the coming weeks. -- assignee: willingc messages: 325292 nosy: willingc priority: normal severity: normal status: ope

[issue34668] test_resource fails if test has CAP_SYS_RESOURCE but isn't root

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8711 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue34582] VSTS builds should use new YAML syntax and pools

2018-09-13 Thread Steve Dower
New submission from Steve Dower : Thanks, David! I'm partway through most of these changes (as well as some other improvements) in my PR at https://github.com/python/cpython/pull/9210/files, so if it's all the same to you, I'll make sure I've covered everything you've done here and then clos

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: We discussed with Gregory P. Smith, and we agreed on the "use_vfork=True" name. He is a native english speaker, so I rely on him :-) Moreover, "use_vfork" is closer to POSIX_SPAWN_USEVFORK constant than "vfork". -- __

[issue34668] test_resource fails if test has CAP_SYS_RESOURCE but isn't root

2018-09-13 Thread Petr Viktorin
Petr Viktorin added the comment: Check also discussion on issue31132. If you agree, I'm OK with marking that one as duplicate, and removing the test. -- nosy: +petr.viktorin ___ Python tracker __

[issue34668] test_resource fails if test has CAP_SYS_RESOURCE but isn't root

2018-09-13 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment ___ Python tracker

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8712 stage: -> patch review ___ Python tracker ___ ___ Python-bug

[issue34662] tarfile.TarFile may write corrupt files if not closed

2018-09-13 Thread Ned Deily
Change by Ned Deily : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.p

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +8713 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

  1   2   >