Skip to content
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

File extension for scripts on windows is unclear #88593

Open
maltekliemann mannequin opened this issue Jun 15, 2021 · 1 comment
Open

File extension for scripts on windows is unclear #88593

maltekliemann mannequin opened this issue Jun 15, 2021 · 1 comment
Labels
3.9 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement

Comments

@maltekliemann
Copy link
Mannequin

maltekliemann mannequin commented Jun 15, 2021

BPO 44427
Nosy @maltekliemann

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2021-06-15.12:46:03.128>
labels = ['type-feature', '3.9', 'docs']
title = 'File extension for scripts on windows is unclear'
updated_at = <Date 2021-06-15.12:46:03.128>
user = 'https://github.com/maltekliemann'

bugs.python.org fields:

activity = <Date 2021-06-15.12:46:03.128>
actor = 'maltekliemann'
assignee = 'docs@python'
closed = False
closed_date = None
closer = None
components = ['Documentation']
creation = <Date 2021-06-15.12:46:03.128>
creator = 'maltekliemann'
dependencies = []
files = []
hgrepos = []
issue_num = 44427
keywords = []
message_count = 1.0
messages = ['395875']
nosy_count = 2.0
nosy_names = ['docs@python', 'maltekliemann']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'enhancement'
url = 'https://bugs.python.org/issue44427'
versions = ['Python 3.9']

@maltekliemann
Copy link
Mannequin Author

maltekliemann mannequin commented Jun 15, 2021

It is common practice to use no extension for python scripts on UNIX. In 3.8.1.4., it is hinted that a script with a shebang line can be executed on windows only if the file extension of the script is associated with the python launcher.

I'm not sure where the right place is, but I suggest clearly stating that this is a critical requirement. As scripts on UNIX usually don't use file extensions, using these scripts without further modification is not possible cross-platform.

@maltekliemann maltekliemann mannequin added the 3.9 only security fixes label Jun 15, 2021
@maltekliemann maltekliemann mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement 3.9 only security fixes labels Jun 15, 2021
@maltekliemann maltekliemann mannequin added docs Documentation in the Doc dir type-feature A feature request or enhancement labels Jun 15, 2021
@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
3.9 only security fixes docs Documentation in the Doc dir type-feature A feature request or enhancement
Projects
None yet
Development

No branches or pull requests

0 participants