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
/
cpython
Public
Uh oh!
There was an error while loading.
Please reload this page
.
Notifications
You must be signed in to change notification settings
Fork
35.2k
Star
74.3k
Code
Issues
5k+
Pull requests
2.5k
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security and quality
Insights
bpo-40915: Fix mmap resize bugs on Windows (GH-29213)
- #29213
#29213
Merged
tjguk
merged 11 commits into
python:main
python/cpython:main
from
tjguk:issue40915-mmap-resize
tjguk/cpython:issue40915-mmap-resize
Copy head branch name to clipboard
Oct 26, 2021
Conversation
Commits
11
(11)
Checks
Files changed
Merged
bpo-40915: Fix mmap resize bugs on Windows (GH-29213)
#29213
tjguk
merged 11 commits into
python:main
python/cpython:main
from
tjguk:issue40915-mmap-resize
tjguk/cpython:issue40915-mmap-resize
Copy head branch name to clipboard
Commits
Commits on Oct 23, 2021
On Windows, if a named mmap section is held by more than one handle, no handle can be resized
tjguk
committed
d8656e6
View commit details
Copy full SHA for d8656e6
Browse repository at this point
Commits on Oct 24, 2021
A pagefile-backed mmap can now be resized (under the cover it's being recreated along with its data)
tjguk
committed
f9750eb
View commit details
Copy full SHA for f9750eb
Browse repository at this point
Merge branch 'main' into issue40915-mmap-resize
tjguk
committed
4c9b0fe
View commit details
Copy full SHA for 4c9b0fe
Browse repository at this point
Make sure that resizing includes the offset when calculating the new file extent
tjguk
committed
b114bc1
View commit details
Copy full SHA for b114bc1
Browse repository at this point
Commits on Oct 25, 2021
Add & tweak resize tests for Windows:
Show description for 2742cad
tjguk
committed
2742cad
View commit details
Copy full SHA for 2742cad
Browse repository at this point
Add useful commentary to the new resize logic
tjguk
committed
00f3be6
View commit details
Copy full SHA for 00f3be6
Browse repository at this point
Add some tentative docs to reflect the new changes
tjguk
committed
ea48010
View commit details
Copy full SHA for ea48010
Browse repository at this point
Add a specific test to check that resizing a named mapping fails with an exception but retains the mapping
Show description for b1a6c5f
tjguk
committed
b1a6c5f
View commit details
Copy full SHA for b1a6c5f
Browse repository at this point
Commits on Oct 26, 2021
Use the existing `error` value as `GetLastError` might return a different value by this point
tjguk
committed
866a376
View commit details
Copy full SHA for 866a376
Browse repository at this point
Be specific about the exception type raised
tjguk
committed
eef2b79
View commit details
Copy full SHA for eef2b79
Browse repository at this point
Pick up an error when resizing the file even if everything else succeeds
tjguk
committed
af636d6
View commit details
Copy full SHA for af636d6
Browse repository at this point
You can’t perform that action at this time.