[issue40791] hmac.compare_digest could try harder to be constant-time.

2020-11-22 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40791] hmac.compare_digest could try harder to be constant-time.

2020-11-22 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset db95802bdfac4d13db3e2a391ec7b9e2f8d92dbe by Miss Islington (bot) in branch '3.7': bpo-40791: Make compare_digest more constant-time. (GH-23438) https://github.com/python/cpython/commit/db95802bdfac4d13db3e2a391ec7b9e2f8d92dbe

[issue1633941] for line in sys.stdin: doesn't notice EOF the first time

2020-11-03 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> out of date stage: test needed -> resolved status: pending -> closed ___ Python tracker <https://bugs.python.org/

[issue42160] unnecessary overhead in tempfile

2020-10-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: I also wonder if the overhead of getpid() is actually significant for anything. -- ___ Python tracker <https://bugs.python.org/issue42

[issue42160] unnecessary overhead in tempfile

2020-10-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: Wouldn't it be simpler to use random.SystemRandom instead? -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue42

[issue42060] Usage of assert in http/client.py

2020-10-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: Are these assertion failures actually reachable due to malformed input? If so, there should be some tests to that effect. Otherwise, if they're actually "impossible" situations, I don't think this change is necessary. -- nosy: +benjami

[issue37428] SSLContext.post_handshake_auth implicitly enables cert validation

2020-10-16 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue37440] httplib should enable post-handshake authentication for TLS 1.3

2020-10-16 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue33483] build system requires explicit compiler, but should discover it

2020-10-16 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue42030] Drop support for dynload_aix

2020-10-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 1dd6d956a3ddf2cf6d4a69241dba8cd1379421b9 by Kevin Adler in branch 'master': closes bpo-42030: Remove legacy AIX dynload support (GH-22717) https://github.com/python/cpython/commit/1dd6d956a3ddf2cf6d4a69241dba8cd1379421b9

[issue42030] Drop support for dynload_aix

2020-10-16 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think we should just axe it. -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue42030> ___ ___

[issue42029] Remove dynload_dl.c

2020-10-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 0cafcd3c56c9475913d8d4fd0223c297dbb70ac6 by Kevin Adler in branch 'master': closes bpo-42029: Remove dynload_dl (GH-22687) https://github.com/python/cpython/commit/0cafcd3c56c9475913d8d4fd0223c297dbb70ac6 -- nosy

[issue41949] Redefinition of HMAC functions prevents static linking

2020-10-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: Note these are guarded by #if (OPENSSL_VERSION_NUMBER < 0x1010L) || defined(LIBRESSL_VERSION_NUMBER) which suggests that needs to tweaked -- nosy: +benjamin.peterson ___ Python tracker <

[issue35561] Valgrind reports Syscall param epoll_ctl(event) points to uninitialised byte(s)

2020-09-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: The valgrind bug was also fixed https://bugs.kde.org/show_bug.cgi?id=422623. -- ___ Python tracker <https://bugs.python.org/issue35

[issue38068] clean up configure logic for gettimeofday

2020-09-21 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29334] ssl.SSLObject method getpeercert() is buggy, do_handshake() is strange

2020-09-19 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29887] test_normalization doesn't work

2020-09-19 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: backport needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue29107] traceback module incorrectly formats args-less syntax errors

2020-09-18 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b6d2acb1b1a21f857c17cfb6e0e97a7b8bdc0171 by Benjamin Peterson in branch '3.9': [3.9] closes bpo-41723: Fix an error in the py_compile documentation. (GH-22118) https://github.com/python/cpython/commit/b6d2acb1b1a21f857c17cfb6e0e97a7b8bdc0171

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +21202 pull_request: https://github.com/python/cpython/pull/22118 ___ Python tracker <https://bugs.python.org/issue41

[issue41723] doc: issue in a sentence in py_compile

2020-09-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 5371a464ce88ffc88f3bb95cfd86f355b7d02953 by Zackery Spytz in branch 'master': closes bpo-41723: Fix an error in the py_compile documentation. (GH-22110) https://github.com/python/cpython/commit/5371a464ce88ffc88f3bb95cfd86f355b7d02953

[issue41689] allow __text_signature__ to work for c heap types

2020-09-02 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 3940333637b98a2781869977b077552514784529 by Benjamin Peterson in branch 'master': closes bpo-41689: Preserve text signature from tp_doc in C heap type creation. (GH-22058) https://github.com/python/cpython/commit

