Skip to content

CLN: Move base.StringMixin to computations.common #27746

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Aug 5, 2019

Conversation

topper-123
Copy link
Contributor

StringMixin should be removed, but I can't figure out how to remove it without breaking tests, so this moves StringMixin to core.computation, which is the only module, where it is currently used.

This makes core.base.py a bit cleaner.



class StringMixin:
# TODO: delete this class. Removing this ATM caused a failure.
Copy link
Member

Choose a reason for hiding this comment

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

what does it cause to fail?

Is there a reason you are using "..." instead of "pass"?

Copy link
Contributor Author

@topper-123 topper-123 Aug 4, 2019

Choose a reason for hiding this comment

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

Yeah, pass is more normal, I'll change that.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If you remove the inheriance from StringMixin in core.computatons.scope.py::Scope tests will fail. Haven't been able to fix it.

@jbrockmendel
Copy link
Member

Generally +1. If you were inclined to try to separate out the just-for-io.pytables parts I'd offer moral support for that too.

@topper-123
Copy link
Contributor Author

I’ve updated the PR.

@jreback jreback added this to the 1.0 milestone Aug 5, 2019
@jreback jreback merged commit ce357d9 into pandas-dev:master Aug 5, 2019
@jreback
Copy link
Contributor

jreback commented Aug 5, 2019

thanks @topper-123

@topper-123 topper-123 deleted the move_StringMixin branch August 5, 2019 13:25
quintusdias pushed a commit to quintusdias/pandas_dev that referenced this pull request Aug 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants