#16097: Python 3 preparation: Replace Py2 file() builtin by open() builtin
-------------------------------------+-------------------------------------
       Reporter:  wluebbe            |        Owner:
           Type:  enhancement        |       Status:  needs_work
       Priority:  major              |    Milestone:  sage-6.4
      Component:  distribution       |   Resolution:
       Keywords:  python3            |    Merged in:
        Authors:  André Apitzsch     |    Reviewers:
Report Upstream:  N/A                |  Work issues:
         Branch:                     |       Commit:
  u/aapitzsch/ticket/16097           |  0765f1f2429ea60c3a389c23d9c4cd57ce0b9542
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------
Description changed by jdemeyer:

Old description:

> The Py2 builtin function {{{file()}}} is gone. It should be replaced with
> the {{{open()}}} builtin function.
> [[br]]
> The type {{{file}}} is also gone. Checking for it may be replaced by
> {{{isinstance(f, io.IOBase)}}}
>
> There are about 20 effected modules.
>
> This ticket is tracked as a dependency of meta-ticket ticket:16052.

New description:

 The Py2 builtin function {{{file()}}} is gone. It should be replaced with
 the {{{open()}}} builtin function.

 This ticket is tracked as a dependency of meta-ticket ticket:16052.

--

--
Ticket URL: <http://trac.sagemath.org/ticket/16097#comment:5>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica, 
and MATLAB

-- 
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.

Reply via email to