[issue35226] mock.call equality surprisingly broken

2018-11-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: I think this is due to the fact that when an attribute of a call object is accessed a new call object is returned with the parent as self.parent [0] but the original information regarding the parent is lost during representation and no check for

[issue35081] Move internal headers to Include/internal/

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: Status: only pyport. and tupleobject.h use Py_BUILD_CORE, and only tupleobject.h uses "#ifdef Py_BUILD_CORE" (contains code specific to internals). $ grep Py_BUILD_CORE Include/*.h Include/pyport.h:# if defined(Py_BUILD_CORE) ||

[issue33052] Sporadic segmentation fault in test_datetime.test_check_arg_types()

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: Oh, this issue is the same bug than bpo-33701. I also close this one since this crash has been seen in March, but I didn't see it recently. So I close the issue as "out of date". -- resolution: -> out of date stage: -> resolved status: open ->

[issue35081] Move internal headers to Include/internal/

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9767 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35226] mock.call equality surprisingly broken

2018-11-13 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Yes, for call objects it's always there but some of the tests use a tuple during self.assertEquals and hence during equality check other fails with the attribute error for parent like below. Also getattr(self, 'parent', None) != getattr(other,

[issue35081] Move internal headers to Include/internal/

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 0d12672b30b8c6c992bef7564581117ae83e11ad by Victor Stinner (Paul Ganssle) in branch 'master': bpo-35081: Remove Py_BUILD_CORE from datetime.h (GH-10416) https://github.com/python/cpython/commit/0d12672b30b8c6c992bef7564581117ae83e11ad

[issue33052] Sporadic segmentation fault in test_datetime.test_check_arg_types()

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: > Just spotted this in a Travis-CI job: > https://travis-ci.org/python/cpython/jobs/351010039#L2002 0:00:07 load avg: 20.55 [ 24/415/1] test_datetime crashed (Exit code -11) Fatal Python error: Segmentation fault Current thread 0x14fcbda86740 (most recent

[issue33052] Sporadic segmentation fault in test_datetime

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +vstinner ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10486] http.server doesn't set all CGI environment variables

2018-11-13 Thread Glenn Linderman
Glenn Linderman added the comment: Rémi Lapeyre, glad to see your interest here, as this is an old and languishing bug. I would have hoped based on my input, that had there been anyone that was maintaining the Python web server code, that they might have done a more complete analysis than I

[issue35227] [RFE] tarfile: support adding file objects without prior known size

2018-11-13 Thread Michał Górny
New submission from Michał Górny : Currently, the tarfile module only supports adding files if their size is known prior to adding. However, I think it'd be helpful to be able to store large dynamically generated streams straight into the (uncompressed) .tar file without being able to

[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: +9766 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35081] Move internal headers to Include/internal/

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: Hum, this issue is much harder than what I expected. Status: * Include/internal/ header files have been renamed to get a new "pycore_" prefix which avoids conflicts with Include/ header files. Example: "pycore_pystate.h" vs "pystate.h". * pyatomic.c has

[issue35226] mock.call equality surprisingly broken

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- nosy: +mariocj89 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue10486] http.server doesn't set all CGI environment variables

2018-11-13 Thread Rémi Lapeyre
Rémi Lapeyre added the comment: Hi Glenn, I'm not aware of a document that defines CGI better than the RFC and I don't know it enough to disgress from the published standard (even if it is not what isdone today as I don't know the current practices enough). Here is the variables defined by

[issue35226] mock.call equality surprisingly broken

2018-11-13 Thread Chris Withers
New submission from Chris Withers : $ python3 Python 3.7.0 (v3.7.0:1bf9cc5093, Jun 26 2018, 23:26:24) [Clang 6.0 (clang-600.0.57)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> from unittest.mock import call >>> call(x=1) == call(x=2) False Good so far?

[issue35226] mock.call equality surprisingly broken

2018-11-13 Thread Chris Withers
Chris Withers added the comment: I don't think the getattr(self, 'parent', None) is necessary, the attribute is always there and None == None ;-) I reckon this will work: if self.parent != other.parent): return True ...but obviously, we'd add some more tests to the suite to make sure

[issue30156] PYTHONDUMPREFS segfaults on exit

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

[issue35226] mock.call equality surprisingly broken

2018-11-13 Thread Chris Withers
Chris Withers added the comment: I'm chatting with Michael already (on Facebook of all places), and I use this feature heavily and deeply, being one of the people who originally requested it. I'm both happy and capable of seeing this through, so no need for anyone else to dive in :-)

[issue35195] [Windows] Python 3.7 initializes LC_CTYPE locale at startup, causing performance issue on msvcrt isdigit()

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- title: Pandas read_csv() is 3.5X Slower on Python 3.7.1 vs Python 3.6.7 & 3.5.2 On Windows 10 -> [Windows] Python 3.7 initializes LC_CTYPE locale at startup, causing performance issue on msvcrt isdigit() ___ Python

[issue35229] Deprecate _PyObject_GC_TRACK() in Python 3.6

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9771 stage: -> patch review ___ Python tracker ___ ___

[issue33930] Segfault with deep recursion into object().__dir__

2018-11-13 Thread Gus Goulart
Gus Goulart added the comment: ronaldoussoren, I have tested (Debian 9) substituting "_PyObject_GC_UNTRACK(m);" to "PyObject_GC_UnTrack(m);", and although the tests pass, I'm can still see the segfault error. diff --git a/Objects/methodobject.c b/Objects/methodobject.c index

[issue34033] distutils is not reproducible

2018-11-13 Thread Sascha Silbe
Change by Sascha Silbe : -- nosy: +sascha_silbe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35230] Remove _Py_REF_DEBUG_COMMA

2018-11-13 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +9773 stage: -> patch review ___ Python tracker ___ ___

[issue33930] Segfault with deep recursion into object().__dir__

2018-11-13 Thread Gus Goulart
Change by Gus Goulart : -- nosy: +taleinat ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35229] Deprecate _PyObject_GC_TRACK() in Python 3.6

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 55b4771d5d18d5ff7c095aa1ab750fe0c8bb5e67 by Victor Stinner in branch '3.7': bpo-35229: Deprecate _PyObject_GC_TRACK() (GH-10511) https://github.com/python/cpython/commit/55b4771d5d18d5ff7c095aa1ab750fe0c8bb5e67 --

[issue35229] Deprecate _PyObject_GC_TRACK() in Python 3.6

2018-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +9772 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17972] inspect module docs omits many functions

2018-11-13 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: I think this issue should be discussed once more. I am not sure it's worth defining __all__, but then we would have to include them in the docs. If you think __all__ should be defined instead, then I could go through the trouble of doing so. Could a

[issue17972] inspect module docs omits many functions

2018-11-13 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: ...but then we would have to include them in the docs... should be *but then we would have to include all the public functions in the docs*. -- ___ Python tracker

[issue29708] support reproducible Python builds

2018-11-13 Thread Sascha Silbe
Change by Sascha Silbe : -- nosy: +sascha_silbe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35226] mock.call equality surprisingly broken

2018-11-13 Thread Mario Corchero
Mario Corchero added the comment: If this is to be done we should not change those tests, I am sure there is code validating calls relying on its "tupleness". Example: ``` >>> import unittest.mock >>> m = unittest.mock.Mock() >>> m(1) >>> m(2, a=1) >>> m.assert_has_calls([ ... ((1,),

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +9769 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35226] mock.call equality surprisingly broken

2018-11-13 Thread Michael Foord
Michael Foord added the comment: Parents comparing upwards sounds like the right (and simple) fix. Not breaking the tuple tests would be good. I'm happy for Chris to produce the patch. -- ___ Python tracker

[issue35230] Remove _Py_REF_DEBUG_COMMA

2018-11-13 Thread INADA Naoki
New submission from INADA Naoki : After 2aaf0c, _Py_REF_DEBUG_COMMA in Include/object.h is used only in dictobject.c. Let's remove it. -- messages: 329833 nosy: inada.naoki priority: normal severity: normal status: open title: Remove _Py_REF_DEBUG_COMMA

[issue35229] Deprecate _PyObject_GC_TRACK() in Python 3.6

2018-11-13 Thread miss-islington
miss-islington added the comment: New changeset 60a6baef4005a32fb4cf45e15942ea18e59ecf19 by Miss Islington (bot) in branch '3.6': bpo-35229: Deprecate _PyObject_GC_TRACK() (GH-10511) https://github.com/python/cpython/commit/60a6baef4005a32fb4cf45e15942ea18e59ecf19 -- nosy:

[issue32170] Contrary to documentation, ZipFile.extract does not extract timestamps or other metadata

2018-11-13 Thread Sascha Silbe
Change by Sascha Silbe : -- nosy: +sascha_silbe ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9770 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35081] Move internal headers to Include/internal/

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1a6be91e6fd65ce9cb88c193db7e92ec6076 by Victor Stinner in branch 'master': bpo-35081: Make some _PyGC macros internal (GH-10507) https://github.com/python/cpython/commit/1a6be91e6fd65ce9cb88c193db7e92ec6076 --

[issue35229] Deprecate _PyObject_GC_TRACK() in Python 3.6

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: > These macros have been broken in Python 3.7 by Eric Snow's work on moving > internal APIs to Include/internal/ (...) Oh, I forgot to mention that IMHO it's perfectly fine :-) -- ___ Python tracker

[issue34784] Heap-allocated StructSequences

2018-11-13 Thread Petr Viktorin
Petr Viktorin added the comment: New changeset 474eedfb3d1b6fecbd749f36bf4a987cf4a00b44 by Petr Viktorin (Eddie Elizondo) in branch 'master': bpo-34784: Fix PyStructSequence_NewType with heap-allocated StructSequence (GH-9665)

[issue35228] Index search in CHM help crashes viewer

2018-11-13 Thread Christian Ullrich
New submission from Christian Ullrich : Typing into the index keyword field frequently crashes the CHM viewer with the first or second character. The Python CHMs are the only ones that I see this crash with; it started around 3.6 or so. >From event log: Faulting application name: hh.exe,

[issue35218] decompressing and then re-compressing zipfiles with Python 3 zipfile loses flag_bits

2018-11-13 Thread keeely
Change by keeely : -- keywords: +patch Added file: https://bugs.python.org/file47930/zipfile_flags.patch ___ Python tracker ___ ___

[issue35195] Pandas read_csv() is 3.5X Slower on Python 3.7.1 vs Python 3.6.7 & 3.5.2 On Windows 10

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: > Yes, that slows down Python 3.7.0a3 to the 3.7.0a4 level. Ok, so something calls setlocale(LC_CTYPE, "") or setlocale(LC_ALL, "") in Python 3.7.0. I'm not interested to dig the Git history. It doesn't really matter at this point. Can you try to get the

[issue35229] Deprecate _PyObject_GC_TRACK() in Python 3.6

2018-11-13 Thread STINNER Victor
New submission from STINNER Victor : The _PyObject_GC_TRACK() and _PyObject_GC_UNTRACK() macros are documented: * https://docs.python.org/dev/c-api/gcsupport.html#c._PyObject_GC_TRACK * https://docs.python.org/dev/c-api/gcsupport.html#c._PyObject_GC_UNTRACK The documentation says "It should

[issue35230] Remove _Py_REF_DEBUG_COMMA

2018-11-13 Thread INADA Naoki
INADA Naoki added the comment: I meant 2aaf0c1. -- ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35224] PEP 572: Assignment Expressions

2018-11-13 Thread Steven D'Aprano
Change by Steven D'Aprano : -- nosy: +steven.daprano ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35230] Remove _Py_REF_DEBUG_COMMA

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: This change is related to bpo-35059. -- nosy: +vstinner ___ Python tracker ___ ___

[issue35229] Deprecate _PyObject_GC_TRACK() in Python 3.6

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

[issue35059] Convert Py_INCREF() and PyObject_INIT() to inlined functions

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-35230: "Remove _Py_REF_DEBUG_COMMA". -- ___ Python tracker ___ ___ Python-bugs-list

[issue33196] SEGV in mp.synchronize.Lock.__repr__ in spawn'ed proc if ctx mismatched

2018-11-13 Thread Gus Goulart
Gus Goulart added the comment: I've tested on Fedora 29 server and also failed to reproduce the error. -- Added file: https://bugs.python.org/file47931/testing_on_fedora.png ___ Python tracker

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9776 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
New submission from STINNER Victor : _PyMainInterpreterConfig_Copy() doesn't copy the install_signal_handlers attribute and so config->install_signal_handlers is always -1. Bug spotted by Francis Hart: https://github.com/python/cpython/pull/10516 Attached PR fix the issue. --

[issue35234] ssl module falls over with internationalized domain names

2018-11-13 Thread Michael Casadevall
New submission from Michael Casadevall : Test case attached. In Python 3.6, ssl tries to validate the hostname on its own, but fails to convert the SSL certificates hostname from IDNA back to UTF-8 and mismatches. Python 3.7 and master are unaffected since this got fixed by accident when

[issue35234] ssl module falls over with internationalized domain names

2018-11-13 Thread Christian Heimes
Christian Heimes added the comment: This is a duplicate of #28414. I decided to not fix Python 3.6 because I had to break an existing API to fix the problem. And no, it didn't get fixed by accident. Nathaniel and I poured a lot of time and effort into untangling this mess. The fix is

[issue35231] make install may not call ldconfig on posix

2018-11-13 Thread pmpp
New submission from pmpp : observed on ubuntu trusty x64 with release 3.7.1 at least when switching from "m" abi to "dm" abi sometimes libpython is not resolved in /usr/local/lib so maybe add "ldconfig" as a preventive mesure. -- components: Installation messages: 329840 nosy: pmpp

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +9775 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread miss-islington
Change by miss-islington : -- pull_requests: +9774 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset d57a3e5d03efdda6247c27bd682872edf399d88b by Victor Stinner in branch '3.7': bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) (GH-10517) https://github.com/python/cpython/commit/d57a3e5d03efdda6247c27bd682872edf399d88b

[issue35231] make install may not call ldconfig on GNU/Linux

2018-11-13 Thread pmpp
Change by pmpp : -- title: make install may not call ldconfig on posix -> make install may not call ldconfig on GNU/Linux ___ Python tracker ___

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9777 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9778 stage: -> patch review ___ Python tracker ___ ___

[issue35231] make install may not call ldconfig on GNU/Linux when using --enable-shared

2018-11-13 Thread pmpp
Change by pmpp : -- title: make install may not call ldconfig on GNU/Linux -> make install may not call ldconfig on GNU/Linux when using --enable-shared ___ Python tracker

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset f966e5397ed8f5c42c185223fc9b4d750a678d02 by Victor Stinner in branch 'master': bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) https://github.com/python/cpython/commit/f966e5397ed8f5c42c185223fc9b4d750a678d02

[issue10486] http.server doesn't set all CGI environment variables

2018-11-13 Thread Pierre Quentel
Pierre Quentel added the comment: The QUERY_STRING value is always set by the code at lines 1135-1137 of http.server: for k in ('QUERY_STRING', 'REMOTE_HOST', 'CONTENT_LENGTH', 'HTTP_USER_AGENT', 'HTTP_COOKIE', 'HTTP_REFERER'): env.setdefault(k, "") The RFC for CGI

[issue31354] Fixing a bug related to LTO only build

2018-11-13 Thread Charalampos Stratakis
Charalampos Stratakis added the comment: This change exports -flto in cflags. You can check it with python3-config --cflags after this commit. Which means that every c extension which will use those cflags will also utilize -flto which wasn't happening before, thus I'd say it's a

[issue35232] Add `module`/`qualname` arguments to make_dataclass for picklability

2018-11-13 Thread Antony Lee
New submission from Antony Lee : Currently, dataclasses created by make_dataclass are not picklable, because their __module__ is set to "types". It seems that this would be easily fixed by letting make_dataclass gain a `module` and a `qualname` kwarg, similarly to the Enum functional form

[issue33930] Segfault with deep recursion into object().__dir__

2018-11-13 Thread Gus Goulart
Gus Goulart added the comment: Sorry, I forgot to include the trashcan API. I'll double check and update the issue. -- ___ Python tracker ___

[issue29564] ResourceWarning: suggest to enable tracemalloc in the message

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset ae8878176d6dc1878d1e792ac4308ca1920b103b by Victor Stinner in branch '3.6': bpo-29564:_PyMem_DumpTraceback() suggests enabling tracemalloc (GH-10510) (GH-10518) https://github.com/python/cpython/commit/ae8878176d6dc1878d1e792ac4308ca1920b103b

[issue35232] Add `module`/`qualname` arguments to make_dataclass for picklability

2018-11-13 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +eric.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35195] [Windows] Python 3.7 initializes LC_CTYPE locale at startup, causing performance issue on msvcrt isdigit()

2018-11-13 Thread Dragoljub
Dragoljub added the comment: This is the default LC_CTYPE locale type I see on Windows10 and Python 3.7.1 vs 3.5.2: Same: 'C' '3.7.1 (v3.7.1:260ec2c36a, Oct 20 2018, 14:57:15) [MSC v.1915 64 bit (AMD64)]' import _locale _locale.setlocale(_locale.LC_CTYPE, None) 'C' '3.5.2

[issue35235] Access violation on alloc in Windows x86-64 python, pymalloc_alloc

2018-11-13 Thread Mark Inderhees
Mark Inderhees added the comment: Actually, I have now seen this in full installed python. I have updated the title. -- title: Access violation on alloc in Windows x86-64 embeddable python, pymalloc_alloc -> Access violation on alloc in Windows x86-64 python, pymalloc_alloc

[issue35235] Access violation on alloc in Windows x86-64 embeddable python, pymalloc_alloc

2018-11-13 Thread Mark Inderhees
New submission from Mark Inderhees : I'm seeing an AV in python allocation logic when running my scripts. This only happens when using embedded python. It does not reproduce when using installed python. This is on Windows x86-64, I'm running Windows 10. I've seen this on 3.6.5 and 3.7.1.

[issue35238] Alleviate memory reservation of fork_exec in subprocess.Popen via forkserver

2018-11-13 Thread Oscar Esteban
New submission from Oscar Esteban : ## Context We are developers of nipype (https://github.com/nipype) which is a workflow engine for neuroimaging software. We are experiencing problems that gave rise to the addition of ``os.posix_spawn`` to Python 3.8, and particularly, this -

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

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

[issue33725] macOS crashes after fork with no exec

2018-11-13 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- title: High Sierra hang when using multi-processing -> macOS crashes after fork with no exec ___ Python tracker ___

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7ddd56f4d835c6107b20a0b4233185bb59270142 by Victor Stinner in branch 'master': bpo-35233: Rewrite test_embed.InitConfigTests (GH-10524) https://github.com/python/cpython/commit/7ddd56f4d835c6107b20a0b4233185bb59270142 --

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

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9786 stage: -> patch review ___ 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

[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

[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 ___

[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:

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

2018-11-13 Thread miss-islington
miss-islington added the comment: New changeset fdc485a5dff8508328b4f26265d0af1ba5004597 by Miss Islington (bot) in branch '3.6': bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) https://github.com/python/cpython/commit/fdc485a5dff8508328b4f26265d0af1ba5004597

[issue33725] High Sierra hang when using multi-processing

2018-11-13 Thread Barry A. Warsaw
Change by Barry A. Warsaw : -- versions: +Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33725] High Sierra hang when using multi-processing

2018-11-13 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: issue35219 is where I've run into this problem. I'm still trying to figure out all the details in my own case, but I can confirm that setting the environment variable does not always help. -- ___ 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

[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:

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

2018-11-13 Thread STINNER Victor
New submission from STINNER Victor : Extract of _PySys_EndInit(): SET_SYS_FROM_STRING_BORROW("path", config->module_search_path); sys.path is initialized from _PyMainInterpreterConfig.module_search_path object: the list of strings is not copied. As a consequence, when sys.path is modified,

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9784 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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 ___ ___

[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:

[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

[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:

[issue16438] Numeric operator predecence confusing

2018-11-13 Thread Mariatta Wijaya
Mariatta Wijaya added the comment: I'm actually thinking perhaps the "see :ref:`operator-summary`" clause should be separate and under Notes below the table, as opposed to current PR: ``` All numeric types (except complex) support the following operations (for priorities of the operations,

[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 ___

[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:

[issue35233] _PyMainInterpreterConfig_Copy() doesn't copy install_signal_handlers

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9785 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

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

2018-11-13 Thread miss-islington
miss-islington added the comment: New changeset 9fbcb1402efab4e287f25145a69ba14c9c6dbce9 by Miss Islington (bot) in branch '3.7': [3.7] bpo-35214: Fix OOB memory access in unicode escape parser (GH-10506) (GH-10522)

[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

[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:

[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 ___

[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 --

  1   2   >