[issue34010] tarfile stream read performance

2018-07-03 Thread hajoscher
hajoscher added the comment: Yes, it performance is really bad for large files, and memory consumption as well. I will write something for NEWS. -- ___ Python tracker ___

[issue34038] urllib2.urlopen fails if http_proxy(s) is set to a sock5 proxy

2018-07-03 Thread T L
New submission from T L : Changing the urlopen call to a curl commnand invoke works. $ export http_proxy=socks5://127.0.0.1: https_proxy=socks5://127.0.0.1: # this will raise an exception with string representation is a blank string # at least for url:

[issue33418] Memory leaks in functions

2018-07-03 Thread INADA Naoki
Change by INADA Naoki : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 2.7, Python 3.6, Python 3.7 ___ Python tracker ___

[issue33418] Memory leaks in functions

2018-07-03 Thread INADA Naoki
INADA Naoki added the comment: New changeset 3c452404ae178b742967589a0bb4a5ec768d76e0 by INADA Naoki in branch 'master': bpo-33418: Add tp_clear for function object (GH-8058) https://github.com/python/cpython/commit/3c452404ae178b742967589a0bb4a5ec768d76e0 --

[issue34031] [EASY] Incorrect usage of unittest.TestCase in test_urllib2_localnet

2018-07-03 Thread Bradley Laney
Bradley Laney added the comment: Hey again @pablogsal. Thanks for reviewing the email issue again. I'll try to fix and submit a PR for this if that's ok. -- nosy: +Bradley Laney ___ Python tracker

[issue32710] test_asyncio: ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving() leaked [4, 4, 3] memory blocks on AMD64 Windows8.1 Refleaks 3.x

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: See also bpo-33735: my commit 23401fb960bb94e6ea62d2999527968d53d3fc65 fixes a false alarm in regrtest when hunting leaks in test_multiprocessing_spawn or test_multiprocessing_forkserver. -- ___ Python tracker

[issue32710] test_asyncio: ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving() leaked [4, 4, 3] memory blocks on AMD64 Windows8.1 Refleaks 3.x

2018-07-03 Thread STINNER Victor
Change by STINNER Victor : -- title: test_asyncio leaked [4, 4, 3] memory blocks, sum=11 on AMD64 Windows8.1 Refleaks 3.x -> test_asyncio: ProactorEventLoopTests.test_sendfile_close_peer_in_middle_of_receiving() leaked [4, 4, 3] memory blocks on AMD64 Windows8.1 Refleaks 3.x

[issue34037] test_asyncio: test_run_in_executor_cancel() leaked a dangling thread on AMD64 FreeBSD 10.x Shared 3.7

2018-07-03 Thread STINNER Victor
New submission from STINNER Victor : AMD64 FreeBSD 10.x Shared 3.7: http://buildbot.python.org/all/#/builders/124/builds/410 ... test_remove_fds_after_closing (test.test_asyncio.test_events.KqueueEventLoopTests) ... ok test_run_in_executor (test.test_asyncio.test_events.KqueueEventLoopTests)

[issue16822] execv (et al.) should invoke atexit handlers before executing new code

2018-07-03 Thread Eric Snow
Change by Eric Snow : -- nosy: +emilyemorehouse, eric.snow ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33944] Deprecate and remove pth files

2018-07-03 Thread Eric Snow
Eric Snow added the comment: @barry, make sure you take a look at https://bugs.python.org/issue14803. -- ___ Python tracker ___

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-07-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +7681 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24596] Script globals in a GC cycle not finalized when exiting with SystemExit

2018-07-03 Thread Antoine Pitrou
Change by Antoine Pitrou : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue24596] Script globals in a GC cycle not finalized when exiting with SystemExit

2018-07-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset e1ebf51f76037b7e02711aaeb9bf66c9147f4c74 by Antoine Pitrou (Miss Islington (bot)) in branch '3.6': bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918) (GH-8069)

[issue24596] Script globals in a GC cycle not finalized when exiting with SystemExit

2018-07-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 20ae4c60258479a0732d12af292f422679444e2c by Antoine Pitrou (Miss Islington (bot)) in branch '3.7': bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918) (GH-8070)

[issue29708] support reproducible Python builds

2018-07-03 Thread Bernhard M. Wiedemann
Bernhard M. Wiedemann added the comment: also related to this topic: https://github.com/pypa/pip/pull/5525 for pip's RECORD file. -- ___ Python tracker ___

[issue24596] Script globals in a GC cycle not finalized when exiting with SystemExit

2018-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +7680 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24596] Script globals in a GC cycle not finalized when exiting with SystemExit

2018-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +7679 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24596] Script globals in a GC cycle not finalized when exiting with SystemExit

2018-07-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset d8cba5d16f1333fd625726fc72e66afbd45b8d00 by Antoine Pitrou (Zackery Spytz) in branch 'master': bpo-24596: Decref module in PyRun_SimpleFileExFlags() on SystemExit (GH-7918)

[issue34034] Python 3.7.0 multiprocessing forkserver ForkingPickler behaviour change

2018-07-03 Thread Antoine Pitrou
Antoine Pitrou added the comment: It could be many different things. The bottom line here, though, is that the Process class is not designed to be picklable (how would it work?), which is probably why you're seeing this. -- nosy: +pitrou ___

[issue34035] zipfile: AttributeError in "seek" method of "_SharedFile" class

2018-07-03 Thread Evgeny Prilepin
Evgeny Prilepin added the comment: I think the line 1031 also contains the misprint and will raise NameError. > self._decompressor = zipfile._get_decompressor(self._compress_type) "zipfile." is not correct code in this place. -- ___ Python

[issue34036] ModuleNotFoundError: No module named '_ctypes' when install Python 3.7 on Linux

2018-07-03 Thread Semyon Levin
New submission from Semyon Levin : make install failed with File "/tmp/tmp2gwe2ma_/pip-10.0.1-py2.py3-none-any.whl/pip/_internal/utils/glibc.py", line 3, in File "/common/dev/slevin/tools/Python-3.7.0/Lib/ctypes/__init__.py", line 7, in from _ctypes import Union, Structure, Array

[issue34036] ModuleNotFoundError: No module named '_ctypes' when install Python 3.7 on Linux

2018-07-03 Thread Semyon Levin
Change by Semyon Levin : -- components: +Installation versions: +Python 3.7 ___ Python tracker ___ ___ Python-bugs-list mailing

[issue33944] Deprecate and remove pth files

2018-07-03 Thread Barry A. Warsaw
Barry A. Warsaw added the comment: I think we'll clearly need a PEP for this clean up. I'd like to see a separate "preload" feature as well, especially one that is deterministic and happens before site.py. Not sure if that should be one PEP or two. --

[issue34035] zipfile: AttributeError in "seek" method of "_SharedFile" class

2018-07-03 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- keywords: +easy nosy: +serhiy.storchaka stage: -> needs patch type: crash -> behavior versions: +Python 3.6, Python 3.8 ___ Python tracker ___

[issue34035] zipfile: AttributeError in "seek" method of "_SharedFile" class

2018-07-03 Thread Evgeny Prilepin
New submission from Evgeny Prilepin : The misprint in the file lib/zipfile.py in the line 704 leads to AttributeError: '_SharedFile' object has no attribute 'writing' "self.writing()" should be replaced by "self._writing()". I also think this code shold be covered by tests. --

[issue34034] Python 3.7.0 multiprocessing forkserver ForkingPickler behaviour change

2018-07-03 Thread Santiago Hernandez
New submission from Santiago Hernandez : Hi, I am splitting some processing among different processes with the forkserver start method using multiprocessing. In python 3.4 to 3.6 this worked fine. In python 3.7.0 it's breaking with the following Traceback: ``` File

[issue28657] cmd.Cmd.get_help() implementation can't see do_*() methods added dynamically by setattr()

2018-07-03 Thread Błażej Michalik
Błażej Michalik added the comment: I found it. Our app had CLI that was so vast, that it didn't made sense to put all of the 'do_xyz' methods into the same class that would run the interface internals. Instead, we had a child Cmd class that had a "add_command(self, command, func,

[issue32888] Improve exception message in ast.literal_eval

2018-07-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please wait until issue32892 and issue32893 be committed or rejected before merging this PR. -- dependencies: +Remove specific constant AST types in favor of ast.Constant, ast.literal_eval() shouldn't accept booleans as numbers in AST nosy:

[issue34027] python 3.7 openpty/forkpty build failure using nix package manager macOS environment

2018-07-03 Thread Daiderd Jordan
Daiderd Jordan added the comment: Either patch looks fine to me, should I close the pull request? -- ___ Python tracker ___ ___

[issue1222585] C++ compilation support for distutils

