django1/django/core
Przemysław Suliga af5ec222cc Used time.monotonic() instead of time.time() where applicable.
time.monotonic() available from Python 3.3:

- Nicely communicates a narrow intent of "get a local system monotonic
  clock time" instead of possible "get a not necessarily accurate Unix
  time stamp because it needs to be communicated to outside of this
  process/machine" when time.time() is used.
  
- Its result isn't affected by the system clock updates.

There are two classes of time.time() uses changed to time.monotonic()
by this change:

- measuring time taken to run some code.

- setting and checking a "close_at" threshold for for persistent db
  connections (django/db/backends/base/base.py).
2019-05-08 18:34:22 +02:00
..
cache Removed unnecessary assignments in various code. 2019-04-24 13:09:29 +02:00
checks Fixed #30396 -- Added system checks for uniqueness of indexes and constraints names. 2019-05-02 09:13:20 +02:00
files Fixed "byte string" typo in various docs and comments. 2019-03-28 10:00:12 +01:00
handlers Refs #24829 -- Removed TemplateResponse rendering in BaseHandler.get_response(). 2018-11-20 11:04:44 -05:00
mail Refs #27753 -- Favored force/smart_str() over force/smart_text(). 2019-02-06 14:12:06 -05:00
management Used time.monotonic() instead of time.time() where applicable. 2019-05-08 18:34:22 +02:00
serializers Fixed typos in docs, comments, and exception messages. 2019-04-18 09:33:53 +02:00
servers Fixed #30137 -- Replaced OSError aliases with the canonical OSError. 2019-01-28 11:15:06 -05:00
__init__.py
exceptions.py Removed Python 2 comment in ValidationError. 2017-10-23 08:56:41 -04:00
paginator.py Fixed #29703 -- Deprecated QuerySetPaginator alias. 2018-08-27 16:23:43 -04:00
signals.py Fixed #20349 -- Moved setting_changed signal to django.core.signals. 2014-12-24 07:18:43 -05:00
signing.py Fixed signing.dumps() example for Python 3. 2018-11-09 07:26:46 -05:00
validators.py Fixed #29860 -- Allowed BaseValidator to accept a callable limit_value. 2018-10-22 10:26:54 -04:00
wsgi.py Refs #27656 -- Updated django.core docstring verbs according to PEP 257. 2017-02-21 11:58:42 -05:00