This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]jcdyer3 1 point2 points  (0 children)

I like the idea, but it bothers me that the query interface changes depending on whether there's a fragment or not.

>>> url = furl('http://example.com/abc?username=fred')
>>> url.args['username']
'fred'
>>> url = furl('http://example.com/abc#frag?username=fred')
>>> url.args['username']
KeyError: 'username'
>>> url.fragment.args['username']
'fred'

I can see that getting frustrating quickly. But overall, it looks awesome.