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

Skip to content

Commit 7e9065c

Browse files
committed
Issue #10143: Update "os.pathconf" values
1 parent 97019ff commit 7e9065c

2 files changed

Lines changed: 36 additions & 1 deletion

File tree

Misc/NEWS

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
+++++++++++
1+
+++++++++++
22
Python News
33
+++++++++++
44

@@ -135,6 +135,8 @@ Library
135135
Extensions
136136
----------
137137

138+
- Issue #10143: Update "os.pathconf" values.
139+
138140
- Issue #6518: Support context manager protcol for ossaudiodev types.
139141

140142
- Issue #678250: Make mmap flush a noop on ACCESS_READ and ACCESS_COPY.

Modules/posixmodule.c

Lines changed: 33 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6437,6 +6437,39 @@ static struct constdef posix_constants_pathconf[] = {
64376437
#ifdef _PC_VDISABLE
64386438
{"PC_VDISABLE", _PC_VDISABLE},
64396439
#endif
6440+
#ifdef _PC_ACL_ENABLED
6441+
{"PC_ACL_ENABLED", _PC_ACL_ENABLED},
6442+
#endif
6443+
#ifdef _PC_MIN_HOLE_SIZE
6444+
{"PC_MIN_HOLE_SIZE", _PC_MIN_HOLE_SIZE},
6445+
#endif
6446+
#ifdef _PC_ALLOC_SIZE_MIN
6447+
{"PC_ALLOC_SIZE_MIN", _PC_ALLOC_SIZE_MIN},
6448+
#endif
6449+
#ifdef _PC_REC_INCR_XFER_SIZE
6450+
{"PC_REC_INCR_XFER_SIZE", _PC_REC_INCR_XFER_SIZE},
6451+
#endif
6452+
#ifdef _PC_REC_MAX_XFER_SIZE
6453+
{"PC_REC_MAX_XFER_SIZE", _PC_REC_MAX_XFER_SIZE},
6454+
#endif
6455+
#ifdef _PC_REC_MIN_XFER_SIZE
6456+
{"PC_REC_MIN_XFER_SIZE", _PC_REC_MIN_XFER_SIZE},
6457+
#endif
6458+
#ifdef _PC_REC_XFER_ALIGN
6459+
{"PC_REC_XFER_ALIGN", _PC_REC_XFER_ALIGN},
6460+
#endif
6461+
#ifdef _PC_SYMLINK_MAX
6462+
{"PC_SYMLINK_MAX", _PC_SYMLINK_MAX},
6463+
#endif
6464+
#ifdef _PC_XATTR_ENABLED
6465+
{"PC_XATTR_ENABLED", _PC_XATTR_ENABLED},
6466+
#endif
6467+
#ifdef _PC_XATTR_EXISTS
6468+
{"PC_XATTR_EXISTS", _PC_XATTR_EXISTS},
6469+
#endif
6470+
#ifdef _PC_TIMESTAMP_RESOLUTION
6471+
{"PC_TIMESTAMP_RESOLUTION", _PC_TIMESTAMP_RESOLUTION},
6472+
#endif
64406473
};
64416474

64426475
static int

0 commit comments

Comments
 (0)