[issue41689] allow __text_signature__ to work for c heap types

2020-09-01 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +21149 stage: -> patch review pull_request: https://github.com/python/cpython/pull/22058 ___ Python tracker <https://bugs.python.org/issu

[issue41689] allow __text_signature__ to work for c heap types

2020-09-01 Thread Benjamin Peterson
New submission from Benjamin Peterson : C types can add a signature to their __doc__. Currently, PyType_FromSpec just deletes such signatures instead of making them visible from __text_signature__. -- components: C API messages: 376216 nosy: benjamin.peterson priority: normal severity

[issue41533] Bugfix: va_build_stack leaks the stack if do_mkstack fails

2020-08-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 75c80b0bda89debf312f075716b8c467d411f90e by Tony Solomonik in branch 'master': closes bpo-41533: Fix a potential memory leak when allocating a stack (GH-21847) https://github.com/python/cpython/commit/75c80b0bda89debf312f075716b8c467d411f90e

[issue41651] Pip: Wrong Showing of Progressbar when Downloading Modules

2020-08-28 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> third party stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue13828] Further improve casefold documentation

2020-08-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: Correctness of casefolding is defined by the Unicode standard, which currently states that "ß" folds to "ss". -- ___ Python tracker <https://bug

[issue38156] input fucntion raises SystemError after specific input.

2020-07-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset a74eea238f5baba15797e2e8b570d153bc8690a7 by Benjamin Peterson in branch 'master': closes bpo-38156: Always handle interrupts in PyOS_StdioReadline. (GH-21569) https://github.com/python/cpython/commit/a74eea238f5baba15797e2e8b570d153bc8690a7

[issue38156] input fucntion raises SystemError after specific input.

2020-07-20 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch nosy: +benjamin.peterson nosy_count: 1.0 -> 2.0 pull_requests: +20712 stage: -> patch review pull_request: https://github.com/python/cpython/pull/21569 ___ Python tracker <https://bugs.p

[issue41340] Not very good strcpy implementation in cpython/Python/strdup.c

2020-07-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: I don't think we need to spend much effort on this implementation, since it will only be used if the system libc doesn't have a strdup already. -- nosy: +benjamin.peterson ___ Python tracker <ht

[issue41271] Add support for io_uring to cpython

2020-07-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: I agree that adding stdlib support is premature. io_uring has a large and growing API surface. It will take some experimentation to see what the best way to expose its power to Python is. -- nosy: +benjamin.peterson

[issue37237] python 2.16 from source on Ubuntu 18.04

2020-07-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> out of date stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue41235] Incorrect error handling in SSLContext.load_dh_params()

2020-07-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c8c818b0d73680516d5841597b705a1feeb42113 by Miss Islington (bot) in branch '3.7': closes bpo-41235: Fix the error handling in SSLContext.load_dh_params() (GH-21389) https://github.com/python/cpython/commit

[issue41235] Incorrect error handling in SSLContext.load_dh_params()

2020-07-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset aebc0495572c5bb85d2bd97d27cf93ab038b5a6a by Zackery Spytz in branch 'master': closes bpo-41235: Fix the error handling in SSLContext.load_dh_params() (GH-21385) https://github.com/python/cpython/commit

[issue40223] Add -fwrapv for new icc versions

2020-06-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: I agree that your fix it correct, though because even if the specific issue you saw is a compiler bug, we need to tell our compilers than Python assumes signed wraparound. -- ___ Python tracker <ht

[issue40223] Add -fwrapv for new icc versions

2020-06-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: I don't readily have access to ICC, so I can't personally debug this. That commit was supposed to be a functional noop, though it may have exposed different optimization opportunities to the compiler. I would like to see Python not assumed signed

[issue39189] Use io.DEFAULT_BUFFER_SIZE for filecmp BUFSIZE variable

2020-06-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: I don't think there's a strong reason these values need to be same. Note, even today, they likely won't be the same since io.DEFAULT_BUFFER_SIZE is only a fallback buffer size used if st_blksize is not set

[issue28557] error message for bad raw readinto

2020-06-15 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 8666356280084f0426c28a981341f72eaaacd006 by David Szotten in branch 'master': closes bpo-28557: error message for bad raw readinto (GH-7496) https://github.com/python/cpython/commit/8666356280084f0426c28a981341f72eaaacd006

