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

[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 : -- nosy: +mdk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.

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

[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

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

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

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

[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

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

[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

[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

[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

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

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

[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

[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

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

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

[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 Elvis Pranskevichus
Change by Elvis Pranskevichus : -- pull_requests: +8800 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https

[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

[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

[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

[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
Change by Yury Selivanov : -- pull_requests: +8801 ___ 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 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
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

[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

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

[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
Change by STINNER Victor : -- pull_requests: +8803 ___ 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

[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

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

[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

[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 Ned Deily
Change by Ned Deily : -- priority: normal -> release blocker ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[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

[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 STINNER Victor
Change by STINNER Victor : -- pull_requests: +8806 ___ 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: test_c_locale_coercion didn't test the -E option: I wrote PR 9382 to test it. -- ___ Python tracker ___ _

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

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

[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

[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

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

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

[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 miss-islington
Change by miss-islington : -- pull_requests: +8810 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://ma

[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 Miguel Ángel
Change by Miguel Ángel : -- pull_requests: +8811 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.

[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

[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 Yury Selivanov
Change by Yury Selivanov : -- pull_requests: +8813 ___ 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 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

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

<    1   2