[issue32455] PyCompile_OpcodeStackEffect() and dis.stack_effect() are not particularly useful

2018-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 7bdf28265aa371b39f82dfc6562635801aff15a5 by Serhiy Storchaka in branch 'master': bpo-32455: Add jump parameter to dis.stack_effect(). (GH-6610) https://github.com/python/cpython/commit/7bdf28265aa371b39f82dfc6562635801aff15a5 -- ___

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset b042cf10c6084d14279c55a7e0d2d7595ff4e694 by Yury Selivanov in branch 'master': bpo-33649: Fix markup; add another note that asyncio.run is 3.7+ (GH-9389) https://github.com/python/cpython/commit/b042cf10c6084d14279c55a7e0d2d7595ff4e694 ---

[issue33649] asyncio docs overhaul

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8814 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +8813 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34681] Incorrect class name Pattern in sre_parse.py

2018-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34681] Incorrect class name Pattern in sre_parse.py

2018-09-17 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset e0c19ddc661e56cc7e694be52d3e47f1dfe5af24 by Serhiy Storchaka in branch 'master': bpo-34681: Rename class Pattern in sre_parse to State. (GH-9310) https://github.com/python/cpython/commit/e0c19ddc661e56cc7e694be52d3e47f1dfe5af24 -- _

[issue33649] asyncio docs overhaul

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8812 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33649] asyncio docs overhaul

2018-09-17 Thread Miguel Ángel
Change by Miguel Ángel : -- pull_requests: +8811 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

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

2018-09-17 Thread Tim Peters
Tim Peters added the comment: Ya, I care: `None` was always intended to be an explicit way to say "nothing here", and using unique non-None sentinels instead for that purpose is needlessly convoluted. `initial=None` is perfect. But then I'm old & in the way ;-) -- nosy: +tim.pete

[issue33649] asyncio docs overhaul

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8810 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33649] asyncio docs overhaul

2018-09-17 Thread Danny Hermes
Change by Danny Hermes : -- pull_requests: +8809 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail

[issue33649] asyncio docs overhaul

2018-09-17 Thread Miguel Ángel
Change by Miguel Ángel : -- pull_requests: +8808 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue34718] Syntax error on factorial example

2018-09-17 Thread Miguel Ángel
Miguel Ángel added the comment: Too trivial to require an issue. Sorry, I'm newbie here :) -- resolution: -> wont fix stage: -> resolved status: open -> closed ___ Python tracker ___

[issue34718] Syntax error on factorial example

2018-09-17 Thread Miguel Ángel
New submission from Miguel Ángel : In the example on https://docs.python.org/3/library/asyncio-task.html#running-tasks-concurrently, there is a double closing parenthesis, but just one is needed for the `gather` method. This makes the example to fail. -- assignee: docs@python componen

[issue32557] allow shutil.disk_usage to take a file path on Windows also

2018-09-17 Thread Steve Dower
Steve Dower added the comment: I took a quick look at the patch and the main issue I see is the use of the MAX_PATH constant. We encourage people to disable this limit where possible, so using dynamic allocation where we need to reduce the path will be a better way to avoid this function bre

[issue33649] asyncio docs overhaul

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset 1f4ea580675d7b30d3906d78c500997d7d96995d by Miss Islington (bot) in branch '3.7': bpo-33649: Note that asyncio.run() calls shutdown_asyncgens() (GH-9380) https://github.com/python/cpython/commit/1f4ea580675d7b30d3906d78c500997d7d96995d ---

[issue17239] XML vulnerabilities in Python

2018-09-17 Thread Steve Dower
Steve Dower added the comment: There's also the view that it'll be easier to justify upstreaming a patch if it's been released and tested in a separate app. We require that all the time for Python patches, so why should we expect other projects to be different? We're totally entitled to only

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

2018-09-17 Thread Raymond Hettinger
Raymond Hettinger added the comment: Tim, do we care about whether "initial=None" versus "initial=_sentinel"? The former makes for a nice looking pure python equivalent and works nicely with the argument clinic to generate a signature. However, it precludes using None as the actual start ar

