Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
cpython
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
Batuhan Osman TASKAYA
cpython
Commits
f8479eeb
Kaydet (Commit)
f8479eeb
authored
Eyl 16, 2016
tarafından
Berker Peksag
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Sade Fark
Issue #25895: Merge from 3.5
üst
355bbb0a
f676748a
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
9 additions
and
3 deletions
+9
-3
urllib.parse.rst
Doc/library/urllib.parse.rst
+1
-1
test_urlparse.py
Lib/test/test_urlparse.py
+2
-0
parse.py
Lib/urllib/parse.py
+3
-2
NEWS
Misc/NEWS
+3
-0
No files found.
Doc/library/urllib.parse.rst
Dosyayı görüntüle @
f8479eeb
...
@@ -25,7 +25,7 @@ Resource Locators. It supports the following URL schemes: ``file``, ``ftp``,
...
@@ -25,7 +25,7 @@ Resource Locators. It supports the following URL schemes: ``file``, ``ftp``,
``gopher``, ``hdl``, ``http``, ``https``, ``imap``, ``mailto``, ``mms``,
``gopher``, ``hdl``, ``http``, ``https``, ``imap``, ``mailto``, ``mms``,
``news``, ``nntp``, ``prospero``, ``rsync``, ``rtsp``, ``rtspu``, ``sftp``,
``news``, ``nntp``, ``prospero``, ``rsync``, ``rtsp``, ``rtspu``, ``sftp``,
``shttp``, ``sip``, ``sips``, ``snews``, ``svn``, ``svn+ssh``, ``telnet``,
``shttp``, ``sip``, ``sips``, ``snews``, ``svn``, ``svn+ssh``, ``telnet``,
``wais``.
``wais``
, ``ws``, ``wss``
.
The :mod:`urllib.parse` module defines functions that fall into two broad
The :mod:`urllib.parse` module defines functions that fall into two broad
categories: URL parsing and URL quoting. These are covered in detail in
categories: URL parsing and URL quoting. These are covered in detail in
...
...
Lib/test/test_urlparse.py
Dosyayı görüntüle @
f8479eeb
...
@@ -425,6 +425,8 @@ class UrlParseTestCase(unittest.TestCase):
...
@@ -425,6 +425,8 @@ class UrlParseTestCase(unittest.TestCase):
self
.
checkJoin
(
''
,
'http://a/./g'
,
'http://a/./g'
)
self
.
checkJoin
(
''
,
'http://a/./g'
,
'http://a/./g'
)
self
.
checkJoin
(
'svn://pathtorepo/dir1'
,
'dir2'
,
'svn://pathtorepo/dir2'
)
self
.
checkJoin
(
'svn://pathtorepo/dir1'
,
'dir2'
,
'svn://pathtorepo/dir2'
)
self
.
checkJoin
(
'svn+ssh://pathtorepo/dir1'
,
'dir2'
,
'svn+ssh://pathtorepo/dir2'
)
self
.
checkJoin
(
'svn+ssh://pathtorepo/dir1'
,
'dir2'
,
'svn+ssh://pathtorepo/dir2'
)
self
.
checkJoin
(
'ws://a/b'
,
'g'
,
'ws://a/g'
)
self
.
checkJoin
(
'wss://a/b'
,
'g'
,
'wss://a/g'
)
# XXX: The following tests are no longer compatible with RFC3986
# XXX: The following tests are no longer compatible with RFC3986
# self.checkJoin(SIMPLE_BASE, '../../../g','http://a/../g')
# self.checkJoin(SIMPLE_BASE, '../../../g','http://a/../g')
...
...
Lib/urllib/parse.py
Dosyayı görüntüle @
f8479eeb
...
@@ -42,11 +42,12 @@ __all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag",
...
@@ -42,11 +42,12 @@ __all__ = ["urlparse", "urlunparse", "urljoin", "urldefrag",
uses_relative
=
[
'ftp'
,
'http'
,
'gopher'
,
'nntp'
,
'imap'
,
uses_relative
=
[
'ftp'
,
'http'
,
'gopher'
,
'nntp'
,
'imap'
,
'wais'
,
'file'
,
'https'
,
'shttp'
,
'mms'
,
'wais'
,
'file'
,
'https'
,
'shttp'
,
'mms'
,
'prospero'
,
'rtsp'
,
'rtspu'
,
''
,
'sftp'
,
'prospero'
,
'rtsp'
,
'rtspu'
,
''
,
'sftp'
,
'svn'
,
'svn+ssh'
]
'svn'
,
'svn+ssh'
,
'ws'
,
'wss'
]
uses_netloc
=
[
'ftp'
,
'http'
,
'gopher'
,
'nntp'
,
'telnet'
,
uses_netloc
=
[
'ftp'
,
'http'
,
'gopher'
,
'nntp'
,
'telnet'
,
'imap'
,
'wais'
,
'file'
,
'mms'
,
'https'
,
'shttp'
,
'imap'
,
'wais'
,
'file'
,
'mms'
,
'https'
,
'shttp'
,
'snews'
,
'prospero'
,
'rtsp'
,
'rtspu'
,
'rsync'
,
''
,
'snews'
,
'prospero'
,
'rtsp'
,
'rtspu'
,
'rsync'
,
''
,
'svn'
,
'svn+ssh'
,
'sftp'
,
'nfs'
,
'git'
,
'git+ssh'
]
'svn'
,
'svn+ssh'
,
'sftp'
,
'nfs'
,
'git'
,
'git+ssh'
,
'ws'
,
'wss'
]
uses_params
=
[
'ftp'
,
'hdl'
,
'prospero'
,
'http'
,
'imap'
,
uses_params
=
[
'ftp'
,
'hdl'
,
'prospero'
,
'http'
,
'imap'
,
'https'
,
'shttp'
,
'rtsp'
,
'rtspu'
,
'sip'
,
'sips'
,
'https'
,
'shttp'
,
'rtsp'
,
'rtspu'
,
'sip'
,
'sips'
,
'mms'
,
''
,
'sftp'
,
'tel'
]
'mms'
,
''
,
'sftp'
,
'tel'
]
...
...
Misc/NEWS
Dosyayı görüntüle @
f8479eeb
...
@@ -27,6 +27,9 @@ Core and Builtins
...
@@ -27,6 +27,9 @@ Core and Builtins
Library
Library
-------
-------
-
Issue
#
25895
:
Enable
WebSocket
URL
schemes
in
urllib
.
parse
.
urljoin
.
Patch
by
Gergely
Imreh
and
Markus
Holtermann
.
-
Issue
#
28114
:
Fix
a
crash
in
parse_envlist
()
when
env
contains
byte
strings
.
-
Issue
#
28114
:
Fix
a
crash
in
parse_envlist
()
when
env
contains
byte
strings
.
Patch
by
Eryk
Sun
.
Patch
by
Eryk
Sun
.
...
...
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