Fix exception handling, and update imports
Review Request #9648 — Created Feb. 16, 2018 and submitted
Remove fix exception handling, and update imports
Ran Unit tests in Python 2.7 and all passed.
Description | From | Last Updated |
---|---|---|
This change breaks Python 2.7. We don't want to remove the (object). |
chipx86 | |
Import groups must be in the following order, with a blank line separating each: from __future__ Python Standard Library imports … |
chipx86 | |
This line should be removed |
david | |
Not everything in setup() can deal with having unicode strings. I'm not sure it's actually a problem in this particular … |
david | |
Undo this change? |
david |
- Description:
-
Remove all old style classes, fix exception handling, and update imports
+ + https://reviews.reviewboard.org/r/9648/
+ https://reviews.reviewboard.org/r/9649/ + https://reviews.reviewboard.org/r/9650/ + https://reviews.reviewboard.org/r/9651/ + https://reviews.reviewboard.org/r/9652/ + https://reviews.reviewboard.org/r/9653/ + https://reviews.reviewboard.org/r/9654/ + https://reviews.reviewboard.org/r/9655/ - Depends On:
-
-
-
-
Import groups must be in the following order, with a blank line separating each:
from __future__
- Python Standard Library imports
- Third-party module imports
- Project imports
Within each, we want
import ...
statements followed byfrom ...
statements, without a blank line in-between. All must also be in alphabetical order.We also don't need
absolute_import
. Please revert those.
- Summary:
-
Remove all old style classes, fix exception handling, and update importsFix exception handling, and update imports
- Description:
-
~ Remove all old style classes, fix exception handling, and update imports
~ Remove fix exception handling, and update imports
- - https://reviews.reviewboard.org/r/9648/
- https://reviews.reviewboard.org/r/9649/ - https://reviews.reviewboard.org/r/9650/ - https://reviews.reviewboard.org/r/9651/ - https://reviews.reviewboard.org/r/9652/ - https://reviews.reviewboard.org/r/9653/ - https://reviews.reviewboard.org/r/9654/ - https://reviews.reviewboard.org/r/9655/ - Testing Done:
-
Not sure what to put here since these intermediate commits don't pass tests or flake8.
+ + I rebased this change to be the first change of the series.
- Depends On:
-
- Commit:
ac8dd3951174f77b7db14986b4f728b876155998f0fb37b69e4db522347dcdaf6659ff95ee2b0950- Diff:
Revision 2 (+51 -22)
Checks run (2 succeeded)
flake8 passed.JSHint passed.
- Testing Done:
-
~ Not sure what to put here since these intermediate commits don't pass tests or flake8.
~ Ran Unit tests in Python 2.7 and all passed.
- - I rebased this change to be the first change of the series.
- Depends On:
-
- Commit:
f0fb37b69e4db522347dcdaf6659ff95ee2b0950eb0810a0fe7fada305b61c23b098bb78cc14520c- Diff:
Revision 3 (+33 -23)
Checks run (2 succeeded)
flake8 passed.JSHint passed.
- Commit:
-
eb0810a0fe7fada305b61c23b098bb78cc14520c6c0df0e7ce81a4f3923a303b1d171e063e756ee1