-
-
Notifications
You must be signed in to change notification settings - Fork 704
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Avoid crashing the event processing thread on non-utf8 filenames (#812)
* Avoid putting the process in a zombie state when encountering non-unicode filenames This patch matches the behavior of the python3 branch on python2: If a file's name is not a valid string in the filesystem's character encoding, then it is processed with a filename string where the invalid characters are encoded as unicode surrogate pairs. This matches the behavior of os.fsdecode which is used on python 3 https://docs.python.org/3/library/os.html#os.fsdecode * Update changelog.rst Co-authored-by: Mickaël Schoentgen <contact@tiger-222.fr>
- Loading branch information
Showing
2 changed files
with
8 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters