#15227: cython debug information directory (patch)
-------------------------------------+-------------------------------------
       Reporter:  felixs             |        Owner:
           Type:  defect             |       Status:  positive_review
       Priority:  minor              |    Milestone:  sage-5.13
      Component:  cython             |   Resolution:
       Keywords:  cython debug gdb   |    Merged in:
        Authors:  Felix Salfelder    |    Reviewers:  Nathann Cohen
Report Upstream:  Fixed upstream,    |  Work issues:
  in a later stable release.         |       Commit:
         Branch:                     |  f82b4226e689e4d0dc211afc2b8ad6cbfc3031ac
  u/felixs/cython_dbg                |     Stopgaps:
   Dependencies:                     |
-------------------------------------+-------------------------------------
Changes (by ncohen):

 * status:  needs_review => positive_review
 * reviewer:   => Nathann Cohen


Comment:

 > i didn't use any such system. please excuse if i missed something.

 ?

 NOnonono I mean that I had not looked at any spkg since the .spkg files.
 Now the Sage part of the code is in build/pkgs and the sources are stored
 in upstream, and it is muuuuuch easier to patch spkgs ! I could even write
 a `.cc` file I need for Sage which can't be written in Cython directly
 `:-)`

 > the patch was successful, if `cython --help | grep outdir` returns 0.
 also you can check this
 > {{{
 > echo "print 42" > file.pyc
 > cython --gdb file.pyc
 > cython --gdb-outdir somethingelse
 > diff -f cython_debug somethingelse/cython_debug # should return zero.
 > }}}

 I replaced that by calls to `sage -cython` but it all works indeed. Though
 diff complains that there is no newline at the end of the files the md5sum
 are the same and the files are created where they should anyway.

 Good to go ! And thanks for this occasion to look at the new spkg system,
 without .spkg files `:-P`

 Nathann

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

Reply via email to