[issue43882] [security] urllib.parse should sanitize urls containing ASCII newline and tabs.

2021-05-05 Thread Florian Apolloner
Florian Apolloner added the comment: Thank you for the kind words Michał. We (Django) are exactly in the position that you describe. Our validation, at least for now has to stay strict, exactly to prevent fallout further down the road (see https://github.com/django/django/pull/14349

[issue25110] Documentation sometimes still links to py3.4

2015-09-14 Thread Florian Apolloner
New submission from Florian Apolloner: Compare those two URLs: https://docs.python.org/3/whatsnew/ https://docs.python.org/3/ The first one shows version 3.4, whereas the later shows version 3.5. -- messages: 250667 nosy: Florian.Apolloner priority: normal severity: normal status: open

[issue25110] Documentation sometimes still links to py3.4

2015-09-14 Thread Florian Apolloner
Changes by Florian Apolloner <f.apollo...@gmail.com>: -- assignee: -> docs@python components: +Documentation nosy: +docs@python versions: +Python 3.5 ___ Python tracker <rep...@bugs.python.org> <http://bugs.pyt

[issue23882] unittest discovery and namespaced packages

2015-04-07 Thread Florian Apolloner
New submission from Florian Apolloner: Unittest discovery does not seem to work if the tests package is a namespace package. The attached file should have all details to reproduce, as soon as I readd an __init__.py everything works fine. Test was done using python3.4.2 and 3.4.3

[issue20138] wsgiref on Python 3.x incorrectly implements URL handling causing mangled Unicode

2014-01-06 Thread Florian Apolloner
Changes by Florian Apolloner flor...@apolloner.eu: -- nosy: +apollo13 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20138 ___ ___ Python-bugs-list

[issue20089] email.message_from_string no longer working in Python 3.4

2013-12-28 Thread Florian Apolloner
New submission from Florian Apolloner: Given this email: --- Content-Type: text/plain; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: =?utf-8?q?Ch=C3=A8re_maman?= From: f...@example.com To: t...@example.com Date: Sat, 28 Dec 2013 13:08:07 - Message-ID

[issue20089] email.message_from_string no longer working in Python 3.4

2013-12-28 Thread Florian Apolloner
Changes by Florian Apolloner flor...@apolloner.eu: -- components: +email nosy: +barry, r.david.murray versions: +Python 3.4 ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue20089

[issue20089] email.message_from_string no longer working in Python 3.4

2013-12-28 Thread Florian Apolloner
Florian Apolloner added the comment: Yes, it works on python3.3 (from debian); I am parsing directly via email.message_from_string: Python 3.3.3 (default, Dec 8 2013, 14:51:59) [GCC 4.8.2] on linux Type help, copyright, credits or license for more information. import email msg=Content-Type

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-09-21 Thread Florian Apolloner
New submission from Florian Apolloner: Take the following example: from email.mime.nonmultipart import * from email.charset import * msg = MIMENonMultipart('text', 'plain') cs = Charset('utf-8') cs.body_encoding = None msg.set_payload('А Б В Г Д Е Ж Ѕ З И І К Л М Н О П.', cs

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-09-21 Thread Florian Apolloner
Florian Apolloner added the comment: Am I not explicitelly disabling base64 by setting body_encoding to None? -- ___ Python tracker rep...@bugs.python.org http://bugs.python.org/issue19063

[issue19063] Python 3.3.3 encodes emails containing non-ascii data as 7bit

2013-09-21 Thread Florian Apolloner
Florian Apolloner added the comment: Using BytesGenerator I get: fp = BytesIO() g = BytesGenerator(fp) msg = MIMENonMultipart('text', 'plain') msg.set_payload('А Б В Г Д Е Ж Ѕ З И І К Л М Н О П.', cs) g.flatten(msg) Traceback (most recent call last): File stdin, line 1, in module File

[issue10808] ssl unwrap fails with Error 0

2011-01-02 Thread Florian Apolloner
New submission from Florian Apolloner flor...@apolloner.eu: If I use the server code in the attachment I get this error in unwrap: Traceback (most recent call last): File server.py, line 23, in module deal_with_client(connstream) File server.py, line 13, in deal_with_client s