Skip to content

Commit f93cc46

Browse files
committed
Remove no longer needed note
1 parent 0ebfc5d commit f93cc46

File tree

4 files changed

+4
-6
lines changed

4 files changed

+4
-6
lines changed

_misc/_ensure_annotations.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,6 @@
2626
rec = partial(compile, filename="<string>", mode="exec", flags=0, dont_inherit=True)
2727

2828

29-
#: PYUPDATE: py3.14, annotationslib based check as well.
30-
#: TODO: This runs into issues with indentation, dedent source?
3129
def ensure_annotations[T: type | FunctionType](f: T) -> T:
3230
"""Ensure annotations are runtime valid.
3331

src/async_utils/bg_tasks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ def create_task[T](
8282
t = self._loop.create_task(coro, name=name, context=context)
8383
if name is not None:
8484
# See: python/cpython#113050
85-
# PYUPDATE: remove this block at python 3.13 minimum
85+
# PYUPGRADE: remove this block at python 3.13 minimum
8686
try:
8787
set_name = t.set_name
8888
except AttributeError:

src/async_utils/task_cache.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,7 @@ def _chain_fut[R](c_fut: cf.Future[R], a_fut: asyncio.Future[R]) -> None:
5656
class _WrappedSignature[**P, R]:
5757
#: PYUPGRADE: Ensure inspect.signature still accepts this
5858
# as func.__signature__
59-
# Known working: py 3.12.0 - py3.14a5 range inclusive
59+
# Known working: py 3.12.0 - py3.14a6 range inclusive
6060
def __init__(self, f: TaskCoroFunc[P, R], w: TaskFunc[P, R]) -> None:
6161
self._f = f
6262
self._w = w
@@ -172,7 +172,7 @@ def wrapped(*args: P.args, **kwargs: P.kwargs) -> asyncio.Task[R]:
172172

173173
return a_fut
174174

175-
# PYUPGRADE: 3.14.0 recheck, 3.15+
175+
# PYUPGRADE: 3.14.0 recheck (last checked 3.14a6), 3.15+
176176
wrapped.__signature__ = _WrappedSignature(coro, wrapped) # type: ignore[attr-defined]
177177

178178
return wrapped

src/async_utils/waterfall.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -165,7 +165,7 @@ async def _dispatch_loop(self) -> None:
165165
set_name = f.set_name
166166
except AttributeError:
167167
pass # See: python/cpython#113050
168-
# PYUPDATE: remove this block at python 3.13 minimum
168+
# PYUPGRADE: remove this block at python 3.13 minimum
169169
else:
170170
set_name("waterfall.finalizer")
171171
# TYPESHED:

0 commit comments

Comments
 (0)