You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
TST: adds test for memoized empty string and chars
In many capi functions for python the empty string and single characters
are memoized to return preallocated bytes objects. This could be a
potential problem with the implementation of pandas.io.packers.unconvert
so we are adding a test for this explicitly.
Currently neither zlib nor blosc hit this case because they use
PyBytes_FromStringAndSize(NULL, n) which does not pull from the shared
pool of bytes objects; however, this test will guard us against changes
to this implementation detail in the future.
0 commit comments