[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

2018-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: This code was added in issue16088. Taking into account all other uses of send_header(), and that len() always returns an integer, seems "int" should be replaced with "str". -- nosy: +pitrou, serhiy.storchaka

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +pitrou, serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33739] pathlib: Allow ellipsis to appear after "/" to navigate to parent path

2018-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Note that 'a/b/c/..' is not the same as 'a/b' if 'c' is a link. And since "p / ..." looks very similar to "p / '..'", it will cause mistakes. "p.parent" is more explicit. AFAIK in cmd.exe on Windows 'a/b/c/...' means 'a/b/c/../..'. This is yet one source

[issue21142] Daily/weekly ABI scan?

2018-06-01 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33721] os.path.exists() ought to return False if pathname contains NUL

2018-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: In earlier versions NULs in paths caused silent truncating the path, and this is considered a vulnerability. In 2.7 and earlier versions of 3.x a TypeError was raised in os.path.exists(). ValueError in this function (and many others) is raised since 3.5,

[issue21142] Daily/weekly ABI scan?

2018-06-01 Thread Nick Coghlan
Nick Coghlan added the comment: Updated link to the ABI tracker report: https://abi-laboratory.pro/tracker/timeline/python/ (The stable ABI report still has a separate entry on http://upstream.rosalinux.ru/ but it links to the same report as I've linked above) I'm bumping this based on

[issue33562] Check that the global settings for asyncio are not changed by tests

2018-06-01 Thread Brett Cannon
Change by Brett Cannon : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue33562] Check that the global settings for asyncio are not changed by tests

2018-06-01 Thread Brett Cannon
Brett Cannon added the comment: New changeset 8425de4147eb8d83befbb8ea77516fc764bb4309 by Brett Cannon in branch 'master': bpo-33562: Check the global asyncio event loop policy isn't set after any tests (GH-7328)

[issue30654] signal module always overwrites SIGINT on interpreter shutdown

2018-06-01 Thread Benjamin Peterson
Benjamin Peterson added the comment: It seems like this only affects embeddings and for embeddings, it's strictly an improvement? -- ___ Python tracker ___

[issue33679] IDLE: Re-enable color configuration for code context

2018-06-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed title: IDLE: Configurable color on code context -> IDLE: Re-enable color configuration for code context type: enhancement -> behavior ___

[issue33679] IDLE: Configurable color on code context

2018-06-01 Thread miss-islington
miss-islington added the comment: New changeset dd851d6019efe79f67b13d67899afa36b33e10a8 by Miss Islington (bot) in branch '3.6': bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199) https://github.com/python/cpython/commit/dd851d6019efe79f67b13d67899afa36b33e10a8

[issue33679] IDLE: Configurable color on code context

2018-06-01 Thread miss-islington
miss-islington added the comment: New changeset 4e033c5aa12766b1a4ba90d2184dbf32ef87f06e by Miss Islington (bot) in branch '3.7': bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199) https://github.com/python/cpython/commit/4e033c5aa12766b1a4ba90d2184dbf32ef87f06e

[issue33709] test.support.FS_NONASCII returns incorrect result in Windows with non-US locale

2018-06-01 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: In 3.x, it turns out, this doesn't result in test failures in stock configuration. It does though if PYTHONLEGACYWINDOWSFSENCODING is in system environment. I was diagnosing failures in 2.x and saw that 3.x has the same logic, so it was a no-brainer to

[issue33679] IDLE: Configurable color on code context

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset de6516264e793be991f692fdd892707afb9104a7 by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-33679: IDLE: Re-enable color configuration for code context (GH-7199)

[issue33679] IDLE: Configurable color on code context

2018-06-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +6966 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33679] IDLE: Configurable color on code context

2018-06-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +6965 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-01 Thread Eric Snow
Change by Eric Snow : -- resolution: -> fixed stage: patch review -> resolved status: open -> pending ___ Python tracker ___ ___

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-06-01 Thread Eric Snow
Eric Snow added the comment: New changeset 63799136e6c0491bb5d6f4a234d5a775db3458db by Eric Snow in branch 'master': bpo-33615: Re-enable a subinterpreter test. (gh-7251) https://github.com/python/cpython/commit/63799136e6c0491bb5d6f4a234d5a775db3458db --

