Skip to content

Commit b992a0e

Browse files
Issue python#19936: Added executable bits or shebang lines to Python scripts which
requires them. Disable executable bits and shebang lines in test and benchmark files in order to prevent using a random system python, and in source files of modules which don't provide command line interface. Fixed shebang line to use python3 executable in the unittestgui script.
1 parent 1654040 commit b992a0e

File tree

84 files changed

+7
-66
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

84 files changed

+7
-66
lines changed

Lib/difflib.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#! /usr/bin/env python3
2-
31
"""
42
Module difflib -- helpers for computing deltas between objects.
53

Lib/http/cookies.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,3 @@
1-
#!/usr/bin/env python3
2-
#
3-
41
####
52
# Copyright 2000 by Timothy O'Malley <timo@alum.mit.edu>
63
#

Lib/lib2to3/tests/data/different_encoding.py

100644100755
File mode changed.

Lib/lib2to3/tests/data/false_encoding.py

100644100755
File mode changed.

Lib/mailbox.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
#! /usr/bin/env python3
2-
31
"""Read/write support for Maildir, mbox, MH, Babyl, and MMDF mailboxes."""
42

53
# Notes for authors of new mailbox subclasses:

Lib/smtplib.py

100644100755
File mode changed.

Lib/tarfile.py

100644100755
File mode changed.

Lib/test/crashers/recursive_call.py

100644100755
File mode changed.

Lib/test/curses_tests.py

100644100755
File mode changed.

Lib/test/multibytecodec_support.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
#
32
# multibytecodec_support.py
43
# Common Unittest Routines for CJK codecs

0 commit comments

Comments
 (0)