New submission from EungJun Yi:
It would be nice if urllib.prase runnable as a script so I can easily parse
urls in command line or shell script.
I have attached a patch.
--
components: Library (Lib)
files: 0001-Make-urllib.parse-runnable-as-a-script.patch
keywords: patch
messages
Changes by EungJun Yi semtlen...@gmail.com:
Added file: http://bugs.python.org/file25597/rfc6585.patch
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14809
EungJun Yi semtlen...@gmail.com added the comment:
Hynek, I have fixed them and upload the patch, rfc6585-rev2.patch.
--
___
Python tracker rep...@bugs.python.org
http://bugs.python.org/issue14809
New submission from EungJun Yi semtlen...@gmail.com:
This patch add HTTP status codes introduced by RFC 6585, to http.client and
http.server.
428 Precondition Required
429 Too Many Requests
431 Request Header Fields Too Large
511 Network Authentication Required
--
components: Library
New submission from EungJun Yi semtlen...@gmail.com:
re.match raises MemoryError when trying to match r'()+?1' to 'a1', as shown
below.
~$ python
Python 2.7.1+ (r271:86832, Apr 11 2011, 18:05:24)
[GCC 4.5.2] on linux2
Type help, copyright, credits or license for more information.
import re
EungJun Yi semtlen...@gmail.com added the comment:
This also raises in 2.6.5
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type help, copyright, credits or license for more information.
import re
re.match('()+?1', 'a1')
Traceback (most recent call last):
File stdin