Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
import nat_unpickle to fix backcompat pickle
  • Loading branch information
jbrockmendel committed Oct 29, 2017
commit 449d5deae01d7d4d87de912152f3db3d1e9dc43f
3 changes: 2 additions & 1 deletion pandas/_libs/tslib.pyx
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,8 @@ from tslibs.fields import (
get_date_name_field, get_start_end_field, get_date_field,
build_field_sarray)

from tslibs.nattype import NaT, nat_strings
from tslibs.nattype import NaT, nat_strings, __nat_unpickle
# Note: __nat_unpickle needs to be in the namespace for backward compat pickle
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

? why is that, you already do the pickle compat dance.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'd have to go back and check the relevant Travis logs, but there was an error a couple days ago. Might have been an xarray thing?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this needs a rebase anyhow. remove the import and let's see.

from tslibs.nattype cimport _checknull_with_nat
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

in followup, can de-privatize checknull_with_nat

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looking forward to it.



Expand Down