[issue34955] passing a dict to bytes() gives unhelpful error message

2018-10-10 Thread Raymond Hettinger
Change by Raymond Hettinger : -- stage: -> resolved status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34922] hashlib segmentation fault

2018-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 69e6ad6cdfa28a7b8e7b8780b07dfcdbfb0e7030 by Serhiy Storchaka (Miss Islington (bot)) in branch '3.6': [3.6] bpo-34922: Fix integer overflow in the digest() and hexdigest() methods (GH-9751) (GH-9798) (GH-9801)

[issue34922] hashlib segmentation fault

2018-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 8b040e55395b37bdb8fd4ec85a270cfc9ec95307 by Serhiy Storchaka in branch '3.7': [3.7] bpo-34922: Fix integer overflow in the digest() and hexdigest() methods (GH-9751) (GH-9798)

[issue34922] hashlib segmentation fault

2018-10-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +9184 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34953] Implement `mmap.mmap.__repr__`

2018-10-10 Thread Ram Rachum
Ram Rachum added the comment: There are a few ways we can go with this, depending on how verbose we want to be and how willing we are to make calls to the data. Here are a few pieces of information we could expose: - Length - Whether it's a file or anonymous memory - The entire contents

[issue33729] Hashlib/blake2* missing 'data' keyword argument

2018-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset f543e18708efb04ed3a0b78c8dc31fbb1404ac7d by Serhiy Storchaka in branch '3.6': [3.6] bpo-33729: Fix issues with arguments parsing in hashlib. (GH-8346) (GH-8581) (GH-9657)

[issue34922] hashlib segmentation fault

2018-10-10 Thread Serhiy Storchaka
Change by Serhiy Storchaka : -- pull_requests: +9183 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34922] hashlib segmentation fault

2018-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: New changeset 9b8c2e767643256202bb11456ba8665593b9a500 by Serhiy Storchaka in branch 'master': bpo-34922: Fix integer overflow in the digest() and hexdigest() methods (GH-9751)

[issue34922] hashlib segmentation fault

2018-10-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +9182 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34955] passing a dict to bytes() gives unhelpful error message

2018-10-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: > I'm not sure the error message can be improved, so I suggest closing this > issue. I concur. -- assignee: -> rhettinger nosy: +rhettinger resolution: -> not a bug ___ Python tracker

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-10 Thread miss-islington
miss-islington added the comment: New changeset 57038bcb24407a46e6d278d0ab4b6ad25bbf by Miss Islington (bot) in branch '3.7': bpo-34576 warn users on security for http.server (GH-9720) https://github.com/python/cpython/commit/57038bcb24407a46e6d278d0ab4b6ad25bbf --

[issue26005] Denial of Service in SimpleHTTPServer and BaseHTTPServer

2018-10-10 Thread miss-islington
miss-islington added the comment: New changeset 57038bcb24407a46e6d278d0ab4b6ad25bbf by Miss Islington (bot) in branch '3.7': bpo-34576 warn users on security for http.server (GH-9720) https://github.com/python/cpython/commit/57038bcb24407a46e6d278d0ab4b6ad25bbf --

[issue34930] sha1module: Switch sha1 implementation to sha1dc/hardened sha1

2018-10-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: Assigning to Christian to make the call. +1 for option #1, replacing sha1 implementation with the harden version, helping us move close to more-secure-by-default. -- assignee: -> christian.heimes nosy: +rhettinger

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-10 Thread miss-islington
miss-islington added the comment: New changeset 3baee3b39765f5e8ec616b2b71b731b140486394 by Miss Islington (bot) in branch '3.6': bpo-34576 warn users on security for http.server (GH-9720) https://github.com/python/cpython/commit/3baee3b39765f5e8ec616b2b71b731b140486394 -- nosy:

[issue26005] Denial of Service in SimpleHTTPServer and BaseHTTPServer

2018-10-10 Thread miss-islington
miss-islington added the comment: New changeset 3baee3b39765f5e8ec616b2b71b731b140486394 by Miss Islington (bot) in branch '3.6': bpo-34576 warn users on security for http.server (GH-9720) https://github.com/python/cpython/commit/3baee3b39765f5e8ec616b2b71b731b140486394 -- nosy:

