Mercurial > hg
diff contrib/builddeb @ 31842:c130d092042a
py3: add a bytes version of urllib.parse.urlencode() to pycompat.py
urllib.parse.urlencode() returns unicodes on Python 3. This commit adds a
method which will take its output and encode it to bytes so that we can use
bytes consistently.
author | Pulkit Goyal <7895pulkit@gmail.com> |
---|---|
date | Fri, 07 Apr 2017 16:00:44 +0530 |
parents | c4f0e764b231 |
children | f1c2552c2de7 |