summaryrefslogtreecommitdiff
path: root/django/core/files/locks.py
Commit message (Collapse)AuthorAgeFilesLines
* Fixed #34294 -- Protected django.core.files.locks against argtypes ↵Simon Sawicki2023-01-261-3/+4
| | | | redefinition on Windows.
* Refs #33476 -- Refactored code to strictly match 88 characters line length.Mariusz Felisiak2022-02-071-1/+1
|
* Refs #33476 -- Reformatted code with Black.django-bot2022-02-071-16/+24
|
* Updated various links to HTTPS and new locations.Mariusz Felisiak2021-12-021-1/+1
| | | | Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
* Fixed #31989 -- Fixed return value of ↵Hasan Ramezani2020-09-151-4/+7
| | | | django.core.files.locks.lock()/unlock() on POSIX systems.
* Bumped minimum isort version to 5.1.0.David Smith2020-07-301-2/+4
| | | | | Fixed inner imports per isort 5. isort 5.0.0 to 5.1.0 was unstable.
* Refs #29784 -- Switched to https:// links where available.Jon Dufresne2018-09-261-2/+2
|
* Removed unnecessary parens in various code.Mariusz Felisiak2017-09-131-2/+2
|
* Removed executeable bit from a few files.Florian Apolloner2014-05-251-0/+0
|
* Fixed regression in file locking on some platforms.smallcode2014-03-181-25/+25
| | | | | | | Some platforms with os.name == 'posix' do not have the fcntl module, e.g. AppEngine. refs #19373.
* Fixed #19373 -- Ported Windows file locking from PyWin32 to ctypesKevin Christopher Henry2014-02-081-46/+89
| | | | | | | | | There wasn't any file locking under Windows unless PyWin32 was installed. This removes that (undocumented) dependency by using ctypes instead. Thanks to Anatoly Techtonik for writing the ctypes port upon which this is based.
* More attacking E302 violatorsAlex Gaynor2013-11-021-0/+1
|
* Start attacking E231 violationsAlex Gaynor2013-10-241-1/+1
|
* Replaced `and...or...` constructs with PEP 308 conditional expressions.Ramiro Morales2013-05-261-1/+1
|
* Fixed the syntax used for the Python repl examples in docs and docstrings.Alex Gaynor2012-05-051-2/+2
|
* Made more extensive usage of context managers with open.Claude Paroz2012-05-051-4/+3
|
* Fixed #8403 -- Changed the use of fcntl.flock() to fcntl.lockf(). On someMalcolm Tredinnick2008-08-281-2/+2
| | | | | | | | systems, this will ensure fnctl-based file locking is always used, which means locking of NFS-mounted files should work. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8675 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #4948, a race condition in file saving. Thanks to Martin von Löwis, ↵Jacob Kaplan-Moss2008-08-111-4/+8
| | | | | | who diagnosed the problem and pointed the way to a fix. git-svn-id: http://code.djangoproject.com/svn/django/trunk@8306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
* Fixed #2070: refactored Django's file upload capabilities.Jacob Kaplan-Moss2008-07-011-0/+66
A description of the new features can be found in the new [http://www.djangoproject.com/documentation/upload_handing/ upload handling documentation]; the executive summary is that Django will now happily handle uploads of large files without issues. This changes the representation of uploaded files from dictionaries to bona fide objects; see BackwardsIncompatibleChanges for details. git-svn-id: http://code.djangoproject.com/svn/django/trunk@7814 bcc190cf-cafb-0310-a4f2-bffc1f526a37