[issue33615] test__xxsubinterpreters crashed on x86 Gentoo Refleaks 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: New changeset 63799136e6c0491bb5d6f4a234d5a775db3458db by Eric Snow in branch 'master': bpo-33615: Re-enable a subinterpreter test. (gh-7251) https://github.com/python/cpython/commit/63799136e6c0491bb5d6f4a234d5a775db3458db --

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I am leaving this open until the new behavior is documented, even though it might be part of another issue that includes other context changes. For this issue, I will leave what happens when unzooming unspecific. --

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I merged 'variable lines' and edited 'colors' to fix the resulting conflicts. Travis passed the latter so I expect to merge it also. To avoid more conflicts, you should wait to create the 'alignment' branch until 'colors' is merged and pulled into your

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-01 Thread miss-islington
miss-islington added the comment: New changeset a42fe3c67ca86ac08dc6f47af27eed089d35fdd0 by Miss Islington (bot) in branch '3.6': bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106) https://github.com/python/cpython/commit/a42fe3c67ca86ac08dc6f47af27eed089d35fdd0

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-01 Thread miss-islington
miss-islington added the comment: New changeset 0800b6c17a829ecb554d93cba8c97f92b15be52a by Miss Islington (bot) in branch '3.7': bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106) https://github.com/python/cpython/commit/0800b6c17a829ecb554d93cba8c97f92b15be52a

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +6964 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-01 Thread miss-islington
Change by miss-islington : -- pull_requests: +6963 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: New changeset 29996a1c4e8bd6dde6adce2b44d11a0982a47a3a by Terry Jan Reedy (Cheryl Sabella) in branch 'master': bpo-33642: IDLE: Use variable number of lines in CodeContext. (GH-7106)

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: The fix took care of the failures. -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue29235] Allow profile/cProfile to be used as context managers

2018-06-01 Thread Scott Sanderson
Scott Sanderson added the comment: I've posted a patch to update the docs to https://github.com/python/cpython/pull/7331. -- nosy: +Scott Sanderson2 ___ Python tracker ___

[issue29235] Allow profile/cProfile to be used as context managers

2018-06-01 Thread Scott Sanderson
Change by Scott Sanderson : -- pull_requests: +6961 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: New changeset 6854e803b73ac4d02ba160d514b8a53dd7a62905 by Eric Snow in branch 'master': bpo-33724: Use the right format code for int64_t in subinterpreters code. (gh-7330) https://github.com/python/cpython/commit/6854e803b73ac4d02ba160d514b8a53dd7a62905

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Change by Eric Snow : -- keywords: +patch pull_requests: +6959 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-list

[issue32604] Expose the subinterpreters C-API in Python for testing use.

2018-06-01 Thread Eric Snow
Change by Eric Snow : -- pull_requests: +6960 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33739] pathlib: Allow ellipsis to appear after "/" to navigate to parent path

2018-06-01 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +6958 ___ Python tracker ___ ___ Python-bugs-list mailing list

[issue33739] pathlib: Allow ellipsis to appear after "/" to navigate to parent path

2018-06-01 Thread Yury Selivanov
New submission from Yury Selivanov : We can allow using ... to navigate the "parent" path: >>> import pathlib >>> p = pathlib.Path('a/b/c') >>> p PosixPath('a/b/c') >>> p / ... PosixPath('a/b') >>> p / ... / ... / 'temp' PosixPath('a/temp') The patch is trivial

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: I'm pretty sure at this point that the failures are due to using a %d format string for int64_t instead of %lld. I'll have a PR up shortly. -- ___ Python tracker

[issue33610] IDLE: Make multiple improvements to CodeContext

2018-06-01 Thread Cheryl Sabella
Cheryl Sabella added the comment: > That leaves line alignment. If you are working on it, but don't have a PR > ready yet, please say so. I was going to work on it this weekend, but haven't started yet. I agree that moving Code Context to the Windows menu makes sense. --

[issue33562] Check that the global settings for asyncio are not changed by tests