[issue34956] 3.7.0 _tkinter module links against /System/Library/Frameworks

2018-10-10 Thread Kevin Walzer
New submission from Kevin Walzer : I'm trying to build Python 3.7.0 on macOS 10.14, and Tkinter is not linking to my installation of Tcl/Tk 8.6.8 in /Library/Frameworks. Instead it is linking to the ancient 8.5 Tk installed in /System/Library/Frameworks. My usual way of forcing Python to

[issue34203] documentation: recommend Python 3 over 2 in faq

2018-10-10 Thread Gus Goulart
Gus Goulart added the comment: Thanks for pointing that out. If you don't mind, I have created a PR to address your requests. -- nosy: +gus, taleinat ___ Python tracker ___

[issue34203] documentation: recommend Python 3 over 2 in faq

2018-10-10 Thread Gus Goulart
Change by Gus Goulart : -- keywords: +patch pull_requests: +9180 stage: needs patch -> patch review ___ Python tracker ___ ___

[issue26005] Denial of Service in SimpleHTTPServer and BaseHTTPServer

2018-10-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +9179 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +9176 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +9178 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26005] Denial of Service in SimpleHTTPServer and BaseHTTPServer

2018-10-10 Thread miss-islington
Change by miss-islington : -- pull_requests: +9177 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue26005] Denial of Service in SimpleHTTPServer and BaseHTTPServer

2018-10-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 1d26c72e6a9c5b28b27c158f2f196217707dbb0f by Senthil Kumaran (Felipe Rodrigues) in branch 'master': bpo-34576 warn users on security for http.server (#9720) https://github.com/python/cpython/commit/1d26c72e6a9c5b28b27c158f2f196217707dbb0f

[issue34576] [EASY doc] http.server, SimpleHTTPServer: warn users on security

2018-10-10 Thread Senthil Kumaran
Senthil Kumaran added the comment: New changeset 1d26c72e6a9c5b28b27c158f2f196217707dbb0f by Senthil Kumaran (Felipe Rodrigues) in branch 'master': bpo-34576 warn users on security for http.server (#9720) https://github.com/python/cpython/commit/1d26c72e6a9c5b28b27c158f2f196217707dbb0f

[issue26467] Add async magic method support to unittest.mock.Mock

2018-10-10 Thread Yury Selivanov
Change by Yury Selivanov : -- nosy: +yselivanov ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34953] Implement `mmap.mmap.__repr__`

2018-10-10 Thread Eric V. Smith
New submission from Eric V. Smith : What do you propose the repr would look like? -- components: +Interpreter Core -Library (Lib) nosy: +eric.smith ___ Python tracker ___

[issue12978] Figure out extended attributes on BSDs

2018-10-10 Thread Ned Deily
Ned Deily added the comment: On 2018-10-02, worr asked on the python-dev mailing list: > Can I get a review for GH-1690[PR 1690]? It fixes bpo-12978 and > has been sitting for a handful of years now. This adds > support for os.*xattr on DragonflyBSD, FreeBSD and NetBSD. -- versions:

[issue34955] passing a dict to bytes() gives unhelpful error message

2018-10-10 Thread Eric V. Smith
Eric V. Smith added the comment: You can in fact pass a dict to bytes(), as long as the keys are ints in the correct range: >>> bytes({0:10, 1:20}) b'\x00\x01' I'm not claiming it's very useful, but it does conform to the docs. I'm not sure the error message can be improved, so I suggest

[issue34930] sha1module: Switch sha1 implementation to sha1dc/hardened sha1

2018-10-10 Thread Antoine Pietri
Antoine Pietri added the comment: On Wed, Oct 10, 2018 at 11:27 PM STINNER Victor wrote: > I dislike modifying a hash function to return its output but keep the same > name. For name, "SHA1" must remain "SHA1". If you want a variant, it should > have a different name, but I would expect

[issue34954] Getting an email's subject is error-prone

2018-10-10 Thread R. David Murray
R. David Murray added the comment: The new policies *make* the email library that higher level library, that was pretty much the whole point :) I don't know how to make getting the fully decoded subject more intuitive than: msg['subject'] The fact that you have to specify a policy is

[issue34914] Clarify text encoding used to enable UTF-8 mode

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: Well, I'm not saying that using gb18030 with UTF-8 will be just fine for everything. Mojibake is likely around the corner :-) C locale coercion and the UTF-8 mode are workarounds for the crappy and wild Unix world :-) --

[issue34914] Clarify text encoding used to enable UTF-8 mode

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: I'm not sure that I understand your issue. There are 3 ways to enable the UTF-8 Mode: * if the LC_CTYPE locale is "C" or "POSIX" * if PYTHONUTF8 env var is equal to "1" * using -X utf8 or -X utf8=1 command line option For the first 2 cases are fine if the

[issue21880] IDLE: Ability to run 3rd party code checkers

2018-10-10 Thread Tal Einat
Tal Einat added the comment: Update: I've nearly got an updated version ready and working based on the current master branch. I hope to have a PR up by tomorrow. -- ___ Python tracker

[issue34922] hashlib segmentation fault

2018-10-10 Thread Ned Deily
Ned Deily added the comment: We've reached the cutoff point for 3.7.1rc2 and 3.6.7rc2 and I don't see a PR or a resolution of this for either branch yet. If there's a chance for merged PRs in the next couple of hours, I'll wait a bit longer but otherwise these fixes will have to wait.

[issue34930] sha1module: Switch sha1 implementation to sha1dc/hardened sha1

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: I dislike modifying a hash function to return its output but keep the same name. For name, "SHA1" must remain "SHA1". If you want a variant, it should have a different name, but I would expect that the existing sha1 function remains unchanged. How do you

[issue23867] Argument Clinic: inline parsing code for 1-argument functions

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: I'm a little bit sad that the PR doesn't add new tests :-( -- ___ Python tracker ___ ___

[issue34955] passing a dict to bytes() gives unhelpful error message

2018-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: bytes() accepts: 1. An integer. 2. An object supporting the buffer protocol. 3. An iterable of integers in the range 0 to 255. Dict is an iterable. But iterating it produces string object which cannot be interpreted as an integer. -- nosy:

[issue34951] cookielib/cookiejar cookies' Expires date parse fails with long month names

2018-10-10 Thread Martin Panter
Martin Panter added the comment: RFC 6265 says that only the first three letters of the month are significant, and the rest of the token should be ignored. See : month = ( "jan" / "feb" / "mar" / "apr" / "may" / "jun" / "jul" / "aug" /

[issue34955] passing a dict to bytes() gives unhelpful error message

2018-10-10 Thread Marnanel Thurman
New submission from Marnanel Thurman : bytes() doesn't accept a dict as parameter. If you attempt to pass one, you receive a TypeError with the baffling message "'str' object cannot be interpreted as an integer". >> bytes({'a':1}) Traceback (most recent call last): File "", line 1, in

[issue34725] Py_GetProgramFullPath() odd behaviour in Windows

2018-10-10 Thread Mario
Mario added the comment: On 10/10/2018 01:11, Steve Dower wrote: > > Steve Dower added the comment: > > We'll need to bring in venv specialists to check whether using it outside of > Py_Main() is valid. Or perhaps you could explain what you are actually trying > to do? > Sure 1) Create

[issue34954] Getting an email's subject is error-prone

2018-10-10 Thread Alex Corcoles
Alex Corcoles added the comment: To clarify (and maybe help someone which might come across), you mean: In [1]: message_text = """To: a...@corcoles.net ...: Subject: ** ACKNOWLEDGEMENT Host Alert: archerc7.bcn.int.pdp7.net is DOWN ...: ** ...: User-Agent: Heirloom mailx 12.5 7/5/10

[issue34954] Getting an email's subject is error-prone

2018-10-10 Thread R. David Murray
R. David Murray added the comment: Use the new email policies in python3. It handles all the decoding for you. I'm afraid you are on your own for python2. -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python

[issue34953] Implement `mmap.mmap.__repr__`

2018-10-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34954] Getting an email's subject is error-prone

2018-10-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34951] cookielib/cookiejar cookies' Expires date parse fails with long month names

2018-10-10 Thread Alberto Moral
Alberto Moral added the comment: Yes, I was thinking that it could be a matter of configuration of the server (?). By the way, and just for fun, I've just realized that truncating mon at the begining of the _str2time funtion is a very bad idea because mon could also be an int. A better

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-10 Thread Yury Selivanov
Change by Yury Selivanov : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed versions: +Python 3.6 ___ Python tracker ___

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-10 Thread Yury Selivanov
Yury Selivanov added the comment: I'll close this issue now. If you find another bug in how asyncio handles async generators please open a new one. Thanks! -- ___ Python tracker

[issue34951] cookielib/cookiejar cookies' Expires date parse fails with long month names

2018-10-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: No problem, I am also not an expert and I just skimmed through the RFC and cannot find any point related to month full name. So I just wanted to check if there are any recent changes I am missing or if the server is configured to set cookie

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-10 Thread Yury Selivanov
Yury Selivanov added the comment: New changeset a14dda5df62369d01db6c7519e73aae71d0e7cfe by Yury Selivanov (twisteroid ambassador) in branch '3.6': [3.6] bpo-34769: Thread safety for _asyncgen_finalizer_hook(). (GH-9716) (GH-9792)

[issue34951] cookielib/cookiejar cookies' Expires date parse fails with long month names

2018-10-10 Thread Alberto Moral
Alberto Moral added the comment: Thanks for your answer. I have not found any RFCs with full month names either. I'm afraid I'm not an expert here. But the case is that I get them in my work. Here is an example of response header: HTTP/1.1 200 OK Server: Oracle-iPlanet-Web-Server/7.0

[issue34954] Getting an email's subject is error-prone

2018-10-10 Thread Alex Corcoles
New submission from Alex Corcoles : Hi, This is something that has hit us a few times, as we write a significant quantity of software which parses email messages. The thing is, we use email.header.decode_header to decode the Subject: header and it is pretty common for headers to be

[issue34953] Implement `mmap.mmap.__repr__`

2018-10-10 Thread Ram Rachum
Change by Ram Rachum : -- components: Library (Lib) nosy: cool-RR priority: normal severity: normal status: open title: Implement `mmap.mmap.__repr__` type: enhancement versions: Python 3.8 ___ Python tracker

[issue29708] support reproducible Python builds

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset a6b3ec5b6d4f6387820fccc570eea08b9615620d by Victor Stinner (Elvis Pranskevichus) in branch 'master': bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)

[issue34022] 6 tests fail using SOURCE_DATE_EPOCH env var

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset a6b3ec5b6d4f6387820fccc570eea08b9615620d by Victor Stinner (Elvis Pranskevichus) in branch 'master': bpo-34022: Stop forcing of hash-based invalidation with SOURCE_DATE_EPOCH (GH-9607)

[issue34769] _asyncgen_finalizer_hook running in wrong thread

2018-10-10 Thread twisteroid ambassador
Change by twisteroid ambassador : -- pull_requests: +9174 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue24209] Allow IPv6 bind in http.server

2018-10-10 Thread Radek Podgorny
Change by Radek Podgorny : -- nosy: +rpodgorny ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34926] Allow querying a Path's mime-type

2018-10-10 Thread Antoine Pitrou
Antoine Pitrou added the comment: New changeset 7e18deef652a9d413d5dbd19d61073ba7eb5460e by Antoine Pitrou (Mayank Asthana) in branch 'master': bpo-34926: Make mimetypes.guess_type accept os.PathLike objects (GH-9777)

[issue34878] Lock Objects documentation clarification

2018-10-10 Thread Raymond Hettinger
Raymond Hettinger added the comment: I concur with Benjamin that the docs are reasonable as-is. -- nosy: +rhettinger resolution: -> rejected status: open -> closed ___ Python tracker

[issue34866] CGI DOS vulnerability via long post list

2018-10-10 Thread Matthew Belisle
Matthew Belisle added the comment: Sorry, looks like I forgot to attach example.py. Attaching now. -- Added file: https://bugs.python.org/file47861/example.py ___ Python tracker

[issue34906] Fix typo in the documentation

2018-10-10 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34951] cookielib/cookiejar cookies' Expires date parse fails with long month names

2018-10-10 Thread Karthikeyan Singaravelan
Karthikeyan Singaravelan added the comment: Thanks for the report. As far as I can see from the RFC month seems to follow three letter code. Is there a part of RFC where Python is not compliant? I can't find any related issues or RFC links allowing month format specified in the report. Can

[issue34906] Fix typo in the documentation

2018-10-10 Thread Julien Palard
Julien Palard added the comment: New changeset e7ebf1453beb1a40e65630897fa1e35a3c2d3ec1 by Julien Palard (Stéphane Wirtel) in branch '3.6': [3.6] bpo-34906: Doc: Fix typos (2) (GH-9735) https://github.com/python/cpython/commit/e7ebf1453beb1a40e65630897fa1e35a3c2d3ec1 --

[issue34948] Document __warningregister__

2018-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: And this case looks like playing with implementation details. The official way to make the specified warning emitted more than once is to use warnings.filterwarnings(): >>> import warnings >>> warnings.filterwarnings('always', "NOBODY expects the Spanish

[issue34906] Fix typo in the documentation

2018-10-10 Thread Julien Palard
Julien Palard added the comment: New changeset a4910c2498b1d6ad61d5ae34ba991d61d6a3 by Julien Palard (Stéphane Wirtel) in branch '3.7': [3.7] bpo-34906: Doc: Fix typos (2) (GH-9735) https://github.com/python/cpython/commit/a4910c2498b1d6ad61d5ae34ba991d61d6a3 --

[issue34951] cookielib/cookiejar cookies' Expires date parse fails with long month names

2018-10-10 Thread Karthikeyan Singaravelan
Change by Karthikeyan Singaravelan : -- nosy: +xtreak ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34839] doctest: Change example under warnings section

2018-10-10 Thread Stéphane Wirtel
Stéphane Wirtel added the comment: Hi Raymond and Tim, I just updated the PR with your recommendations. Have a nice day, -- ___ Python tracker ___

[issue24294] DeprecationWarnings should be visible by default in the interactive REPL

2018-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: After implementing PEP 565, are there reasons to keep this issue open? -- status: open -> pending ___ Python tracker ___

[issue34952] Problems with the warningregistry() decorator in Lib/unittest/test/test_loader.py

2018-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: The decorator was added in issue16662. -- ___ Python tracker ___ ___ Python-bugs-list mailing

[issue34952] Problems with the warningregistry() decorator in Lib/unittest/test/test_loader.py

2018-10-10 Thread Serhiy Storchaka
New submission from Serhiy Storchaka : There are other issues in the warningregistry() decorator in Lib/unittest/test/test_loader.py. It contains a code: missing = [] saved = getattr(warnings, '__warningregistry__', missing).copy() ... if saved is missing: The problem is

[issue23420] python -m cProfile -s fails with non informative message

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

[issue34906] Fix typo in the documentation

2018-10-10 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9173 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34906] Fix typo in the documentation

2018-10-10 Thread Stéphane Wirtel
Change by Stéphane Wirtel : -- pull_requests: +9172 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue28397] Faster index range checks

2018-10-10 Thread Serhiy Storchaka
Serhiy Storchaka added the comment: See also PR 9784 where Raymond shown assempler code generated for two variants. There is the similar difference on 64-bit platform with GCC 7.3: $ gcc -O3 -o issue28397 issue28397-2.c $ time ./issue28397-2 0 real0m2,740s user0m2,739s sys

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: Ok, the issue should now be fixed. Thanks Iryna Shcherbina for your bug report, and thanks Marcel Plch for your initial fix! Marcel: my final fix is based on yours, I just made the "next" conditional. -- resolution: -> fixed stage: patch review ->

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: New changeset b274f1ce5c62dd517338b8323fb9eb5aaa09c7cd by Victor Stinner in branch '2.7': bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (GH-9656) (GH-9788)

[issue32962] test_gdb fails in debug build with `-mcet -fcf-protection -O0`

2018-10-10 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9171 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34748] Incorrect HTML link in functools.partial

2018-10-10 Thread Lysandros Nikolaou
Lysandros Nikolaou added the comment: Can I submit a PR for this or is anybody else on it? -- nosy: +lys.nikolaou ___ Python tracker ___

[issue28397] Faster index range checks

2018-10-10 Thread Sergey Fedoseev
Change by Sergey Fedoseev : -- nosy: +sir-sigurd ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34948] Document __warningregister__

2018-10-10 Thread Steven D'Aprano
Steven D'Aprano added the comment: On Wed, Oct 10, 2018 at 05:11:01AM +, Serhiy Storchaka wrote: > I don't think that it is necessary to state its format. It is an > opaque dictionary, and its format is an implementation detail. There is at least one use-case for wanting to manipulate

[issue34945] regression with ./python -m test and pdb

2018-10-10 Thread STINNER Victor
STINNER Victor added the comment: More generally, previously it was possible to add print("HERE") in tests. I use that often do debug tests. Now, the output is hidden, I don't understand the rationale for hiding the output. -- nosy: +vstinner ___

[issue34935] Misleading error message in str.decode()

2018-10-10 Thread Ezio Melotti
Change by Ezio Melotti : -- assignee: -> ezio.melotti resolution: -> not a bug stage: -> resolved status: open -> closed type: -> behavior ___ Python tracker ___

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-10-10 Thread Pablo Galindo Salgado
Change by Pablo Galindo Salgado : -- stage: patch review -> resolved status: open -> closed ___ Python tracker ___ ___

[issue34751] Hash collisions for tuples

2018-10-10 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > it will typically change only the last two bits of the final result Which is great if all that you care about is avoiding collisions. -- ___ Python tracker

[issue34951] cookielib/cookiejar cookies' Expires date parse fails with long month names

2018-10-10 Thread Alberto Moral
New submission from Alberto Moral : http.cookiejar (cookielib, for python2.*) does not parse some cookies' Expires date. For example: "Friday, 1-August-1997 00:00:00 GMT" does not work (while: "Fri, 01 Aug 1997 00:00:00 GMT" works fine) This is basically due to long names of months (it is

[issue33613] test_multiprocessing_fork: test_semaphore_tracker_sigint() fails with -W error

2018-10-10 Thread Pablo Galindo Salgado
Pablo Galindo Salgado added the comment: New changeset 3058b7d85697f95573fa042d6b9e4d6e2a9e739c by Pablo Galindo in branch 'master': bpo-33613: Fix test_semaphore_tracker signal tests when using -Werror (GH-9778)

[issue21109] tarfile: Traversal attack vulnerability

2018-10-10 Thread Tal Einat
Tal Einat added the comment: > Having said that, I am refactoring the tests right now since the test file is > ~3000 lines and adding SafeTarFile tests for every TarFile test is cluttering > it. This must be done without adding much test code and with minimal changes to the existing tests.

[issue5614] Malloc errors in test_io

2018-10-10 Thread Ronald Oussoren
Ronald Oussoren added the comment: The error is printed by libc, there's nothing we can do about that. -- ___ Python tracker ___

[issue23596] gzip argparse interface

2018-10-10 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue34913] Document gzip command line interface

2018-10-10 Thread Julien Palard
Change by Julien Palard : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue34913] Document gzip command line interface

2018-10-10 Thread Julien Palard
Julien Palard added the comment: New changeset 7c817e620be9013466d4dd008a2f1dbffcf7517e by Julien Palard (Stéphane Wirtel) in branch 'master': bpo-34913: Document gzip command line interface (GH-9782) https://github.com/python/cpython/commit/7c817e620be9013466d4dd008a2f1dbffcf7517e

[issue25592] distutils docs: data_files always uses sys.prefix

2018-10-10 Thread Jeroen Demeyer
Jeroen Demeyer added the comment: > Did you try with a minimal project containing a C extension? > Did you install in a system where sys.prefix != sys.exec_prefix? Yes to both questions. -- ___ Python tracker