File tree Expand file tree Collapse file tree 5 files changed +7
-5
lines changed
Expand file tree Collapse file tree 5 files changed +7
-5
lines changed Original file line number Diff line number Diff line change 1+ DisableFormat : true
Original file line number Diff line number Diff line change @@ -5,14 +5,14 @@ All notable changes to this project will be documented in this file.
55The format is based on [ Keep a Changelog] ( https://keepachangelog.com/en/1.1.0/ ) ,
66and this project adheres to [ Semantic Versioning] ( https://semver.org/spec/v2.0.0.html ) .
77
8- ## Unreleased
8+ ## [ 1.4.0 ] - 2025-02-09
99
1010- Significantly reduced awaitable object size by dynamically allocating it.
1111- Reduced memory footprint by removing preallocated awaitable objects.
1212- Objects returned by a PyAwaitable object's ` __await__ ` are now garbage collected (* i.e.* , they don't leak with rare circular references).
1313- Removed limit on number of stored callbacks or values.
1414- Switched some user-error messages to ` RuntimeError ` instead of ` SystemError ` .
15- - Added ` PyAwaitable_DeferAwait ` for executing code when the awaitable object is called by the event loop.
15+ - Added ` PyAwaitable_DeferAwait ` for executing code without a coroutine when the awaitable object is called by the event loop.
1616
1717## [ 1.3.0] - 2024-10-26
1818
Original file line number Diff line number Diff line change 1212 setup (
1313 name = "pyawaitable" ,
1414 license = "MIT" ,
15- version = "1.4.0-dev " ,
15+ version = "1.4.0" ,
1616 ext_modules = [
1717 Extension (
1818 "_pyawaitable" ,
Original file line number Diff line number Diff line change 1212from . import abi
1313
1414__all__ = "PyAwaitable" , "include" , "abi"
15- __version__ = "1.3 .0"
15+ __version__ = "1.4 .0"
1616__author__ = "Peter Bierma"
1717
1818PyAwaitable : Type = _PyAwaitableType
Original file line number Diff line number Diff line change @@ -55,7 +55,8 @@ typedef struct _pyawaitable_abi
5555 );
5656 int (* defer_await )(
5757 PyObject * aw ,
58- defer_callback cb );
58+ defer_callback cb
59+ );
5960} PyAwaitableABI ;
6061
6162#ifdef PYAWAITABLE_THIS_FILE_INIT
You can’t perform that action at this time.
0 commit comments