[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- resolution: -> fixed stage: patch review -> commit review status: open -> closed versions: -Python 3.6 ___ Python tracker ___

[issue34658] subprocess with preexec_fn when fork() fails could corrupt PyErr state

2018-09-13 Thread Gregory P. Smith
Change by Gregory P. Smith : -- pull_requests: +8723 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue6721] Locks in the standard library should be sanitized on fork

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

[issue6721] Locks in the standard library should be sanitized on fork

2018-09-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: New changeset 19003841e965bbf56fd06824d6093620c1b66f9e by Gregory P. Smith in branch 'master': bpo-6721: Hold logging locks across fork() (GH-4071) https://github.com/python/cpython/commit/19003841e965bbf56fd06824d6093620c1b66f9e --

[issue34674] assume unistd.h exists

2018-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ea13740a37347d68d096b11b87c9167917ccfc22 by Benjamin Peterson in branch 'master': bpo-34674: Assume unistd.h exists on Unix. (GH-9290) https://github.com/python/cpython/commit/ea13740a37347d68d096b11b87c9167917ccfc22 --

[issue34674] assume unistd.h exists

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34552] Clarify built-in types comparisons

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 1aeba7458d2aaf8a03b5d443179d122ceb2ccece by Miss Islington (bot) (Windson yang) in branch 'master': bpo-34552: Clarify built-in types comparisons (GH-9035) https://github.com/python/cpython/commit/1aeba7458d2aaf8a03b5d443179d122ceb2ccece

[issue30786] getaddrinfo emulation does not support AI_NUMERICSERV

2018-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: What platform needs Modules/getaddrinfo.c these days? -- nosy: +benjamin.peterson ___ Python tracker ___

[issue34674] assume unistd.h exists

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8721 stage: -> patch review ___ Python tracker ___ ___

[issue34674] assume unistd.h exists

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : We still have some conditional code under HAVE_UNISTD. However, we also unconditionally include it many other places, so let's just get rid of the condition and configure check. -- components: Build messages: 325322 nosy: benjamin.peterson

[issue26979] The danger of PyType_FromSpec()

2018-09-13 Thread Christian Tismer
Christian Tismer added the comment: Petr, Fine! PySide's problems are solved for now, no worries. But as mentioned, there is more. Problem 1) -- There is another thing that gives problems: When creating types which have fields "behind" the normal type fields, PySide had explicit

[issue34673] make the eval loop more editable

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8720 stage: -> patch review ___ Python tracker ___ ___

[issue34673] make the eval loop more editable

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : The TARGET macro in ceval.c hides control flow, most importantly the case statement. This confuses my editor and makes it indent things automatically improperly. This can be fixed by moving the case statements out of the TARGET macro. --

[issue34672] '%Z' strftime specifier never works with musl

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8719 stage: -> patch review ___ Python tracker ___ ___

[issue34656] memory exhaustion in Modules/_pickle.c:1393

2018-09-13 Thread Kubilay Kocak
Change by Kubilay Kocak : -- nosy: -koobs ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34672] '%Z' strftime specifier never works with musl

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : With the musl C library, one has failures like this: == FAIL: test_strptime (test.test_time.TimeTestCase) -- Traceback

[issue34635] inspect: add tools for inspecting subclasses

2018-09-13 Thread Benjamin Mintz
Change by Benjamin Mintz : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list

[issue34635] inspect: add tools for inspecting subclasses

