Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(603)

Delta Between Two Patch Sets: Doc/library/os.rst

Issue 10142: Support for SEEK_HOLE/SEEK_DATA
Left Patch Set: Created 1 year ago
Right Patch Set: Created 1 year ago
Left:
Right:
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
Left: Side by side diff | Download
Right: Side by side diff | Download
« no previous file with change/comment | « Doc/library/io.rst ('k') | Lib/_pyio.py » ('j') | no next file with change/comment »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
LEFTRIGHT
1 :mod:`os` --- Miscellaneous operating system interfaces 1 :mod:`os` --- Miscellaneous operating system interfaces
2 ======================================================= 2 =======================================================
3 3
4 .. module:: os 4 .. module:: os
5 :synopsis: Miscellaneous operating system interfaces. 5 :synopsis: Miscellaneous operating system interfaces.
6 6
7 7
8 This module provides a portable way of using operating system dependent 8 This module provides a portable way of using operating system dependent
9 functionality. If you just want to read or write a file see :func:`open`, if 9 functionality. If you just want to read or write a file see :func:`open`, if
10 you want to manipulate paths, see the :mod:`os.path` module, and if you want to 10 you want to manipulate paths, see the :mod:`os.path` module, and if you want to
(...skipping 3312 matching lines...) Expand 10 before | Expand all | Expand 10 after
3323 3323
3324 .. function:: urandom(n) 3324 .. function:: urandom(n)
3325 3325
3326 Return a string of *n* random bytes suitable for cryptographic use. 3326 Return a string of *n* random bytes suitable for cryptographic use.
3327 3327
3328 This function returns random bytes from an OS-specific randomness source. Th e 3328 This function returns random bytes from an OS-specific randomness source. Th e
3329 returned data should be unpredictable enough for cryptographic applications, 3329 returned data should be unpredictable enough for cryptographic applications,
3330 though its exact quality depends on the OS implementation. On a UNIX-like 3330 though its exact quality depends on the OS implementation. On a UNIX-like
3331 system this will query /dev/urandom, and on Windows it will use CryptGenRando m. 3331 system this will query /dev/urandom, and on Windows it will use CryptGenRando m.
3332 If a randomness source is not found, :exc:`NotImplementedError` will be raise d. 3332 If a randomness source is not found, :exc:`NotImplementedError` will be raise d.
LEFTRIGHT

RSS Feeds Recent Issues | This issue
This is Rietveld cbc36f91f3f7