[issue40971] Documentation still mentions 'u' string formatting option

2020-06-15 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +easy stage: -> needs patch ___ Python tracker <https://bugs.python.org/issue40971> ___ ___ Python-bugs-list mai

[issue29017] Docs: PySide is provided by 'The Qt Company' and not by 'Nokia'

2020-05-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 4649202ea75d48e1496e99911709824ca2d3170e by Samuel Gaist in branch 'master': closes bpo-29017: Update the bindings for Qt information with PySide2 (GH-20149) https://github.com/python/cpython/commit/4649202ea75d48e1496e99911709824ca2d3170e

[issue39189] Use io.DEFAULT_BUFFER_SIZE for filecmp BUFSIZE variable

2020-05-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Is there some reason a priori that these constants should be defined to be the same rather than being the same coincidentally? -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue39

[issue14562] urllib2 maybe blocks too long with small chunks

2020-05-27 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> out of date stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40790] Python should enable computed gotos on Mac by default

2020-05-27 Thread Benjamin Peterson
Benjamin Peterson added the comment: The configure script sets the result of compiler probing with HAVE_COMPUTED_GOTOS not USE_COMPUTED_GOTOS. -- nosy: +benjamin.peterson resolution: -> works for me stage: -> resolved status: open -&g

[issue40784] test_sqlite: CheckFuncDeterministic() fails with SQLite 3.32

2020-05-26 Thread Benjamin Peterson
Benjamin Peterson added the comment: This seems like it's testing an implementation detail. -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue40

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset b03e0ee226b72da737dd0fbf39b635d13bcc220d by Benjamin Peterson in branch '3.9': [3.9] closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403) (#20407) https://github.com/python/cpython/commit

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +19669 pull_request: https://github.com/python/cpython/pull/20407 ___ Python tracker <https://bugs.python.org/issue40

[issue40774] "Important" block in documentation of asyncio.create_subprocess_shell() not indented correctly

2020-05-25 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 4a0ac42c52a4d9ccfb0a78ab02aa03172ce0e31a by sth in branch 'master': closes bpo-40774: Fix docs indentation for asyncio.create_subprocess_shell() (GH-20403) https://github.com/python/cpython/commit/4a0ac42c52a4d9ccfb0a78ab02aa03172ce0e31a

[issue13248] deprecated in 3.2/3.3, should be removed in 3.5 or ???

2020-05-19 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue1776160] Buffer overflow when listing deeply nested directory

2020-05-14 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> wont fix stage: test needed -> resolved status: open -> closed ___ Python tracker <https://bugs.python.org/

[issue40580] Macintosh Documentation Still Bad

2020-05-09 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Docs: Using Python on a Macintosh has bad info per Apple site ___ Python tracker <https://bugs.python

[issue40385] Tools/checkpyc.py has been broken since PEP 552

2020-04-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset f82807746d26b4c047f7f3115065f20bb63fb5ff by Ammar Askar in branch 'master': closes bpo-40385: Remove Tools/scripts/checkpyc.py (GH-19709) https://github.com/python/cpython/commit/f82807746d26b4c047f7f3115065f20bb63fb5ff

[issue40385] Tools/checkpyc.py has been broken since PEP 552

2020-04-24 Thread Benjamin Peterson
Benjamin Peterson added the comment: I'd vote for axing it. -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue40385> ___ ___ Pytho

[issue26826] Expose new copy_file_range() syscall in os module.

2020-04-22 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40311] docs.python.org banner - release blocker for 2.7.18

2020-04-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: 0fc82e95878234291f23155a64408fced71892b2 -- resolution: -> fixed stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue15904] file,close() can fail assert on Windows in 2.7

2020-04-16 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> wont fix stage: needs patch -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39953] Let's update ssl error codes

2020-04-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 584a3cfda4d7a65ea0c1ea1ee541378bb7be46ca by Benjamin Peterson in branch 'master': closes bpo-40266, closes bpo-39953: Use numeric lib code if compiling against old OpenSSL. (GH-19506) https://github.com/python/cpython/commit

