Changelog for phpy |
Release |
What has changed? |
1.0.11 |
- Added PyCore::raise() to throw exceptions to the Python layer.
- Added PyNamedFn function, which converts PHP functions into Python functions, complete with annotations, parameters, and return type information.
- Added the PyEnum function to transform PHP classes containing only constants into Python Enums.
- Added the bin/phpy tool.
- Added the argument_as_object option
- Fixed a bug in PyTuple::offsetExists where it returned false for negative input parameters.
- Added a PyClass::__init() callback, which is invoked within the init method of Python classes. |
1.0.10 |
- Added named function supports
- Only exact type(tuple/set/list...) of PyObject are converted to subclasses, otherwise they are passed as PyObject
- Solve the problem that PyObject::offsetExists is not available
- Fixed symbol not found when configure with python-dir |
1.0.8 |
- Added argument_as_object configuration item
- Add Helper::printTraceback()
- Support windows platform
- Support Python class as parent class of PHP class |
1.0.6 |
- Added python-config PECL configure option |
1.0.5 |
version 1.0.5 |
|