Commit Graph

6 Commits

Author SHA1 Message Date
Max Radermacher
5d0aaf00b0
Reformat all Python files 2024-03-29 12:53:58 -05:00
Evan Hahn
1101db6a29 Upgrade scripts to Python 3
Python 2 was [removed from macOS in 12.3][0]. This change:

- Automatically converts many files with [2to3][1]
- Manually updates all [shebangs][2] to use `python3` instead of
  versionless `python` or `python2.7`
- Manually applies a few fixes, many of which were noted by 2to3
- Manually undoes a few fixes that were automatically done by 2to3

[0]: https://www.macrumors.com/2022/01/28/apple-removing-python-2-in-macos-12-3/
[1]: https://docs.python.org/3/library/2to3.html
[2]: https://en.wikipedia.org/wiki/Shebang_(Unix)
2022-03-21 12:58:33 -05:00
Matthew Chen
e3d8421b9e Respond to CR.
// FREEBIE
2017-10-31 13:56:30 -04:00
Matthew Chen
0a926567ed Respond to CR.
// FREEBIE
2017-10-30 13:05:11 -04:00
Matthew Chen
530b70d706 Respond to CR.
// FREEBIE
2017-10-30 12:23:13 -04:00
Matthew Chen
841a2333e3 Respond to CR.
// FREEBIE
2017-10-30 12:11:42 -04:00