-
Couldn't load subscription status.
- Fork 2
Closed
Labels
part:asyncioAffects the asyncio moduleAffects the asyncio modulescope:breaking-changeBreaking change, users will need to update their codeBreaking change, users will need to update their codetype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Milestone
Description
What's needed?
We need to make clear that the name is not just a random name, it should be something to easily identify a particular instance of a class. It seems like users like a lot passing the class name as the name when subclassing, which is pointless as the class name will be included too when using the name (for logging for example).
Proposed solution
Rename name to unique_id, which should give users a better impression what this string should be about.
Use cases
No response
Alternatives and workarounds
No response
Additional context
We'll probably need to update all subclasses forwarding the name argument to super().__init__().
Metadata
Metadata
Assignees
Labels
part:asyncioAffects the asyncio moduleAffects the asyncio modulescope:breaking-changeBreaking change, users will need to update their codeBreaking change, users will need to update their codetype:enhancementNew feature or enhancement visitble to usersNew feature or enhancement visitble to users
Type
Projects
Status
Done