This is portable to Python 3.
Details
Details
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Lint
Automatic diff as part of commit; lint not applicable. - Unit
Automatic diff as part of commit; unit tests not applicable.
Event Timeline
Comment Actions
I'd be curious if there is a perf hit to this. The slicing API is a bit more involved than __getitem__ at the C layer. But since this is Python code, my guess is run time is dominated by Python function call overhead and we don't notice a perf difference.