#17591: remove gdmodule as standard package
-------------------------------------+-------------------------------------
       Reporter:  kcrisman           |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  minor              |    Milestone:  sage-6.5
      Component:  packages:          |   Resolution:
  standard                           |    Merged in:
       Keywords:                     |    Reviewers:
        Authors:  R. Andrew Ohana    |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:                     |  3e569b8a0ee56020cb6dc2861670f09081c8bccc
  u/ohanar/remove_gdmodule           |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------

Comment (by jdemeyer):

 > > You can open the file using Python and access its FILE* with
 ​PyFile_AsFile.
 Robert replied that my suggestion wouldn't work in Python 3, so it's not
 good either. But still, I dislike
 {{{
 fn = open(filename, 'wb') # check filename
 fn.close()

 cdef FILE *out = fopen(filename, 'wb')
 }}}
 It would better be
 {{{
 cdef FILE *out = fopen(filename, 'wb')
 if not FILE:
    raise ...
 }}}

 > Out of curiosity, is this just a Python module now instead of a separate
 thing?
 I don't understand this question.

--
Ticket URL: <http://trac.sagemath.org/ticket/17591#comment:6>
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