1. 14 3月, 2012 1 次提交
    • Pascal Lamblin's avatar
      Remove tensor.__getslice__ to avoid sys.maxsize · e9073c35
      Pascal Lamblin 提交于
      When calling t[1:], for instance, the arguments passed to __getslice__ are
      (1, sys.maxsize), which is a pain to deal with, and can even not be an int
      (but a long).
      
      If __getslice__ does not exist, __getitem__ is called instead, with argument
      slice(1, None, None), which is much more desirable.
      
      __getslice__ is deprecated in python 2.6 anyway.
      e9073c35
  2. 13 3月, 2012 6 次提交
  3. 12 3月, 2012 2 次提交
  4. 10 3月, 2012 15 次提交
  5. 09 3月, 2012 11 次提交
  6. 08 3月, 2012 5 次提交