#34720: BaseReloader.watch_dir() incorrectly checks for existence of path
-------------------------------+--------------------------------------
     Reporter:  Josh           |                    Owner:  nobody
         Type:  Bug            |                   Status:  new
    Component:  Uncategorized  |                  Version:  4.2
     Severity:  Normal         |               Resolution:
     Keywords:                 |             Triage Stage:  Unreviewed
    Has patch:  0              |      Needs documentation:  0
  Needs tests:  0              |  Patch needs improvement:  0
Easy pickings:  0              |                    UI/UX:  0
-------------------------------+--------------------------------------

Comment (by Jeff Triplett):

 If the goal is to raise the exception, `Path.resolve(strict=False)` might
 also be worth taking a look at to raise the FileNotFoundError exception.
 See: https://docs.python.org/3/library/pathlib.html#pathlib.Path.resolve

-- 
Ticket URL: <https://code.djangoproject.com/ticket/34720#comment:3>
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/0107018966159b14-16cb7b1c-6ca2-4261-a61b-9ffc63f212a5-000000%40eu-central-1.amazonses.com.

Reply via email to