Mark the codebase as Python 2 compatible. (#27214)
Summary:
Pull Request resolved: https://github.com/pytorch/pytorch/pull/27214
There appears to be some convention that if you have a .python2 file
in your directory, it indicates all of the downstream files are Python 2
files (and our internal linter will stop complaining about lack of
__future__ compatibility imports). When we switch to Python 3 only,
move this to .python3
Signed-off-by: Edward Z. Yang <ezyang@fb.com>
Test Plan: Imported from OSS
Reviewed By: zertosh
Differential Revision: D17712308
Pulled By: ezyang
fbshipit-source-id: 69b1dd720bc20a22264ebdc0ce56b7a5dbfc5f34