Serhiy Storchaka
d3e1207191
Issue #20555 : Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
2014-02-08 14:51:10 +02:00
Serhiy Storchaka
25d8aeac7c
Issue #20555 : Use specific asserts in urllib, httplib, ftplib, cgi, wsgiref tests.
2014-02-08 14:50:08 +02:00
Ezio Melotti
a7e7497d88
#18466 : merge with 3.3.
2013-08-17 16:58:13 +03:00
Ezio Melotti
85a8629d21
#18466 : fix more typos. Patch by Févry Thibault.
2013-08-17 16:57:41 +03:00
Senthil Kumaran
f49581c2a1
normalize whitespace
2013-04-10 20:55:58 -07:00
Senthil Kumaran
c7e0980259
normalize whitespace. caught by hook
2013-04-10 20:54:23 -07:00
Senthil Kumaran
8b081b7ba1
merge from 3.3
...
#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
contribution by Thomas Fenzl & Maksim Kozyarchuk
2013-04-10 20:53:12 -07:00
Senthil Kumaran
277e9090b0
#5609 - test_urllib coverage for url2pathname and pathname2url. Patch
...
contribution by Thomas Fenzl & Maksim Kozyarchuk
2013-04-10 20:51:19 -07:00
Ezio Melotti
d8bc0a3693
Merge DeprecationWarnings silencing in test_urllib from 3.3.
2013-02-21 02:55:56 +02:00
Ezio Melotti
79b99dba0f
Silence DeprecationWarnings in test_urllib.
2013-02-21 02:41:42 +02:00
Andrew Svetlov
f7a17b48d7
Replace IOError with OSError ( #16715 )
2012-12-25 16:47:37 +02:00
Antoine Pitrou
df204be922
Issue #16423 : urllib.request now has support for ``data:`` URLs.
...
Patch by Mathias Panzenböck.
2012-11-24 17:59:08 +01:00
Gregory P. Smith
601c0591c2
Fix test_urllib broken by my previous commits. The assumptions it was
...
testing were added as part of the issue10050 change that caused the
wrong behavior in the first place. now all test cases agree on the
behavior.
2012-11-10 15:13:20 -08:00
Gregory P. Smith
6d9388faab
Fix test_urllib broken by my previous commits. The assumptions it was
...
testing were added as part of the issue10050 change that caused the
wrong behavior in the first place. now all test cases agree on the
behavior.
2012-11-10 15:12:55 -08:00
Senthil Kumaran
cc2f0421c7
Issue #16250 : Fix URLError invocation with proper args
2012-10-27 02:48:21 -07:00
Senthil Kumaran
cad7b31467
Issue #16250 : Fix URLError invocation with proper args.
2012-10-27 02:26:46 -07:00
Senthil Kumaran
bf644c5571
Fix the windows buildbot permission error - close the fd of tempfile beffore unlinking
2012-10-23 11:07:02 -07:00
Senthil Kumaran
3194d7cfce
Fix issue16300: addressing the buildbot failures on windows
2012-10-23 09:40:53 -07:00
Senthil Kumaran
c3633b6a78
skip the file localhost test on windows. Fix it on branch and modify the test
2012-10-22 21:50:19 -07:00
Senthil Kumaran
3a81580719
Fix the ResourceWarning in test_urllib.py due changes made for #16301 . Patch by Berker Peksag
2012-10-22 17:06:43 -07:00
Senthil Kumaran
40d8078f41
Issue #16301 : Fix the localhost verification in urllib/request.py for file://. Modify tests to use localhost for local temp files, which could make Windows Buildbot ( #16300 ) happy
2012-10-22 09:43:04 -07:00
Senthil Kumaran
3ebef36eea
Issue #16250 : Fix the invocations of URLError which had misplaced filename attribute for exception
2012-10-21 18:31:25 -07:00
Senthil Kumaran
f577686fd3
Issue #10836 : Fix exception raised when file not found in urlretrieve
2012-10-21 13:30:02 -07:00
Senthil Kumaran
612a815820
revert the changes done for issue14826 - quoting witin Request is not desirable.
2012-07-08 18:00:47 -07:00
Senthil Kumaran
168456df11
revert the changes done for issue14826 - quoting witin Request is not desirable.
2012-07-08 17:47:25 -07:00
Senthil Kumaran
540715a369
Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
...
Patch contributed by Stephen Thorne.
2012-07-07 17:15:52 -07:00
Senthil Kumaran
b7451cecad
Fix issue14826 - make urllib.request.Request quoted url consistent with URLOpener open method.
...
Patch contributed by Stephen Thorne.
2012-07-07 17:11:44 -07:00
Senthil Kumaran
38b968b913
deprecated the old urllib primitives in 3.3 urllib package - issue 10050
2012-03-14 13:43:53 -07:00
Senthil Kumaran
e24f96a059
Issue10050 - urlretrieve uses newer urlopen. reporthook of urlretrieve takes, block number, block read size, file_size
2012-03-13 19:29:33 -07:00
Georg Brandl
2fb477c0f0
Merge 3.2: Issue #13703 plus some related test suite fixes.
2012-02-21 00:33:36 +01:00
Georg Brandl
09a7c72cad
Merge from 3.1: Issue #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)
...
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 21:31:46 +01:00
Georg Brandl
2daf6ae249
Issue #13703 : add a way to randomize the hash values of basic types (str, bytes, datetime)
...
in order to make algorithmic complexity attacks on (e.g.) web apps much more complicated.
The environment variable PYTHONHASHSEED and the new command line flag -R control this
behavior.
2012-02-20 19:54:16 +01:00
Senthil Kumaran
3242577a08
merge from 3.2
2012-01-21 11:55:40 +08:00
Senthil Kumaran
3800ea9f65
Fix Issue6631 - Disallow relative file paths in urllib urlopen
2012-01-21 11:52:48 +08:00
Senthil Kumaran
4479577388
merge from 3.2 - Fix Issue #13642 : Unquote before b64encoding user:password during Basic Authentication.
2012-01-14 19:12:28 +08:00
Senthil Kumaran
c5c5a14577
Fix Issue #13642 : Unquote before b64encoding user:password during Basic Authentication.
2012-01-14 19:09:04 +08:00
Senthil Kumaran
ab06e3f285
merge from 3.2 - Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
...
even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 01:39:49 +08:00
Senthil Kumaran
ce260142c6
Fix issue 10817 - Fix urlretrieve function to raise ContentTooShortError
...
even when reporthook is None. Patch by Jyrki Pulliainen.
2011-11-01 01:35:17 +08:00
Senthil Kumaran
de49d64dbc
Fix closes issue 1673007 urllib.request to support HEAD requests with a new method arg.
2011-10-16 23:54:44 +08:00
Senthil Kumaran
1b7da519b0
Issue13104 - Fix urllib.request.thishost() utility function.
2011-10-06 00:32:02 +08:00
Senthil Kumaran
55a190fbbd
merge from 3.2. Issue13104 - Fix urllib.request.thishost() utility function.
2011-10-06 00:32:52 +08:00
Senthil Kumaran
b7a690aeb4
merge from 3.2 - Add the missing quote_plus call. Fix closes Issue12924
2011-09-13 06:41:43 +08:00
Senthil Kumaran
305a68eb4a
Add the quote_plus call in the test.
2011-09-13 06:40:27 +08:00
Senthil Kumaran
0c8108914e
merge from 3.2 - Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)
2011-08-06 12:28:16 +08:00
Senthil Kumaran
89976f1cdc
Fix closes issue12698 - make the no_proxy environment variable handling a bit lenient (accomodate spaces in between the items)
2011-08-06 12:27:40 +08:00
Raymond Hettinger
29e2c64edd
Issue #4608 : urllib.request.urlopen does not return an iterable object
2011-06-26 14:30:25 +02:00
Raymond Hettinger
038018aaa4
Issue #4608 : urllib.request.urlopen does not return an iterable object
2011-06-26 14:29:35 +02:00
Senthil Kumaran
99e97f92c6
merge from 3.2.
...
Fix closes Issue1147.
2011-04-14 13:20:41 +08:00
Senthil Kumaran
56f1e2d875
merge from 3.1
2011-04-14 13:18:55 +08:00
Senthil Kumaran
2d2ea1b431
Fix Issue11474 - fix url2pathname() handling of '/C|/' on Windows
2011-04-14 13:16:30 +08:00