2018-06-01 Thread Brett Cannon
Change by Brett Cannon : -- pull_requests: +6957 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-01 Thread Christian Tismer
Christian Tismer added the comment: Yes, sure, I will submit a patch that tries to reach as much as possible locations that have a similar problem. Of course, the code will only be turned into functions for the PEP context. Takes a day because I need to re-learn a bit how to do this :-) (last

[issue33642] IDLE: Use variable number of lines in CodeContext

2018-06-01 Thread Cheryl Sabella
Cheryl Sabella added the comment: I see similar behavior on Linux, except after maximizing and then minimizing, it seems to stay with option 2. -- ___ Python tracker ___

[issue33721] os.path.exists() ought to return False if pathname contains NUL

2018-06-01 Thread Eryk Sun
Eryk Sun added the comment: It has to be a ValueError since the error is an invalid parameter at the Python level. Similarly, in 3.6+ when using bytes paths in Windows, for which Python uses UTF-8 as the file-system encoding, os.path.exists() may raise UnicodeDecodeError: >>> try:

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Would be nice if you fix as much similar as you can with a single PR. For performance it makes sense to keep macros if the limited API is not used. -- ___ Python tracker

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-01 Thread Christian Tismer
Christian Tismer added the comment: Ok, I tried to submit a patch (not yet successful), but as it stands, there are more locations in the code where this will show up with similar problems. Should I take care of these all as much as I can, or is it better to leave it to one of you? Whatever

[issue29235] Allow profile/cProfile to be used as context managers

2018-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Please add a versionadded or versionchanged directive in the documentation (not sure what is more appropriate in this case) and an entry in What's New. A news entry shouldn't consist of several paragraphs. This will be lost when news entries will be

[issue29235] Allow profile/cProfile to be used as context managers

2018-06-01 Thread Brett Cannon
Brett Cannon added the comment: New changeset 2e01b75884892d5aabdaab658fbd17f7a7ccebaa by Brett Cannon (Scott Sanderson) in branch 'master': bpo-29235: Make cProfile.Profile a context manager (GH-6808) https://github.com/python/cpython/commit/2e01b75884892d5aabdaab658fbd17f7a7ccebaa

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-01 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: Seems PyIter_Check and PySequence_ITEM have the same problem. And maybe more. -- ___ Python tracker ___

[issue33734] asyncio/ssl: Fix AttributeError, increase default handshake timeout

2018-06-01 Thread Hynek Schlawack
Hynek Schlawack added the comment: > Previous timeout was effectively infinite. Oi, well then 60s are an improvement indeed. :) -- ___ Python tracker ___

[issue31215] Add version changed notes for OpenSSL 1.1.0 compatibility

2018-06-01 Thread Mayank Singhal
Mayank Singhal <17mayanksing...@gmail.com> added the comment: Hey, I'll take this up. -- nosy: +storymode7 ___ Python tracker ___

[issue33650] asyncio: Prohibit adding a signal handler for SIGCHLD

2018-06-01 Thread Antoine Pitrou
Antoine Pitrou added the comment: Some people may have reasons to do that (for example: they write their own subprocess implementation). I suggest emitting a warning rather than forbidding it. -- nosy: +pitrou ___ Python tracker

[issue33650] asyncio: Prohibit adding a signal handler for SIGCHLD

2018-06-01 Thread Antoine Pitrou
Change by Antoine Pitrou : -- title: Prohibit adding a signal handler for SIGCHLD -> asyncio: Prohibit adding a signal handler for SIGCHLD ___ Python tracker ___

[issue33663] Web.py wsgiserver3.py raises TypeError when CSS file is not found

2018-06-01 Thread Ned Deily
Change by Ned Deily : -- keywords: +easy nosy: +orsenthil versions: +Python 3.7, Python 3.8 ___ Python tracker ___ ___

[issue33650] Prohibit adding a signal handler for SIGCHLD

2018-06-01 Thread Yury Selivanov
Yury Selivanov added the comment: To clarify this ticket: I'm talking about prohibiting `loop.add_signal_handler(SIGCHLD)` as it would break child processes watchers that asyncio installs. In other words, setting a custom SIGCHLD breaks asyncio internals. We can allow user-set SIGCHLD

[issue33661] urllib may leak sensitive HTTP headers to a third-party web site

2018-06-01 Thread Ivan Pozdeev
Ivan Pozdeev added the comment: It's not about "convincing" me or anyone else. It's about showing how this will be a strict improvement. I showed that the HTTP RFC allows apps to rely on the fact that they are receiving all the headers. So filtering them arbitrarily violates the HTTP

[issue33650] Prohibit adding a signal handler for SIGCHLD

2018-06-01 Thread Ned Deily
Change by Ned Deily : -- nosy: +gregory.p.smith ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-01 Thread Andres Ayala
Andres Ayala added the comment: Script to reproduce: import os import pathlib # Change to the Root directory os.chdir('/') # Create a relative path object. p = pathlib.Path('spam') print(p.resolve()) Expected output: /span Incorrect output //span -- Added file:

