Modify ↓
Opened 11 years ago
Closed 11 years ago
#11787 closed enhancement (fixed)
Replace uses of "file" with "open"
| Reported by: | Ryan J Ollos | Owned by: | Ryan J Ollos |
|---|---|---|---|
| Priority: | normal | Milestone: | 1.0.3 |
| Component: | general | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Branch: | ||
| Release Notes: |
Replaced uses of |
||
| API Changes: | |||
| Internal Changes: | |||
Description
Python 3 does not have a built-in file() function, and even Python 2 recommends using open() rather than file(). It should be simple to replace uses of file() with open().
Attachments (0)
Change History (2)
comment:1 by , 11 years ago
comment:2 by , 11 years ago
| Release Notes: | modified (diff) |
|---|---|
| Resolution: | → fixed |
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Proposed changes in log:rjollos.git:t11787.