This is an archive of the discontinued Mercurial Phabricator instance.

py3: use email.generator module instead of email.Generator
ClosedPublic

Authored by pulkit on Feb 26 2018, 7:31 AM.

Details

Summary

On py2:

import email
import email.generator as emailgen
email.Generator.Generator is emailgen.Generator

True

email.Generator is not present on Python 3.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Feb 26 2018, 7:31 AM
This revision was automatically updated to reflect the committed changes.