[issue31892] ssl.get_server_certificate should allow specifying certificate / key type

2022-03-15 Thread Hanno Boeck
Hanno Boeck added the comment: Any update? :-) -- ___ Python tracker <https://bugs.python.org/issue31892> ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue32876] HTMLParser raises exception on some inputs

2022-01-14 Thread Hanno Boeck
Hanno Boeck added the comment: Now the example code raises an AssertionError(). Is that intended? I don't think that's any better. I usually wouldn't expect an HTML parser to raise any error if you pass it a string, but instead to do fault tolerant parsing. And if it's

[issue40717] pl.python.org has expired cert and links to nonexistent django.pl page

2020-05-21 Thread Hanno Boeck
New submission from Hanno Boeck : I'm not sure if this is a good place to report this, but I haven't found a separate bug tracker or feedback contact for the webpages. https://pl.python.org/ has an expired certificate and it contains a prominent link to django.pl, which itself ret

[issue36391] XSS in bugs.python.org 404 error page

2019-03-21 Thread Hanno Boeck
New submission from Hanno Boeck : There's an XSS on the 404 error page: https://bugs.python.org/%3Cimg%20src=x%20onerror=alert(1)%3E (For lack of a webpage / bug tracker category I chose "Documentation" as the closest category I could find) -- assignee: docs@py

[issue35570] 2to3 creates code using deprecated imp module

2018-12-23 Thread Hanno Boeck
New submission from Hanno Boeck : 2to3 (in python 3.6.6) will rewrite the reload function to use the imp module. However according to [1] "Deprecated since version 3.4: The imp package is pending deprecation in favor of importlib." Also running the code with warnings enabled w

[issue32876] HTMLParser raises exception on some inputs

2018-02-19 Thread Hanno Boeck
Hanno Boeck added the comment: Actually BeautifulSoup also uses the python html parser in the backend, so it has the same problem. (It can use alternative backends, but the python parser is the default and they also describe it as "lenient", which I would interpret as "it

[issue31892] ssl.get_server_certificate should allow specifying certificate / key type

2017-10-29 Thread Hanno Boeck
New submission from Hanno Boeck : The function ssl.get_server_certificate() from the ssl module is supposed to allow fetching the certificate of a TLS server. However in its current form it provides no way to specify a key type. Many popular hosts (e.g. facebook, google) support both ECDSA

[issue24061] Python 2.x breaks with address sanitizer

2015-04-26 Thread Hanno Boeck
Changes by Hanno Boeck : -- type: -> enhancement ___ Python tracker <http://bugs.python.org/issue24061> ___ ___ Python-bugs-list mailing list Unsubscrib

[issue24061] Python 2.x breaks with address sanitizer

2015-04-26 Thread Hanno Boeck
New submission from Hanno Boeck: Right now it is not possible to build python 2.7.9 with address sanitizer. This issue has been worked around for python 3 in bug #18596 by marking some functions with attributes to tell address sanitizer to ignore them. I have attached a patch that will apply

[issue20866] segfailt with os.popen and SIGPIPE

2014-03-07 Thread Hanno Boeck
New submission from Hanno Boeck: I experience a segmentation fault with python 2.7 (both 2.7.5 and 2.7.6 tested on Ubuntu and Gentoo) when a large file is piped, the pipe is passed to os.popen and the process sends a SIGPIPE signal. To create an easy to reproduce testcase grep can be used