cpython/Misc/NEWS.d/next/macOS
Ronald Oussoren d08fb25769
GH-87235: Make sure "python /dev/fd/9 9</path/to/script.py" works on macOS (#99768)
On macOS all file descriptors for a particular file in /dev/fd
share the same file offset, that is ``open("/dev/fd/9", "r")`` behaves
more like ``dup(9)`` than a regular open.

This causes problems when a user tries to run "/dev/fd/9" as a script
because zipimport changes the file offset to try to read a zipfile
directory. Therefore change zipimport to reset the file offset after
trying to read the zipfile directory.
2022-11-27 11:56:14 +01:00
..
2022-11-01-10-32-23.gh-issue-98940.W3YzC_.rst gh-98940: Fix Mac/Extras.install.py File filter bug (#98943) 2022-11-16 10:17:18 +01:00
2022-11-25-09-23-20.gh-issue-87235.SifjCD.rst GH-87235: Make sure "python /dev/fd/9 9</path/to/script.py" works on macOS (#99768) 2022-11-27 11:56:14 +01:00
README.rst Link to blurb on PyPI in the NEWS.d READMEs. (#3323) 2017-09-05 10:38:05 -07:00

Put news entry `blurb`_ files for the *macOS* section in this directory.

.. _blurb: https://pypi.org/project/blurb/