Commit Graph

6 Commits

Author SHA1 Message Date
Wang Mingyu e7e8617a3d pocketpy: upgrade 2.0.5 -> 2.0.6
Changelog:
=========
- add pybind11 implementation for module reload
- Improve memory managements (mem-v2)
- implement array2d.chunked_array2d[T, TContext]
- Add test cases for array2d.chunked_array2d
- Refactor Frame struct
- [lz4] Make lz4 a submodule.

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-03-11 17:17:21 -07:00
Wang Mingyu e8d120d94f pocketpy: upgrade 2.0.4 -> 2.0.5
Changelog:
============
- use cpython % and // impl
- add colorcvt module
- add py_importlib_reload and importlib module
- add py_interrupt and set single handler for REPL
- add PK_LOW_MEMORY_MODE
- reduce type's memory cost
- allow customize malloc, realloc and free
- make C99 compilers work
- fix win32 clang build
- avoid undefined behavior signed int overflow
- fix pybind11 implementation for error_already_set

Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-24 18:20:01 -08:00
Khem Raj 14b3a5ccb2 pocketpy: Add pic options to cflags
Ensures that PIC is always used to build

Fixes
error: relocation R_386_PC32 cannot be used against symbol 'LZ4_compress_fast_extState'; recompile with -fPIC

Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 18:41:11 -08:00
Wang Mingyu b9a1eaa15f pocketpy: upgrade 2.0.3 -> 2.0.4
Signed-off-by: Wang Mingyu <wangmy@fujitsu.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2025-01-07 18:41:10 -08:00
Michael Fitzmayer 0ffa4bc5af pocketpy: update to version 2.0.3
- Fix some type annotation usage e.g. int | None.
- Fix some builtins hash functions
- Fix a severe bug of dict
- Clean up #defines
- Improve array2d
- Fix a bug of super
- Fix a bug of context manager

Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-12-08 18:54:11 -08:00
Michael Fitzmayer edd83e2e6a Add recipe: pocketpy 2.0.2
pocketpy is a portable Python 3.x Interpreter in Modern C.

It aims to be an alternative to lua for game scripting, with elegant
syntax, powerful features and competitive performance.  pkpy is
extremely easy to embed via a single header file pocketpy.h, without
external dependencies.

Signed-off-by: Michael Fitzmayer <mail@michael-fitzmayer.de>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
2024-11-21 21:42:37 -08:00