[issue33737] Multiprocessing not working

2018-06-01 Thread Ned Deily
Ned Deily added the comment: Puneet, sorry but this bug tracker is for reporting issues found with the Python language and its implementation, not for help with programming problems. Please see the Help page on python.org for suggestions on getting help: https://www.python.org/about/help/

[issue33737] Multiprocessing not working

2018-06-01 Thread Puneet Singh
Puneet Singh added the comment: Can anyone help me in solving this problem ?? -- Added file: https://bugs.python.org/file47629/Prog.py ___ Python tracker ___

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-01 Thread Ned Deily
Ned Deily added the comment: This is not a security issue so a change would not be applicable to the 3.4 or 3.5 branches, currently in security-fix-only mode. -- versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker

[issue33719] Test failures on Python 3.7 beta 5 and Windows 10

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: I ran py -3.7 -m test -j11 -uall I saw test_marshal fail with fatal exception. I saw test_tools and test_site fail as below. C:\Users\Terry>py -3.7 -X utf8 -m test test_pkg 0:00:00 [1/1] test_pkg 1 test OK. test_tools failed -- running: test_io (103 sec),

[issue32519] venv API docs - symlinks default incorrect

2018-06-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 1df877caad584135263ef94d83a28251e162e643 by Vinay Sajip (Miss Islington (bot)) in branch '3.6': bpo-32519: Removed misleading sentence from EnvBuilder documentation. (GH-7296) (GH-7299)

[issue32519] venv API docs - symlinks default incorrect

2018-06-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 283e12f91db1a5290f2ddbddee406797fec39d2e by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-32519: Removed misleading sentence from EnvBuilder documentation. (GH-7296) (#7300)

[issue33400] logging.Formatter does not default to ISO8601 date format

2018-06-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 461ad598d12eba7754181402e00bb7cfc7f1d9cf by Vinay Sajip (Miss Islington (bot)) in branch '3.6': bpo-33400: Removed references to RFC3339 and ISO8601 from the logging documentation. (GH-7297) (GH-7303)

[issue33400] logging.Formatter does not default to ISO8601 date format

2018-06-01 Thread Vinay Sajip
Vinay Sajip added the comment: New changeset 4b6691e40f004bf3a08b1843620f5f6028d2b79d by Vinay Sajip (Miss Islington (bot)) in branch '3.7': bpo-33400: Removed references to RFC3339 and ISO8601 from the logging documentation. (GH-7297) (GH-7302)

[issue33724] test__xxsubinterpreters failed on ARMv7 Ubuntu 3.x

2018-06-01 Thread Eric Snow
Eric Snow added the comment: Okay, apparently this is only happening on 2 of the buildbots from bpo-33615: ARMv7 Ubuntu 3.x PPC64 AIX 3.x Judging by the failures I'm guessing that it's something related to handling of int64_t. I'm looking into it. -- assignee: -> eric.snow

[issue33720] test_marshal: crash in Python 3.7b5 on Windows 10

2018-06-01 Thread Steve Dower
Steve Dower added the comment: FYI, I posted the problem at https://developercommunity.visualstudio.com/content/problem/265778/pgo-generates-large-stack-frame.html (I _think_ it's public). Until then, it's probably best to reduce the recursion limit. Going to a depth of 1000 seems okay,

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 64e538bc703e423a04ab435c4eab6b950b8aef7e by Victor Stinner in branch '3.6': bpo-33532: Fix test_multiprocessing_forkserver.test_ignore() (GH-7322) https://github.com/python/cpython/commit/64e538bc703e423a04ab435c4eab6b950b8aef7e --

[issue33718] Enhance regrtest: meta-ticket for multiple changes

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 137e80346ff65ad917f733d9b077e530a4797ec5 by Victor Stinner in branch '3.6': bpo-33718: Update regrtest from master (GH-7325) https://github.com/python/cpython/commit/137e80346ff65ad917f733d9b077e530a4797ec5 --

[issue31238] pydoc: ServerThread.stop() leaves a dangling thread

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset f3297433e309e9591eaa3f36e1d7887e9d0620d7 by Victor Stinner in branch '3.6': bpo-31238: pydoc ServerThread.stop() now joins itself (GH-3151) (GH-7324) https://github.com/python/cpython/commit/f3297433e309e9591eaa3f36e1d7887e9d0620d7 --

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: New changeset 1d4be0a65f66c2eecefb8b8bd4d115a82fa61067 by Victor Stinner in branch '2.7': bpo-33532: Fix test_multiprocessing_forkserver.test_ignore() (GH-7323) https://github.com/python/cpython/commit/1d4be0a65f66c2eecefb8b8bd4d115a82fa61067 --

[issue20886] Disabling logging to ~/.python_history is not simple enough

2018-06-01 Thread Jesse Paul Ogle
Jesse Paul Ogle added the comment: Greetings, I came across this issue while looking into XDG Base Directory Specification. This issue is only tagged with version 3.4, but the underlying issue (not being able to change the history file / size through environment variables) appears to still

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-01 Thread Christian Tismer
Change by Christian Tismer : -- keywords: +patch pull_requests: +6956 stage: -> patch review ___ Python tracker ___ ___

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-01 Thread Ned Deily
Change by Ned Deily : -- nosy: +serhiy.storchaka ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33665] tkinter.ttk.Scrollbar.fraction() is inaccurate, or at least inconsistent compared to the non ttk version

