Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep rval refs alive in StringHashTable._unique
Address a Heisenbug caused by `v = get_c_string(<str>repr(val))` potentially pointed to a string that is unreferenced the next time an exception is raised. (Two exceptions are raised in succession in `pandas/tests/base/test_unique.py test_unique_bad_unicode`. Signed-off-by: Michael Tiemann <[email protected]>
- Loading branch information