2018-09-13 Thread Petr Viktorin
Petr Viktorin added the comment: __subclasses__ is, as Tim Peters put it [0], "just Python exposing an internal mechanism for the morbidly curious". I'd expect that not all alternative implementations of Python have something like __subclasses__ -- it's a detail of the implementation (as

[issue34635] inspect: add tools for inspecting subclasses

2018-09-13 Thread Benjamin Mintz
Benjamin Mintz added the comment: I didn't have one in mind. I just noticed that there was a getmro which accessed __mro__ but no corresponding method for __subclasses__. That got me getsubclasses and getallsubclasses. Then I thought it would be cool if you could walk the tree of subclasses

[issue33649] asyncio docs overhaul

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 4e824e96491f33c8a8462aa4970c55942064ae76 by Miss Islington (bot) (Carol Willing) in branch 'master': bpo-33649: Polish asyncio subprocess and sync docs (GH-9285) https://github.com/python/cpython/commit/4e824e96491f33c8a8462aa4970c55942064ae76

[issue34671] Remove references to Benevolent Dictator

2018-09-13 Thread Sebastian Bassi
New submission from Sebastian Bassi : Following the trend initiated at https://bugs.python.org/issue34605, I want to point out that the term dictator has a negative connotation in Argentina and other countries where we suffered bloody dictatorship (3 dead and missing persons, or

[issue34656] memory exhaustion in Modules/_pickle.c:1393

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8718 stage: -> patch review ___ Python tracker ___ ___

[issue34670] Add set_post_handshake_auth for TLS 1.3

2018-09-13 Thread Christian Heimes
New submission from Christian Heimes : TLS 1.3 removed renegotiation in favor of rekeying and post handshake authentication (PHA). With PHA, a server can request a client certificate from a client at some point after the handshake. The feature is commonly used by HTTP server for conditional

[issue34648] Confirm the types of parameters of traceback.format_list and traceback.StackSummary.from_list post-3.5

2018-09-13 Thread Berker Peksag
Berker Peksag added the comment: > 1) I know it has the name "format_list", but is it really intended to require > a > list? Why not a sequence, or a collection, or an iterable? I would think it > would > be fine to pass an iterable to traceback.format_list. Is it fine? In 3.4,

[issue34660] Remove ableist terms and pejoratives from source code and docs

2018-09-13 Thread Raymond Hettinger
Change by Raymond Hettinger : -- pull_requests: +8717 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

2018-09-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset d0491cd7fd8a22093ab1ae54eee51fb0e7805c0d by Andrew Svetlov in branch '3.7': [3.7] bpo-34490: Fix test_asyncio for AIX - do not call transport.get_extra_info('sockname') (GH-8907) (#9286)

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34669] test_ssl fails if SSLv2 is enabled

2018-09-13 Thread Christian Heimes
Christian Heimes added the comment: Benjamin and I discussed the issue face to face. Rather than fixing the tests, I'm going to remove support and tests for SSL 2.0. -- ___ Python tracker

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
Andrew Svetlov added the comment: New changeset 11194c877c902a6c3b769d85be887c2272e0a541 by Andrew Svetlov in branch 'master': bpo-34666: Implement stream.awrite() and stream.aclose() (GH-9274) https://github.com/python/cpython/commit/11194c877c902a6c3b769d85be887c2272e0a541 --

[issue32933] mock_open does not support iteration around text files.

2018-09-13 Thread Ned Deily
Ned Deily added the comment: While I think arguments could be made either way, this seems to me to be somewhat more of a bugfix (rather than a feature) in the sense that mock_open did not correctly emulate a real textfile open at least for an idiom that is commonly used (while acknowledging

[issue34596] [unittest] raise error if @skip is used with an argument that looks like a test method

2018-09-13 Thread Berker Peksag
Berker Peksag added the comment: It would be nice to make *reason* optional. Every time I needed to use @unittest.skip() (even if I wanted to use it temporarily), I ended up passing some random string as reason or use 'raise SkipTest' directly. If we decide to keep *reason* required, I

[issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

2018-09-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- pull_requests: +8716 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue33649] asyncio docs overhaul

2018-09-13 Thread Carol Willing
Change by Carol Willing : -- pull_requests: +8715 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34490] transport.get_extra_info('sockname') of test_asyncio fails on AIX

2018-09-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: -Python 3.4, Python 3.5, Python 3.6 ___ Python tracker

[issue26979] The danger of PyType_FromSpec()

2018-09-13 Thread Petr Viktorin
Petr Viktorin added the comment: Thanks! I think that explains enough of the issue. Converting static types to heap ones is just one way you can use PyType_Spec. Another is writing new types, which should work much like Python classes. So I don't think we should change the default, but

[issue20047] bytearray partition bug

2018-09-13 Thread Berker Peksag
Berker Peksag added the comment: New changeset 0b9fe1734168d45861d6dc3022492387dec5a4a2 by Berker Peksag (Zackery Spytz) in branch '2.7': [2.7] bpo-20047: Remove Objects/bytesobject.c from 2.7 (GH-9268) https://github.com/python/cpython/commit/0b9fe1734168d45861d6dc3022492387dec5a4a2

[no subject]

2018-09-13 Thread V Dota2
>From vigan Hi i wold like to join in this list because i want to start programing with python pls acept this -- https://mail.python.org/mailman/listinfo/python-list

[issue34659] Inconsistency between functools.reduce & itertools.accumulate

2018-09-13 Thread Lisa Roach
Lisa Roach added the comment: Happy to! I'll try to make a patch. -- ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34669] test_ssl fails if SSLv2 is enabled

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : I modified multissltests.py to enable-ssl2: --- a/Tools/ssl/multissltests.py +++ b/Tools/ssl/multissltests.py @@ -275,7 +275,8 @@ class AbstractBuilder(object): cmd = [ "./config", "shared", "--debug", -

[issue34659] Inconsistency between functools.reduce & itertools.accumulate

2018-09-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: I'm open to adding the feature as a keyword-only argument. Lisa, would you like to bring this to fruition? -- assignee: rhettinger -> lisroach nosy: +lisroach ___ Python tracker

[issue34651] Disallow fork in a subinterpreter.

2018-09-13 Thread Gregory P. Smith
Gregory P. Smith added the comment: +1 agreed. this is the simplest approach to start with. Code to restrict: os.fork itself and disallowing the use of preexec_fn on subprocess within subinterpreters. feel free to ignore preexec_fn in subprocess for the time being if desired, we already

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset f79d74d5a3ceb06b63996e8ecf23e419e16e4be2 by Miss Islington (bot) in branch '3.6': bpo-31132: Remove prlimit permission test. (GH-9280) https://github.com/python/cpython/commit/f79d74d5a3ceb06b63996e8ecf23e419e16e4be2 --

[issue32933] mock_open does not support iteration around text files.

2018-09-13 Thread Berker Peksag
Berker Peksag added the comment: Ned, as release manager of 3.6 and 3.7, what do you think about backporting this to maintenance releases? -- ___ Python tracker ___

Python for System Verilog testbench

2018-09-13 Thread Bobby
I have a very simple System Verilog (SV) adder as my DUT (device under test). I would like to generate a test bench for this DUT based on the 'requirements'. I wrote its (DUT) functions in simple text as 'requirements' while following a particular syntax. Now through the help of grammar, I

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 2b162941c0793e0dd5533ee3090901cba9d8cf7d by Miss Islington (bot) in branch '3.7': bpo-31132: Remove prlimit permission test. (GH-9280) https://github.com/python/cpython/commit/2b162941c0793e0dd5533ee3090901cba9d8cf7d --

[issue34635] inspect: add tools for inspecting subclasses

2018-09-13 Thread Petr Viktorin
Petr Viktorin added the comment: What's the use case for these? -- nosy: +petr.viktorin ___ Python tracker ___ ___

[issue34660] Remove ableist terms and pejoratives from source code and docs

2018-09-13 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +rhettinger ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

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

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 01e0afa994c2e840f85e2de103e72a2c0ddf1b1f by Miss Islington (bot) (Benjamin Peterson) in branch 'master': bpo-31132: Remove prlimit permission test. (GH-9280) https://github.com/python/cpython/commit/01e0afa994c2e840f85e2de103e72a2c0ddf1b1f

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

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

[issue34662] tarfile.TarFile may write corrupt files if not closed

2018-09-13 Thread Ned Deily
Change by Ned Deily : -- nosy: +lars.gustaebel ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

Re: Help on PyList 3.7.0

2018-09-13 Thread MRAB
On 2018-09-13 21:50, Jason Qian via Python-list wrote: Hey, Need some help on PyList. #get path PyObject *path = PyObject_GetAttrString(sys, "path"); #new user path PyObject* newPath = PyUnicode_DecodeUTF8(userPath, strlen( userPath ), errors); #append newPath to path PyList_Append(path,

[issue34668] test_resource fails if test has CAP_SYS_RESOURCE but isn't root

2018-09-13 Thread Petr Viktorin
Change by Petr Viktorin : -- resolution: -> duplicate stage: patch review -> resolved status: open -> closed superseder: -> test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment ___ Python tracker

[issue31132] test_prlimit from test_resource fails when building python3 inside systemd-nspawn environment

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8712 stage: -> patch review ___ Python tracker ___ ___

[issue34668] test_resource fails if test has CAP_SYS_RESOURCE but isn't root

2018-09-13 Thread Petr Viktorin
Petr Viktorin added the comment: Check also discussion on issue31132. If you agree, I'm OK with marking that one as duplicate, and removing the test. -- nosy: +petr.viktorin ___ Python tracker

Help on PyList 3.7.0

2018-09-13 Thread Jason Qian via Python-list
Hey, Need some help on PyList. #get path PyObject *path = PyObject_GetAttrString(sys, "path"); #new user path PyObject* newPath = PyUnicode_DecodeUTF8(userPath, strlen( userPath ), errors); #append newPath to path PyList_Append(path, newPath); How to check if the newPath is already in the

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: We discussed with Gregory P. Smith, and we agreed on the "use_vfork=True" name. He is a native english speaker, so I rely on him :-) Moreover, "use_vfork" is closer to POSIX_SPAWN_USEVFORK constant than "vfork". --

