Dean Moldovan 865e43034b Make attr and item accessors throw on error instead of returning nullptr
This also adds the `hasattr` and `getattr` functions which are needed
with the new attribute behavior. The new functions behave exactly like
their Python counterparts.

Similarly `object` gets a `contains` method which calls `__contains__`,
i.e. it's the same as the `in` keyword in Python.
2016-09-23 01:40:22 +02:00
..
2016-09-20 11:52:25 +02:00
2016-09-06 13:02:29 +09:00
2016-08-19 13:19:38 +02:00
2016-09-06 13:02:29 +09:00
2016-09-06 13:02:29 +09:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-08-19 13:19:38 +02:00
2016-09-06 13:02:29 +09:00
2016-09-05 17:11:16 -04:00