[issue33649] asyncio docs overhaul

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8807 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset ac94e38d076aebc56c2ff96a249b5e40f32633ea by Yury Selivanov in branch 'master': bpo-33649: Note that asyncio.run() calls shutdown_asyncgens() (GH-9380) https://github.com/python/cpython/commit/ac94e38d076aebc56c2ff96a249b5e40f32633ea --

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

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: test_c_locale_coercion didn't test the -E option: I wrote PR 9382 to test it. -- ___ Python tracker ___ _

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

2018-09-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8806 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue21109] tarfile: Traversal attack vulnerability

2018-09-17 Thread shashank
shashank added the comment: I can't use Jakub's repo (or Makefile from that repo) directly because it relies on tar, which doesn't look like dependency for building Python. I can make similar tarballs but I am not sure how licensing will work. I can add tarballs for the cases I discovered.

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

2018-09-17 Thread Ned Deily
Ned Deily added the comment: I'm marking this as a 3.7.1 "release blocker" until Nick has had a chance to review the merged PR and he and Victor are in agreement that this is a satisfactory approach for 3.7.1. -- ___ Python tracker

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

2018-09-17 Thread Ned Deily
Change by Ned Deily : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34536] Enum._missing_ doesn't raise TypeError when a non-Enum object is a returned

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8805 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 144f1e2c6f4a24bd288c045986842c65cc289684 by Victor Stinner in branch '3.7': [3.7] bpo-34589: Add -X coerce_c_locale option; C locale coercion off by default (GH-9379) https://github.com/python/cpython/commit/144f1e2c6f4a24bd288c045986842c65cc28

[issue33649] asyncio docs overhaul

2018-09-17 Thread Ned Deily
Ned Deily added the comment: >> Ned, do we auto run docs build for Python 3.7? Or do we only build them on >> release? The online html docs at https://docs.python.org/, like https://docs.python.org/3.7/, are rebuilt every 3 hours from the current branch heads for feature and maintenance re

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: > Ned, do we auto run docs build for Python 3.7? Or do we only build them on > release? Never mind, the docs for 3.7 have been updated! -- ___ Python tracker

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +8804 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34691] _contextvars missing in x64 master branch Windows build?

2018-09-17 Thread Tim Peters
Tim Peters added the comment: FYI, I bet I didn't see a problem with the Win32 target because I followed instructions ;-) and did my first build using build.bat. Using that for the x64 too target makes the problem go away. -- ___ Python tracker

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

2018-09-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8803 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: Ned, do we auto run docs build for Python 3.7? Or do we only build them on release? -- nosy: +ned.deily ___ Python tracker ___

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

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset dbdee0073cf0b88fe541980ace1f650900f455cc by Victor Stinner in branch 'master': bpo-34589: Add -X coerce_c_locale command line option (GH-9378) https://github.com/python/cpython/commit/dbdee0073cf0b88fe541980ace1f650900f455cc -- __

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

2018-09-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8802 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: Wow, we did this! I've just pushed a backport of the new documentation to 3.7. Thanks to Carol, Elvis, and Andrew for the help! I think this issue can now be closed, we'll open new ones for: 1. A high-level intro/tutorial for asyncio. 2. A low-level tutori

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 512d7101098b971837cbb406942215244f636547 by Yury Selivanov in branch '3.7': bpo-33649: Backport asyncio docs from 'master' to 3.7 (GH-9377) https://github.com/python/cpython/commit/512d7101098b971837cbb406942215244f636547 -- _

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +8801 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7a0791b6992d420dc52536257f2f093851ed7215 by Victor Stinner in branch 'master': bpo-34589: C locale coercion off by default (GH-9073) https://github.com/python/cpython/commit/7a0791b6992d420dc52536257f2f093851ed7215 --

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 1fa2ec49bec50bea1847b558b883c5c904334734 by Yury Selivanov (Elvis Pranskevichus) in branch 'master': bpo-33649: A copy-editing pass on asyncio documentation (GH-9376) https://github.com/python/cpython/commit/1fa2ec49bec50bea1847b558b883c5c904334

