1. 25 Aug, 2007 1 commit
  2. 30 Jul, 2007 1 commit
  3. 29 Aug, 2007 1 commit
  4. 19 Aug, 2007 5 commits
  5. 17 Aug, 2007 4 commits
  6. 29 Jul, 2007 2 commits
  7. 28 Jul, 2007 6 commits
  8. 11 Jul, 2007 1 commit
  9. 10 Jul, 2007 4 commits
  10. 07 Jul, 2007 3 commits
  11. 07 Jun, 2007 5 commits
  12. 01 Jun, 2007 1 commit
    • Robert Bradshaw's avatar
      type narrowing for cdef methods · cbd2a528
      Robert Bradshaw authored
      Now if you inherit cdef methods from another class, you may re-declare the
      arguments and return variables to be sub-types of the original declared type.
      This will be especially convenient for the SAGE arithmetic architecture.
      Type-checking is performed if necessary.
      cbd2a528
  13. 09 May, 2007 1 commit
  14. 04 May, 2007 2 commits
  15. 26 Apr, 2007 3 commits
    • Robert Bradshaw's avatar
      comments, builtin objects · a19500d3
      Robert Bradshaw authored
      a19500d3
    • Robert Bradshaw's avatar
      Added for i from ... ['by' step] syntax. · 33b0863c
      Robert Bradshaw authored
      E.g.
      
      for i from 0 <= i < 10 by 2:
          print i
      
      0
      2
      4
      6
      8
      
      Old for-from loops remain exactly the same (using the ++ or --). If step is specified, the increment operator will be += step or -= step, depending on the orientation of the inequalities (as before).
      
      NOTE: 'by' is now a keyword
      33b0863c
    • Robert Bradshaw's avatar
      Added a bint c type, which is a c int that coerces to and from python objects... · eb232ced
      Robert Bradshaw authored
      Added a bint c type, which is a c int that coerces to and from python objects via the boolean routines.
      
      The purpose of this type is to free the coder from having to use
      bool() when retrieving and returning semantically "boolean" values
      (e.g. the result of a compare).
      
      The bint type is a subclass of the int type, and the only difference
      is that it uses PyBool_FromLong and PyObject_IsTrue rather than
      PyInt_FromLong and PyInt_AsLong. Arithmatic on bints will return ints.
      
      Where it makes sense, several builtin functions have been re-declared
      to return bints, as well as comparisons and the boolean operations
      or, and, and not.
      eb232ced