Skip to content
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

Don't warn if a type already exists. #692

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open

Conversation

bje-
Copy link
Contributor

@bje- bje- commented Mar 28, 2023

Just as Python does not warn if you re-define a class, nor should- DEAP. The warning is annoying in some circumstances and I don't think it should be emitted.

@bje-
Copy link
Contributor Author

bje- commented May 19, 2023

Ping?

@fmder
Copy link
Member

fmder commented Jul 21, 2023

You are probably right, however, it changes the behaviour a bit too much. I'll think of a way to introduce that change slower.

@bje-
Copy link
Contributor Author

bje- commented Jul 21, 2023

IMHO, it's still an innocuous change. It doesn't change any program semantics, it just produces one less warning.

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