[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 584a3cfda4d7a65ea0c1ea1ee541378bb7be46ca by Benjamin Peterson in branch 'master': closes bpo-40266, closes bpo-39953: Use numeric lib code if compiling against old OpenSSL. (GH-19506) https://github.com/python/cpython/commit

[issue39953] Let's update ssl error codes

2020-04-13 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Mon, Apr 13, 2020, at 17:54, Christian Heimes wrote: > > Christian Heimes added the comment: > > Could you please give me a chance to review PRs for the SSL module? The original PR was open for 23 days before I merged it. I happy to he

[issue40266] Failure to build _ssl module on ubuntu xenial

2020-04-13 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +18857 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/19506 ___ Python tracker <https://bugs.python.org/issu

[issue39953] Let's update ssl error codes

2020-04-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 909b87d2bb3d6330d39c48e43f7f50f4d086cc41 by Benjamin Peterson in branch 'master': closes bpo-39953: Generate ifdefs around library code definitions. (GH-19490) https://github.com/python/cpython/commit/909b87d2bb3d6330d39c48e43f7f50f4d086cc41

[issue39953] Let's update ssl error codes

2020-04-12 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +18842 stage: resolved -> patch review pull_request: https://github.com/python/cpython/pull/19490 ___ Python tracker <https://bugs.python.org/issu

[issue39953] Let's update ssl error codes

2020-04-12 Thread Benjamin Peterson
Benjamin Peterson added the comment: Sorry, I thought I had tested with multissl. On Sun, Apr 12, 2020, at 06:22, Christian Heimes wrote: > > Christian Heimes added the comment: > > The PR broke backwards compatibility with OpenSSL 1.0.2 and LibreSSL. > OpenSSL 1.1.x intro

[issue39953] Let's update ssl error codes

2020-04-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 3e0dd3730b5eff7e9ae6fb921aa77cd26efc9e3a by Benjamin Peterson in branch 'master': closes bpo-39953: Update OpenSSL error codes table. (GH-19082) https://github.com/python/cpython/commit/3e0dd3730b5eff7e9ae6fb921aa77cd26efc9e3a

[issue39943] Meta: Clean up various issues in C internals

2020-04-09 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 38ada3bac8205a7690d573d715b0e84e60297c4c by Andy Lester in branch 'master': bpo-39943: Keep constness of pointer objects. (19405) https://github.com/python/cpython/commit/38ada3bac8205a7690d573d715b0e84e60297c4c -- nosy

[issue40216] Support --runstatedir in configure

2020-04-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: Upstream autoconf has not had a release in many years. Ubuntu packages a unreleased upstream version that adds runstatedir. Absent a more rigorous process for the regeneration of configure, this change is not useful; it will just get overwritten the next

[issue40166] UNICODE HOWTO: Change the total number of code points in the introduction section

2020-04-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 8ea10a94463f1ea217bcaef86f2ebd9d43240b4e by amaajemyfren in branch 'master': closes bpo-40166: Change Unicode Howto so that it does not have a specific number of assigned code points. (GH-19328) https://github.com/python/cpython/commit

[issue40184] Compiler warnings under sparc64

2020-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 411555075401aa831a2228196c2d8f9a54b6f577 by Benjamin Peterson in branch '3.8': [3.8] closes bpo-40184: Only define pysiphash if the hash algorithm is SIPHASH24. (GH-19373) https://github.com/python/cpython/commit

[issue40184] Compiler warnings under sparc64

2020-04-04 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +18735 pull_request: https://github.com/python/cpython/pull/19373 ___ Python tracker <https://bugs.python.org/issue40

[issue40184] Compiler warnings under sparc64

2020-04-04 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 1b21573a89632356737a24302dd64c9eb1457a7b by Batuhan Taşkaya in branch 'master': closes bpo-40184: Only define pysiphash if the hash algorithm is SIPHASH24. (GH-19369) https://github.com/python/cpython/commit

[issue40176] unterminated string literal tokenization error messages could be better

2020-04-03 Thread Benjamin Peterson
New submission from Benjamin Peterson : It has been pointed out to me that the errors the tokenizer produces for unterminated strings, "EOL while scanning string literal" and "EOF while scanning triple-quoted string literal", contain parsing jargon that make it dif

[issue40174] HAVE_CLOCK_GETTIME not repected in pytime.c

2020-04-03 Thread Benjamin Peterson
Benjamin Peterson added the comment: Does this cause a problem? At this point, it might be preferable to just assume clock_gettime exists on POSIX systems. -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue40

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ba8a2bcebfdb41acafea9a195e45e9d177dc216f by Benjamin Peterson in branch '2.7': [2.7] closes bpo-40125: Update multissltests.py to use OpenSSL 1.1.1f. (GH-19251) https://github.com/python/cpython/commit

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +18609 pull_request: https://github.com/python/cpython/pull/19251 ___ Python tracker <https://bugs.python.org/issue40

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset cd16661f903153ecac55f190ed682e576c5deb24 by Benjamin Peterson in branch 'master': closes bpo-40125: Update multissltests.py to use OpenSSL 1.1.1f. (GH-19248) https://github.com/python/cpython/commit/cd16661f903153ecac55f190ed682e576c5deb24

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch pull_requests: +18606 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19248 ___ Python tracker <https://bugs.python.org/issu

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread Benjamin Peterson
Change by Benjamin Peterson : -- versions: +Python 2.7, Python 3.7, Python 3.8 ___ Python tracker <https://bugs.python.org/issue40125> ___ ___ Python-bugs-list m

[issue40125] update OpenSSL 1.1.1 in multissltests.py to 1.1.1f

2020-03-31 Thread Benjamin Peterson
Change by Benjamin Peterson : -- assignee: christian.heimes components: SSL nosy: benjamin.peterson, christian.heimes priority: normal severity: normal status: open title: update OpenSSL 1.1.1 in multissltests.py to 1.1.1f versions: Python 3.9

[issue40109] List index doesn't work with multiple assignment

2020-03-29 Thread Benjamin Peterson
Benjamin Peterson added the comment: Python doesn't have multiple assignment, just tuple unpacking. Consider the order of evaluation here: 1. tmp = (6, x[2]) (i.e., (6, 2)) 2. x[2] = tmp[0] 3. tmp2 = x.index(6) (= 2) 4. x[tmp2] = tmp[1] (i.e., x[2] = 2) -- nosy: +benjamin.peterson

[issue40018] test_ssl fails with OpenSSL 1.1.1e

2020-03-28 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> wont fix stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue40017] Please support CLOCK_TAI in the time module.