2018-07-03 Thread Dmitry Kalinkin
Change by Dmitry Kalinkin : Added file: https://bugs.python.org/file47669/python-3.8-distutils-C++.patch ___ Python tracker ___ ___

[issue34032] Add platlibdir to allow distinction between /usr/lib and /usr/lib64 for Linux

2018-07-03 Thread Matej Cepl
Change by Matej Cepl : -- pull_requests: +7678 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34033] distutils is not reproducible

2018-07-03 Thread Benjamin Peterson
Benjamin Peterson added the comment: I agree that we should fix the underlying issue (marshal) rather than papering over it by sorting. In fact, we should have a test that compiles a bunch of pycs in a random orders and sees if they're the same or not. -- nosy: +benjamin.peterson

[issue34033] distutils is not reproducible

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: Copy of https://bugzilla.opensuse.org/show_bug.cgi?id=1049186 first message: """ e.g. python-simplejson has one-bit diffs in .pyc files See http://rb.zq1.de/compare.factory-20170713/python-simplejson-compare.out in python3-simplejson.rpm we get -4e50 68

[issue34033] distutils is not reproducible

2018-07-03 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7677 stage: -> patch review ___ Python tracker ___ ___

[issue29708] support reproducible Python builds

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: I created bpo-34033: distutils is not reproducible. -- ___ Python tracker ___ ___

[issue34033] distutils is not reproducible

2018-07-03 Thread STINNER Victor
New submission from STINNER Victor : Follow up of bpo-29708: OpenSUSE uses a downstream patch for distutils to fix https://bugzilla.opensuse.org/show_bug.cgi?id=1049186: distutils-reproducible-compile.patch. I converted the patch as a PR: PR 8057. Naoki INADA wrote: """ Currently, marshal

[issue33996] Crash in gen_send_ex(): _PyErr_GetTopmostException() returns freed memory

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: It's not a bug in Python but in greenlet: * greenlet bug: https://github.com/python-greenlet/greenlet/issues/131 * my greenlet fix: https://github.com/python-greenlet/greenlet/pull/132 * Red Hat bug: https://bugzilla.redhat.com/show_bug.cgi?id=1594248

[issue34015] doc Add link to Descriptor HowTo Guide in Data Model

2018-07-03 Thread Raymond Hettinger
Raymond Hettinger added the comment: I don't want to do this. The docs are the authoritative source and the how-to is a secondary source that is primarily about how particular descriptors are implemented. -- nosy: +rhettinger resolution: -> rejected stage: patch review -> resolved

[issue34032] Add platlibdir to allow distinction between /usr/lib and /usr/lib64 for Linux

2018-07-03 Thread Matej Cepl
New submission from Matej Cepl : Many Linux distribution (most of them) distinguish between library directory /usr/lib for noarch or 32bit libraries and /usr/lib64. This patch (originally from openSUSE) enables to capture this distinction. -- components: Build files:

[issue24085] large memory overhead when pyc is recompiled

2018-07-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: VmRSS for different versions: malloc jmalloc 2.7: 237316 kB 90524 kB 3.4: 53888 kB 14768 kB 3.5: 51396 kB 14908 kB 3.6: 90692 kB 31776 kB 3.7: 130952 kB 28296 kB 3.8: 130284 kB 27644 kB --

[issue34031] [EASY] Incorrect usage of unittest.TestCase in test_urllib2_localnet

2018-07-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +easy title: Incorrect usage of unittest.TestCase in test_urllib2_localnet -> [EASY] Incorrect usage of unittest.TestCase in test_urllib2_localnet ___ Python tracker

[issue34030] easy_install from Python 3.7 (Win64) cannot install modules

2018-07-03 Thread Ned Deily
Ned Deily added the comment: easy_install is part of the setuptools project and issues with it are handled here: https://github.com/pypa/setuptools/issues https://pypi.org/project/setuptools/ -- nosy: +ned.deily resolution: -> third party stage: -> resolved status: open -> closed

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan
Ryan added the comment: Okay so I'm an idiot and forgot that I'd commented out the pywinauto import in one of my project files, which is how I found out that was the issue in the first place. Crash is still occurring after a pywinauto reinstall. -- status: closed -> open

[issue24085] large memory overhead when pyc is recompiled

