Releases: RustPython/RustPython
Releases · RustPython/RustPython
RustPython Pre-Release 2025-07-14-main #38
What's Changed
- Fix eval type check by @youknowone in #5908
- typing parameters type_params by @youknowone in #5909
- Update test_datetime from 3.13.5 by @ShaharNaveh in #5911
- Update gzip from 3.13.5 by @ShaharNaveh in #5912
- Update copy from 3.13.5 by @ShaharNaveh in #5913
- Fix SQLite large integer overflow error handling by @ever0de in #5916
- Enable match statements sqlite cli by @ever0de in #5919
- Update cmd from 3.13.5 by @ShaharNaveh in #5920
- fix(sqlite): autocommit mode transaction handling to match CPython by @ever0de in #5918
- fix(sqlite): implement
PARSE_COLNAMES
column name parsing by @ever0de in #5923 sys.platform
android & ios by @ShaharNaveh in #5921- Update compileall from 3.13.5 by @ShaharNaveh in #5914
- Upgrade Lib/types.py from Python 3.13.5 by @youknowone in #5928
- Formatting with width and separator doesn't work correctly by @yt2b in #5927
- PyCode::qualname by @youknowone in #5929
- fix(itertools): add re-entrancy guard to tee object by @ever0de in #5931
- Add "take" comment command by @ShaharNaveh in #5932
- Add missing
@
for the "take" comment command by @ShaharNaveh in #5933 - fix(format): isolate special grouping rule to sign-aware zero-padding by @ever0de in #5924
- Update
test_string_literals.py
from 3.13.5 by @ShaharNaveh in #5934 - Make
take
issue comment to use curl by @ShaharNaveh in #5937 - Use
raise_if_stop!
macro where possible by @ShaharNaveh in #5938 - Update test_deque from 3.13.5 by @ShaharNaveh in #5939
- Add SymbolUsage::TypeParams by @youknowone in #5941
- CodeInfo::private by @youknowone in #5943
- SymbolTableType::Lambda by @youknowone in #5942
- typing TypeAlias by @youknowone in #5945
- Instruction::Resume by @youknowone in #5944
- Fix yaml error in
take
issue command by @ShaharNaveh in #5946 - compiler set_qualname by @youknowone in #5930
- Set timeout for CI by @ShaharNaveh in #5947
- SymbolTable::varnames, fblock by @youknowone in #5948
- Update operator from 3.13.5 by @ShaharNaveh in #5935
- Don't skip non hanging contains test by @ShaharNaveh in #5951
- Update textwrap from 3.13.5 by @ShaharNaveh in #5952
- compiler enter_scope by @youknowone in #5950
- more PEP695 by @youknowone in #5917
- Update str related tests from 3.13.5 by @ShaharNaveh in #5953
str.replace
support count as keyword arg by @ShaharNaveh in #5954- Fix set___name__ and set___qualname__ deadlock by @youknowone in #5956
- make_closure by @youknowone in #5955
- PyTraceback Constructor by @youknowone in #5958
- type.dict by @youknowone in #5957
- Upgrade parts of test.support by @arihant2math in #5686
- Update
test_{complex,float}.py
from 3.13.5 by @ShaharNaveh in #5961 - fix(sqlite): produce correct error for surrogate characters by @ever0de in #5962
- Update
test_{dict,weakref}.py
from 3.13.5 by @ShaharNaveh in #5963 - fix(sqlite): align adaptation protocol with CPython by @ever0de in #5964
- Update
test_{list,listcomps}.py
from 3.13.5 by @ShaharNaveh in #5965 - Update
test_tuple.py
from 3.13.5 by @ShaharNaveh in #5966
Full Changelog: 2025-07-07-main-37...2025-07-14-main-38
RustPython Pre-Release 2025-07-07-main #37
What's Changed
- chore: test testcases with
@unittest.skip
decorator by @moreal in #5871 - Update base64 3.13.5 by @ShaharNaveh in #5872
- Add sys._getframemodulename by @youknowone in #5873
- Update argparse to 3.13.5 by @ShaharNaveh in #5874
- Make coderabbit ignore Python files by @youknowone in #5875
- Upgrade typing to 3.13.5 by @youknowone in #5850
- Iterable for PyGenericAlias by @youknowone in #5876
- fix coderabbit by @youknowone in #5877
- Update ipaddress from 3.13.5 by @ShaharNaveh in #5878
- typing _Py_subs_paramters by @youknowone in #5880
- Compile starred annotations by @youknowone in #5881
- type.type_params by @youknowone in #5882
- Fix
itertools.pairwise
by @ShaharNaveh in #5884 - nitpicks by @ShaharNaveh in #5886
- Add
raise_if_stop!
macro forprotocol/iter.rs
by @ShaharNaveh in #5885 - class_getitem by @youknowone in #5888
- Fix cspell warning by @youknowone in #5890
- relocate Generic under typevar.rs by @youknowone in #5889
- PyPayload::into_ref by @youknowone in #3744
- type_params in build_class by @youknowone in #5883
- macro for pyast code depulication by @ShaharNaveh in #5887
- Use
Self
where possible by @ShaharNaveh in #5892 - Update resource from 3.13.5 by @ShaharNaveh in #5893
- 📝 CodeRabbit Chat: Remove conflicting AsRef implementation for PyObject in core.rs by @coderabbitai in #5899
- Use
const fn
where possible by @ShaharNaveh in #5894 - Implement PyComplex's format function by @yt2b in #5900
- Update uuid from 3.13.5 by @ShaharNaveh in #5901
- Make gemini ignore
Lib/**
by @ShaharNaveh in #5903 - Update tomllib from 3.13.5 by @ShaharNaveh in #5902
- Fix
clippy::inconsistent_struct_constructor
by @ShaharNaveh in #5905 - Add separator validation by @yt2b in #5904
- Handle negative time.sleep values by @ever0de in #5906
New Contributors
- @coderabbitai made their first contribution in #5899
- @ever0de made their first contribution in #5906
Full Changelog: 2025-06-30-main-36...2025-07-07-main-37
RustPython Pre-Release 2025-06-30-main #36
What's Changed
- Fix PyFunction doc behavior by @youknowone in #5827
- Bump libffi by @arihant2math in #5779
- functools.partial by @youknowone in #5825
- Pyfunction builtins and constructor by @youknowone in #5823
- implement more property features by @youknowone in #5828
- Fix builtins.dir by @youknowone in #5829
- Fix sys.excepthook by @youknowone in #5830
- classmethod copy attrs by @youknowone in #5831
- Exception.set_traceback_typed by @youknowone in #5832
- Add hashlib hasher repr by @youknowone in #5833
- Remove unnecessary string conversions in error message construction by @ShaharNaveh in #5826
- typing.TypeVar by @youknowone in #5834
- Remove redundent
to_owned()
andto_string()
calls by @ShaharNaveh in #5836 - typing ParamSpec by @youknowone in #5837
- more typing by @youknowone in #5840
- Fix genericalias parameters by @youknowone in #5841
- Fix stable clippy by @youknowone in #5843
- [BREAKING CHANGE] Writing magic method names as full name by @youknowone in #5842
- stdlib compatability checking scripts by @arihant2math in #5697
- Fix compatibility of Tuple's hash function by @TeamTamoad in #3460
- Fix type_params lifetime in symboltable by @youknowone in #5844
- ruff format by @youknowone in #5845
- PyPayload::class #[inline] by @youknowone in #5846
- heaptype qualname by @youknowone in #5848
- Fix annotation by @youknowone in #5849
- Fix boundmethod not to have dict by @youknowone in #5851
- Complete tp_repr by @youknowone in #5852
- Fix getset.objclass by @youknowone in #5853
- Implement
_stat
module by @moreal in #5847 - Align is_instance by @youknowone in #5855
- Fix stat module compilation for Redox OS by @willnode in #5857
- Constify functions & General nitpicks by @ShaharNaveh in #5858
- Avoid set changed size during iteration by @moreal in #5860
- Display logo on windows executable by @arihant2math in #5790
- Allow heap getset creation by @youknowone in #5854
- Remove PyTuple::fast_getitem by @youknowone in #5863
- Fix type.subclasscheck by @youknowone in #5864
- Fix TypeParams, TypeAlias compile by @youknowone in #5862
- Upgrade abc.py _py_abc.py to 3.13.5 by @youknowone in #5865
- Rework issubclass by @youknowone in #5867
- Callable or patch by @arihant2math in #5753
- Update isintance by @youknowone in #5868
- Create ContentItem with a macro by @ShaharNaveh in #5859
- Fix isinstance by @youknowone in #5869
- repr in typing by @youknowone in #5870
New Contributors
Full Changelog: 2025-06-23-main-35...2025-06-30-main-36
RustPython Pre-Release 2025-06-23-main #35
What's Changed
- chore: fix some typos in comment by @largemouth in #5804
- disable redox test to enable CI by @youknowone in #5806
- Impl PyAttributeError args by @youknowone in #5805
- Fix SyntaxError, UnicodeDecodeError by @youknowone in #5807
- General code clean by @ShaharNaveh in #5808
- Fix dict unpack by @youknowone in #5809
- Constify some methods and general code cleanups by @ShaharNaveh in #5812
- Fix posix tests by @youknowone in #5811
- Fix struct tests by @youknowone in #5813
- Fix bytes constructor by @youknowone in #5810
- Fix UnpackIterator constructor by @youknowone in #5815
- ucd.is_mirrored by @youknowone in #5816
- Convert
new_X_error
to use a macro by @ShaharNaveh in #5814 - sys.setswitchinterval by @youknowone in #5817
- Unmark fixed tests by @moreal in #5818
- Fix bz2 pickle by @youknowone in #5819
- Fix set cell by @youknowone in #5822
- binascii.hexlify by @youknowone in #5820
- fix maketrans by @youknowone in #5824
- BaseException.setstate by @youknowone in #5821
New Contributors
- @largemouth made their first contribution in #5804
- @ShaharNaveh made their first contribution in #5808
Full Changelog: 2025-06-16-main-34...2025-06-23-main-35
RustPython Pre-Release 2025-06-16-main #34
What's Changed
- Fix nightly clippy warnings by @youknowone in #5803
- Fix deque module name for test_repr by @youknowone in #5799
- Remove unnecessary
uv run
in README by @arihant2math in #5792 - Remove macos skips by @arihant2math in #5794
Full Changelog: 2025-06-09-main-33...2025-06-16-main-34
RustPython Pre-Release 2025-06-09-main #33
What's Changed
- Support incomplete parsing by @aneeshdurg in #5764
- Fix Nightly clippy by @youknowone in #5798
- Bump webpack-dev-server from 5.2.0 to 5.2.1 in /wasm/demo by @dependabot in #5801
Full Changelog: 2025-06-02-main-32...2025-06-09-main-33
RustPython Pre-Release 2025-06-02-main #32
What's Changed
- Rename Dockerfile by @youknowone in #5796
- Remove getrandom 0.2 from dependencies by @coolreader18 in #5797
- Bump malachite-* to 0.6 by @arihant2math in #5793
Full Changelog: 2025-05-19-main-30...2025-06-02-main-32
RustPython Pre-Release 2025-05-19-main #30
What's Changed
- Bump streetsidesoftware/cspell-action from 6 to 7 in the github-actions group by @dependabot in #5782
- chore: rely on the default inclusions for ruff by @rexledesma in #5775
- Dev container update by @arihant2math in #5783
- Fix warnings for rust 1.87 by @coolreader18 in #5786
- Fix panic with high precision by @coolreader18 in #5788
- Update dependencies by @coolreader18 in #5787
Full Changelog: 2025-05-12-main-29...2025-05-19-main-30
RustPython Pre-Release 2025-05-12-main #29
What's Changed
- gitignore, folder fix, like pycache by @Undersk0re in #5762
- Split out common compression routines into separate file by @coolreader18 in #5728
- lzma implementation by @arihant2math in #5717
- Add radium patch to fix CI by @youknowone in #5769
- chore: upgrade to
ruff==0.11.8
by @rexledesma in #5772 - chore: migrate settings to ruff.toml by @rexledesma in #5773
- feat: implement
zlib.__version__
by @rexledesma in #5776 - chore: allow
uv run python -I whats_left.py
by @rexledesma in #5771 - Update README.md about windows symlink fix by @arihant2math in #5766
- lzma FORMAT_ALONE implementation by @arihant2math in #5777
- chore: add
ruff format --check
by @rexledesma in #5774 - Bump cranelift to 0.119 and add more instructions to JIT by @arihant2math in #5778
New Contributors
- @Undersk0re made their first contribution in #5762
- @rexledesma made their first contribution in #5772
Full Changelog: 2025-05-05-main-28...2025-05-12-main-29
RustPython Pre-Release 2025-05-05-main #28
What's Changed
- Replace puruspe to pymath by @youknowone in #5733
- skip flaky test_weakref test by @youknowone in #5760
- copilot-instructions by @youknowone in #5719
- Bump dependencies by @arihant2math in #5759
- Support multiline function/class definitions in REPL and InteractiveConsole by @aneeshdurg in #5743
- More stdlib updates by @arihant2math in #5737
- Fix Cargo.lock by @youknowone in #5761
- Increase numerical precision of log1p by @kralka in #5757
- Cleaner panic output for codegen errors by @arihant2math in #5716
- Fix usize not using the same hash as PyInt when used as key into a di… by @hbina in #5756
- Fix build by @youknowone in #5765
- Enable test_mtestfile by @kralka in #5767
New Contributors
- @aneeshdurg made their first contribution in #5743
- @kralka made their first contribution in #5757
Full Changelog: 2025-04-28-main-27...2025-05-05-main-28