[issue17267] datetime.time support for '+' and '-'
Change by Andreas Åkerlund : -- nosy: -thezulk ___ Python tracker <https://bugs.python.org/issue17267> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3991] urllib.request.urlopen does not handle non-ASCII characters
Andreas Åkerlund added the comment: Changed the patch after pointers from vadmium. And quote_uri is changed to quote_iri as martin.panter thought it was more appropriate. -- Added file: http://bugs.python.org/file46440/issue3991_2017-01-27.diff ___ Python tracker <http://bugs.python.org/issue3991> ___ ___ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue17267] datetime.time support for '+' and 'now'
Andreas Åkerlund added the comment: Well I have also made a patch for this, using the datetime operator code as much as possible.. this is for version 3.4.. -- nosy: +thezulk Added file: http://bugs.python.org/file29206/issue17267-3.4.diff ___ Python tracker <http://bugs.python.org/issue17267> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue3991] urllib.request.urlopen does not handle non-ASCII characters
Andreas Åkerlund added the comment: This is a patch against 3.2 adding urllib.parse.quote_uri It splits the URI in 5 parts (protocol, authentication, hostname, port and path) then runs urllib.parse.quote on the path and encodes the hostname to punycode if it's not in ascii. It's not perfect, but should be usable in most cases. I created some test cases aswell. -- nosy: +thezulk Added file: http://bugs.python.org/file29194/issue3991.diff ___ Python tracker <http://bugs.python.org/issue3991> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com
[issue900112] cgi.fieldStorage doesn't grok standards env. variables
Andreas Åkerlund added the comment: Submited a patch against 2.7 that adds all environment variables starting with "HTTP_", strips of the prefix and converts it to lower case. Also added a small test case. -- keywords: +patch nosy: +thezulk Added file: http://bugs.python.org/file29173/issue900112.diff ___ Python tracker <http://bugs.python.org/issue900112> ___ ___ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com