1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
From: Colin Watson <cjwatson@debian.org>
Date: Tue, 27 Jan 2026 14:29:33 +0000
Subject: Work around Python 3.14 eval breaker regression
See discussion in https://github.com/python/cpython/issues/139622.
Last-Update: 2026-01-27
---
README.rst | 6 +-----
1 file changed, 1 insertion(+), 5 deletions(-)
diff --git a/README.rst b/README.rst
index 9ec2fa1..8c5313c 100644
--- a/README.rst
+++ b/README.rst
@@ -407,11 +407,7 @@ Let's define some utilities:
>>> exc_traces = []
>>> def variable_duration_func_handling_exc(duration, exc_traces):
... try:
- ... t0 = time.time()
- ... while True:
- ... dummy = 0
- ... if time.time() - t0 > duration:
- ... break
+ ... variable_duration_func(duration)
... except Exception as exc:
... exc_traces.append(exc)
>>> def func_with_exception():
|