Changes between Version 3 and Version 6 of Ticket #9636


Ignore:
Timestamp:
09/07/10 11:18:23 (11 years ago)
Author:
leif
Comment:
cdef extern: 
    PariOUT defaultOut 
    PariOUT defaultErr 

should perhaps migrate to sage/libs/pari/decl.pxi, too.

Positive review from me though. Robert, anything to complain about?


I wonder when Cython will support const...

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #9636

    • Property Status changed from new to positive_review
    • Property Cc leif robertwb added
    • Property Reviewers changed from to Leif Leonhardy
  • Ticket #9636 – Description

    v3 v6  
    1 The output from print() functions in libpari is directly written to stdout and is not caught by Sage.  For example, the following doctest fails:
     1The output from {{{print()}}} functions in {{{libpari}}} is directly written to {{{stdout}}} and is not caught by Sage.  For example, the following doctest fails:
    22{{{
    33def printhello():
     
    1717}}}
    1818
    19 Luckily, libpari provides ways to redirect the output.  There should a small Cython wrapper to direct the PARI output to sys.stdout.write().
     19Luckily, {{{libpari}}} provides ways to redirect the output.  There should be a small Cython wrapper to direct the PARI output to Python's {{{sys.stdout.write()}}}.
    2020
    2121Dependencies: #9661, #9343