2018-07-03 Thread INADA Naoki
INADA Naoki added the comment: since anon_city_hoods has massive constants, compiler_add_const makes dict larger and larger. It creates many large tuples too. I suspect it makes glibc malloc unhappy. Maybe, we can improve pymalloc for medium and large objects, by porting strategy from

[issue24085] large memory overhead when pyc is recompiled

2018-07-03 Thread INADA Naoki
INADA Naoki added the comment: In case repro2, unreturned memory is in glibc malloc. jemalloc mitigates this issue. There are some fragmentation in pymalloc, but I think it's acceptable level. $ python3 -B repro2.py ready 1079124 VmHWM: 1079124 kB VmRSS: 83588 kB $

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread Tal Einat
Change by Tal Einat : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread Tal Einat
Tal Einat added the comment: New changeset 6699386231d326c50439b9e1df752e1aed7ca6b4 by Tal Einat (Miss Islington (bot)) in branch '3.7': bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8065)

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread Tal Einat
Tal Einat added the comment: New changeset f55a818954212e8e6c97e3d66cf1478120a3220f by Tal Einat (Miss Islington (bot)) in branch '3.6': bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8067)

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread Tal Einat
Tal Einat added the comment: New changeset 292ce153fcc2d991164d19ad3f3deb86157898d5 by Tal Einat (Miss Islington (bot)) in branch '2.7': bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042) (GH-8066)

[issue34031] Incorrect usage of unittest.TestCase in test_urllib2_localnet

2018-07-03 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- Removed message: https://bugs.python.org/msg320975 ___ Python tracker ___ ___ Python-bugs-list

[issue34031] Incorrect usage of unittest.TestCase in test_urllib2_localnet

2018-07-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: In /Lib/test/test_urllib2_localnet.py there is an incorrect usage of unittest.TestCase.fail (an extra comma makes it use two arguments instead of one): class BasicAuthTests(unittest.TestCase): ... def test_basic_auth_success(self):

[issue34031] Incorrect usage of unittest.TestCase in test_urllib2_localnet

2018-07-03 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : In /Lib/test/test_urllib2_localnet.py there is an incorrect usage of unittest.TestCase (an extra comma makes it use two arguments instead of one): class BasicAuthTests(unittest.TestCase): ... def test_basic_auth_success(self): ...

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-03 Thread miss-islington
miss-islington added the comment: New changeset dd5f43a023f25e8aea8c9297b5297d76668d64e1 by Miss Islington (bot) in branch '3.6': bpo-34019: Fix wrong arguments for Opera Browser (GH-8047) https://github.com/python/cpython/commit/dd5f43a023f25e8aea8c9297b5297d76668d64e1 -- nosy:

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +7676 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +7675 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread Tal Einat
Tal Einat added the comment: I tested and indeed this is case-insensitive even on 2.7. -- versions: +Python 2.7, Python 3.6, Python 3.7, Python 3.8 ___ Python tracker ___

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +7674 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread Tal Einat
Tal Einat added the comment: New changeset 831c29721dcb1b768c6315a4b8a4059c4c97ee8b by Tal Einat (Sergey Fedoseev) in branch 'master': bpo-34018: Doc'd that type names of SQLite converters are case-insensitive. (GH-8042)

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: bpo-33984 has been marked as a duplicate of this issue: "test_multiprocessing_forkserver leaked [1, 2, 1] memory blocks on x86 Gentoo Refleaks 3.x". Sadly, my commit 23401fb960bb94e6ea62d2999527968d53d3fc65 is not perfect, the test still fails when the

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread miss-islington
miss-islington added the comment: New changeset 3bd9d3b934eb8b27553f19a7ab1c97f95745c68f by Miss Islington (bot) in branch '3.6': bpo-33735: Fix test_multiprocessing random failure (GH-8059) https://github.com/python/cpython/commit/3bd9d3b934eb8b27553f19a7ab1c97f95745c68f --

[issue34018] SQLite converters are documented to be sensitive to the case of type names, but they're not

2018-07-03 Thread Tal Einat
Tal Einat added the comment: It's worth noting that the referenced commit where this change was made is from 2006... -- nosy: +taleinat ___ Python tracker ___

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 53fafafa340e292a1c9e4aacf5860999613c2b36 by Victor Stinner in branch '2.7': bpo-33735: Fix test_multiprocessing random failure (GH-8059) (GH-8061) https://github.com/python/cpython/commit/53fafafa340e292a1c9e4aacf5860999613c2b36 --

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +7673 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +7672 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33984] test_multiprocessing_forkserver leaked [1, 2, 1] memory blocks on x86 Gentoo Refleaks 3.x

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: Hum. Sadly my commit 23401fb960bb94e6ea62d2999527968d53d3fc65 is not enough, the test still fails randomly: pydev@stormageddon ~/cpython $ ./python -m test test_multiprocessing_forkserver -m test_imap_unordered -R 3:3 -F Run tests sequentially 0:00:00 load

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread miss-islington
miss-islington added the comment: New changeset 42b2f84a85fe3334c5d8098cf76dfa727b348c4f by Miss Islington (bot) in branch '3.7': bpo-33735: Fix test_multiprocessing random failure (GH-8059) https://github.com/python/cpython/commit/42b2f84a85fe3334c5d8098cf76dfa727b348c4f -- nosy:

[issue33984] test_multiprocessing_forkserver leaked [1, 2, 1] memory blocks on x86 Gentoo Refleaks 3.x

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: Oh. I have a very good news: this issue is a duplicate of bpo-33735 and I just identified and fixed bpo-33735! -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> test_multiprocessing_spawn leaked [1, 2, 1] memory

[issue34019] webbrowser: wrong arguments for Opera browser.

2018-07-03 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3cf1f154edb88c108877729ea09f4ac174697fea by Pablo Galindo (Bumsik Kim) in branch 'master': bpo-34019: Fix wrong arguments for Opera Browser (#8047) https://github.com/python/cpython/commit/3cf1f154edb88c108877729ea09f4ac174697fea

[issue34010] tarfile stream read performance

2018-07-03 Thread INADA Naoki
Change by INADA Naoki : -- versions: -Python 3.4, Python 3.5 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan
Ryan added the comment: It seems reinstalling pywinauto has fixed this issue for now - I have no idea what could have caused it in the first place though. -- stage: -> resolved status: open -> closed ___ Python tracker

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +7670 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +7671 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread miss-islington
Change by miss-islington : -- pull_requests: +7669 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: New changeset 23401fb960bb94e6ea62d2999527968d53d3fc65 by Victor Stinner in branch 'master': bpo-33735: Fix test_multiprocessing random failure (GH-8059) https://github.com/python/cpython/commit/23401fb960bb94e6ea62d2999527968d53d3fc65 --

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2018-07-03 Thread Christian Heimes
Christian Heimes added the comment: configure is not able to find OpenSSL. You either have to configure Python to pick up your OpenSSL (./configure --with-openssl=/path/to/openssl) or install the OpenSSL developer packages. RHEL 7.5 comes with OpenSSL 1.0.2, so you are good. --

[issue30183] [HPUX] compilation error in pytime.c with cc compiler

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: Yes, I close the issue. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue30183] [HPUX] compilation error in pytime.c with cc compiler

2018-07-03 Thread Michael -O
Michael -O <1983-01...@gmx.net> added the comment: I have applied the patch to 3.6.6 from the source tarball and I was able to proceed with the compilation. I would take the failed tests as blocker. Try to solve them later. Can this be closed? -- nosy: +Michael -O

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: > It failed for the first time on Ubuntu and then was successful for all the > rest of 5-6 runs. The bug is random. But the problem is that sometimes, it fails. It must never fail, otherwise the buildbot fails randomly. The Gentoo Refleak buildbot runs

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +7668 stage: -> patch review ___ Python tracker ___ ___

[issue34030] easy_install from Python 3.7 (Win64) cannot install modules

