#34720: BaseReloader.watch_dir() incorrectly checks for existence of path
-----------------------------+---------------------------------------
Reporter: Josh Thomas | Owner: Josh Thomas
Type: Bug | Status: closed
Component: Utilities | Version: 4.2
Severity: Normal | Resolution: invalid
Keywords: | Triage Stage: Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-----------------------------+---------------------------------------
Comment (by Mariusz Felisiak):
Replying to [comment:9 Jeff Triplett]:
> What was throwing us off is that it seems like `path.absolute()` will
never raise an `FileNotFoundError` error.
That's not true, check out my
[https://code.djangoproject.com/ticket/34720?replyto=9#comment:7 comment]
and #30647. We added `try ... except` to avoid crashes related with an
issue in Python run on some Docker images.
--
Ticket URL: <https://code.djangoproject.com/ticket/34720#comment:10>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/01070189745cc4b8-13b6b748-1822-4260-b6f2-c726ff02dd72-000000%40eu-central-1.amazonses.com.