Skip to content

DEPR: deprecate __bytes__ methods #26444

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

Closed
wants to merge 1 commit into from

Conversation

topper-123
Copy link
Contributor

@topper-123 topper-123 commented May 18, 2019

Deprecate the use of __bytes__ method from StringMixin and PandasExtensionDtype. These are the only uses of __bytes__ in the code base.

@jreback
Copy link
Contributor

jreback commented May 18, 2019

why would these need deprecation? just remove them

@topper-123 topper-123 closed this May 18, 2019
@topper-123 topper-123 deleted the deprecate_bytes branch May 18, 2019 00:24
@codecov
Copy link

codecov bot commented May 18, 2019

Codecov Report

Merging #26444 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26444      +/-   ##
==========================================
- Coverage   91.73%   91.73%   -0.01%     
==========================================
  Files         174      174              
  Lines       50738    50740       +2     
==========================================
  Hits        46545    46545              
- Misses       4193     4195       +2
Flag Coverage Δ
#multiple 90.23% <100%> (ø) ⬆️
#single 41.68% <0%> (-0.09%) ⬇️
Impacted Files Coverage Δ
pandas/core/dtypes/dtypes.py 97.37% <100%> (+0.72%) ⬆️
pandas/core/base.py 98% <100%> (ø) ⬆️
pandas/io/gbq.py 78.94% <0%> (-10.53%) ⬇️
pandas/core/frame.py 97.02% <0%> (-0.12%) ⬇️
pandas/util/testing.py 90.6% <0%> (-0.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ebe6b91...d40ff68. Read the comment docs.

1 similar comment
@codecov
Copy link

codecov bot commented May 18, 2019

Codecov Report

Merging #26444 into master will decrease coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##           master   #26444      +/-   ##
==========================================
- Coverage   91.73%   91.73%   -0.01%     
==========================================
  Files         174      174              
  Lines       50738    50740       +2     
==========================================
  Hits        46545    46545              
- Misses       4193     4195       +2
Flag Coverage Δ
#multiple 90.23% <100%> (ø) ⬆️
#single 41.68% <0%> (-0.09%) ⬇️
Impacted Files Coverage Δ
pandas/core/dtypes/dtypes.py 97.37% <100%> (+0.72%) ⬆️
pandas/core/base.py 98% <100%> (ø) ⬆️
pandas/io/gbq.py 78.94% <0%> (-10.53%) ⬇️
pandas/core/frame.py 97.02% <0%> (-0.12%) ⬇️
pandas/util/testing.py 90.6% <0%> (-0.11%) ⬇️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update ebe6b91...d40ff68. Read the comment docs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants