- Issue #14212: The re module didn't retain a reference to buffers it was
scanning, resulting in segfaults.
+- Issue #14359: Only use O_CLOEXEC in _posixmodule.c if it is defined.
+ Based on patch from Hervé Coatanhay.
What's New in Python 3.2.3 release candidate 2?
- fd_dir_fd = open(FD_DIR, O_RDONLY | O_CLOEXEC, 0);
+ fd_dir_fd = open(FD_DIR, O_RDONLY | O_CLOEXEC, 0);
+ fd_dir_fd = open(FD_DIR, O_RDONLY, 0);
+ int old = fcntl(fd_dir_fd, F_GETFD);
+ fcntl(fd_dir_fd, F_SETFD, old | FD_CLOEXEC);
/* No way to get a list of open fds. */
_close_fds_by_brute_force(start_fd, end_fd, py_fds_to_keep);