The change does not preserve compatibility with Python 2.7.
Details
Details
Diff Detail
Diff Detail
- Repository
- rS FreeBSD src repository - subversion
- Lint
Lint Errors - Unit
No Test Coverage - Build Status
Buildable 43575 Build 40463: arc lint + arc unit
Event Timeline
Comment Actions
I used to program in Python many years ago, but I am not very good with it now.
This is my attempt to make the script work with Python 3 as it is the default Python now.
It may be worthwhile fixing the code style in the script to conform to PEP8, etc just to appease linters, code editors, etc.
tools/sched/schedgraph.py | ||
---|---|---|
800 | Looks like you might want to add @total_ordering to class EventSource and the decorator definition: This will complete the port from single func cmp to the new Python 3 method. |