Skip to content

rename ABC class to AbstractRemote to not be confused with abc.ABC#581

Open
Vizonex wants to merge 3 commits intoaio-libs:masterfrom
Vizonex:abc-rename
Open

rename ABC class to AbstractRemote to not be confused with abc.ABC#581
Vizonex wants to merge 3 commits intoaio-libs:masterfrom
Vizonex:abc-rename

Conversation

@Vizonex
Copy link
Copy Markdown
Member

@Vizonex Vizonex commented Apr 8, 2026

What do these changes do?

I decided to go through a repository I've never touched before and something that I thought was pretty weird was the wording for the aiohttp_remotes.abc module. I decided to rename it because I didn't want to confuse developers even though this has been here for over 6 years. The one thing I try to do when I develop my own libraries or packages is not to confuse other developers.

Are there changes in behavior for the user?

What I hope this change does is at least clarify what this class is and what it is meant for someone importing this normally and has no clue what it is without reading the code itself may not realize that this does not belong to abc.ABC in the python library hence my change here. I would've thrown an issue about this but I had just decided to just write it in anyways since it was so tiny. I did make sure to poke around to see if this was talked about though and so far it just hasn't. Hopefully if this PR is blocked for whatever reason I'll know as to why the naming of ABC was meant to be here at least.

Feel free to let me know if the ABC name should just be deprecated if this PR goes forward.

Related issue number

Checklist

  • I think the code is well written
  • Unit tests for the changes exist
  • Documentation reflects the changes

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.

1 participant