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

2018-12-17 Thread Antoine Pitrou
Antoine Pitrou added the comment: By the way you could open an issue so that subprocess uses posix_spawn() where possible. (or you could ask to reopen issue31814, which is basically that request but for a different reason than yours) -- ___ Pytho

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

2018-12-17 Thread Matej Cepl
Matej Cepl added the comment: @carlos.velasco ... OK, so build of 3.7.2rc1 on x86_64 doesn't pass the testsuite (see the attached log). -- Added file: https://bugs.python.org/file48002/_log.txt ___ Python tracker

[issue35519] Can not run test without test module for tests which import random module

2018-12-17 Thread miss-islington
miss-islington added the comment: New changeset 05dfa0cc96f6b72b1e72f57b1b5f4b37764a382d by Miss Islington (bot) in branch '3.7': bpo-35519: Rename test.bisect to test.bisect_cmd (GH-11200) https://github.com/python/cpython/commit/05dfa0cc96f6b72b1e72f57b1b5f4b37764a382d -- nosy: +m

[issue35519] Can not run test without test module for tests which import random module

2018-12-17 Thread STINNER Victor
STINNER Victor added the comment: I renamed Lib/test/bisect.py to Lib/test/bisect_cmd.py ;-) -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.7, Python 3.8 ___ Python tracker

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

2018-12-17 Thread STINNER Victor
STINNER Victor added the comment: > By the way you could open an issue so that subprocess uses posix_spawn() > where possible. FYI I'm working on an implementation of this ;-) -- nosy: +vstinner ___ Python tracker

[issue35486] subprocess module import hooks breaks back compatibility

2018-12-17 Thread Brett Cannon
Brett Cannon added the comment: RE: "PEP-302 and PEP-451 are the definitive specifications for how sys.meta_path is supposed to work" That's actually not true. In the case of import the language reference is considered the reference for import: https://docs.python.org/3/reference/import.htm

[issue35488] pathlib Path.match does not behave as described

2018-12-17 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue35498] Parents objects in pathlib.Path don't support slices as __getitem__ arguments

2018-12-17 Thread Brett Cannon
Change by Brett Cannon : -- nosy: +brett.cannon ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

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

2018-12-17 Thread Oscar Esteban
Oscar Esteban added the comment: Hi Victor, That would be great. However, we played a bit with an alternative implementation of posix_spawn (one I got from one related bpo), and it didn't seem to make any difference in terms of memory allocation. Then, we found out that posix_spawn uses for

[issue19217] Calling assertEquals for moderately long list takes too long

2018-12-17 Thread Emmanuel Arias
Change by Emmanuel Arias : -- pull_requests: +10441 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-17 Thread Steve Dower
Steve Dower added the comment: I did a quick look and couldn't find anything obvious in logs while building, so I guess the next step is to try taking out those new index entries to figure out which one causes the problem. (Adding Serhiy for awareness, not necessarily trying to nominate him

[issue35521] IDLE: Add doc section for Code Conext

2018-12-17 Thread Cheryl Sabella
New submission from Cheryl Sabella : Item D1 from #33610. D1: idle.rst subsection on Code Context -- assignee: terry.reedy components: IDLE messages: 332032 nosy: cheryl.sabella, terry.reedy priority: normal severity: normal status: open title: IDLE: Add doc section for Code Conext typ

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

2018-12-17 Thread STINNER Victor
STINNER Victor added the comment: See bpo-34663 for posix_spawn() & vfork. -- ___ Python tracker ___ ___ Python-bugs-list mailing l

[issue35521] IDLE: Add doc section for Code Conext

2018-12-17 Thread Cheryl Sabella
Change by Cheryl Sabella : -- keywords: +patch pull_requests: +10442 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-12-17 Thread Cheryl Sabella
Cheryl Sabella added the comment: D1 in issue35521. -- dependencies: +IDLE: Add doc section for Code Conext ___ Python tracker ___

[issue35501] "make coverage" should not leak coverage compiler flags to third party C extensions

2018-12-17 Thread STINNER Victor
Change by STINNER Victor : -- title: "make coverage" should use leak coverage flags to third party C extensions -> "make coverage" should not leak coverage compiler flags to third party C extensions ___ Python tracker

[issue35499] "make profile-opt" overrides CFLAGS_NODIST

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

[issue35469] [2.7] time.asctime() regression

2018-12-17 Thread STINNER Victor
STINNER Victor added the comment: The change is deliberate and is not a bug. -- resolution: -> not a bug stage: -> resolved status: open -> closed ___ Python tracker ___ ___

[issue35368] [2.7] Make PyMem_Malloc() thread-safe in debug mode

2018-12-17 Thread STINNER Victor
STINNER Victor added the comment: Let's continue discussion on serialno atomicity on bpo-31473. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker

[issue35518] test_timeout uses blackhole.snakebite.net domain which doesn't exist anymore

2018-12-17 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think it might be better to rewrite the test to use a local tcp server. At least on Linux, I think trying to connect to a socket with a full accept queue should have equivalent beahvior. You could also be fancier, set up a network namespace, and actuall

[issue35517] selector.EpollSelector: add new parameter to support EPOLLEXCLUSIVE

2018-12-17 Thread Xiang Zhang
Xiang Zhang added the comment: > I don't think to make selector be a public property is a good idea. It will > break the whole system integrity. If exposing a private property is not a good idea, another choice may be construct a selector with a customized I/O multiplexer, adding an optional

[issue35517] selector.EpollSelector: add new parameter to support EPOLLEXCLUSIVE

2018-12-17 Thread Manjusaka
Manjusaka added the comment: > `selectors` makes underlying implementations irrelavant to most users since > we can simply use `DefaultSelector` I agree with this. > If you know you want to add EPOLL_EXCLUSIVE, why not just use `select.epoll`? I don't think so. If I use the `select` dire

[issue35497] Libary select docs enhance

2018-12-17 Thread Xiang Zhang
Change by Xiang Zhang : -- assignee: -> docs@python components: +Documentation -Library (Lib) nosy: +docs@python, xiang.zhang versions: +Python 3.8 ___ Python tracker ___

[issue35522] os.stat().st_ctime and time.time() mismatch

2018-12-17 Thread Rohit Biswas
New submission from Rohit Biswas : Related Stack Overflow Question: https://stackoverflow.com/questions/53810984/mismatch-between-file-creation-time-and-current-time-in-python -- components: Library (Lib) messages: 332040 nosy: belopolsky, rbiswas143 priority: normal severity: normal s

[issue35482] can't open python368rc1.chm and python372rc1.chm

2018-12-17 Thread Ma Lin
Ma Lin added the comment: > I guess the next step is to try taking out those new index entries to figure > out which one causes the problem. Very big amount of work..., I would suggest to revert them. chm is a successful product, but it out of support, and no replacement yet, it's regrettabl

[issue29406] asyncio SSL contexts leak sockets after calling close with certain Apache servers

2018-12-17 Thread Dima Tisnek
Dima Tisnek added the comment: ping... -- nosy: +Dima.Tisnek ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

<    1   2