HomePhabricator

Restore Page.__repr__ to pre-unicode_literals behaviour

Description

Restore Page.repr to pre-unicode_literals behaviour

1e54a7d introduce unicode_literals, but altered the output
of Page.repr. Prior to that change, Page.repr in py2
emitted non-ascii encoded using config.console_encoding so it
would display correctly in the console, and the logging layer
would then recode it to the required encoding.

Change-Id: I7da9ba18fcdfa31c6f78db68179a4c953bc649a7

Details