diff --git a/trio/_path.py b/trio/_path.py
index 4b1bee16..7f777936 100644
--- a/trio/_path.py
+++ b/trio/_path.py
@@ -128,6 +128,28 @@ class Path(metaclass=AsyncAutoWrapperType):
 
         self._wrapped = pathlib.Path(*args)
 
+    async def iterdir(self):
+        """
+        Like :meth:`pathlib.Path.iterdir`, but async.
+
+        This is an async method that returns a synchronous iterator, so you
+        use it like::
+        
+           for subpath in await mypath.iterdir():
+               ...
+               
+        Note that it actually loads the whole directory list into memory
+        immediately, during the initial call. (See `issue #501
+        <https://github.com/python-trio/trio/issues/501>`__ for discussion.)
+        
+        """
+
+        def _load_items():
+            return list(self._wrapped.iterdir())
+
+        items = await trio.run_sync_in_worker_thread(_load_items)
+        return (Path(item) for item in items)
+
     def __getattr__(self, name):
         if name in self._forward:
             value = getattr(self._wrapped, name)

trio.Path.iterdir wrapping is broken
Given `pathlib.Path.iterdir` returns a generator that does IO access on each iteration, `trio.Path.iterdir` is currently broken given it currently only generates the generator asynchronously (which I suppose is pointless given there is no need for IO at generator creation)

The solution would be to modify  `trio.Path.iterdir` to return an async generator, however this means creating a special case given the current implementation is only an async wrapper on `pathlib.Path.iterdir`.
diff --git a/trio/tests/test_path.py b/trio/tests/test_path.py
index 6b9d1c15..1289cfa2 100644
--- a/trio/tests/test_path.py
+++ b/trio/tests/test_path.py
@@ -198,3 +198,17 @@ async def test_path_nonpath():
 async def test_open_file_can_open_path(path):
     async with await trio.open_file(path, 'w') as f:
         assert f.name == fspath(path)
+
+
+async def test_iterdir(path):
+    # Populate a directory
+    await path.mkdir()
+    await (path / 'foo').mkdir()
+    await (path / 'bar.txt').write_bytes(b'')
+
+    entries = set()
+    for entry in await path.iterdir():
+        assert isinstance(entry, trio.Path)
+        entries.add(entry.name)
+
+    assert entries == {'bar.txt', 'foo'}

pip install -e .[dev]
parse_log_pytest
requirements.txt
pytest pytest-cov ipython pyOpenSSL trustme pytest-faulthandler
apt-get update apt-get install -y gcc
3.9
requirements/base.txt
pytest --no-header -rA --tb=line --color=no -p no:cacheprovider -W ignore::DeprecationWarning
asttokens==3.0.0
async-generator==1.10
attrs==25.3.0
cffi==1.17.1
coverage==7.8.0
cryptography==44.0.2
decorator==5.2.1
exceptiongroup==1.2.2
executing==2.2.0
idna==3.10
iniconfig==2.1.0
ipython==8.18.1
jedi==0.19.2
matplotlib-inline==0.1.7
packaging==24.2
parso==0.8.4
pexpect==4.9.0
pluggy==1.5.0
prompt_toolkit==3.0.50
ptyprocess==0.7.0
pure_eval==0.2.3
pycparser==2.22
Pygments==2.19.1
pyOpenSSL==25.0.0
pytest==8.3.5
pytest-cov==6.0.0
pytest-faulthandler==2.0.1
sortedcontainers==2.4.0
stack-data==0.6.3
tomli==2.2.1
traitlets==5.14.3
-e git+https://github.com/python-trio/trio.git@94d49f95ffba3634197c173b771dca80ebc70b08#egg=trio
trustme==1.2.1
typing_extensions==4.13.0
wcwidth==0.2.13

name: trio
channels:
  - defaults
  - https://repo.anaconda.com/pkgs/main
  - https://repo.anaconda.com/pkgs/r
  - conda-forge
