[Django] #28865: Auto reloader .py file path from .pyc calculation strategy outdated

3 views
Skip to first unread message

Django

unread,
Nov 30, 2017, 7:03:31 AM11/30/17
to django-...@googlegroups.com
#28865: Auto reloader .py file path from .pyc calculation strategy outdated
-------------------------------------+-------------------------------------
Reporter: Ramiro | Owner: Ramiro Morales
Morales |
Type: | Status: assigned
Cleanup/optimization |
Component: Utilities | Version: master
Severity: Normal | Keywords: pyc autorelader
Triage Stage: | runserver
Unreviewed | Has patch: 1
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------+-------------------------------------
As the OP of PR 8819 (for #27685)
[https://github.com/django/django/pull/8819#issue-246155699 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.)

--
Ticket URL: <https://code.djangoproject.com/ticket/28865>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
Dec 18, 2017, 10:41:38 PM12/18/17
to django-...@googlegroups.com
#28865: Auto reloader .py file path from .pyc calculation strategy outdated
-------------------------------------+-------------------------------------
Reporter: Ramiro Morales | Owner: Ramiro
Type: | Morales
Cleanup/optimization | Status: closed
Component: Utilities | Version: master
Severity: Normal | Resolution: wontfix

Keywords: pyc autorelader | Triage Stage:
runserver | Unreviewed
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------------+-------------------------------------
Changes (by Tim Graham):

* status: assigned => closed
* resolution: => wontfix


Comment:

Closing as wontfix as per discussion on the
[https://github.com/django/django/pull/9402 PR].

--
Ticket URL: <https://code.djangoproject.com/ticket/28865#comment:1>

Reply all
Reply to author
Forward
0 new messages