#16929: Creating SDP interface
-------------------------------------+-------------------------------------
       Reporter:  ingolfured         |        Owner:
           Type:  enhancement        |       Status:  needs_review
       Priority:  major              |    Milestone:  sage-6.10
      Component:  interfaces         |   Resolution:
       Keywords:                     |    Merged in:
        Authors:  Dima Pasechnik,    |    Reviewers:
  Ingólfur Eðvarðsson                |  Work issues:
Report Upstream:  N/A                |       Commit:
         Branch:  u/dimpase/16929    |  c97411d433efa0d09db996ddc475e9b7bf044dd6
   Dependencies:                     |     Stopgaps:
-------------------------------------+-------------------------------------

Comment (by dimpase):

 Replying to [comment:11 jdemeyer]:
 > I know you said it's not ready for review, but some obvious things:

 thanks, that's very useful - 99% of the code was written by my student, so
 I'm slowly getting through it myself now.

 >
 > 1. In `/src/module_list.py`, I doubt you need `include_dirs`.
 >
 > 2. In `/src/module_list.py`, I doubt you need `libraries=["stdc++"]` (is
 there any C++ code involved?)
 >
 > 3. In `/src/module_list.py`, add the new modules in the alphabetically
 correct place.
 >
 How does one test changes in `/src/module_list.py` without rebuilding the
 whole thing?


 >
 > 7. Use `print()` statements compatible with Python 3.

 how does one deal with the differences in behaviour of `print()` in Python
 2 vs 3?
 (e.g.
 {{{
 Python 2.7.10 (default, Nov 27 2015, 23:12:30)
 [GCC 4.8.4] on linux2
 Type "help", "copyright", "credits" or "license" for more information.
 >>> print("The answer is", 2*2)
 ('The answer is', 4)
 }}}
 instead of
 {{{
 Python 3.4.3 (default, Oct 14 2015, 20:28:29)
 [GCC 4.8.4] on linux
 Type "help", "copyright", "credits" or "license" for more information.
 >>> print("The answer is", 2*2)
 The answer is 4
 }}}

 Should I do `from __future__ import print_function` whenever needed?

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