The returned value from this function is eventually fed into
email.charset.Charset.init. However, the standard library
appears to handle both string types in Python 2 and 3. So there
shouldn't be any problem returning a bytes here.
Details
Details
- Reviewers
pulkit durin42 - Group Reviewers
hg-reviewers - Commits
- rHG6ea7f1c10c81: py3: cast character set to bytes
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Lint Skipped - Unit
Unit Tests Skipped