﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
18776	urlparse do not support reverse_lazy as url arg	Claude Paroz	nobody	"With Python 2, we could pass a reverse_lazy result ({{{__proxy__}}} instance) to urlparse and the string conversion was done without problem.

With Python 3, this is failing, because urlparse is feeding url argument to a _coerce_args function which basically run:[[BR]]
{{{ if not isinstance(url, str): str.decode(encoding, errors) }}}.[[BR]]
And this is failing with an {{{AttributeError: '__proxy__' object has no attribute 'decode'}}}.

I think it is valuable not to have to explicitely force_text(url) each time we want to pass it to urlparse."	Bug	closed	Python 3	dev	Normal	fixed			Accepted	0	0	0	0	0	0
