Commit Graph

22 Commits (master)

Author SHA1 Message Date
Doug Coleman f2a86e0bae python: Fix unit tests -- only test when library is loaded.
Also reformat some unit tests that have a quot as the stack output.
2018-02-19 15:01:08 -06:00
Björn Lindqvist 40c277499d python.tests: fix test that broke for unknown reason on python 2.7.12 2016-11-21 04:59:03 +01:00
Doug Coleman 892c62e1dc factor: second stab at [ ] [ ] unit-test -> { } [ ] unit-test 2015-07-03 09:39:59 -07:00
Doug Coleman 59f3b1ea57 Revert "factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool!"
Needs a bit more work.

This reverts commit 7e54cc2824.
2015-07-02 13:47:06 -07:00
Doug Coleman 7e54cc2824 factor: rename [ ] [ ] unit-test -> { } [ ] unit-test using a refactoring tool! 2015-07-02 11:36:08 -07:00
Björn Lindqvist 929fca6b7e python: both METH_VARARGS METH_KEYWORDS needed in ml_flags should fix #1171 2014-10-31 10:48:55 -07:00
Björn Lindqvist 8cbfaa9450 python.objects: fix <py-cfunction> need to malloc-struct PyMethodDef 2014-10-27 19:38:27 -07:00
Björn Lindqvist f0b07540d3 python.tests: more destructors & refcounting tests 2014-10-27 09:52:04 -07:00
Björn Lindqvist a530a10187 python: tests and plug a reference leak in the exception throwing code 2014-10-02 08:32:39 -07:00
John Benediktsson ccfd9101f0 python: change to py-initialize in startup-hook and py-finalize in shutdown hook. 2014-07-06 10:18:27 -07:00
John Benediktsson daec237fea python.syntax: fix tests when run first. 2014-03-12 20:01:11 -07:00
John Benediktsson 14f43d8cb8 python: rename >factor to py>, rename import to py-import, minor stuff. 2014-03-04 09:39:02 -08:00
Björn Lindqvist ac28527d53 python: vocab split into subvocabs python.errors and python.objects for
easier maintenance
2014-03-04 09:23:05 -08:00
Björn Lindqvist eb612e25b0 python: More documentation, privatization of words in python.syntax 2014-03-04 09:23:05 -08:00
Björn Lindqvist 8ed7fe02ac python: setup serialization between vectors and python lists 2014-03-04 09:23:04 -08:00
Björn Lindqvist d5c0e84fe2 python: setattr wrapping 2014-03-04 09:23:04 -08:00
Björn Lindqvist 6a8fe41b90 python: compressed using lines 2014-03-04 09:23:04 -08:00
Björn Lindqvist 0af4fee085 python.syntax: vocab that makes python functions work like factor words 2014-03-04 09:23:04 -08:00
Björn Lindqvist 7b92bad65a python: the os module is considerably smaller on windows 2014-03-04 09:23:03 -08:00
Björn Lindqvist c18e968aaa python: several more builtin functions and refcounting fixes 2014-03-04 09:23:03 -08:00
Björn Lindqvist 65c1500812 python: more correct reference counting, handles ucs2 and ucs4, stdlib module wrappers 2014-03-04 09:23:03 -08:00
Björn Lindqvist 446498c67a python: a thin ffi to Python, everything mostly works except for the cursed reference counting 2014-03-04 09:23:03 -08:00