# Feature or enhancement ### Proposal: It's used to query and copy a target file descriptor. for example: ``` import fcntl f = /* open a file */; /* 'ret' must be greater equal than 5 */ ret = fcntl.fcntl(fd, F_DUPFD_QUERY, 5); ``` ### Has this already been discussed elsewhere? No response given ### Links to previous discussion of this feature: _No response_ <!-- gh-linked-prs --> ### Linked PRs * gh-127386 <!-- /gh-linked-prs -->