diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-08-30 11:58:04 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-08-30 11:58:04 (GMT) |
commit | cb7b3f30d6db6ab3cbd629d3970f85abee3e59ef (patch) | |
tree | a851a5b6066273576adfe0eae4c0663cfc6f32c2 /Doc/whatsnew | |
parent | ae882f798435266b41a9c8966562102345a3eda5 (diff) | |
download | cpython-cb7b3f30d6db6ab3cbd629d3970f85abee3e59ef.zip cpython-cb7b3f30d6db6ab3cbd629d3970f85abee3e59ef.tar.gz cpython-cb7b3f30d6db6ab3cbd629d3970f85abee3e59ef.tar.bz2 |
Add items
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/whatsnew24.tex | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 17f9bdd..b9d23c2 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -1118,6 +1118,20 @@ to internationalize Optik's help and error messages. Help messages for options can now include the string \code{'\%default'}, which will be replaced by the option's default value. +\item A new \function{urandom(\var{n})} function +was added to the \module{os} module, providing access to +platform-specific sources of randomness such as +\filename{/dev/urandom} on Linux or the Windows CryptoAPI. The +function returns a string containing \var{n} bytes of random data. +(Contributed by Trevor Perrin.) + +\item Another new function: \function{os.path.lexists(\var{path})} +returns true if the file specified by \var{path} exists, whether or +not it's a symbolic link. This differs from the existing +\function{os.path.exists(\var{path})} function, which returns false if +\var{path} is a symlink that points to a destination that doesn't exist. +(Contributed by Beni Cherniavsky.) + \item A new \function{getsid()} function was added to the \module{posix} module that underlies the \module{os} module. (Contributed by J. Raynor.) |