Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 7a08410

Browse files
committed
Merge
2 parents bcb39d4 + 6cea35a commit 7a08410

2 files changed

Lines changed: 8 additions & 6 deletions

File tree

Lib/test/test_fcntl.py

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,12 +23,8 @@ def get_lockdata():
2323
else:
2424
start_len = "qq"
2525

26-
if sys.platform in ('netbsd1', 'netbsd2', 'netbsd3',
27-
'Darwin1.2', 'darwin',
28-
'freebsd2', 'freebsd3', 'freebsd4', 'freebsd5',
29-
'freebsd6', 'freebsd7', 'freebsd8',
30-
'bsdos2', 'bsdos3', 'bsdos4',
31-
'openbsd', 'openbsd2', 'openbsd3', 'openbsd4'):
26+
if (sys.platform.startswith(('netbsd', 'freebsd', 'openbsd', 'bsdos'))
27+
or sys.platform == 'darwin'):
3228
if struct.calcsize('l') == 8:
3329
off_t = 'l'
3430
pid_t = 'i'

Misc/NEWS

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,12 @@ Library
3434
- Issue #12650: Fix a race condition where a subprocess.Popen could leak
3535
resources (FD/zombie) when killed at the wrong time.
3636

37+
Tests
38+
-----
39+
40+
- Issue #12821: Fix test_fcntl failures on OpenBSD 5.
41+
42+
3743
What's New in Python 3.2.2?
3844
===========================
3945

0 commit comments

Comments
 (0)