Dean Moldovan
4de271027d
Improve consistency of array and array_t with regard to other pytypes
...
* `array_t(const object &)` now throws on error
* `array_t::ensure()` is intended for casters —- old constructor is
deprecated
* `array` and `array_t` get default constructors (empty array)
* `array` gets a converting constructor
* `py::isinstance<array_T<T>>()` checks the type (but not flags)
There is only one special thing which must remain: `array_t` gets
its own `type_caster` specialization which uses `ensure` instead
of a simple check.
2016-11-17 08:55:42 +01:00
..
2016-11-15 12:38:05 +01:00
2016-09-07 01:25:27 +02:00
2016-11-06 19:12:48 +01:00
2016-09-06 13:02:29 +09:00
2016-09-23 01:40:22 +02:00
2016-09-07 01:25:27 +02:00
2016-09-09 03:04:09 -04:00
2016-09-09 03:04:09 -04:00
2016-09-03 17:34:41 -04:00
2016-08-19 13:19:38 +02:00
2016-09-06 16:41:50 +02:00
2016-09-19 13:43:43 +02:00
2016-09-13 20:40:28 +10:00
2016-09-28 00:59:21 +10:00
2016-10-20 16:19:58 +02:00
2016-09-06 12:22:13 -04:00
2016-09-03 17:34:41 -04:00
2016-08-19 13:19:38 +02:00
2016-10-20 21:32:55 +01:00
2016-10-20 21:32:55 +01:00
2016-11-15 12:38:05 +01:00
2016-11-15 12:38:05 +01:00
2016-09-06 13:02:29 +09:00
2016-08-25 17:08:09 +02:00
2016-11-16 17:28:11 +01:00
2016-11-16 17:28:11 +01:00
2016-08-19 16:31:48 +02:00
2016-09-10 12:08:32 +02:00
2016-08-19 16:31:48 +02:00
2016-09-16 08:04:15 +02:00
2016-09-16 08:04:15 +02:00
2016-11-17 08:55:42 +01:00
2016-11-17 08:55:42 +01:00
2016-11-07 15:59:01 +01:00
2016-11-07 15:59:01 +01:00
2016-09-07 01:25:27 +02:00
2016-08-19 13:19:38 +02:00
2016-09-06 16:41:50 +02:00
2016-09-19 13:43:43 +02:00
2016-11-01 11:44:57 +01:00
2016-11-01 11:44:57 +01:00
2016-09-03 17:34:41 -04:00
2016-08-19 13:19:38 +02:00
2016-10-20 16:19:58 +02:00
2016-09-19 13:45:31 +02:00
2016-11-17 08:55:42 +01:00
2016-11-17 08:55:42 +01:00
2016-11-17 08:55:42 +01:00
2016-11-03 09:35:05 +00:00
2016-09-07 01:25:27 +02:00
2016-08-19 13:19:38 +02:00
2016-09-03 17:34:41 -04:00
2016-09-19 13:43:43 +02:00
2016-09-03 17:34:41 -04:00
2016-08-19 13:19:38 +02:00
2016-10-11 22:13:02 +02:00
2016-10-11 22:13:02 +02:00
2016-11-17 08:55:42 +01:00
2016-11-17 08:55:42 +01:00
2016-11-13 10:41:31 +09:00
2016-08-24 23:30:00 +01:00
2016-10-20 16:19:58 +02:00
2016-09-04 18:23:55 -04:00
2016-11-15 12:30:38 +01:00
2016-11-15 12:30:38 +01:00
2016-09-11 01:21:53 -04:00
2016-09-11 01:21:53 -04:00