Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
dc43adbf
Commit
dc43adbf
authored
Jul 08, 2012
by
Senthil Kumaran
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix the buildbot failure - msg164973
parent
01fe5fa8
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
Lib/urllib2.py
Lib/urllib2.py
+1
-1
Misc/NEWS
Misc/NEWS
+3
-4
No files found.
Lib/urllib2.py
View file @
dc43adbf
...
...
@@ -196,7 +196,7 @@ class Request:
def __init__(self, url, data=None, headers={},
origin_req_host=None, unverifiable=False):
# unwrap('<URL:type://host/path>') --> 'type://host/path'
self.__original = unwrap(
toBytes(url)
)
self.__original = unwrap(
url
)
self.__original = quote(self.__original, safe="
%/
:
=&
?
~
#+!$,;'@()*[]|")
self
.
__original
,
self
.
__fragment
=
splittag
(
self
.
__original
)
self
.
type
=
None
...
...
Misc/NEWS
View file @
dc43adbf
...
...
@@ -84,10 +84,9 @@ Core and Builtins
Library
-------
- Issue #14826: Quote urls in urllib2.Request identically to how they
are quoted by urllib.URLopener. Allows urls to spaces in them to work
transparently with urllib.request.urlopen(...). Patch contributed by Stephen
Thorne.
- Issue #14826: Quote urls in urllib2.Request similar to how they are quoted by
urllib.URLopener. Allows urls to spaces in them to work transparently with
urllib.request.urlopen(...). Patch contributed by Stephen Thorne.
- Issue #15247: FileIO now raises an error when given a file descriptor
pointing to a directory.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment