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

Replace mutable default arguments with the correct implementation. #677

Merged
merged 2 commits into from Jul 11, 2020

Conversation

Sraw
Copy link
Contributor

@Sraw Sraw commented Jul 11, 2020

This will avoid potential sharing state problems through different instances of the EventHandler.

The problem is very unlikely to happen, but whatever we fix a potential bug.

This will avoid potential sharing states problem through different instances of the EventHandler
@BoboTiG BoboTiG added the bug label Jul 11, 2020
@BoboTiG
Copy link
Collaborator

BoboTiG commented Jul 11, 2020

Hello @Sraw ,
Thanks for the PR!

Could you add a line and your GitHub nick into https://github.com/gorakhargosh/watchdog/blob/master/changelog.rst 🙏?

@BoboTiG BoboTiG merged commit 4bd3cfe into gorakhargosh:master Jul 11, 2020
@BoboTiG
Copy link
Collaborator

BoboTiG commented Jul 11, 2020

Thanks 👍

CCP-Aporia pushed a commit to CCP-Aporia/watchdog that referenced this pull request Aug 13, 2020
…rakhargosh#677)

* Replace mutable default arguments with the correct implementation.
This will avoid potential sharing states problem through different instances of the EventHandler

* update changelog.rst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants