mirror of
https://github.com/python/cpython.git
synced 2026-01-28 05:35:31 +00:00
Fix Python Initialization code on FreeBSD to detect properly when stdin file descriptor (fd 0) is invalid. On FreeBSD, fstat() must be used to check if stdin (fd 0) is valid. dup(0) doesn't fail if stdin is invalid in some cases.
Miscellaneous source files for the main Python shared library