We were telling python that "rev" was a Py_ssize_t (via the "n" format),
but it was actually an int.
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
Thanks again for finding this. I have no idea why I started using n all of a sudden where the rest of the code is using i (with an int). Using n (with the correct type, of course) might be strictly better even though it doesn't really matter, so I guess we'll stick with it.