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

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

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

2018-11-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Can we prefix MEMORY_SANITIZER with _Py_? -- nosy: +benjamin.peterson ___ Python tracker ___ _

[issue35215] Replacing CPython memory allocation

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: > The point of this 'issue' is to ask the community to suggest how i can go > about finding where the problem is. As I said, there is a lot of code :) Sadly, this tracker is to track bugs related to CPython. Modifying the interpreter to change the mem

[issue31541] Mock called_with does not ensure self/cls argument is used

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I agree with Karthikeyan: This is is the expected behaviour. The moment you use a mock, any implementation details are lost unless you use wraps or similar to also transfer the call to the/a real object. -- nosy: +pablogsal __

[issue31541] Mock called_with does not ensure self/cls argument is used

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Will -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ __

[issue31541] Mock called_with does not ensure self/cls argument is used

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg329801 ___ Python tracker ___ ___ Python-bugs-list

[issue35221] Enhance venv activate commands readability

2018-11-12 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +pablogsal ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue33944] Deprecate and remove pth files

2018-11-12 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: > I’m a little concerned about this approach because it means random third > party modules can affect the global environment for your application, without > knowing it. Since the hook installation happens at import time, and just > depending on a library that

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

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: I cannot initialize the interpreter after compiling with --with-memory-sanitizer: ❯ CC=clang ./configure --with-memory-sanitizer && make -j ❯ ./python Python 3.8.0a0 (heads/master:1584a00815, Nov 13 2018, 03:29:18) [Clang 7.0.0 (tags/RELEASE_700/final)

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

2018-11-12 Thread Alex Gaynor
Alex Gaynor added the comment: All libraries that are linked against, including libc, need to be compiled with MSAN. MSAN is not for the faint of heart. -- ___ Python tracker ___

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

2018-11-12 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Thanks @alex! I will try again after linking against ASAN-compiled version of my libraries. -- ___ Python tracker ___ ___

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

2018-11-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +9761 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-11-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +9762 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-11-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: yeah, i've been surprised how far i was able to get from an oss CPython tree and pre-built clang 7 binary installation. If you have headers installed for common libraries like libssl-dev and libreadline-dev you can't produce an interpreter that'll work as

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

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

[issue35224] PEP 572: Assignment Expressions

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

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

2018-11-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: > Can we prefix MEMORY_SANITIZER with _Py_? Yes, I wondered if I should do that. not that I expect anyone would ever define it to mean anything else, but that seems like the right thing to do. https://github.com/python/cpython/pull/10503 -- ___

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

2018-11-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +9764 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-11-12 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 3015fb8ce4d25603434b9b44bb7effb98a481532 by Gregory P. Smith in branch 'master': bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) https://github.com/python/cpython/commit/3015fb8ce4d25603434b9b44bb7effb98a481532 -- ___

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

2018-11-12 Thread miss-islington
Change by miss-islington : -- pull_requests: +9765 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-11-12 Thread miss-islington
miss-islington added the comment: New changeset f6602f92664b782125a1ec5009706f9300fe7e80 by Miss Islington (bot) in branch '3.7': bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) https://github.com/python/cpython/commit/f6602f92664b782125a1ec5009706f9300fe7e80 -- nosy:

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

2018-11-12 Thread miss-islington
miss-islington added the comment: New changeset 60cf26528b931215160a53fd61836dbe4f036009 by Miss Islington (bot) in branch '3.6': bpo-35214: Add _Py_ prefix to MEMORY_SANITIZER def. (GH-10503) https://github.com/python/cpython/commit/60cf26528b931215160a53fd61836dbe4f036009 --

[issue33052] Sporadic segmentation fault in test_datetime

2018-11-12 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Related discussion with same segfault in Travis CI : issue33701 -- ___ Python tracker ___ _

<    1   2