[issue17239] XML vulnerabilities in Python

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: > Any reason to not take the current patch for our vendored copy and give it > some exposure at least on platforms that rely on it (maybe just Windows)? I > don't see any reason to wait on another group to "release" it when we need to > manually apply the up

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

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: I removed the test from Python 3.6, 3.7 and master. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6, Python 3.7 ___ Python tracker

[issue33649] asyncio docs overhaul

2018-09-17 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- pull_requests: +8800 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset c63d81b3feaa008a6be4c7c83c324174e8d95c24 by Miss Islington (bot) in branch '3.7': bpo-34717: Stop numbering stdlib titles/sections in the docs (GH-9370) https://github.com/python/cpython/commit/c63d81b3feaa008a6be4c7c83c324174e8d95c24

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 3085534c398e6b181e7a9ac0cb9c80f3c670f2b9 by Yury Selivanov in branch 'master': bpo-33649: Add a hello world example to asyncio.rst (GH-9374) https://github.com/python/cpython/commit/3085534c398e6b181e7a9ac0cb9c80f3c670f2b9 --

[issue34267] find_python.bat doesn't find installed Python 3.7

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset a8a8cc71c7fc7585e15652ff7ab354665f787d5a by Miss Islington (bot) in branch '3.7': bpo-34267: Update find_python.bat to use 3.7 if available (GH-8552) https://github.com/python/cpython/commit/a8a8cc71c7fc7585e15652ff7ab354665f787d5a --

[issue17239] XML vulnerabilities in Python

2018-09-17 Thread Steve Dower
Steve Dower added the comment: Any reason to not take the current patch for our vendored copy and give it some exposure at least on platforms that rely on it (maybe just Windows)? I don't see any reason to wait on another group to "release" it when we need to manually apply the update to our

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: Thanks to Julien and Carol for reviews and sharing the opinion! I'm closing this issue now. In case someone needs the numbering to be re-enabled for some reason we can re-open this issue and discuss the best approach how to make that happen, while making s

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

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27 by Victor Stinner in branch 'master': bpo-34589: Make _PyCoreConfig.coerce_c_locale private (GH-9371) https://github.com/python/cpython/commit/188ebfa475a6f6aa2d0ea14ca8e1fbe7865b6d27 -- __

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset c62ab2862db2382808bb2228760eebdda3f608bd by Yury Selivanov in branch 'master': bpo-34717: Stop numbering stdlib titles/sections in the docs (GH-9370) https://github.com/python/cpython/commit/c62ab2862db2382808bb2228760eebdda3f608bd --

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8799 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +8798 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue17239] XML vulnerabilities in Python

2018-09-17 Thread Christian Heimes
Christian Heimes added the comment: The external entity patch is ready, but the billion laughs fix need more time. I'm working with an upstream developer on a proper fix. -- nosy: +christian.heimes ___ Python tracker

[issue32557] allow shutil.disk_usage to take a file path on Windows also

2018-09-17 Thread Joe Pamer
Joe Pamer added the comment: Hi! I decided to try fixing this one as a way to get acquainted with the code base. I went ahead and updated the backing NT C function, but please let me know if you'd prefer I update disk_usage as proposed. Thanks! -- nosy: +jopamer __

[issue34267] find_python.bat doesn't find installed Python 3.7

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8796 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34267] find_python.bat doesn't find installed Python 3.7

2018-09-17 Thread Steve Dower
Steve Dower added the comment: New changeset 6750922f8d3428d84a016c34d6fcd99659e8610c by Steve Dower in branch 'master': bpo-34267: Update find_python.bat to use 3.7 if available (GH-8552) https://github.com/python/cpython/commit/6750922f8d3428d84a016c34d6fcd99659e8610c --

[issue32533] SSLSocket read/write thread-unsafety

