[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: +8714 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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: https://ma

[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 ___ ___ Python-bugs-list

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

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

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

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

[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

[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", -"--pr

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

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

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

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

[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: https://mai

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

[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: https://ma

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

[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

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

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

[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) https://github.com/python/cpython/commit/d0491cd7fd8a2209

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

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

[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, format_list()

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

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

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

[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

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

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

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

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

[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: https://mail.pytho

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

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

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

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

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

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

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

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

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

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

[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: https://mai

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

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

[issue32117] Tuple unpacking in return and yield statements

2018-09-13 Thread Guido van Rossum
Guido van Rossum added the comment: Move to 3.8. -- nosy: +gvanrossum versions: +Python 3.8 -Python 3.7 ___ Python tracker ___ ___

[issue33073] Add as_integer_ratio() to int() objects

2018-09-13 Thread Raymond Hettinger
Raymond Hettinger added the comment: New changeset 5ac704306f4b81ae3f28d8742408d3214b145e8a by Raymond Hettinger (Lisa Roach) in branch 'master': bpo-33073: Adding as_integer_ratio to ints. (GH-8750) https://github.com/python/cpython/commit/5ac704306f4b81ae3f28d8742408d3214b145e8a -

<    1   2