Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
cb7b3f30
Commit
cb7b3f30
authored
Aug 30, 2004
by
Andrew M. Kuchling
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add items
parent
ae882f79
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
0 deletions
+14
-0
Doc/whatsnew/whatsnew24.tex
Doc/whatsnew/whatsnew24.tex
+14
-0
No files found.
Doc/whatsnew/whatsnew24.tex
View file @
cb7b3f30
...
...
@@ -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.)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment