cpython/Misc/NEWS.d/next/Documentation
Greg Price 9ece4a5057 Unmark files as executable that can't actually be executed. (GH-15353)
There are plenty of legitimate scripts in the tree that begin with a
`#!`, but also a few that seem to be marked executable by mistake.

Found them with this command -- it gets executable files known to Git,
filters to the ones that don't start with a `#!`, and then unmarks
them as executable:

    $ git ls-files --stage \
      | perl -lane 'print $F[3] if (!/^100644/)' \
      | while read f; do
          head -c2 "$f" | grep -qxF '#!' \
          || chmod a-x "$f"; \
        done

Looking at the list by hand confirms that we didn't sweep up any
files that should have the executable bit after all.  In particular

 * The `.psd` files are images from Photoshop.

 * The `.bat` files sure look like things that can be run.
   But we have lots of other `.bat` files, and they don't have
   this bit set, so it must not be needed for them.



Automerge-Triggered-By: @benjaminp
2019-08-20 21:53:59 -07:00
..
2019-04-02-19-23-00.bpo-36487.Jg6-MG.rst Unmark files as executable that can't actually be executed. (GH-15353) 2019-08-20 21:53:59 -07:00
2019-05-22-04-30-07.bpo-37004.BRgxrt.rst bpo-37004: Documented asymmetry of string arguments in difflib.SequenceMatcher for ratio method (GH-13482) 2019-08-06 21:37:08 -07:00
2019-06-17-09-36-46.bpo-34903.r_wGRc.rst bpo-34903: Document that some strptime formats only require 1 digit (GH-14149) 2019-06-18 19:14:57 +01:00
2019-07-06-00-57-27.bpo-37478.B0ioLw.rst bpo-37478: Specify possible exceptions for os.chdir() (GH-14611) 2019-07-06 21:20:15 -04:00
2019-07-06-02-19-02.bpo-37149.NumHn3.rst bpo-37149: Replace dead link for online Tkinter reference (GH-14616) 2019-07-06 02:31:54 -04:00
2019-07-06-17-19-26.bpo-37487.QagfZ5.rst bpo-37487: Fix PyList_GetItem index description. (GH-14623) 2019-07-06 17:40:27 -04:00
2019-07-06-17-51-36.bpo-37456.lgAQHn.rst bpo-37456: Slash ('/') is now part of syntax. (GH-14627) 2019-07-06 18:13:02 -04:00
2019-07-12-15-09-56.bpo-37521.7tiFR-.rst bpo-37521: No longer treat insertion into sys.modules as optional in importlib examples (GH-14723) 2019-07-12 15:35:34 -07:00
2019-07-13-12-43-01.bpo-30088.CIcBjy.rst bpo-30088: Document that existing dir structure isn't verified by mailbox.Maildir (GH-1163) 2019-07-13 07:47:14 -07:00
2019-07-13-12-58-20.bpo-37284.rP8WpB.rst bpo-37284: Add note to sys.implementation doc (GH-14328) 2019-07-15 07:37:09 -07:00
2019-07-16-14-48-12.bpo-37256.qJTrBb.rst bpo-37256: Wording in Request class docs (#14792) 2019-08-13 18:10:58 -07:00
2019-07-25-10-30-32.bpo-32910.caLLAe.rst bpo-32910: Remove implementation detail in venv documentation. (GH-14968) 2019-07-26 14:57:11 -07:00
2019-07-31-11-40-06.bpo-37726.h-3o9a.rst bpo-37726: Prefer argparse over getopt in stdlib tutorial (#15052) 2019-08-01 07:17:30 -07:00
2019-08-04-19-20-58.bpo-37759.EHRF4i.rst bpo-37759: First round of major edits to Whatsnew 3.8 (GH-15127) 2019-08-05 13:33:19 -07:00
README.rst Link to blurb on PyPI in the NEWS.d READMEs. (#3323) 2017-09-05 10:38:05 -07:00

README.rst

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

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