phihag / ipaddress

Python 3.3+'s ipaddress for older Python versions
Other
105 stars 53 forks source link

Update to the latest version from CPython 3.8 #60

Open frenzymadness opened 3 years ago

frenzymadness commented 3 years ago

I've managed to update this module to the version we currently have in CPython 3.8. The fix for #55 proposed in #56 is also included.

As I explained in #59, some changes might be a little bit backward-incompatible but not in a sense of compatibility with older Pythons but some parts just get deleted in CPython. I haven't seen anything important.

I had to do some small details in different ways or skip a commit or a part of it, here are some notes from the process:

All tests are okay locally (in Docker containers) so they should be okay also in the CI. Reviews and tests appreciated.

shadchin commented 3 years ago

@phihag Can you merge this PR?