2020-03-23 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 687fe979705dc588a46a35da884cc0198c67 by Russell Owen in branch 'master': closes bpo-40017: Add CLOCK_TAI constant to the time module. (GH-19096) https://github.com/python/cpython/commit/687fe979705dc588a46a35da884cc0198c67

[issue40021] Throwing an Exception results in stack overflow

2020-03-19 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> duplicate stage: -> resolved status: open -> closed superseder: -> Interpreter aborts when chaining an infinite number of exceptions versions: -Python 3.8 ___ Python tra

[issue39953] Let's update ssl error codes

2020-03-19 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch nosy: +benjamin.peterson nosy_count: 6.0 -> 7.0 pull_requests: +18441 stage: -> patch review pull_request: https://github.com/python/cpython/pull/19082 ___ Python tracker <https://bugs.p

[issue40018] test_ssl fails with OpenSSL 1.1.1e

2020-03-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think this is caused by their EOF change: https://github.com/openssl/openssl/issues/10880 read() now sometimes gives you the infamous OSError errno 0 rather than b'' at the end of the stream. -- ___ Python

[issue40018] test_ssl fails with OpenSSL 1.1.1e

2020-03-19 Thread Benjamin Peterson
New submission from Benjamin Peterson : == ERROR: test_ciphers (test.test_ssl.SimpleBackgroundTests) -- Traceback (most recent call last): File "

[issue40017] Please support CLOCK_TAI in the time module.

2020-03-19 Thread Benjamin Peterson
Benjamin Peterson added the comment: I think we could certainly take a patch to expose that constant if libc/kernel headers expose it. -- nosy: +benjamin.peterson ___ Python tracker <https://bugs.python.org/issue40

[issue38576] CVE-2019-18348: CRLF injection via the host part of the url passed to urlopen()

2020-03-18 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset e176e0c105786e9f476758eb5438c57223b65e7f by Matěj Cepl in branch '2.7': [2.7] closes bpo-38576: Disallow control characters in hostnames in http.client. (GH-19052) https://github.com/python/cpython/commit

[issue39926] unicodedata for Unicode 13.0.0

2020-03-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: If it makes you feel better, I got them, too. -- ___ Python tracker <https://bugs.python.org/issue39926> ___ ___ Python-bug

[issue39689] test_struct failure on s390x Fedora Clang buildbot

2020-03-11 Thread Benjamin Peterson
Benjamin Peterson added the comment: On Wed, Mar 11, 2020, at 07:41, Petr Viktorin wrote: > > > maybe we should be raising an error if the bytes are not a valid platform > > _Bool pattern? > > That's quite hard to test for. How so? We just make the same assumption yo

[issue39926] unicodedata for Unicode 13.0.0

2020-03-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset c77aa2d60b420747886f4258cf159bdbb7354100 by Benjamin Peterson in branch 'master': bpo-39926: Update unicodedata checksum tests for Unicode 13.0 update. (GH-18913) https://github.com/python/cpython/commit

[issue39926] unicodedata for Unicode 13.0.0

2020-03-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- pull_requests: +18267 pull_request: https://github.com/python/cpython/pull/18913 ___ Python tracker <https://bugs.python.org/issue39

[issue39926] unicodedata for Unicode 13.0.0

2020-03-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 051b9d08d1e6a8b1022a2bd9166be51c0b152698 by Benjamin Peterson in branch 'master': closes bpo-39926: Update Unicode to 13.0.0. (GH-18910) https://github.com/python/cpython/commit/051b9d08d1e6a8b1022a2bd9166be51c0b152698

[issue39922] Remove unused args in Python/compile.c

2020-03-10 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 76d5877b72cbe66eb3b6d8caa8d19f89a938ada2 by Andy Lester in branch 'master': closes bpo-39922: Remove unused args from four functions. (GH-18893) https://github.com/python/cpython/commit/76d5877b72cbe66eb3b6d8caa8d19f89a938ada2

[issue39926] unicodedata for Unicode 13.0.0

2020-03-10 Thread Benjamin Peterson
Change by Benjamin Peterson : -- keywords: +patch nosy: +benjamin.peterson nosy_count: 1.0 -> 2.0 pull_requests: +18265 stage: -> patch review pull_request: https://github.com/python/cpython/pull/18910 ___ Python tracker <https://bugs.p

[issue39898] Remove unused arg from append_formattedvalue in Python/ast_unparse.c

2020-03-08 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 28ca43b7e30e2eaa2997c3becd8b1a837484ae5c by Andy Lester in branch 'master': closes bpo-39898: Remove unused arg from append_formattedvalue. (GH-18840) https://github.com/python/cpython/commit/28ca43b7e30e2eaa2997c3becd8b1a837484ae5c

[issue39886] Remove unused arg in config_get_stdio_errors in Python/initconfig.c

2020-03-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset aa450a0364b6160be7dd61ec2d378abb0652f014 by Andy Lester in branch 'master': closes bpo-39886: Remove unused arg from config_get_stdio_errors. (GH-18823) https://github.com/python/cpython/commit/aa450a0364b6160be7dd61ec2d378abb0652f014

[issue39878] Remove unused args in Python/formatter_unicode.c

2020-03-07 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset ad0c775ea24bb827410f01ece9f191309292bb95 by Andy Lester in branch 'master': closes bpo-39878: Remove unused arguments from static functions. (GH-18822) https://github.com/python/cpython/commit/ad0c775ea24bb827410f01ece9f191309292bb95

[issue21401] python2 -3 does not warn about str/unicode to bytes conversions and comparisons

2020-03-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: Python 2 is done. -- nosy: +benjamin.peterson resolution: -> rejected stage: -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39127] _Py_HashPointer's void * argument should be const

2020-03-06 Thread Benjamin Peterson
Change by Benjamin Peterson : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker <https://bugs.python.or

[issue39872] Remove unused args from two functions in Python/symtable.c

2020-03-06 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset 9566842e892c1f600e1dcfadaab4643be8f32901 by Andy Lester in branch 'master': closes bpo-39872: Remove unused args from symtable_exit_block and symtable_visit_annotations. (GH-18800) https://github.com/python/cpython/commit

[issue39870] sys_displayhook_unencodable takes an unnecessary PyThreadState * argument

2020-03-05 Thread Benjamin Peterson
Benjamin Peterson added the comment: New changeset da4d656e951b00580d135ae6345656ecedf9d8d4 by Andy Lester in branch 'master': closes bpo-39870: Remove unused arg from sys_displayhook_unencodable. (GH-18796) https://github.com/python/cpython/commit/da4d656e951b00580d135ae6345656ecedf9d8d4

  1   2   3   4   5   6   7   8   9   10   >