Skip to content

Commit 502bed2

Browse files
committed
bumped to v0.2.3 (reverts v0.2.2)
1 parent 8888a7c commit 502bed2

File tree

4 files changed

+10
-4
lines changed

4 files changed

+10
-4
lines changed

CHANGELOG.md

+7-1
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,17 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) a
66

77
## [Unreleased]
88

9+
## [0.2.3] - 2025-02-19
10+
11+
### Fixed
12+
13+
- `__exit__` to re-raise the exception by returning `False` (reverted v0.2.2)
14+
915
## [0.2.2] - 2025-02-19
1016

1117
### Fixed
1218

13-
- `__exit__` to suppress any exception by returning `True
19+
- `__exit__` to suppress any exception by returning `True`
1420

1521
## [0.2.1] - 2025-02-11
1622

src/namedpipe/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "0.2.2"
1+
__version__ = "0.2.3"
22

33
from os import name as _os_name
44

src/namedpipe/_posix.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -113,7 +113,7 @@ def __enter__(self):
113113

114114
def __exit__(self, *_):
115115
self.close()
116-
return True
116+
return False
117117

118118
def readable(self)->bool:
119119
"""True if pipe's stream is readable"""

src/namedpipe/_win32.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ def __enter__(self):
165165

166166
def __exit__(self, *_):
167167
self.close()
168-
return True
168+
return False
169169

170170
def readable(self) -> bool:
171171
"""True if pipe's stream is readable"""

0 commit comments

Comments
 (0)