Skip to content

Replace mutable default arguments with the correct implementation.#677

Merged
BoboTiG merged 2 commits intogorakhargosh:masterfrom
Sraw:fixMutableDefaultArguments
Jul 11, 2020
Merged

Replace mutable default arguments with the correct implementation.#677
BoboTiG merged 2 commits intogorakhargosh:masterfrom
Sraw:fixMutableDefaultArguments

Conversation

@Sraw
Copy link
Copy Markdown
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
Copy Markdown
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
Copy Markdown
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

2 participants