dependencies:
  - _libgcc_mutex=0.1=main
  - _openmp_mutex=5.1=1_gnu
  - ca-certificates=2025.2.25=h06a4308_0
  - ld_impl_linux-64=2.40=h12ee557_0
  - libffi=3.4.4=h6a678d5_1
  - libgcc-ng=11.2.0=h1234567_1
  - libgomp=11.2.0=h1234567_1
  - libstdcxx-ng=11.2.0=h1234567_1
  - ncurses=6.4=h6a678d5_0
  - openssl=3.0.16=h5eee18b_0
  - pip=25.0=py39h06a4308_0
  - python=3.9.21=he870216_1
  - readline=8.2=h5eee18b_0
  - setuptools=75.8.0=py39h06a4308_0
  - sqlite=3.45.3=h5eee18b_0
  - tk=8.6.14=h39e8969_0
  - tzdata=2025a=h04d1e81_0
  - wheel=0.45.1=py39h06a4308_0
  - xz=5.6.4=h5eee18b_1
  - zlib=1.2.13=h5eee18b_1
  - pip:
      - asttokens==3.0.0
      - async-generator==1.10
      - attrs==25.3.0
      - cffi==1.17.1
      - coverage==7.8.0
      - cryptography==44.0.2
      - decorator==5.2.1
      - exceptiongroup==1.2.2
      - executing==2.2.0
      - idna==3.10
      - iniconfig==2.1.0
      - ipython==8.18.1
      - jedi==0.19.2
      - matplotlib-inline==0.1.7
      - packaging==24.2
      - parso==0.8.4
      - pexpect==4.9.0
      - pluggy==1.5.0
      - prompt-toolkit==3.0.50
      - ptyprocess==0.7.0
      - pure-eval==0.2.3
      - pycparser==2.22
      - pygments==2.19.1
      - pyopenssl==25.0.0
      - pytest==8.3.5
      - pytest-cov==6.0.0
      - pytest-faulthandler==2.0.1
      - sortedcontainers==2.4.0
      - stack-data==0.6.3
      - tomli==2.2.1
      - traitlets==5.14.3
      - trio==0.4.0+dev
      - trustme==1.2.1
      - typing-extensions==4.13.0
      - wcwidth==0.2.13
prefix: /opt/conda/envs/trio

trio/tests/test_path.py::test_iterdir
trio/tests/test_path.py::test_open_is_async_context_manager trio/tests/test_path.py::test_magic trio/tests/test_path.py::test_cmp_magic[Path-Path0] trio/tests/test_path.py::test_cmp_magic[Path-Path1] trio/tests/test_path.py::test_cmp_magic[Path-Path2] trio/tests/test_path.py::test_div_magic[Path-Path0] trio/tests/test_path.py::test_div_magic[Path-Path1] trio/tests/test_path.py::test_div_magic[Path-str] trio/tests/test_path.py::test_div_magic[str-Path] trio/tests/test_path.py::test_forwarded_properties trio/tests/test_path.py::test_async_method_signature trio/tests/test_path.py::test_compare_async_stat_methods[is_dir] trio/tests/test_path.py::test_compare_async_stat_methods[is_file] trio/tests/test_path.py::test_invalid_name_not_wrapped trio/tests/test_path.py::test_async_methods_rewrap[absolute] trio/tests/test_path.py::test_async_methods_rewrap[resolve] trio/tests/test_path.py::test_forward_methods_rewrap trio/tests/test_path.py::test_forward_properties_rewrap trio/tests/test_path.py::test_forward_methods_without_rewrap trio/tests/test_path.py::test_repr trio/tests/test_path.py::test_type_forwards_unsupported trio/tests/test_path.py::test_type_wraps_unsupported trio/tests/test_path.py::test_type_forwards_private trio/tests/test_path.py::test_type_wraps_private trio/tests/test_path.py::test_path_wraps_path[__init__] trio/tests/test_path.py::test_path_wraps_path[joinpath] trio/tests/test_path.py::test_path_nonpath trio/tests/test_path.py::test_open_file_can_open_path
trio/_path.py
trio/_path.py