Changes between Initial Version and Version 1 of Ticket #18744, comment 4


Ignore:
Timestamp:
09/18/2013 07:21:34 PM (2 years ago)
Author:
marfire
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #18744, comment 4

    initial v1  
    33The documentation could probably stand to be clearer (for one thing, the link is broken), so I've attached a patch with an updated module docstring: https://github.com/django/django/pull/1640. If it's acceptable I will update the existing wiki page correspondingly.
    44
    5 However, we should really be thinking of this as code for internal use rather than as a tool provided and supported by Django. In addition to the confusion here, it's also the case that `NamedTemporaryFile` doesn't support the full set of keyword arguments on either 2.6+ or 3.0+. This might be fine given the way that Django uses it, but it wouldn't be good enough if trying to provide a proper drop-in replacement for Python's version.
     5However, we should really be thinking of this as code for internal use rather than as a tool provided and supported by Django. In addition to the confusion here, it's also the case that `NamedTemporaryFile` doesn't support the full set of keyword arguments used in Python 2.6+ and 3.0+. This might be fine given the way that Django uses it, but it wouldn't be good enough if trying to provide a proper drop-in replacement for Python's version.
Back to Top