Changes between and of Initial VersionVersion 13Ticket #8068


Ignore:
Timestamp:
11/10/2015 02:11:25 AM (5 years ago)
Author:
hawkowl
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #8068

    • Property Summary changed from twisted.python.urlpath has str attributes on Python 3, not bytes to twisted.python.urlpath.URLPath doesn't respect the default path of '/'
    • Property Branch changed from to branches/urlpath-str-8068-3
    • Property Author changed from to hawkowl
    • Property Keywords review added
  • Ticket #8068 – Description

    initial v13  
    1 {{{urlparse}}} returns a str, so we need to encode it first.
     1In 15.4:
     2{{{
     3>>> URLPath.fromString("http://google.com")
     4URLPath(scheme='http', netloc='google.com', path='/', query='', fragment='')
     5>>> str(URLPath.fromString("http://google.com"))
     6'http://google.com/'
     7}}}
     8
     9...in trunk...
     10
     11{{{
     12>>> URLPath.fromString("http://google.com")
     13URLPath(scheme='http', netloc='google.com', path='', query='', fragment='')
     14>>> str(URLPath.fromString("http://google.com"))
     15'http://google.com'
     16}}}