[issue46519] test_typing failing on branch 3.10
New submission from Matheus Castanho : test_typing on branch 3.10 is failing after GH-30770 [1] test test_typing failed -- Traceback (most recent call last): File "/home/mscastanho/AT/python-next-220124/opt/at-next-16.0-0-alpha/lib64/python3.10/test/test_typing.py", line 3917, in setUpClass UserId = NewType('UserId', int) NameError: name 'NewType' is not defined Looks like `from typing import NewType` is not needed anymore in this file on the main branch (where this commit originated), but still is for 3.10. [1] https://github.com/python/cpython/pull/30770 -- components: Tests messages: 411587 nosy: mscastanho priority: normal severity: normal status: open title: test_typing failing on branch 3.10 versions: Python 3.10 ___ Python tracker <https://bugs.python.org/issue46519> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue40018] test_ssl fails with OpenSSL 1.1.1e
Matheus Castanho added the comment: Hi, I believe this is the exact same problem as reported by https://bugs.python.org/issue39787 Both issues could be closed by the same fix =) -- nosy: +mscastanho ___ Python tracker <https://bugs.python.org/issue40018> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue39787] test_ssl and test_urllib2_localnet failing with new OpenSSL
New submission from Matheus Castanho : test_ssl and test_urllib2_localnet are failing when Python is built against top-of-tree OpenSSL. I'm attaching the output of: `regrtest.py test_ssl test_urllib2_localnet -W` The output is from a powerpc64le machine with Python 3.8.2+ (1bbb81b251bc) and OpenSSL master (db943f43a60d1b). A git bisect showed the problems started with the following OpenSSL commit: commit db943f43a60d1b5b1277e4b5317e8f288e7a0a3a Author: Matt Caswell Date: Fri Jan 17 17:39:19 2020 + Detect EOF while reading in libssl If we hit an EOF while reading in libssl then we will report an error back to the application (SSL_ERROR_SYSCALL) but errno will be 0. We add an error to the stack (which means we instead return SSL_ERROR_SSL) and therefore give a hint as to what went wrong. Contains a partial fix for #10880 Reviewed-by: Tomas Mraz Reviewed-by: Dmitry Belyavskiy (Merged from https://github.com/openssl/openssl/pull/10882) This also looks similar to: https://bugs.python.org/issue28689 -- assignee: christian.heimes components: SSL, Tests files: test-output.txt messages: 362915 nosy: christian.heimes, mscastanho priority: normal severity: normal status: open title: test_ssl and test_urllib2_localnet failing with new OpenSSL type: behavior versions: Python 3.7, Python 3.8, Python 3.9 Added file: https://bugs.python.org/file48931/test-output.txt ___ Python tracker <https://bugs.python.org/issue39787> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com