Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Type
/
to search
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
pythonStudy2017
/
cpython
Public
forked from
python/cpython
Notifications
You must be signed in to change notification settings
Fork
0
Star
0
Code
Pull requests
0
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Pull requests
Actions
Projects
Security and quality
Insights
Commits
Breadcrumbs
History for
cpython
Python
random.c
on
3.3
User selector
All users
All time
Commit history
Commits on Oct 6, 2013
Closes #15213: update comment for _PyOS_URandom
birkenfeld
committed
c6a2c9b
View commit details
Copy full SHA for c6a2c9b
View code at this point
Browse repository at this point
Commits on Aug 16, 2013
Issue #18756: Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.
pitrou
committed
ec34ab5
View commit details
Copy full SHA for ec34ab5
View code at this point
Browse repository at this point
Commits on Sep 7, 2012
Issue #15340: Fix importing the random module when /dev/urandom cannot be opened.
Show description for 380c55c
pitrou
committed
380c55c
View commit details
Copy full SHA for 380c55c
View code at this point
Browse repository at this point
Commits on Feb 21, 2012
enable hash randomization by default
benjaminp
committed
c9f54cf
View commit details
Copy full SHA for c9f54cf
View code at this point
Browse repository at this point
ensure no one tries to hash things before the random seed is found
benjaminp
committed
69e9727
View commit details
Copy full SHA for 69e9727
View code at this point
Browse repository at this point
Commits on Feb 20, 2012
Fix typo in conditional.
birkenfeld
committed
12897d7
View commit details
Copy full SHA for 12897d7
View code at this point
Browse repository at this point
Issue #13703: add a way to randomize the hash values of basic types (str, bytes, datetime)
Show description for 2daf6ae
birkenfeld
committed
2daf6ae
View commit details
Copy full SHA for 2daf6ae
View code at this point
Browse repository at this point
Loading
You can’t perform that action at this time.