New issue 2362: Django's development server repeats reload infinitely
https://bitbucket.org/pypy/pypy/issues/2362/djangos-development-server-repeats-reload

RyoYokoyama:

[Django's development 
server](https://docs.djangoproject.com/ja/1.9/ref/django-admin/#runserver) 
repeats reload infinitely.

```
#!python

C:\pypyreload>pypy manage.py runserver
Performing system checks...

System check identified no issues (0 silenced).

You have unapplied migrations; your app may not work properly until they are 
applied.
Run 'python manage.py migrate' to apply them.
August 03, 2016 - 11:44:13
Django version 1.9.8, using settings 'pypyreload.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Performing system checks...

System check identified no issues (0 silenced).

You have unapplied migrations; your app may not work properly until they are 
applied.
Run 'python manage.py migrate' to apply them.
August 03, 2016 - 11:44:16
Django version 1.9.8, using settings 'pypyreload.settings'
Starting development server at http://127.0.0.1:8000/
Quit the server with CTRL-BREAK.
Performing system checks...

System check identified no issues (0 silenced).

...
```

I found that in django.utils.autoreload, os.stat([path to 
lib-python\2.7\posixpath.py]).st_ctime returned 2 different values and this 
file was recognized as modified.

The attached simple code reproduces this problem.

My Environment:

* Windows 10 64bit
* pypy2.7 v5.3.1



_______________________________________________
pypy-issue mailing list
pypy-issue@python.org
https://mail.python.org/mailman/listinfo/pypy-issue

Reply via email to