Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/core/files/locks.py
Commit message (Collapse)AuthorAgeFilesLines
* 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 ↵Kevin Christopher Henry2014-02-081-46/+89
| | | | | | | | | | | to ctypes 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 ↵Ramiro Morales2013-05-271-1/+1
| | | | conditional expressions.
* Fixed the syntax used for the Python repl examples in ↵Alex Gaynor2012-05-051-2/+2
| | | | docs and docstrings.
* Made more extensive usage of context managers with open.Claude Paroz2012-05-051-4/+3
|
* Fixed #8403 -- Changed the use of fcntl.flock() to ↵Malcolm Tredinnick2008-08-281-2/+2
| | | | | | | | | | fcntl.lockf(). On some 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 ↵Jacob Kaplan-Moss2008-08-111-4/+8
| | | | | | Martin von Löwis, 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