Skip to content

v1.4.5

Latest
Compare
Choose a tag to compare
@blueloveTH blueloveTH released this 19 Apr 04:59
· 51 commits to main since this release

Improvements

  • add bytes addition and slice support
  • improve FileIO and add more methods such as seek() and tell(). See https://pocketpy.dev/modules/io/
  • add __missing__ for dict and refactor defaultdict
  • add bit_length method to int #233
  • improve performance of for loop
  • adoping a more efficient division algorithm for bigint #232
  • make float always 64-bit; optimize for empty function
  • add vec.__getitem__; add pkpy_set_main_argv to set sys.argv
  • add reduce and partial for functools module
  • refactor random module to use builtin mt19937 implementation

New Features

Bug fixes

  • check the size of fillchar passed to str methods (ljust, rjust) #236
  • perform boundary check before searching to prevent security vulnerabilities #237

Full Changelog: v1.4.3...v1.4.5