[issue34582] VSTS builds should use new YAML syntax and pools

2018-09-13 Thread Steve Dower
New submission from Steve Dower : Thanks, David! I'm partway through most of these changes (as well as some other improvements) in my PR at https://github.com/python/cpython/pull/9210/files, so if it's all the same to you, I'll make sure I've covered everything you've done here and then

[issue34668] test_resource fails if test has CAP_SYS_RESOURCE but isn't root

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8711 stage: -> patch review ___ Python tracker ___ ___

[issue34668] test_resource fails if test has CAP_SYS_RESOURCE but isn't root

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : test_prlimit tries to test that raising the hardlimit of an unprivileged process. It tries to raise the hardlimit of pid 1, which usually raises a PermissionError. However, if the tests are privileged, this test can't work. The test tries to avoid this

[issue34667] Review documentation section by section

2018-09-13 Thread Carol Willing
New submission from Carol Willing : This issue is a placeholder for a comprehensive documentation review by content sections. I will develop a more detailed workplan in the coming weeks. -- assignee: willingc messages: 325292 nosy: willingc priority: normal severity: normal status:

[issue34660] Remove ableist terms and pejoratives from source code and docs

2018-09-13 Thread Carol Willing
Carol Willing added the comment: Thank you for filing an issue. I will be carefully reviewing the Python documentation section by section over the next several months. I will open individual issues as I go through each section as well as pull requests as I thoughtfully review each section.

Looking for a Scrapy cheatsheet

2018-09-13 Thread Jim
I'm in the process of learning Scrapy. I've read through the docs and a couple of tutorials, but I am getting bogged down because I can't find a page/table/chart that gives a nice concise overview of the available commands and methods. Googling hasn't found anything usable. So does anyone

Re: Fumbling with emacs + elpy + flake8

2018-09-13 Thread Brian Oney via Python-list
Hi Martin, I have messed around alot with the myriad emacs configurations out there. I found spacemacs and threw out my crappy but beloved .emacs config. I have looked back, but will stay put. http://spacemacs.org/ Fumbling is a nice word. Spacemacs caters to lots of programmers. I can

[issue34664] test.test_os.MakedirTests.test_mode is too strict

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset b2a6aa32f34b6d77c15f175a9df7271a05519bf9 by Miss Islington (bot) in branch '3.7': closes bpo-34664: Only check file permission bits of newly created directories. (GH-9273)

