Switch to the modern format for octals.
Review Request #9672 — Created Feb. 18, 2018 and submitted — Latest diff uploaded
Python 2.6 introduced a new format for octals, which is in the form of
0o755
instead of0755
. The new format was optional through Python
2.x, but is mandatory in Python 3.This change simply switches all of our octals in the codebase to the
modern format.
Unit tests pass on Python 2.7. We're not in a position yet to run tests
on Python 3.