v0.0.15
ChatGPTNextWeb/NextChatv0.0.15Apr 18, 2026by samuelcolvin
AI Summary
Enhances the Monty interpreter with new builtin functions, better parsing safety, and async building capabilities.
Key Highlights
- Implemented `hasattr` builtin function
- Added cheap sourcemaps
- Support for async building without holding the GIL
- Support for chain assignment
New Features
- hasattr builtin function
- Cheap sourcemaps
- Async building support
- Chain assignment support
Full Release Notes
## What's Changed * fix(vm): fix partial future resolution panics in mixed gathers by @runyaga in https://github.com/pydantic/monty/pull/251 * Implement `hasattr` builtin function by @friendlymatthew in https://github.com/pydantic/monty/pull/66 * add benchmark for parsing 1000 lines by @samuelcolvin in https://github.com/pydantic/monty/pull/353 * Cheap sourcemaps by @samuelcolvin in https://github.com/pydantic/monty/pull/354 * raise `MontySyntaxError` for source with lone surrogates by @samuelcolvin in https://github.com/pydantic/monty/pull/355 * feat: add MontyRepl methods for calling Python functions from Rust by @rsr5 in https://github.com/pydantic/monty/pull/271 * wrap input unicode conversion errors as `MontyRuntimeError` by @samuelcolvin in https://github.com/pydantic/monty/pull/356 * support chain assignment by @samuelcolvin in https://github.com/pydantic/monty/pull/357 * Support building a `Monty` instance async and without holding the GIL by @samuelcolvin in https://github.com/pydantic/monty/pull/358 ## New Contributors * @runyaga made their first contribution in https://github.com/pydantic/monty/pull/251 **Full Changelog**: https://github.com/pydantic/monty/compare/v0.0.14...v0.0.15