Closed alexander-beedie closed 4 months ago
We vendored datashape this fall as it failed to install with Python 3.12, as it hadn't been updated for some time... That does not mean we should have Python 2 code in it.
Makes sense! I was starting to very gently poke around to see what it might take to get first-class Polars integration, and just happened to spot this 🤔
All modified and coverable lines are covered by tests :white_check_mark:
Comparison is base (
077e95c
) 85.64% compared to head (2290bb6
) 85.63%.
Thank you for the PR :+1:
Some long-unnecessary py2 → py3
int
andstr
helper stubs were lurking in the codebase.These can be removed to clean things up a bit (with the minor/bonus side-effect of making all the
isinstance
checks that referenced them ~1.5-2x faster, as the helper stubs were both single-element tuples).