Ronald Oussoren
ab90f8e6a1
Merged revisions 82284 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r82284 | ronald.oussoren | 2010-06-27 15:59:39 +0200 (Sun, 27 Jun 2010) | 4 lines
Fix for Issue8883: without this patch test_urllib will fail
when there is a bare IP address in the "Bypass proxy settings
for these Hosts & Domains" list on MacOSX.
........
2010-06-27 14:26:30 +00:00
Senthil Kumaran
80f1b05971
Fix Issue1368368 - prompt_user_passwd() in FancyURLopener masks 401 Unauthorized error page
2010-06-18 15:08:18 +00:00
Senthil Kumaran
f4998acb5a
Merged revisions 81636 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81636 | senthil.kumaran | 2010-06-01 18:10:07 +0530 (Tue, 01 Jun 2010) | 3 lines
Fix Issue8797 - urllib2 basic authentication fix for wrong passwords. It fails after 5 retries.
........
2010-06-01 12:53:48 +00:00
Florent Xicluna
0f78a94f44
Inadvertently removed part of the comment in r81271.
2010-05-17 18:01:22 +00:00
Florent Xicluna
c7b8e8682e
Issue #1285086 : Speed up urllib.parse functions: quote, quote_from_bytes, unquote, unquote_to_bytes.
...
Recorded merge of revisions 81265 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81265 | florent.xicluna | 2010-05-17 15:35:09 +0200 (lun, 17 mai 2010) | 2 lines
Issue #1285086 : Speed up urllib.quote and urllib.unquote for simple cases.
........
2010-05-17 17:33:07 +00:00
Florent Xicluna
757445bee0
Merged revision 81259 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81259 | florent.xicluna | 2010-05-17 12:39:07 +0200 (lun, 17 mai 2010) | 2 lines
Slight style cleanup.
........
2010-05-17 17:24:07 +00:00
Senthil Kumaran
ead169d311
Merged revisions 81130 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r81130 | senthil.kumaran | 2010-05-13 08:55:21 +0530 (Thu, 13 May 2010) | 3 lines
Fix Issue8657 - adding git and git+ssh as know schemes.
........
2010-05-13 03:37:23 +00:00
Mark Dickinson
c3f45c25de
Fix test_urllib2 failure on OS X.
2010-05-09 12:16:29 +00:00
Senthil Kumaran
06f5a53a7a
Merged revisions 80957 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80957 | senthil.kumaran | 2010-05-08 10:30:11 +0530 (Sat, 08 May 2010) | 2 lines
Fixing the errors trigerred in test_urllib2net. Related to issue8656.
........
2010-05-08 05:12:05 +00:00
Senthil Kumaran
4fbed10455
Merged revisions 80953 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80953 | senthil.kumaran | 2010-05-08 08:41:50 +0530 (Sat, 08 May 2010) | 3 lines
Fix Issue8656 - urllib2 mangles file://-scheme URLs
........
2010-05-08 03:29:09 +00:00
Ronald Oussoren
94f25283c9
Remove traces of MacOS9 support.
...
Fix for issue #7908
2010-05-05 19:11:21 +00:00
Senthil Kumaran
f6c456d323
Merged revisions 80675 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80675 | senthil.kumaran | 2010-05-01 13:31:56 +0530 (Sat, 01 May 2010) | 3 lines
Fix issue8582: urllib.urlretrieve fails with ValueError: Invalid format string
........
2010-05-01 08:29:18 +00:00
Senthil Kumaran
7a1e09f60c
Merged revisions 80362 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80362 | senthil.kumaran | 2010-04-22 17:40:13 +0530 (Thu, 22 Apr 2010) | 4 lines
Changed tests to only urlparse one, which was enough, addressed Ezio's comment
on Invalid url check statement and versionchanged string in docs.
........
2010-04-22 12:19:46 +00:00
Senthil Kumaran
2eaef05c47
Merged revisions 80277 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80277 | senthil.kumaran | 2010-04-21 02:07:59 +0530 (Wed, 21 Apr 2010) | 3 lines
Issue2987 - Added additional Invalid URL and changed the Invalid URL checking code for better.
........
2010-04-20 20:42:50 +00:00
Ronald Oussoren
8415120af3
For for issue #7154 : Port the code that uses
...
the SystemConfiguration framework to detect the
proxy settings on OSX from the trunk to python 3.2
2010-04-18 20:46:11 +00:00
Senthil Kumaran
fd41e082f0
Merged revisions 80146 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80146 | senthil.kumaran | 2010-04-17 20:00:53 +0530 (Sat, 17 Apr 2010) | 3 lines
Fix Issue5650 - Update the RFC List in the urlparse module.
........
2010-04-17 14:44:14 +00:00
Senthil Kumaran
ad02d239ff
Merged revisions 80101 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r80101 | senthil.kumaran | 2010-04-16 08:16:46 +0530 (Fri, 16 Apr 2010) | 3 lines
Fix issue2987: RFC2732 support for urlparse (IPv6 addresses)
........
2010-04-16 03:02:13 +00:00
Senthil Kumaran
57de4c45ff
Reverting the changes made in r78433.
2010-03-07 04:12:02 +00:00
Senthil Kumaran
6d726c3a2f
Merged revisions 78431 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78431 | senthil.kumaran | 2010-02-25 02:25:31 +0530 (Thu, 25 Feb 2010) | 4 lines
Fix for Issue7540 ; urllib2 will raise a TypeError when you try to add_data to
a existing req object already having data.
........
2010-02-24 21:03:37 +00:00
Senthil Kumaran
ca2fc9eb1f
Merged revisions 78422 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78422 | senthil.kumaran | 2010-02-24 22:15:46 +0530 (Wed, 24 Feb 2010) | 2 lines
Fix for Issue3819 - urllib2 sends Basic auth across redirects
........
2010-02-24 16:53:16 +00:00
Senthil Kumaran
734f05925e
Merged revisions 78268 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
2010-02-20 22:19:04 +00:00
Senthil Kumaran
6be85c52eb
Merged revisions 78234 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r78234 | senthil.kumaran | 2010-02-19 13:02:48 +0530 (Fri, 19 Feb 2010) | 2 lines
Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986
........
2010-02-19 07:42:50 +00:00
Senthil Kumaran
99b2c8f811
Merged revisions 77058 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77058 | senthil.kumaran | 2009-12-27 14:41:09 +0530 (Sun, 27 Dec 2009) | 4 lines
Fix for issue5625 - test_urllib2 fails - urlopen error file not on local host.
This is on hosts with multiple ip addresses.
........
2009-12-27 10:13:39 +00:00
Senthil Kumaran
47fff87027
Merged revisions 76908 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76908 | senthil.kumaran | 2009-12-20 11:35:13 +0530 (Sun, 20 Dec 2009) | 4 lines
Fix for issue 7291 - urllib2 cannot handle https with proxy requiring auth
Refactored HTTPHandler tests and added testcase for proxy authorization.
........
2009-12-20 07:10:31 +00:00
Antoine Pitrou
2df5fc7a36
Merged revisions 76718 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76718 | antoine.pitrou | 2009-12-08 20:35:12 +0100 (mar., 08 déc. 2009) | 3 lines
Fix transient refleaks in test_urllib. Thanks to Florent Xicluna.
........
2009-12-08 19:38:17 +00:00
Philip Jenvey
cb134d7d88
Recorded merge of revisions 76642 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76642 | philip.jenvey | 2009-12-02 18:40:13 -0800 (Wed, 02 Dec 2009) | 1 line
actually close files
........
2009-12-03 02:45:01 +00:00
Senthil Kumaran
4c7eaee5db
Merged revisions 76288 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76288 | senthil.kumaran | 2009-11-15 14:06:20 +0530 (Sun, 15 Nov 2009) | 3 lines
Fix for Issue4683 - urllib2.HTTPDigestAuthHandler fails on third hostname?.
Resolution: Reset the nonce value for each unique nonce (as per RFC 2617)
........
2009-11-15 08:43:45 +00:00
Senthil Kumaran
1107c5d7d1
Merged revisions 76282 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r76282 | senthil.kumaran | 2009-11-15 11:40:30 +0530 (Sun, 15 Nov 2009) | 3 lines
Addition of some details in the code comments.
........
2009-11-15 06:20:55 +00:00
Senthil Kumaran
7bb0497336
Merged revisions 75333 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines
Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment
........
2009-10-11 04:58:55 +00:00
Georg Brandl
3d6575dfc8
Use true booleans.
2009-09-16 14:36:22 +00:00
Senthil Kumaran
97f0c6be46
Fixed Issue1424152 in Py3k: urllib2 fails with HTTPS over Proxy.
2009-07-25 04:24:38 +00:00
Senthil Kumaran
fb8cc2f5a4
Fix for issue5102, timeout value propages between redirects, proxy, digest and
...
auth handlers. Fixed tests to reflect the same.
2009-07-19 02:44:19 +00:00
Georg Brandl
706824f19f
More codestring -> codebytes.
2009-06-04 09:42:55 +00:00
Georg Brandl
faf4149f72
#6118 : dont ignore encoding arguments for arguments with spaces in quote_plus().
2009-05-26 18:31:11 +00:00
Senthil Kumaran
690ce9b353
Fix for issue1153027, making Py3k changes similar to fix in issue918368.
...
This will address:
a) urllib/ in py3k,
b) urllib in py2x is addressed by issue918368.
c) urllib2 in py2x was already addressed in Revision 43132.
2009-05-05 18:41:13 +00:00
Senthil Kumaran
4947606ecc
Fix for Issue1648102, based on the MSDN spec: If this parameter specifies the
...
"<local>" macro as the only entry, this function bypasses any host name that
does not contain a period.
2009-05-01 06:00:23 +00:00
Georg Brandl
4ed72acd68
#5624 : _winreg is winreg in Python 3.
2009-04-01 04:28:33 +00:00
Jeremy Hylton
2bdb576e70
Make urllib use HTTP/1.1. It seems to work now, but hasn't been
...
carefully tested.
2009-03-31 16:37:16 +00:00
Jeremy Hylton
6c5e28c383
Simplify the Request class. The basic components of the parsed
...
Request are now available as public attributes, e.g. full_url and
host. The accessor methods are deprecated. The implementation
replace the complicated __getattr__ machinery with a _parse() method.
The response from an HTTP request is now an HTTPResponse instance
instead of an addinfourl() wrapper instance. The wrapper provided
minimal extract functionality and was undocumented. The API of
addinfourl() was preserved, except for close hooks, by adding a few
methods and public attributes to the HTTPResponse class.
2009-03-31 14:35:53 +00:00
Senthil Kumaran
eaaec27b6e
Fix for Issue4962, issue4675.
2009-03-30 21:54:41 +00:00
Benjamin Peterson
5f28b7b797
Merged revisions 70518,70521,70590,70594-70595 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r70518 | matthias.klose | 2009-03-22 08:08:22 -0500 (Sun, 22 Mar 2009) | 2 lines
- Fix comment macro in python.man
........
r70521 | benjamin.peterson | 2009-03-22 12:45:11 -0500 (Sun, 22 Mar 2009) | 1 line
close the file even if an exception occurs #5536
........
r70590 | skip.montanaro | 2009-03-24 19:52:11 -0500 (Tue, 24 Mar 2009) | 1 line
clarify the type of data returned
........
r70594 | marc-andre.lemburg | 2009-03-25 14:44:58 -0500 (Wed, 25 Mar 2009) | 9 lines
Remove the sys.version_info shortcut, since they cause the APIs
to return different information than the _sys_version() output
used in previous Python versions.
This also fixes issue5561: platform.python_version_tuple returns tuple of ints, should be strings
Added more tests for the various platform functions.
........
r70595 | marc-andre.lemburg | 2009-03-25 14:45:33 -0500 (Wed, 25 Mar 2009) | 3 lines
News item for the platform.py fix (r70594).
........
2009-03-26 21:49:58 +00:00
Jeremy Hylton
b476d59792
Add __enter__ and __exit__ methods to addbase() so that it supports with.
...
This change also adds a minimal unittest of urllib.response.addbase.
More are needed, but not to cover the small change being made here.
Addresses http://bugs.python.org/issue5418
2009-03-26 21:34:20 +00:00
Jeremy Hylton
230feba5fd
urlencode:
...
Remove dead code branch created by automated conversion from 2.x.
Clean up a few comments.
2009-03-26 16:56:59 +00:00
Jeremy Hylton
f819886a72
Simplify a few complicated expressions.
2009-03-26 16:55:08 +00:00
Jeremy Hylton
a4de60a1de
Whitespace normalization.
2009-03-26 14:49:26 +00:00
Antoine Pitrou
b353c12a9c
Issue #4631 : Fix urlopen() result when an HTTP response uses chunked encoding.
2009-02-11 00:39:14 +00:00
Benjamin Peterson
9bc9351c04
Merged revisions 66508,66510,66512-66513,66523-66526,66529-66530,66532,66535,66538,66544,66546 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66508 | benjamin.peterson | 2008-09-18 18:20:28 -0500 (Thu, 18 Sep 2008) | 1 line
tabify
........
r66510 | josiah.carlson | 2008-09-18 21:07:22 -0500 (Thu, 18 Sep 2008) | 2 lines
Fix for documentation bug. Fixes issue 3904.
........
r66512 | raymond.hettinger | 2008-09-19 03:07:48 -0500 (Fri, 19 Sep 2008) | 1 line
Improve docs for super().
........
r66513 | lars.gustaebel | 2008-09-19 07:39:23 -0500 (Fri, 19 Sep 2008) | 2 lines
Correct information about the tarfile module.
........
r66523 | georg.brandl | 2008-09-21 02:14:44 -0500 (Sun, 21 Sep 2008) | 2 lines
#3852 : fix some select.kqueue and kevent docs.
........
r66524 | georg.brandl | 2008-09-21 02:15:59 -0500 (Sun, 21 Sep 2008) | 2 lines
#3912 : document default for *places* arg.
........
r66525 | georg.brandl | 2008-09-21 02:17:00 -0500 (Sun, 21 Sep 2008) | 2 lines
#3916 : fixes for docs wrt. Windows directory layout
........
r66526 | georg.brandl | 2008-09-21 02:18:28 -0500 (Sun, 21 Sep 2008) | 2 lines
#3914 : add //= to the augmented assign operators.
........
r66529 | georg.brandl | 2008-09-21 02:24:11 -0500 (Sun, 21 Sep 2008) | 2 lines
#3901 : bsddb fix.
........
r66530 | georg.brandl | 2008-09-21 02:31:52 -0500 (Sun, 21 Sep 2008) | 2 lines
#3897 : _collections now has an underscore.
........
r66532 | georg.brandl | 2008-09-21 02:36:22 -0500 (Sun, 21 Sep 2008) | 2 lines
Update readme and Makefile (web builder doesn't exist).
........
r66535 | georg.brandl | 2008-09-21 03:03:21 -0500 (Sun, 21 Sep 2008) | 2 lines
#3918 : note that uniform() args can be swapped.
........
r66538 | georg.brandl | 2008-09-21 05:03:39 -0500 (Sun, 21 Sep 2008) | 2 lines
Add "dist" target.
........
r66544 | benjamin.peterson | 2008-09-21 16:27:51 -0500 (Sun, 21 Sep 2008) | 4 lines
#3879 fix a regression in urllib.getproxies_environment
reviewers: Benjamin, Georg
........
r66546 | georg.brandl | 2008-09-21 17:31:59 -0500 (Sun, 21 Sep 2008) | 2 lines
Fill out download page.
........
2008-09-22 22:10:59 +00:00
Facundo Batista
c469d4c3aa
Issue 600362: Relocated parse_qs() and parse_qsl(), from the cgi module
...
to the urlparse one. Added a DeprecationWarning in the old module, it
will be deprecated in the future. Docs and tests updated.
2008-09-03 22:49:01 +00:00
Antoine Pitrou
fd036451bf
#2834 : Change re module semantics, so that str and bytes mixing is forbidden,
...
and str (unicode) patterns get full unicode matching by default. The re.ASCII
flag is also introduced to ask for ASCII matching instead.
2008-08-19 17:56:33 +00:00
Guido van Rossum
52dbbb9068
- Issue #3300 : make urllib.parse.[un]quote() default to UTF-8.
...
Code contributed by Matt Giuca. quote() now encodes the input
before quoting, unquote() decodes after unquoting. There are
new arguments to change the encoding and errors settings.
There are also new APIs to skip the encode/decode steps.
[un]quote_plus() are also affected.
2008-08-18 21:44:30 +00:00