-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
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
Remove unused ip address helpers #9344
Conversation
These are now unused
|
memoryview didn't actually work also we never pass anything but string |
Codecov ReportAll modified and coverable lines are covered by tests ✅
✅ All tests successful. No failed tests found. Additional details and impacted files@@ Coverage Diff @@
## master #9344 +/- ##
==========================================
- Coverage 98.56% 98.55% -0.01%
==========================================
Files 107 107
Lines 34942 34910 -32
Branches 4145 4136 -9
==========================================
- Hits 34439 34407 -32
Misses 335 335
Partials 168 168
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
Backport to 3.11: 💚 backport PR created✅ Backport PR branch: Backported as #9349 🤖 @patchback |
(cherry picked from commit ea991a9)
What do these changes do?
Remove
is_ipv6_addressandis_ipv4_addresshelpers as they are not used in the codebase anymore. Not back-ported to 3.10 since there is still back-compat code that uses them.Remove support for
bytes/bytesarray/memoryviewfromis_ip_addressas its never used. Also passing amemoryviewdid not work so there was no chance it was being used.Are there changes in behavior for the user?
The helpers have been removed. They are not expected to be called externally, however in case someone was using them, this was marked as a breaking change.
Is it a substantial burden for the maintainers to support this?
no