2018-06-01 Thread Terry J. Reedy
Terry J. Reedy added the comment: Please post the code you used to test this. -- nosy: +serhiy.storchaka, terry.reedy stage: -> needs patch versions: +Python 3.7, Python 3.8 ___ Python tracker

[issue33738] PyIndex_Check conflicts with PEP 384

2018-06-01 Thread Christian Tismer
New submission from Christian Tismer : The file number.rst on python 3.6 says """ .. c:function:: int PyIndex_Check(PyObject *o) Returns ``1`` if *o* is an index integer (has the nb_index slot of the tp_as_number structure filled in), and ``0`` otherwise. """ But in reality, this is a

[issue27071] unittest.TestCase.assertCountEqual is a very misleading name

2018-06-01 Thread Alden
Alden added the comment: I think we need to re-open this issue. I have done a poll of a number of python developers and every developer I talked to said they initially thought this function "assertCountEqual" asserts that the count is equal. Probably because that's exactly what the words

[issue29788] [Security] tarfile: Add absolute_path option to tarfile, disabled by default

2018-06-01 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue17102] tarfile extract can write files outside the destination path

2018-06-01 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33737] Multiprocessing not working

2018-06-01 Thread Puneet Singh
New submission from Puneet Singh : I have attached a sampl program for my project.can anyone help e to solve this multiprocessing problem.I have applied all the tpes of multiprocessing ( map,map_async, starmap, starmap_async, aplly_async) but the result is same that CPU utilisation is one

[issue33660] pathlib.Path.resolve() returns path with double slash when resolving a relative path in root directory

2018-06-01 Thread Terry J. Reedy
Change by Terry J. Reedy : -- stage: -> test needed versions: +Python 3.8 -Python 3.4, Python 3.5 ___ Python tracker ___ ___

[issue33661] urllib may leak sensitive HTTP headers to a third-party web site

2018-06-01 Thread Jakub Wilk
Change by Jakub Wilk : -- nosy: +jwilk ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33701] test_datetime crashed (SIGSEGV) on Travis CI

2018-06-01 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33721] os.path.exists() ought to return False if pathname contains NUL

2018-06-01 Thread Eric V. Smith
Eric V. Smith added the comment: I don't know of any OS that supports NULs in filenames (not that my knowledge is encyclopedic). My reason for suggesting we document it is that os.path.exists() returns False for otherwise invalid filenames, where something like open() raises. On Windows:

[issue33649] asyncio docs overhaul

2018-06-01 Thread Alexander Belopolsky
Change by Alexander Belopolsky : -- nosy: +belopolsky ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33721] os.path.exists() ought to return False if pathname contains NUL

2018-06-01 Thread R. David Murray
R. David Murray added the comment: I seem to recall that this ValueError behavior was discussed at some length and it is the desired behavior. (At some previous point I think everything after the NUL was ignored.) I'm not really sure why it needs to be documented either, NULs are invalid

[issue33734] asyncio/ssl: Fix AttributeError, increase default handshake timeout

2018-06-01 Thread Yury Selivanov
Yury Selivanov added the comment: > What was the effective timeout before? Depending on the old value, 60s could > be excessive for clients and might lead to self-DoS on the client sideā€¦ Previous timeout was effectively infinite. -- ___ Python

[issue33734] asyncio/ssl: Fix AttributeError, increase default handshake timeout

2018-06-01 Thread Hynek Schlawack
Hynek Schlawack added the comment: For some context: 10s seems to be more common than I liked to believe (seems like Go's http client uses it by default too). Nevertheless I ran into the 10s after updating uvloop and stopped being able to connect to a server in India. Therefore I'd consider

[issue33736] Improve the documentation of asyncio stream API

2018-06-01 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- keywords: +patch pull_requests: +6955 stage: -> patch review ___ Python tracker ___ ___

[issue33736] Improve the documentation of asyncio stream API

2018-06-01 Thread Elvis Pranskevichus
Change by Elvis Pranskevichus : -- assignee: docs@python components: Documentation nosy: Elvis.Pranskevichus, docs@python priority: normal severity: normal status: open title: Improve the documentation of asyncio stream API type: enhancement versions: Python 3.7, Python 3.8

[issue33718] Enhance regrtest: meta-ticket for multiple changes

2018-06-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6954 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue31238] pydoc: ServerThread.stop() leaves a dangling thread

2018-06-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6953 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33733] Add utilities to get/set pipe and socket buffer sizes?

2018-06-01 Thread Nathaniel Smith
Nathaniel Smith added the comment: Note that in my experience, socket systems treat the buffer sizes as more like... rough guidelines. Especially Windows and Linux. Which doesn't mean they're not useful to expose somehow, but you can't assume that just because you set the buffer to size X

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: When running "python -m test -R 2:3 test_multiprocessing_forkserver" on Windows, I saw some warnings about dangling threads. It may explain this issue. -- ___ Python tracker

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-06-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6952 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-06-01 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +6951 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-06-01 Thread miss-islington
miss-islington added the comment: New changeset 63fa8db58c349f985d75139e6545cfddf067c07b by Miss Islington (bot) in branch '3.7': bpo-33532: Fix test_multiprocessing_forkserver.test_ignore() (GH-7319) https://github.com/python/cpython/commit/63fa8db58c349f985d75139e6545cfddf067c07b

[issue33735] test_multiprocessing_spawn leaked [1, 2, 1] memory blocks on AMD64 Windows8.1 Refleaks 3.7

2018-06-01 Thread STINNER Victor
New submission from STINNER Victor : http://buildbot.python.org/all/#/builders/132/builds/154 test_multiprocessing_spawn leaked [1, 2, 1] memory blocks, sum=4 -- components: Tests, Windows messages: 318425 nosy: paul.moore, steve.dower, tim.golden, vstinner, zach.ware priority: normal

[issue33734] asyncio/ssl: Fix AttributeError, increase default handshake timeout

2018-06-01 Thread Yury Selivanov
Change by Yury Selivanov : -- keywords: +patch pull_requests: +6950 stage: -> patch review ___ Python tracker ___ ___

[issue33694] test_asyncio: test_start_tls_server_1() fails on Python on x86 Windows7 3.7 and 3.x

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: The test also failed on AMD64 Windows8.1 Refleaks 3.7. This buildbot is also very slow because it runs reference leak hunting. It confirms that the remaining issue is a race condition which is only seen when the system becomes slow.

[issue33734] asyncio/ssl: Fix AttributeError, increase default handshake timeout

2018-06-01 Thread Yury Selivanov
Yury Selivanov added the comment: For the reference, we added SSL handshake timeout a while ago in bpo-29970. -- ___ Python tracker ___

[issue33734] asyncio/ssl: Fix AttributeError, increase default handshake timeout

2018-06-01 Thread Yury Selivanov
New submission from Yury Selivanov : I've ported asyncio's sslproto.py to uvloop and released a new major version of it yesterday. Hynek discovered that the default SSL handshake timeout (10 seconds currently) is too low, and that there's a critical code path that is broken because it

[issue33532] test_multiprocessing_forkserver: TestIgnoreEINTR.test_ignore() fails on Travis CI

2018-06-01 Thread STINNER Victor
STINNER Victor added the comment: I modified test_ignore() to use support.SOCK_MAX_SIZE, but honestly, I'm not convinced that it will be the issue. I applied my change anyway, just to check if the issue comes from the size, or if it's something else. --

  1   2   >