Skip to content

Commit ec55534

Browse files
committed
gh-118673: Remove shebang and executable bits from stdlib modules.
1 parent b407ad3 commit ec55534

File tree

14 files changed

+1
-21
lines changed

14 files changed

+1
-21
lines changed

Lib/base64.py

100755100644
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
"""Base16, Base32, Base64 (RFC 3548), Base85 and Ascii85 data encodings"""
42

53
# Modified 04-Oct-1995 by Jack Jansen to use binascii module

Lib/cProfile.py

100755100644
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
"""Python interface for the 'lsprof' profiler.
42
Compatible with the 'profile' module.
53
"""

Lib/pdb.py

100755100644
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
The Python Debugger Pdb
53
=======================

Lib/platform.py

100755100644
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
""" This module tries to retrieve as much platform-identifying data as
42
possible. It makes this information available via function APIs.
53

Lib/profile.py

100755100644
File mode changed.

Lib/pydoc.py

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#!/usr/bin/env python3
21
"""Generate Python documentation in HTML or text for interactive use.
32
43
At the Python interactive prompt, calling help(thing) on a Python object

Lib/quopri.py

100755100644
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
"""Conversions to/from quoted-printable transport encoding as per RFC 1521."""
42

53
# (Dec 1991 version).

Lib/smtplib.py

100755100644
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
'''SMTP/ESMTP client class.
42
53
This should follow RFC 821 (SMTP), RFC 1869 (ESMTP), RFC 2554 (SMTP

Lib/tabnanny.py

100755100644
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
"""The Tab Nanny despises ambiguous indentation. She knows no mercy.
42
53
tabnanny -- Detection of ambiguous indentation

Lib/tarfile.py

100755100644
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
# tarfile.py
43
#-------------------------------------------------------------------

Lib/timeit.py

100755100644
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
"""Tool for measuring execution time of small code snippets.
42
53
This module avoids a number of common traps for measuring execution

Lib/trace.py

100755100644
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
# portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
42
# err... reserved and offered to the public under the terms of the
53
# Python 2.2 license.

Lib/webbrowser.py

100755100644
Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
#! /usr/bin/env python3
21
"""Interfaces for launching and remotely controlling web browsers."""
32
# Maintained by Georg Brandl.
43

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Removed executable bits and shebang from stdlib modules.

0 commit comments

Comments
 (0)