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
.
python-babel
/
babel
Public
Notifications
You must be signed in to change notification settings
Fork
487
Star
1.5k
Code
Issues
163
Pull requests
61
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Make Locale objects immutable and cache them
- #305
#305
Open
akx
wants to merge 5 commits into
python-babel:master
python-babel/babel:master
from
akx:cache-locales
akx/babel:cache-locales
Copy head branch name to clipboard
Conversation
Commits
5
(5)
Checks
Files changed
Open
Make Locale objects immutable and cache them
#305
akx
wants to merge 5 commits into
python-babel:master
python-babel/babel:master
from
akx:cache-locales
akx/babel:cache-locales
Copy head branch name to clipboard
Commits
Commits on Jan 4, 2016
Resolve locale data aliases eagerly
Show description for 08b5113
etanol
authored and
akx
committed
08b5113
View commit details
Copy full SHA for 08b5113
Browse repository at this point
Make Locale objects immutable
Show description for 65575c5
akx
committed
65575c5
View commit details
Copy full SHA for 65575c5
Browse repository at this point
Cache Locale objects in `Locale._cache`
Show description for 07b824f
akx
committed
07b824f
View commit details
Copy full SHA for 07b824f
Browse repository at this point
Teach Locale.parse to share the Locale cache
akx
committed
0278582
View commit details
Copy full SHA for 0278582
Browse repository at this point
Add an RLock around the Locale cache.
Show description for 33a9057
akx
committed
33a9057
View commit details
Copy full SHA for 33a9057
Browse repository at this point
You can’t perform that action at this time.