#30506: Auto-reloading with StatReloader very intermittently throws "ValueError:
embedded null byte".
-------------------------------------+-------------------------------------
     Reporter:  Keryn Knight         |                    Owner:  nobody
         Type:  Bug                  |                   Status:  closed
    Component:  Core (Management     |                  Version:  master
  commands)                          |
     Severity:  Normal               |               Resolution:  needsinfo
     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 Keryn Knight):

 > I don't believe that it is related with pathlib

 Well ... it definitely is, you can see that from the stacktrace. The
 difference between 2.2 and 2.1 (and every version prior) for the purposes
 of this report is that AFAIK 2.2 is using `pathlib.resolve()` which deals
 with symlinks where under <2.2 I don't think the equivalent
 (`os.path.realpath` rather than `os.path.abspath`) was used.

 But yes, there's no path forward to fix the ticket as it stands, short of
 not using pathlib (or at least `.resolve()`).

-- 
Ticket URL: <https://code.djangoproject.com/ticket/30506#comment:2>
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 post to this group, send email to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/067.c36c2a7970cdf189181beba5cde8a3f7%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to