Opened 7 years ago
Closed 7 years ago
#28865 closed Cleanup/optimization (wontfix)
Auto reloader .py file path from .pyc calculation strategy outdated
Reported by: | Ramiro Morales | Owned by: | Ramiro Morales |
---|---|---|---|
Component: | Utilities | Version: | dev |
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.)
Note:
See TracTickets
for help on using tickets.
Closing as wontfix as per discussion on the PR.