2018-07-03 Thread Gabriele Tornetta
New submission from Gabriele Tornetta : When trying to install a module (pycrypto in this case), easy_install fails with the following error (run via Git Bash) $ easy_install pycrypto-2.6.win-amd64-py3.3.exe Processing pycrypto-2.6.win-amd64-py3.3.exe error: [WinError 32] The process cannot

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: It failed for the first time on Ubuntu and then was successful for all the rest of 5-6 runs. I don't know why for the failure run it has load avg as 0.00 and how to get to this stage. # Shell session ➜ cpython git:(master) uname -a Linux

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2018-07-03 Thread simon
simon added the comment: Apologies, my bad you are correct the function was defined in x509_vfy.h Im compiling on RHEL Red Hat Enterprise Linux Server release 7.5 (Maipo) I have tried Openssl from source versions; openssl-1.0.2o (this releaseis a mess and the folder structure has been

[issue33418] Memory leaks in functions

2018-07-03 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > While this is a obvious bug, f.__module__ = f seems very unnatural. Sure. -- ___ Python tracker ___

[issue33418] Memory leaks in functions

2018-07-03 Thread INADA Naoki
INADA Naoki added the comment: I'm not sure this should be backported to 3.6 and 2.7. While this is a obvious bug, f.__module__ = f seems very unnatural. -- nosy: +inada.naoki ___ Python tracker

[issue33418] Memory leaks in functions

2018-07-03 Thread INADA Naoki
Change by INADA Naoki : -- keywords: +patch pull_requests: +7667 stage: -> patch review ___ Python tracker ___ ___

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan
Change by Ryan : Added file: https://bugs.python.org/file47667/minimal_file.py ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue21011] PyArg_ParseTupleAndKeywords doesn't take const char *keywords[]

2018-07-03 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: We can't change this API because this would break virtually all user code. But we can introduce a macro like PY_SSIZE_T_CLEAN. If it is defined before including Python.h, PyArg_ParseTupleAndKeywords() will take an array of const strings. This will help

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2018-07-03 Thread Christian Heimes
Christian Heimes added the comment: The function definition should be in openssl/x509_vfy.h, not rsa.h. What's the output of configure on your system? You should see something like ./configure ... checking for pkg-config... /usr/bin/pkg-config checking whether compiling and linking against

[issue29708] support reproducible Python builds

2018-07-03 Thread Matej Cepl
Change by Matej Cepl : -- nosy: +mcepl ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto

2018-07-03 Thread Ryan
Change by Ryan : -- title: tkinter.filedialog.askdirectory() crashing before dialog opens -> tkinter.filedialog.askdirectory() crashing before dialog opens when importing pywinauto ___ Python tracker

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: > test_multiprocessing_spawn leaked [4, 5, 1, 5, 1, 2, 0, 0, 0, 0, 0, 0, 0, 0, > 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0] memory blocks, sum=18 Sorry, I forgot to mention that I modified libregrtest to get this output: diff --git

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens

2018-07-03 Thread Ryan
Change by Ryan : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34029] tkinter.filedialog.askdirectory() crashing before dialog opens

2018-07-03 Thread Ryan
New submission from Ryan : I'm creating a GUI application that needs to give the user the option to change a folder that's used for saving data. I managed to track it down to the import of pywinauto to the application. All other filedialogs seem to work, it's only askdirectory that's having

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: It doesn't look like a real leak, but more a cache which takes multiple iterations to be fully filled. pydev@stormageddon ~/cpython $ ./python -m test test_multiprocessing_spawn -m test.test_multiprocessing_spawn.WithProcessesTestPool.test_imap_unordered -R

[issue34028] Python 3.7.0 wont compile with SSL Support 1.1.0 > alledged missing X509_VERIFY_PARAM_set1_host() support

2018-07-03 Thread simon
New submission from simon : when compiling Python 3.7.0 setup.py is reporting that the ssl module failed to compile due to missing support for X509_VERIFY_PARAM_set1_host() despite it existing in rsa.h for all versions of OpenSSL 1.1.0. Could not build the ssl module! Python requires an

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: I reproduced the issue on the Gentoo Refleak buildbot and I succeeded to bisect up to a single test: test_imap_unordered(). pydev@stormageddon ~/cpython $ ./python -m test test_multiprocessing_spawn -m

[issue21011] PyArg_ParseTupleAndKeywords doesn't take const char *keywords[]

2018-07-03 Thread INADA Naoki
INADA Naoki added the comment: I think we can't fix this until Python 4. May I close this issue as "won't fix" for now? Or can we add "Python 4" keyword to list backward incompatible changes we want to do in the future? -- nosy: +inada.naoki versions: +Python 3.8 -Python 3.4

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: See bpo-29708 and PEP 552 for more info about reproducible builds. -- ___ Python tracker ___ ___

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: FAIL: test_invalidation_mode (test.test_py_compile.PyCompileTests) -- Traceback (most recent call last): File "/home/abuild/rpmbuild/BUILD/Python-3.7.0/Lib/test/test_py_compile.py", line

[issue29708] support reproducible Python builds

2018-07-03 Thread STINNER Victor
STINNER Victor added the comment: I created PR 8057 to upstream distutils-reproducible-compile.patch from OpenSUSE (context: see bpo-34022). -- ___ Python tracker ___

  1   2   >