Releases: pocketpy/pocketpy
Releases · pocketpy/pocketpy
v2.1.4
Full Changelog: v2.1.3...v2.1.4
v2.1.3
What's Changed
- improve docs on debugging and profiling
- make
dictwith string keys noexcept. It will uses a fast path hash instead of the generalpy_hash - disable
finallycuz it is buggy - refactor exception system and fix a lot of bugs when nesting
try..except..clause - fix a bug of
@property - support
maxlenconfig forcollections.deque - add
time.perf_counter - add
typing.TypedDictandtyping.NotRequired - reimpl
str.formatto use f-string algorithm - support
%,/and__divmod__forfloatobjects - fix leak and improve
picklemodule - Add support for some missing escape sequences #399
New Contributors
Full Changelog: v2.1.1...v2.1.3
v2.1.1
A lot of code were changed & a lot of bugs were fixed!!
What's Changed (Auto Generated)
- [binding]fix: cannot overload static functions. by @crazybie in #359
- fix: compiling error when bind method with pointer argument. by @crazybie in #362
- Add socket module for Linux and Windows by @lightovernight in #364
- add deterministic float test by @PrimedErwin in #368
- Make
py_Nameopaque pointer by @blueloveTH in #370 - Add chunkedvector module by @lightovernight in #373
- Add %Q format specifier to pk_sprintf by @lightovernight in #375
- Gsoc 2025 debugger by @lightovernight in #379
- Gsoc 2025 debugger by @lightovernight in #385
- Gsoc 2025 debugger by @lightovernight in #386
- Gsoc 2025 debugger by @lightovernight in #387
- implement
evaluaterequest by @lightovernight in #389 - Gsoc 2025 debugger by @lightovernight in #390
- fix an fatal error by @lightovernight in #392
New Contributors
- @crazybie made their first contribution in #359
- @PrimedErwin made their first contribution in #368
Full Changelog: v2.0.8...v2.1.1
v2.0.8
What's Changed (Auto Generated)
- Fixed typos in documentation, comments, and code by @AryanK37 in #346
- Fix line number reporting in trace functions for function calls by @lightovernight in #348
- Remove redundant CMake setup steps in pybind11 workflow by @lightovernight in #350
- fix: ensure isprint() receives unsigned char to prevent MSVC debug as… by @lightovernight in #349
- Add typing.(TypeAlias, NewType, Never, assert_never) for type checkers by @hcarty in #357
- fix: handle hex escapes in strings and reject invalid escapes by @attaulasad in #358
New Contributors
- @AryanK37 made their first contribution in #346
- @lightovernight made their first contribution in #348
- @Adii0906 made their first contribution in #356
- @hcarty made their first contribution in #357
- @attaulasad made their first contribution in #358
Full Changelog: v2.0.6...v2.0.8
v2.0.6
What's Changed (Generated)
- add pybind11 implementation for module reload by @KevinEady in #324
- Improve memory managements (mem-v2) by @blueloveTH in #327
- implement
array2d.chunked_array2d[T, TContext]by @blueloveTH in #332 - Add test cases for
array2d.chunked_array2dby @woodzn in #333 - Refactor
Framestruct by @blueloveTH in #341 - [lz4] Make lz4 a submodule. by @c8ef in #344
Misc
- add
libhvmodule - add
getchartopy_Callbacks - fix a bug of
c11_vector__extend - fix a bug of
large_objects - fix memory leak of new allocator
- intern ascii literals to improve performance
New Contributors
Full Changelog: v2.0.5...v2.0.6
v2.0.5
What's Changed
- use cpython
%and//impl - add
colorcvtmodule - add
py_importlib_reloadandimportlibmodule - add
py_interruptand set single handler for REPL - add
PK_LOW_MEMORY_MODE - reduce type's memory cost
- allow customize
malloc,reallocandfree - make C99 compilers work
- fix win32 clang build by @trim21 in #317
- avoid undefined behavior signed int overflow by @trim21 in #318
- fix pybind11 implementation for error_already_set by @KevinEady in #321
New Contributors
- @trim21 made their first contribution in #317
- @KevinEady made their first contribution in #321
Full Changelog: v2.0.4...v2.0.5
v2.0.4
This version fixes some bugs and improves code quality.
Changes
- add
picklemodule - raise error on mismatched eq/ne
- fix a bug of 32-bit
- support empty tuple
() - improve
json
Full Changelog: v2.0.3...v2.0.4
v2.0.3
This version fixes some bugs and improves code quality.
Changes
- 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
Full Changelog: v2.0.2...v2.0.3
v2.0.2
This version fixes some bugs and improves code quality.
Changes
- Fix a bug of
randommodule which uses a wrong initial seed. - Fix #315 about
py_switchvm. - Improve
PK_ENABLE_OSand addPK_BUILD_WITH_IPOto cmake options. - Add
coniomodule which provides_kbhitand_getchfunctions for desktop platforms. - Fix
True not Falsebug of parser. - Fix
**associativity bug.2**2**3now evaluates to 256 instead of 64. - Add
__float__and__int__and__round__. - Add
py_bindstaticmethod. - Fix
str.split. It behaves the same as cpython now. - Fix a bug of closure for generator functions.
- Support
vec*unpack, e.g.x, y = vec2i(1, 2).
Full Changelog: v2.0.1...v2.0.2
v2.0.1
This is the first stable release of pocketpy.
Changes
__import__now supports loading dynamic library. The library should have a exported C functionpy_module_initialize- Fix a bug about
clock_gettimeby @AstroAir - Add builtin function
input()andtuple.__lt__ yield fromnow can return value andyieldimplicityield Nonenextnow can take default- Support PEP695
- Fix a multi-line function definition bug
- Add
bytes.__len__and improveord() - Support
finallysyntax