Commit graph

17 commits

Author SHA1 Message Date
Alexander Motzkau
b3c3da3ffb Fixed a bug in type deduction of python efun calls.
When calling python efuns the expression return type
was left uninitialized, resulting in errors or even
crashs when that type was evaluated.
2018-01-30 23:27:00 +01:00
Alexander Motzkau
fa61acc6b7 Fixed a crash on exceptions with python efun closures.
On a call to python efun closures the funstart entry
in the constrol stack was left uninitialized, resulting
in a crash when it that value was used to generate
the stack trace.
2018-01-30 23:27:00 +01:00
Alexander Motzkau
4baeda32f3 Corrected test suite to respect the absence of pkg-python.
Omit the --python-script option when running without the python package
compiled in. Also the t-python test will be skipped. (Fixes #851)
2017-09-30 19:27:10 +02:00
Alexander Motzkau
a34d55ecec Python: Implemented iterators for mappings. 2016-10-12 22:27:48 +02:00
Alexander Motzkau
2e2069da48 Python: Implemented slices for arrays and mappings, and Object.name. 2016-10-12 22:27:47 +02:00
Alexander Motzkau
fc5cc09c9a Python: Implemented (un)register_hook 2016-10-12 22:27:47 +02:00
Alexander Motzkau
f116220d85 Python: Implemented unregister_efun 2016-10-12 22:27:47 +02:00
Alexander Motzkau
8958197107 Python: Implemented (un)register_socket and fixed a few bugs. 2016-10-12 22:27:47 +02:00
Alexander Motzkau
0db245e961 Python: Added support for quoted arrays. 2016-10-12 22:27:47 +02:00
Alexander Motzkau
20db434a67 Python: Added support for symbols. 2016-10-12 22:27:47 +02:00
Alexander Motzkau
1915b331c7 Python: Added support for mappings. 2016-10-12 22:27:47 +02:00
Alexander Motzkau
29e4dcc340 Python: Added support for arrays. 2016-10-12 22:27:47 +02:00
Alexander Motzkau
5068d78be7 Python: Added support for closures. 2016-10-12 22:24:54 +02:00
Alexander Motzkau
4363f64c2c Python: Set lvalues to not-implemented status, wait for #546. 2016-10-12 22:21:36 +02:00
Alexander Motzkau
00fcd59306 Added GC support to the python package. 2016-10-12 22:21:29 +02:00
Alexander Motzkau
516293c069 Added get_master/get_simul_efun() to the ldmud module. 2016-10-12 21:42:52 +02:00
Alexander Motzkau
aff1392ef3 Added testsuite for Python. 2016-10-12 21:42:52 +02:00