Skip to content

Commit 29e2a0d

Browse files
committed
Add blurb
1 parent 82d9904 commit 29e2a0d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
When using ``O_TMPFILE``, open :class:`tempfile.TemporaryFile` file descriptors
2+
with ``O_WRONLY`` and not ``O_RDWR`` when a write-only mode is given. This will
3+
prevent low-level reads on their underlying file descriptor.

0 commit comments

Comments
 (0)