[patch] __repr__ for RegexURLPattern not unicode safe
An instance of
RegexURLPattern is returned by the
url() function, which can be used as an argument to
patterns() for the URLConf. The url arguments for regex and name could contain unicode. However, the
__repr__ function handle this data as bytestring and could raise a
UnicodeDecodeError: 'ascii' codec can't decode byte.
RegexURLResolver should be affected too.
Change History (5)
Ready for checkin