Opened 2 weeks ago

#28865 assigned Cleanup/optimization

Auto reloader .py file path from .pyc calculation strategy outdated

Reported by: Ramiro Morales Owned by: Ramiro Morales
Component: Utilities Version: master
Severity: Normal Keywords: pyc autorelader runserver
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

As the OP of PR 8819 (for #27685) mentions, code in the automatice reloader assumes .pyc files are created in the same directory as their .py conterparts.

This is partially true for Django 1.11 (which still suport Python2) and false for Djanfgo >= 2.0.

(I have'n been able to reproduce/detect in which condition the code changes watch would report .pyc files when running runserver, so for now this report of just for correctness.)

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top