Skip to content

Replace mutable default arguments with the correct implementation.#677

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

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

Conversation

@Sraw

@Sraw Sraw commented Jul 11, 2020

Copy link
Copy Markdown
Contributor

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

BoboTiG commented Jul 11, 2020

Copy link
Copy Markdown
Collaborator

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

BoboTiG commented Jul 11, 2020

Copy link
Copy Markdown
Collaborator

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.

2 participants