Skip to content

Commit

Permalink
pythongh-118673: Remove shebang and executable bits from stdlib modules.
Browse files Browse the repository at this point in the history
  • Loading branch information
jaraco committed May 28, 2024
1 parent 2ba2c14 commit b78f526
Show file tree
Hide file tree
Showing 14 changed files with 1 addition and 19 deletions.
Empty file modified Lib/base64.py
100755 → 100644
Empty file.
2 changes: 0 additions & 2 deletions Lib/cProfile.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#! /usr/bin/env python3

"""Python interface for the 'lsprof' profiler.
Compatible with the 'profile' module.
"""
Expand Down
2 changes: 0 additions & 2 deletions Lib/pdb.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#! /usr/bin/env python3

"""
The Python Debugger Pdb
=======================
Expand Down
2 changes: 0 additions & 2 deletions Lib/platform.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

""" This module tries to retrieve as much platform-identifying data as
possible. It makes this information available via function APIs.
Expand Down
Empty file modified Lib/profile.py
100755 → 100644
Empty file.
1 change: 0 additions & 1 deletion Lib/pydoc.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
"""Generate Python documentation in HTML or text for interactive use.
At the Python interactive prompt, calling help(thing) on a Python object
Expand Down
2 changes: 0 additions & 2 deletions Lib/quopri.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#! /usr/bin/env python3

"""Conversions to/from quoted-printable transport encoding as per RFC 1521."""

# (Dec 1991 version).
Expand Down
2 changes: 0 additions & 2 deletions Lib/smtplib.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#! /usr/bin/env python3

'''SMTP/ESMTP client class.
This should follow RFC 821 (SMTP), RFC 1869 (ESMTP), RFC 2554 (SMTP
Expand Down
2 changes: 0 additions & 2 deletions Lib/tabnanny.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#! /usr/bin/env python3

"""The Tab Nanny despises ambiguous indentation. She knows no mercy.
tabnanny -- Detection of ambiguous indentation
Expand Down
1 change: 0 additions & 1 deletion Lib/tarfile.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
#-------------------------------------------------------------------
# tarfile.py
#-------------------------------------------------------------------
Expand Down
2 changes: 0 additions & 2 deletions Lib/timeit.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#! /usr/bin/env python3

"""Tool for measuring execution time of small code snippets.
This module avoids a number of common traps for measuring execution
Expand Down
2 changes: 0 additions & 2 deletions Lib/trace.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

# portions copyright 2001, Autonomous Zones Industries, Inc., all rights...
# err... reserved and offered to the public under the terms of the
# Python 2.2 license.
Expand Down
1 change: 0 additions & 1 deletion Lib/webbrowser.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python3
"""Interfaces for launching and remotely controlling web browsers."""
# Maintained by Georg Brandl.

Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Removed executable bits and shebang from stdlib modules.

0 comments on commit b78f526

Please sign in to comment.