#10047 closed (duplicate)
TemporaryFile.seek has bad interface under Windows NT
Reported by: | Owned by: | Jeff Kistler | |
---|---|---|---|
Component: | File uploads/storage | Version: | dev |
Severity: | Keywords: | ||
Cc: | Triage Stage: | Accepted | |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
(see also: closed ticket #7769)
module: django.core.files.temp.py
Under Windows NT platform, a NamedTemporaryFile is a TemporaryFile, whose 'seek' method misses 'whence' argument.
I suppose that line 52 should be changed from:
def seek(self, offset): return self.file.seek(offset)
to:
def seek(self, *args): return self.file.seek(*args)
.
Attachments (1)
Change History (9)
comment:1 by , 16 years ago
Has patch: | set |
---|---|
milestone: | → post-1.0 |
Version: | 1.0 → SVN |
comment:2 by , 16 years ago
milestone: | post-1.0 |
---|
comment:3 by , 16 years ago
milestone: | → 1.1 |
---|---|
Triage Stage: | Unreviewed → Accepted |
comment:4 by , 16 years ago
Owner: | changed from | to
---|---|
Status: | new → assigned |
by , 16 years ago
Attachment: | patch.diff added |
---|
comment:5 by , 16 years ago
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
This one was fixed by the patch in #9344.
comment:6 by , 16 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
comment:7 by , 16 years ago
Resolution: | → duplicate |
---|---|
Status: | reopened → closed |
This is actually a dupe.
Note:
See TracTickets
for help on using tickets.
Milestone post-1.0 deleted