2018-09-17 Thread Steve Dower
Steve Dower added the comment: New changeset 1a107eea8e91e50c5c9025e945c78eb1aa9b874d by Steve Dower in branch '3.6': bpo-32533: Fixed thread-safety of error handling in _ssl. (GH-7158) https://github.com/python/cpython/commit/1a107eea8e91e50c5c9025e945c78eb1aa9b874d -- ___

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

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset 68a8f041051e8387583c66b91c7a3bbda6cf7e63 by Miss Islington (bot) in branch '3.6': bpo-34587, test_socket: remove RDSTest.testCongestion() (GH-9277) https://github.com/python/cpython/commit/68a8f041051e8387583c66b91c7a3bbda6cf7e63 -- _

[issue32557] allow shutil.disk_usage to take a file path on Windows also

2018-09-17 Thread Roundup Robot
Change by Roundup Robot : -- keywords: +patch pull_requests: +8795 stage: needs patch -> patch review ___ Python tracker ___ ___ Pyt

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Julien Palard
Julien Palard added the comment: In one hand, I already spotted students exchanging paragraphs numbers, when both have the same page open but one want to point a specific paragraph to the other, it goes like "humm that thing is docuemtented in paragraph 3.17.3.12". Don't mis-read me, they do

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

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset b7f58d7f80f80f0e20cad84773f158a379a19280 by Miss Islington (bot) in branch '3.7': bpo-34587, test_socket: remove RDSTest.testCongestion() (GH-9277) https://github.com/python/cpython/commit/b7f58d7f80f80f0e20cad84773f158a379a19280 -- no

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

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

2018-09-17 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +8794 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +8793 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: Please refer to the attached screenshots to see the difference. -- ___ Python tracker ___ ___ Pyt

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : Added file: https://bugs.python.org/file47812/after_2.png ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : Added file: https://bugs.python.org/file47811/after_1.png ___ Python tracker ___ ___ Python-bugs-list mailing lis

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +willingc -mdk stage: patch review -> ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Ned Deily
Change by Ned Deily : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/m

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +ezio.melotti ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mai

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : Added file: https://bugs.python.org/file47810/now_1.png ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue34717] docs: disable numbered sections for stdlib in html

2018-09-17 Thread Yury Selivanov
New submission from Yury Selivanov : I'd like to remove the ":numbered:" option from Doc/library/index.rst TOC. Most standard library modules don't have extensive documentation, but some, for example asyncio, have. For such modules, numbering makes title to contain too much noise. Sphinx d

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

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8792 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8791 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

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

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 7484bdfd1e2e33fdd2c44dd4ffa044aacd495337 by Victor Stinner in branch 'master': bpo-34587, test_socket: remove RDSTest.testCongestion() (GH-9277) https://github.com/python/cpython/commit/7484bdfd1e2e33fdd2c44dd4ffa044aacd495337 --

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1fb399ba4e977e697d194769070316247237f68e by Victor Stinner in branch 'master': bpo-34715: Revert "Simplify PyInit_timezone. (GH-9323)" (GH-9366) https://github.com/python/cpython/commit/1fb399ba4e977e697d194769070316247237f68e --

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread STINNER Victor
STINNER Victor added the comment: I wrote PR 9366 to fix the compilation of timemodule.c on FreeBSD. -- nosy: +vstinner ___ Python tracker ___

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +8790 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-l

[issue17239] XML vulnerabilities in Python

2018-09-17 Thread Ned Deily
Ned Deily added the comment: We discussed this last week at the sprint. Christian, it would be great if you could get this merged for 3.7 and possibly 3.6 in the next 24 hours. -- ___ Python tracker __

[issue32533] SSLSocket read/write thread-unsafety

2018-09-17 Thread Steve Dower
Change by Steve Dower : -- pull_requests: +8789 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[issue34676] Guarantee that divmod() and PyNumber_Divmod() return a 2-tuple

2018-09-17 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- dependencies: +MagicMock.__divmod__ should return a pair ___ Python tracker ___ ___ Python-bugs-list

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https:/

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Reverting afde1c1a05c and 5633c4f342d fixes the issue. -- nosy: -p-ganssle ___ Python tracker ___ ___

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue34716] MagicMock.__divmod__ should return a pair

