Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitc8b45a3

Browse files
authored
gh-118673: Remove shebang and executable bits from stdlib modules. (#119658)
*gh-118673: Remove shebang and executable bits from stdlib modules.* Removed shebangs and exe bits on turtledemo scripts.The setting was inappropriate for '__main__' and inconsistent across the other modules. The scripts can still be executed directly by invoking with the desired interpreter.
1 parent659cb7e commitc8b45a3

28 files changed

+1
-37
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
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
# Class for profiling python code. rev 1.0 6/2/94
43
#

‎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/turtledemo/__main__.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
----------------------------------------------
53
turtleDemo - Help

‎Lib/turtledemo/bytedesign.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
""" turtle-example-suite:
32
43
tdemo_bytedesign.py

‎Lib/turtledemo/clock.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
# -*- coding: cp1252 -*-
32
""" turtle-example-suite:
43

‎Lib/turtledemo/forest.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
""" turtlegraphics-example-suite:
32
43
tdemo_forest.py

‎Lib/turtledemo/fractalcurves.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
""" turtle-example-suite:
32
43
tdemo_fractalCurves.py

‎Lib/turtledemo/lindenmayer.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
""" turtle-example-suite:
32
43
xtx_lindenmayer_indian.py

‎Lib/turtledemo/minimal_hanoi.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
""" turtle-example-suite:
32
43
tdemo_minimal_hanoi.py

‎Lib/turtledemo/paint.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
""" turtle-example-suite:
32
43
tdemo_paint.py

‎Lib/turtledemo/peace.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
""" turtle-example-suite:
32
43
tdemo_peace.py

‎Lib/turtledemo/penrose.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
""" xturtle-example-suite:
32
43
xtx_kites_and_darts.py

‎Lib/turtledemo/planet_and_moon.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
""" turtle-example-suite:
32
43
tdemo_planets_and_moon.py

‎Lib/turtledemo/sorting_animate.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
43
sorting_animation.py

‎Lib/turtledemo/tree.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
""" turtle-example-suite:
32
43
tdemo_tree.py

‎Lib/turtledemo/yinyang.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
""" turtle-example-suite:
32
43
tdemo_yinyang.py

‎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)

[8]ページ先頭

©2009-2025 Movatter.jp