Просмотр исходного кода

Fix lots of bugs in the numeric interface and tests.

Tests:
* Coerce a result to bool to deal with Python's new Bool type
* Better reporting of mismatches in expected and received results
* Remove bogus nullary y.astype() call
* Fix all uses of trace and diagonal so they don't cause errors
* Use appropriate typecodes
* Use doctest detailed API to run just the relevant tests
* Factor out error handling from macro

API:
* Added get_module_name() function to get current numeric module
* new_(x) now returns an array instead of object
* Fixed the signatures of the factory() family of functions
* Updated docs accordingly.


[SVN r35528]
Dave Abrahams 19 лет назад
Родитель
Сommit
e09be1bb46
1 измененных файлов с 1 добавлено и 1 удалено
  1. 1 1
      libs/python

+ 1 - 1
libs/python

@@ -1 +1 @@
-Subproject commit 7a59131d374cdf2b18ab5b593bcd10ba49076c4c
+Subproject commit d78836b82844e73bca9310699a0c2339eb90f5df

粤ICP备19079148号