Edgewall Software
Modify

Opened 10 years ago

Closed 10 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 file() with open(). The latter is the recommended function in Python 2 and is also compatible with Python 3.

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 Ryan J Ollos, 10 years ago

Proposed changes in log:rjollos.git:t11787.

comment:2 by Ryan J Ollos, 10 years ago

Release Notes: modified (diff)
Resolution: fixed
Status: newclosed

Committed to 1.0-stable in [13166], merged to trunk in [13167].

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain Ryan J Ollos.
The resolution will be deleted. Next status will be 'reopened'.
to The owner will be changed from Ryan J Ollos to the specified user.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.