2018-09-17 Thread Paul Ganssle
Change by Paul Ganssle : -- nosy: +p-ganssle ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.pyt

[issue34716] MagicMock.__divmod__ should return a pair

2018-09-17 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : It is documented, that divmod() returns a pair. It is usually used with tuple unpacking: x, y = divmod(a, b) But this doesn't work when one of arguments is a MagicMock. >>> from unittest.mock import * >>> x, y = divmod(MagicMock(), 2) Traceback (mos

[issue34686] Add `-r`, as opposed to `-R` to Python core interpreter

2018-09-17 Thread Erwan Le Pape
Erwan Le Pape added the comment: Given that marshal basically only just dumps code objects, the only viable solution I can see is adding a flag that can be passed all the way to the AST from `Python/bltinmodule.c:builtin_compile_impl` that would sort elements when creating code objects of un

[issue30140] Binary arithmetic does not always call subclasses first

2018-09-17 Thread Raymond Hettinger
Change by Raymond Hettinger : -- nosy: +tim.peters ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- nosy: +benjamin.peterson ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34708] Odd crashes/freezes when sys.stdout.shell.console is typed

2018-09-17 Thread Terry J. Reedy
Terry J. Reedy added the comment: 3.4 and 3.5 only get security fixes and I doubt this qualifies. I reproduced the described behavior with 3.7 on Win 10, so it is not Mac-specific. Python sys.stdout: <_io.TextIOWrapper name='' mode='w' encoding='utf-8'> IDLE's sys.stdout: The PseudoFiles ar

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset 394374e30c85f6eacddbbfc7471aab62b54ce021 by Yury Selivanov in branch 'master': bpo-33649: Add low-level APIs index. (GH-9364) https://github.com/python/cpython/commit/394374e30c85f6eacddbbfc7471aab62b54ce021 -- ___

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: Bisecting returns commit 5633c4f342d as possible culprit -- ___ Python tracker ___ ___ Pyt

[issue34715] timemodule.c fails to compile on BSD

2018-09-17 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : Example: https://buildbot.python.org/all/#/builders/87/builds/1434 ./Modules/timemodule.c:573:24: warning: assigning to 'char *' from 'const char *' discards qualifiers [-Wincompatible-pointer-types-discards-qualifiers] p->tm_zone = PyUn

[issue32533] SSLSocket read/write thread-unsafety

2018-09-17 Thread miss-islington
miss-islington added the comment: New changeset 1229664f30dd5fd4da32174a19258f8312464d45 by Miss Islington (bot) in branch '3.7': bpo-32533: Fixed thread-safety of error handling in _ssl. (GH-7158) https://github.com/python/cpython/commit/1229664f30dd5fd4da32174a19258f8312464d45 --

[issue34714] timeout in test_multiprocessing_spawn x86 Windows7 3.x buildbot

2018-09-17 Thread Pablo Galindo Salgado
New submission from Pablo Galindo Salgado : https://buildbot.python.org/all/#/builders/58/builds/1338/steps/3/logs/stdio Timeout (0:15:00)! Thread 0x09d8 (most recent call first): File "D:\cygwin\home\db3l\buildarea\3.x.bolen-windows7\build\lib\multiprocessing\popen_spawn_win32.py", lin

[issue33649] asyncio docs overhaul

2018-09-17 Thread Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +8788 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32533] SSLSocket read/write thread-unsafety

2018-09-17 Thread miss-islington
Change by miss-islington : -- pull_requests: +8787 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[issue32533] SSLSocket read/write thread-unsafety

2018-09-17 Thread Steve Dower
Steve Dower added the comment: New changeset c6fd1c1c3a65217958b68df3a4991e4f306e9b7d by Steve Dower in branch 'master': bpo-32533: Fixed thread-safety of error handling in _ssl. (GH-7158) https://github.com/python/cpython/commit/c6fd1c1c3a65217958b68df3a4991e4f306e9b7d --

[issue34713] csvwriter.writerow()'s return type is undocumented

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

  1   2   >