Senthil Kumaran
305a68eb4a
Add the quote_plus call in the test.
2011-09-13 06:40:27 +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
038018aaa4
Issue #4608 : urllib.request.urlopen does not return an iterable object
2011-06-26 14:29:35 +02: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
Senthil Kumaran
b17abb1af9
merge from 3.1
2011-04-13 07:22:29 +08:00
Senthil Kumaran
2643041970
Fix Issue11703 - urllib2.geturl() does not return correct url when the original url contains #fragment. Patch Contribution by Santoso Wijaya.
2011-04-13 07:01:19 +08:00
guido@google.com
c768ff5d4f
Merge Issue 11662 from 3.1 branch.
2011-03-29 11:51:26 -07:00
guido@google.com
a119df91f3
Issue 11662: Fix vulnerability in urllib/urllib2.
...
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
Senthil Kumaran
acbaa923b8
Call unfakehttp in order to close connection while opening the connection through a fakehttp object.
...
Address issue11609 - urllib related buildbots failure.
2011-03-20 05:30:16 +08:00
Senthil Kumaran
d91ffcafcb
Closes issue11563 - test_urllibnet ResourceWarning. Patch by Jeff McNeil.
2011-03-19 17:25:27 +08:00
Ezio Melotti
3b3499ba69
#11565 : Merge with 3.1.
2011-03-16 11:35:38 +02:00
Ezio Melotti
13925008dc
#11565 : Fix several typos. Patch by Piotr Kasprzyk.
2011-03-16 11:05:33 +02:00
Antoine Pitrou
988dbd7bc2
Issue #10711 : Remove HTTP 0.9 support from http.client. The `strict`
...
parameter to HTTPConnection and friends is deprecated.
2010-12-17 17:35:56 +00:00
Antoine Pitrou
f8827aeb15
Merged revisions 85489-85490 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r85489 | antoine.pitrou | 2010-10-14 20:31:39 +0200 (jeu., 14 oct. 2010) | 3 lines
Really fix bug
........
r85490 | antoine.pitrou | 2010-10-14 20:32:54 +0200 (jeu., 14 oct. 2010) | 3 lines
Oops
........
2010-10-14 18:40:02 +00:00
Antoine Pitrou
8c8f1ac46c
Oops
2010-10-14 18:32:54 +00:00
Antoine Pitrou
b3a88b5c42
Really fix bug
2010-10-14 18:31:39 +00:00
Barry Warsaw
e0f214a549
Fix issue 10094, by narrowing down the test for PROXY environment variables.
...
Ubuntu 10.10 introduced $UBUNTU_MENUPROXY into the default user environment,
and that's what's tripping up the code.
2010-10-14 18:23:53 +00:00
Barry Warsaw
270800c801
Fix issue 10094, by narrowing down the test for PROXY environment variables.
...
Ubuntu 10.10 introduced $UBUNTU_MENUPROXY into the default user environment,
and that's what's tripping up the code.
2010-10-14 18:10:34 +00:00
Florent Xicluna
99e472e84d
Fix test failure with -bb, because of r84040.
2010-08-14 23:12:27 +00:00
Florent Xicluna
37ddbb8abd
Merged revisions 76719,81270-81272,83294,83319,84038-84039 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r76719 | antoine.pitrou | 2009-12-08 20:38:17 +0100 (mar., 08 déc. 2009) | 9 lines
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.
........
................
r81270 | florent.xicluna | 2010-05-17 19:24:07 +0200 (lun., 17 mai 2010) | 9 lines
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.
........
................
r81271 | florent.xicluna | 2010-05-17 19:33:07 +0200 (lun., 17 mai 2010) | 11 lines
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.
........
................
r81272 | florent.xicluna | 2010-05-17 20:01:22 +0200 (lun., 17 mai 2010) | 2 lines
Inadvertently removed part of the comment in r81271.
................
r83294 | senthil.kumaran | 2010-07-30 21:34:36 +0200 (ven., 30 juil. 2010) | 2 lines
Fix issue9301 - handle unquote({}) kind of case.
................
r83319 | florent.xicluna | 2010-07-31 10:56:55 +0200 (sam., 31 juil. 2010) | 2 lines
Fix an oversight in r83294. unquote() should reject bytes. Issue #9301 .
................
r84038 | florent.xicluna | 2010-08-14 20:30:35 +0200 (sam., 14 août 2010) | 1 line
Silence the BytesWarning, due to patch r83294 for #9301
................
r84039 | florent.xicluna | 2010-08-14 22:51:58 +0200 (sam., 14 août 2010) | 1 line
Silence BytesWarning while testing exception
................
2010-08-14 21:06:29 +00:00
Florent Xicluna
62829dc727
Silence BytesWarning while testing exception
2010-08-14 20:51:58 +00:00
Florent Xicluna
b4efb3d81e
Merged revisions 83212,83829,83833,83838-83839,83878,84019,84025,84028,84032,84036 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83212 | florent.xicluna | 2010-07-28 18:39:41 +0200 (mer., 28 juil. 2010) | 2 lines
Syntax cleanup.
........
r83829 | florent.xicluna | 2010-08-08 18:16:07 +0200 (dim., 08 août 2010) | 2 lines
Use unittest specific methods for some urllib test cases. And replace urllib2 with urllib.request in comments.
........
r83833 | florent.xicluna | 2010-08-08 18:25:27 +0200 (dim., 08 août 2010) | 2 lines
Add test case for the HTTPResponse being an iterable. Follow-up of issue #4608 .
........
r83838 | florent.xicluna | 2010-08-08 20:03:44 +0200 (dim., 08 août 2010) | 2 lines
Typo.
........
r83839 | florent.xicluna | 2010-08-08 20:06:13 +0200 (dim., 08 août 2010) | 2 lines
Issue #7564 : Skip test_ioctl if another process is attached to /dev/tty.
........
r83878 | florent.xicluna | 2010-08-09 10:29:08 +0200 (lun., 09 août 2010) | 1 line
Merge the 2to3 script from /sandbox/trunk/2to3/2to3, revision 72867 (latest).
........
r84019 | florent.xicluna | 2010-08-14 17:56:42 +0200 (sam., 14 août 2010) | 11 lines
Merged manually from 2.7 branch to 3.x trunk.
------------------------------------------------------------------------
r79925 | nick.coghlan | 2010-04-10 16:24:36 +0200 (sam. 10 avril 2010)
Try to turn some buildbots green by allowing test_multiprocessing to
pass even if it hits the sys.exc_clear code in the threading module, and
improve the test coverage by making the ctypes dependencies a bit more
granular (two of the cited ctypes objects don't exist on my system)
------------------------------------------------------------------------
........
r84025 | florent.xicluna | 2010-08-14 18:56:27 +0200 (sam., 14 août 2010) | 1 line
List Misc/python-config.in in Misc/README. Fix few typos.
........
r84028 | florent.xicluna | 2010-08-14 19:02:49 +0200 (sam., 14 août 2010) | 1 line
Fix order.
........
r84032 | florent.xicluna | 2010-08-14 19:15:31 +0200 (sam., 14 août 2010) | 1 line
Convert to spaces.
........
r84036 | florent.xicluna | 2010-08-14 20:03:19 +0200 (sam., 14 août 2010) | 1 line
Remove bad merge (from svnmerge r82301)
........
2010-08-14 18:24:40 +00:00
Florent Xicluna
419e384601
Use unittest specific methods for some urllib test cases. And replace urllib2 with urllib.request in comments.
2010-08-08 16:16:07 +00:00
Victor Stinner
6c6f851eae
Issue #9425 : skip tests if a filename is not encodable
2010-08-07 10:09:35 +00:00
Senthil Kumaran
afef78f832
Merged revisions 83415 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r83415 | senthil.kumaran | 2010-08-01 23:23:37 +0530 (Sun, 01 Aug 2010) | 3 lines
Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication
........
2010-08-01 17:55:50 +00:00
Senthil Kumaran
de0eb249c6
Fix Issue8123 - TypeError in urllib when trying to use HTTP authentication
2010-08-01 17:53:37 +00:00
Florent Xicluna
c049fca0da
Fix an oversight in r83294. unquote() should reject bytes. Issue #9301 .
2010-07-31 08:56:55 +00:00
Georg Brandl
604ef370b3
Make urllib tests pass for now. Will figure out what the correct semantics should be after release.
2010-07-31 08:20:02 +00:00
Senthil Kumaran
d496c4c936
Fix issue9301 - handle unquote({}) kind of case.
2010-07-30 19:34:36 +00:00
Senthil Kumaran
79e17f6f66
Fix Issue9301 - urllib.parse.unquote and unquote_to_byte to raise TypeError for None.
2010-07-19 18:17:19 +00:00
Senthil Kumaran
fe1ad15b4b
Merged revisions 82510 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r82510 | senthil.kumaran | 2010-07-03 23:18:22 +0530 (Sat, 03 Jul 2010) | 4 lines
Fix Issue5468 - urlencode to handle bytes and other alternate encodings.
(Extensive tests provided). Patch by Dan Mahn.
........
2010-07-03 17:55:41 +00:00
Senthil Kumaran
df022da3d8
Fix Issue5468 - urlencode to handle bytes and other alternate encodings.
...
(Extensive tests provided). Patch by Dan Mahn.
2010-07-03 17:48:22 +00:00
Senthil Kumaran
0e7e9aee59
Merged revisions 78270 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
........
r78270 | senthil.kumaran | 2010-02-21 03:49:04 +0530 (Sun, 21 Feb 2010) | 4 lines
Merged revisions 78268 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
2010-02-20 22:30:21 +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
Ezio Melotti
e96159335f
Merged revisions 77727 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77727 | ezio.melotti | 2010-01-24 18:58:36 +0200 (Sun, 24 Jan 2010) | 1 line
use assert[Not]IsInstance where appropriate
........
2010-01-24 19:26:24 +00:00
Ezio Melotti
b58e0bd8bb
use assert[Not]In where appropriate
2010-01-23 15:40:09 +00:00
Benjamin Peterson
ffeda29115
Merged revisions 77389 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/branches/py3k
................
r77389 | benjamin.peterson | 2010-01-09 12:45:30 -0600 (Sat, 09 Jan 2010) | 25 lines
Merged revisions 77209,77229,77359-77360,77371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line
More yearly updates.
........
r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line
Fix casing.
........
r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line
Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line
#7653 : clarify how the PythonPath registry key should look like.
........
r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines
Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
........
................
2010-01-09 18:48:46 +00:00
Benjamin Peterson
46a9900e09
Merged revisions 77209,77229,77359-77360,77371 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r77209 | georg.brandl | 2010-01-01 07:07:05 -0600 (Fri, 01 Jan 2010) | 1 line
More yearly updates.
........
r77229 | georg.brandl | 2010-01-02 06:35:01 -0600 (Sat, 02 Jan 2010) | 1 line
Fix casing.
........
r77359 | georg.brandl | 2010-01-07 14:54:45 -0600 (Thu, 07 Jan 2010) | 1 line
Fix description for Py_GetPath(); it sounded like it always returned sys.path.
........
r77360 | georg.brandl | 2010-01-07 15:48:47 -0600 (Thu, 07 Jan 2010) | 1 line
#7653 : clarify how the PythonPath registry key should look like.
........
r77371 | senthil.kumaran | 2010-01-08 13:20:25 -0600 (Fri, 08 Jan 2010) | 3 lines
Fix for Issue7026. For the Error - RuntimeError: dictionary changed size during iteration
........
2010-01-09 18:45:30 +00:00
Georg Brandl
ab91fdef1f
Merged revisions 73715 via svnmerge from
...
svn+ssh://svn.python.org/python/branches/py3k
........
r73715 | benjamin.peterson | 2009-07-01 01:06:06 +0200 (Mi, 01 Jul 2009) | 1 line
convert old fail* assertions to assert*
........
2009-08-13 08:51:18 +00:00
Benjamin Peterson
c9c0f201fe
convert old fail* assertions to assert*
2009-06-30 23:06:06 +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
Walter Dörwald
b525e18500
Merged revisions 71984 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r71984 | walter.doerwald | 2009-04-26 22:51:44 +0200 (So, 26 Apr 2009) | 2 lines
Use test.test_support.EnvironmentVarGuard where tests change environment vars.
........
2009-04-26 21:39:21 +00:00
Senthil Kumaran
eaaec27b6e
Fix for Issue4962, issue4675.
2009-03-30 21:54:41 +00:00
Jeremy Hylton
1ef7c6bc85
Add a few more tests for urllib.parse.urlencode.
...
Fix some long lines.
2009-03-26 16:57:30 +00:00
Nick Coghlan
598c3a8ad1
Fix broken socket.makefile emulation in test_urllib
2009-02-08 04:01:00 +00:00
Antoine Pitrou
ff96b2ae14
test_urllib would set environment variable NO_PROXY without removing it afterwards.
2009-01-03 22:55:38 +00:00
Benjamin Peterson
1a6e0d0831
Merged revisions 66974,66977,66984,66989,66992,66994-66996,66998-67000,67007,67015 via svnmerge from
...
svn+ssh://pythondev@svn.python.org/python/trunk
........
r66974 | benjamin.peterson | 2008-10-19 08:59:01 -0500 (Sun, 19 Oct 2008) | 1 line
fix compiler warning
........
r66977 | benjamin.peterson | 2008-10-19 14:39:16 -0500 (Sun, 19 Oct 2008) | 1 line
mention -n
........
r66984 | armin.ronacher | 2008-10-20 16:29:08 -0500 (Mon, 20 Oct 2008) | 3 lines
Fixed #4062 , added import for _ast.__version__ to ast to match the documented behavior.
........
r66989 | matthias.klose | 2008-10-21 04:12:25 -0500 (Tue, 21 Oct 2008) | 2 lines
- install versioned manpage
........
r66992 | benjamin.peterson | 2008-10-21 15:51:13 -0500 (Tue, 21 Oct 2008) | 1 line
make sure to call iteritems()
........
r66994 | amaury.forgeotdarc | 2008-10-21 17:01:38 -0500 (Tue, 21 Oct 2008) | 6 lines
#4157 move two test functions out of platform.py.
Turn them into unit tests, and correct an obvious typo:
(("a", "b") ("c", "d") ("e", "f"))
compiles even with the missing commas, but does not execute very well...
........
r66995 | benjamin.peterson | 2008-10-21 17:18:29 -0500 (Tue, 21 Oct 2008) | 1 line
return ArgInfo from inspect.getargvalues #4092
........
r66996 | benjamin.peterson | 2008-10-21 17:20:31 -0500 (Tue, 21 Oct 2008) | 1 line
add NEWs note for last change
........
r66998 | benjamin.peterson | 2008-10-22 15:57:43 -0500 (Wed, 22 Oct 2008) | 1 line
fix a few typos
........
r66999 | benjamin.peterson | 2008-10-22 16:05:30 -0500 (Wed, 22 Oct 2008) | 1 line
and another typo...
........
r67000 | benjamin.peterson | 2008-10-22 16:16:34 -0500 (Wed, 22 Oct 2008) | 1 line
fix #4150 : pdb's up command didn't work for generators in post-mortem
........
r67007 | benjamin.peterson | 2008-10-23 16:43:48 -0500 (Thu, 23 Oct 2008) | 1 line
only nonempty __slots__ don't work
........
r67015 | georg.brandl | 2008-10-25 02:00:52 -0500 (Sat, 25 Oct 2008) | 2 lines
Typo fix.
........
2008-10-25 15:49:17 +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