[issue34651] Disallow fork in a subinterpreter.

2018-09-13 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +8710 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-13 Thread Ned Deily
Ned Deily added the comment: I've merged Nick's suggested porting note so I'm going to remove the "release blocker" status. Can we also close this now? -- priority: release blocker -> ___ Python tracker

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 305056494d7e1debec3df268b8925725b0110293 by Miss Islington (bot) in branch '3.7': bpo-34247: add porting note to 3.7 What's New (GH-9223) https://github.com/python/cpython/commit/305056494d7e1debec3df268b8925725b0110293 -- nosy:

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: I suggest to name the parameter "use_vfork", or maybe even "vfork". -- nosy: +vstinner ___ Python tracker ___

[issue34587] test_socket: testCongestion() hangs on my Fedora 28

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: I proposed PR 9277 to remove the test: see the PR for the rationale. > Neither socket.py nor test_socket.py have changed recently though, so it > seems to me that this is either a recent Fedora bug (where the socket is > blocking when it shouldn't), or else

[issue34664] test.test_os.MakedirTests.test_mode is too strict

2018-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 84db4a9978069a98978e9cd7951d1a01d47e5286 by Benjamin Peterson in branch 'master': closes bpo-34664: Only check file permission bits of newly created directories. (GH-9273)

[issue34664] test.test_os.MakedirTests.test_mode is too strict

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

Fumbling with emacs + elpy + flake8

2018-09-13 Thread Martin Schöön
I am trying to set up emacs for Python coding on my secondary computer. I follow these instructions but fail to make flake8 play with elpy: https://realpython.com/emacs-the-best-python-editor/#elpy-python-development I have done this some time in the past on my main computer and there it works

[issue34587] test_socket: testCongestion() hangs on my Fedora 28

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

[issue1621] Do not assume signed integer overflow behavior

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: Benjamin: what do you think of adding an explicit check after the "new_size <<= 1;" loop? if (new_size > (size_t)PY_SSIZE_T_MAX) { PyErr_NoMemory(); return -1; } Technically, PyMem_Malloc() already implements the check, so it's not

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: > (in earlier Python versions, it respected an ill-defined subset of those > environment variables, ...) I'm not aware of the Python 3.6 issue ("ill-defined"): which env vars were not properly handled? -- ___

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

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

[issue34589] Py_Initialize() and Py_Main() should not enable C locale coercion

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: > LC_CTYPE=C PYTHONCOERCECLOCALE=0 python3 -E ... The UTF-8 Mode has the same behavior: PYTHONUTF8 env var is ignored when using -E, but enabled by the C locale: you can use -X utf8=0 in that case to ensure that the UTF-8 Mode is disabled. I wanted to

[issue34247] PYTHONOPTIMIZE ignored in 3.7.0 when using custom launcher

2018-09-13 Thread Ned Deily
Ned Deily added the comment: New changeset 66755cbb1e529f54c9066639ebbbac81add0affd by Ned Deily in branch 'master': bpo-34247: add porting note to 3.7 What's New (GH-9223) https://github.com/python/cpython/commit/66755cbb1e529f54c9066639ebbbac81add0affd --

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
Change by Andrew Svetlov : -- keywords: +patch pull_requests: +8706 stage: -> patch review ___ Python tracker ___ ___

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 81361cdff847f14f6258c0ead17817d6f9e04022 by Miss Islington (bot) in branch '3.6': bpo-34661: Fix test skipping call. (GH-9266) https://github.com/python/cpython/commit/81361cdff847f14f6258c0ead17817d6f9e04022 --

[issue34666] Implement async write and async close in asyncio StreamWriter

2018-09-13 Thread Andrew Svetlov
New submission from Andrew Svetlov : Methods are needed for providing consistent stream API with control flow switched on by default. -- components: asyncio messages: 325279 nosy: asvetlov, yselivanov priority: normal severity: normal status: open title: Implement async write and

[issue24643] VS 2015 pyconfig.h #define timezone _timezone conflicts with timeb.h

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

[issue34286] lib2to3 tests fail on the 3.7 branch (used to work with 3.7.0)

2018-09-13 Thread Ned Deily
Ned Deily added the comment: I can't reproduce this either using a current top of 3.7 branch and installed on macOS; I also tried building 3.7 just prior to the fix for Issue21446 that Brett mentioned; the test also did not fail. Let's close this until it can be reproduced outside of

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread miss-islington
miss-islington added the comment: New changeset 218b4bf47410ff8ab46b68461267fe10db18aee1 by Miss Islington (bot) in branch '3.7': bpo-34661: Fix test skipping call. (GH-9266) https://github.com/python/cpython/commit/218b4bf47410ff8ab46b68461267fe10db18aee1 --

[issue34639] PYTHONCOERCECLOCALE is ignored when using -E or -I option

2018-09-13 Thread STINNER Victor
STINNER Victor added the comment: > Respecting -E and -I isn't a problem per se - the problem is moving the > _Py_CoerceLegacyLocale call to a point that's incredibly late in the startup > process *just* to get it to respect those flags. Would you mind to elaborate how it is an issue? The

[issue34665] Py_FinalizeEx() - Bugs & caveats - Add info that NumPy and Pandas don't support reinitialization

2018-09-13 Thread Johannes M.
New submission from Johannes M. : Since about a decade, it's a know problem that NumPy and Pandas initialization function crashes on reinitialization after a call to Py_Finalize() + Py_Initialize(). [https://github.com/numpy/numpy/issues/8097] [https://github.com/numpy/numpy/issues/11925]

[issue34664] test.test_os.MakedirTests.test_mode is too strict

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +8705 stage: -> patch review ___ Python tracker ___ ___

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 18e21883a4ec2a36a02054eb2ff47e3ba9bd1d33 by Benjamin Peterson in branch '2.7': [2.7] closes bpo-34661: Fix test_shutil if unzip doesn't support -t. (GH-9267) https://github.com/python/cpython/commit/18e21883a4ec2a36a02054eb2ff47e3ba9bd1d33

[issue34664] test.test_os.MakedirTests.test_mode is too strict

2018-09-13 Thread Benjamin Peterson
New submission from Benjamin Peterson : If TESTFN is in a directory with S_ISGID set in its mode, test_os will fail: == FAIL: test_mode (test.test_os.MakedirTests)

[issue33649] asyncio docs overhaul

2018-09-13 Thread Carol Willing
Change by Carol Willing : -- pull_requests: +8704 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-13 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- keywords: +patch pull_requests: +8703 stage: -> patch review ___ Python tracker ___ ___

[issue34663] Support POSIX_SPAWN_USEVFORK flag in posix_spawn

2018-09-13 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : In some systems, posix_spawn has an optional flag (POSIX_SPAWN_USEVFORK) that is GNU specific and allows the user to force posix_spawn to spawn the child using vfork instead of fork. This is very beneficial as it gives great speedups compare with

[issue33239] tempfile module: functions with the 'buffering' option are incorrectly documented

2018-09-13 Thread Antti Haapala
Antti Haapala added the comment: This week we were bit by this in production. I foolishly thought that the docs would give me correct default values... It is worse that it didn't actually occur until we went over the limit. -- nosy: +ztane ___

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e78734d579439861f6d7e12f35d268836b2c1e24 by Benjamin Peterson in branch 'master': bpo-34661: Fix test skipping call. (GH-9266) https://github.com/python/cpython/commit/e78734d579439861f6d7e12f35d268836b2c1e24 --

[issue34661] test_shutil fails with busybox unzip

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

[issue34661] test_shutil fails with busybox unzip

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

[issue20047] bytearray partition bug

2018-09-13 Thread Zackery Spytz
Change by Zackery Spytz : -- pull_requests: +8700 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34661] test_shutil fails with busybox unzip

2018-09-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +8699 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

  1   2   >