-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Passing pathlib.Path
to Observer.schedule()
causes a trap in Observer.start()
on MacOS
#651
Labels
Comments
rec
changed the title
Passing
Passing Feb 26, 2020
pathlib.Path
to Observer.schedule()
causes a trap in Observer.start()
pathlib.Path
to Observer.schedule()
causes a trap in Observer.start()
on MacOS
rec
added a commit
to rec/watchdog
that referenced
this issue
Feb 26, 2020
rec
added a commit
to rec/watchdog
that referenced
this issue
Apr 28, 2020
rec
added a commit
to rec/watchdog
that referenced
this issue
Apr 28, 2020
rec
added a commit
to rec/watchdog
that referenced
this issue
Apr 28, 2020
rec
added a commit
to rec/watchdog
that referenced
this issue
Apr 28, 2020
rec
added a commit
to rec/watchdog
that referenced
this issue
Apr 28, 2020
rec
added a commit
to rec/watchdog
that referenced
this issue
Apr 28, 2020
rec
added a commit
to rec/watchdog
that referenced
this issue
Apr 28, 2020
Fixed in #652. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
(This is not a regression of #26! :-))
See this minimal example: https://github.com/rec/backer/blob/bpt-trap/bpt_trap.py
On MacOS, it causes a
BPT trap Compilation trace/BPT trap: 5
(something like a SEGV if you are Linux person) on Python 3.6.6, Python 3.7.0, and Python 3.8.1 exactly ifPATH
is apathlib.Path
.The workaround is to cast the
Path
to astr
before callingObserver.schedule()
.The text was updated successfully, but these errors were encountered: