[issue31354] Fixing a bug related to LTO only build

2018-11-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: Is it an actual problem to compile extension modules with -flto? (I realize as an extension module there isn't a huge benefit to the concept unless it happens to have multiple source files or link against a non-shared library) --

[issue23734] zipimport should not check pyc timestamps against zipped py files

2018-11-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: Correct, this issue was filed before we had the new pyc options (which came out of our September core dev. sprint in 2016 iirc). I'll just close it, the way forward for people using zip files on modern CPython interpreters is to explicitly use the new unch

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 35c28d562ec7249f2a6aef8e326eadac130a1656 by Victor Stinner in branch '3.7': [3.7] bpo-35233: Rewrite test_embed.InitConfigTests (GH-10524) (GH-10529) https://github.com/python/cpython/commit/35c28d562ec7249f2a6aef8e326eadac130a1656 --

[issue34784] Heap-allocated StructSequences

2018-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- pull_requests: +9787 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: htt

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9788 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33725] Python crashes on macOS after fork with no exec

2018-11-13 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- title: Pytho crashes on macOS after fork with no exec -> Python crashes on macOS after fork with no exec ___ Python tracker ___

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: Attached PR 10532 modifies _PySys_EndInit() to copy lists and dictionaries from the config. -- ___ Python tracker ___ __

[issue33725] Python crashes on macOS after fork with no exec

2018-11-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: Hoo boy. I'm not sure I have the full picture, but things are starting to come into focus. After much debugging, I've narrowed down at least one crash to urllib.request.getproxies(). On macOS (darwin), this ends up calling _scproxy.get_proxies() which ca

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread STINNER Victor
New submission from STINNER Victor : Travis CI fails randomly with "xvfb-run: error: Xvfb failed to start". Example: https://travis-ci.org/python/cpython/jobs/454776965 whereas the full test suite succeeded. -- messages: 329881 nosy: vstinner priority: normal severity: normal status: o

[issue34784] Heap-allocated StructSequences

2018-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: PR9665 solves also Issue28709 -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-l

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: Extract of .travis.yml: $XVFB_RUN make buildbottest TESTOPTS="-j4 -uall,-cpu" if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then $XVFB_RUN make PYTHON=../python SPHINXOPTS="-q -W -j4" -C Doc/ venv doctest fi I'm not sure what is xvfb, nor why it's

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

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

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: xvfb is a utility that allows you to run a command in a virtual X server environment. I assume that is needed for the doctests that use the X server. I assume is related to PR9806 -- ___ Python tracker

[issue35214] Get the test suite passing with clang Memory Sanitizer enabled

2018-11-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +9789 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://

[issue33725] Python crashes on macOS after fork with no exec

2018-11-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: A few other things I don't understand: * Why does setting OBJC_DISABLE_INITIALIZE_FORK_SAFETY=YES only seem to work when it's set in the shell before the parent process executes? AFAICT, it does *not* work if you set that in os.environ in the parent proces

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 88cbea4c6ff4987ce31f4fe6f73c2d04a3d37829 by Victor Stinner in branch '3.7': bpo-35233: Fix _PyMainInterpreterConfig_Copy() (GH-10537) https://github.com/python/cpython/commit/88cbea4c6ff4987ce31f4fe6f73c2d04a3d37829 -- ___

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ __

[issue35241] test_embed fails on MacOS buildbots

2018-11-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- stage: -> needs patch type: -> behavior ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue35241] test_embed fails on MacOS buildbots

2018-11-13 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/147/builds/430/steps/4/logs/stdio https://buildbot.python.org/all/#/builders/109/builds/789/steps/4/logs/stdio == FAIL: test_init_default_c

[issue35240] Travis CI: xvfb-run: error: Xvfb failed to start

2018-11-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Found a relevant issue but 3 years old : https://github.com/travis-ci/travis-ci/issues/4387#issuecomment-125635027 Doc PR : https://github.com/travis-ci/docs-travis-ci-com/pull/311 . The docs recommend usage of -a to select a free port. --

[issue35242] multiprocessing.Queue in an inconsistent state and a traceback silently suppressed if put an unpickable object and process's target function is finished

2018-11-13 Thread Sergei Zobov
New submission from Sergei Zobov : In case if the process target function put something unpickable in the `multiprocessing.Queue` and finish before `ForkingPickler`'s exception is handled we get two weird situations: * Internal queue semaphore stay acquired and never will be released, so we get

<    1   2