File tree Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Expand file tree Collapse file tree 2 files changed +5
-3
lines changed Original file line number Diff line number Diff line change 11# Changelog
22
3- ** Unreleased **
3+ ** 1.7.0 (2025-10-02) **
44
55* Update for Python 3.14 and require at least 3.8 (by Edgar Ramírez, [ #112 ] ( https://github.com/Kijewski/pyjson5/pull/112 ) )
6+ * Update to Unicode 17.0.0 ([ #117 ] ( https://github.com/Kijewski/pyjson5/pull/117 ) )
7+ * Fix typing for ` _SupportsRead ` ([ #118 ] ( https://github.com/Kijewski/pyjson5/pull/118 ) )
68
79** 1.6.9 (2025-05-12)**
810
Original file line number Diff line number Diff line change @@ -13,10 +13,10 @@ from typing import (
1313 Union ,
1414)
1515
16- _Data = TypeVar ("_Data" )
16+ _Data = TypeVar ("_Data" , contravariant = True )
1717
1818class _SupportsRead (Protocol ):
19- def read (self , size : int = ...) -> str : ...
19+ def read (self , size : int | None = ...) -> str | bytes : ...
2020
2121class _SupportsWrite (Protocol [_Data ]):
2222 def write (self , s : _Data ) -> Any : ...
You can’t perform that action at this time.
0 commit comments