Skip to content

Commit c87f318

Browse files
committed
redirect all references to notes-to-self to static url
1 parent 9720058 commit c87f318

File tree

4 files changed

+6
-4
lines changed

4 files changed

+6
-4
lines changed

docs/source/reference-io.rst

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -555,7 +555,8 @@ there are 1,000,000 µs in a second. Note that all the numbers here are
555555
going to be rough orders of magnitude to give you a sense of scale; if
556556
you need precise numbers for your environment, measure!)
557557

558-
.. file.read benchmark is notes-to-self/file-read-latency.py
558+
.. file.read benchmark is
559+
https://github.com/python-trio/trio/blob/v0.27.0/notes-to-self/file-read-latency.py
559560
.. Numbers for spinning disks and SSDs are from taking a few random
560561
recent reviews from http://www.storagereview.com/best_drives and
561562
looking at their "4K Write Latency" test results for "Average MS"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ fix = true
9292

9393
# The directories to consider when resolving first vs. third-party imports.
9494
# Does not control what files to include/exclude!
95-
src = ["src/trio", "notes-to-self"]
95+
src = ["src/trio"]
9696

9797
include = ["*.py", "*.pyi", "**/pyproject.toml"]
9898

src/trio/_core/_io_windows.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,8 @@
152152
#
153153
# Unfortunately, the Windows kernel seems to have bugs if you try to issue
154154
# multiple simultaneous IOCTL_AFD_POLL operations on the same socket (see
155-
# notes-to-self/afd-lab.py). So if a user calls wait_readable and
155+
# https://github.com/python-trio/trio/blob/v0.27.0/notes-to-self/afd-lab.py).
156+
# So if a user calls wait_readable and
156157
# wait_writable at the same time, we have to combine those into a single
157158
# IOCTL_AFD_POLL. This means we can't just use the wait_overlapped machinery.
158159
# Instead we have some dedicated code to handle these operations, and a

src/trio/_highlevel_open_tcp_listeners.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@
4242
# backlog just causes it to be silently truncated to the configured maximum,
4343
# so this is unnecessary -- we can just pass in "infinity" and get the maximum
4444
# that way. (Verified on Windows, Linux, macOS using
45-
# notes-to-self/measure-listen-backlog.py)
45+
# https://github.com/python-trio/trio/blob/v0.27.0/notes-to-self/measure-listen-backlog.py
4646
def _compute_backlog(backlog: int | None) -> int:
4747
# Many systems (Linux, BSDs, ...) store the backlog in a uint16 and are
4848
# missing overflow protection, so we apply our own overflow protection.

0 commit comments

Comments
 (0)