Skip to content

Commit 7fa32d4

Browse files
authored
Merge pull request #2656 from Kodiologist/release
Release Hy 1.1.0
2 parents d51c1e4 + 034cec6 commit 7fa32d4

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

NEWS.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
.. default-role:: code
22

3-
Unreleased
3+
1.1.0 ("Business Hugs", released 2025-05-08)
44
======================================================================
55

66
Supports Python 3.9 – Python 3.14

hy/repl.py

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,10 +78,12 @@ def _cmdline_checkcache(*args):
7878

7979

8080
_codeop_maybe_compile = codeop._maybe_compile
81-
codeop._maybe_compile = (lambda compiler, source, filename, symbol:
81+
codeop._maybe_compile = (lambda compiler, source, filename, symbol, *args, **kwargs:
82+
# Python 3.14 adds a mandatory parameter `flags`, which is
83+
# sometimes specified by position and sometimes by name.
8284
compiler(source, filename, symbol)
8385
if isinstance(compiler, HyCompile) else
84-
_codeop_maybe_compile(compiler, source, filename, symbol))
86+
_codeop_maybe_compile(compiler, source, filename, symbol, *args, **kwargs))
8587

8688

8789
class HyCompile(codeop.Compile):

0 commit comments

Comments
 (0)