Skip to content

gh-118673: Remove shebang and executable bits from stdlib modules. #119658

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions Lib/base64.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#! /usr/bin/env python3

"""Base16, Base32, Base64 (RFC 3548), Base85 and Ascii85 data encodings"""

# Modified 04-Oct-1995 by Jack Jansen to use binascii module
Expand Down
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
1 change: 0 additions & 1 deletion Lib/profile.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#! /usr/bin/env python3
#
# Class for profiling python code. rev 1.0 6/2/94
#
Expand Down
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
2 changes: 0 additions & 2 deletions Lib/turtledemo/__main__.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env python3

"""
----------------------------------------------
turtleDemo - Help
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/bytedesign.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtle-example-suite:

tdemo_bytedesign.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/clock.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
# -*- coding: cp1252 -*-
""" turtle-example-suite:

Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/forest.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtlegraphics-example-suite:

tdemo_forest.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/fractalcurves.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtle-example-suite:

tdemo_fractalCurves.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/lindenmayer.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtle-example-suite:

xtx_lindenmayer_indian.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/minimal_hanoi.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtle-example-suite:

tdemo_minimal_hanoi.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/paint.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtle-example-suite:

tdemo_paint.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/peace.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtle-example-suite:

tdemo_peace.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/penrose.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" xturtle-example-suite:

xtx_kites_and_darts.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/planet_and_moon.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtle-example-suite:

tdemo_planets_and_moon.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/sorting_animate.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
"""

sorting_animation.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/tree.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtle-example-suite:

tdemo_tree.py
Expand Down
1 change: 0 additions & 1 deletion Lib/turtledemo/yinyang.py
100755 → 100644
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
#!/usr/bin/env python3
""" turtle-example-suite:

tdemo_yinyang.py
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.
Loading