Skip to content

Conversation

@ZackerySpytz
Copy link
Contributor

@ZackerySpytz ZackerySpytz commented May 20, 2018

This was (apparently) necessary on Windows 9x systems, but these
operating systems are no longer supported.

This PR doesn't need a news entry.

https://bugs.python.org/issue23860

This was (apparently) necessary on Windows 9x systems, but these
operating systems are no longer supported.
f.write(b'\0'* (PAGESIZE-3) )
f.flush()
m = mmap.mmap(f.fileno(), 2 * PAGESIZE)
self.assertEqual(f.tell(), 2 * PAGESIZE)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What f.tell() returned before this change? What m.tell() returned and what it returns now?

@vstinner
Copy link
Member

Does this PR change the behavior on Windows?

@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Aug 20, 2022
@erlend-aasland erlend-aasland changed the title bpo-23860: Remove unneeded lseek() call in mmap.mmap() (on Windows) gh-68048: Remove unneeded lseek call in mmap.mmap on Windows Jan 5, 2024
@github-actions github-actions bot removed the stale Stale PR or inactive for long period of time. label Sep 21, 2024
@github-actions
Copy link

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions bot added the stale Stale PR or inactive for long period of time. label Dec 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting review stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

7 participants