Skip to content

compileall should exit nonzero for nonexistent directories #88621

Description

@asmeurer
mannequin
BPO 44455
Nosy @asmeurer

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-18.20:59:37.596>
labels = ['type-bug', 'library']
title = 'compileall should exit nonzero for nonexistent directories'
updated_at = <Date 2021-06-21.02:58:08.691>
user = 'https://github.com/asmeurer'

bugs.python.org fields:

activity = <Date 2021-06-21.02:58:08.691>
actor = 'jacobtylerwalls'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2021-06-18.20:59:37.596>
creator = 'asmeurer'
dependencies = []
files = []
hgrepos = []
issue_num = 44455
keywords = []
message_count = 1.0
messages = ['396087']
nosy_count = 1.0
nosy_names = ['asmeurer']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue44455'
versions = []

Linked PRs

Activity

  1. asmeurer commented on Jun 18, 2021

    asmeurermannequin
    MannequinAuthor
    $ ./python.exe -m compileall doesntexist
    Listing 'doesntexist'...
    Can't list 'doesntexist'
    $ echo $?
    0

    It's standard for a command line tool that processes files to exit nonzero when given a directory that doesn't exist.

  2. added
    stdlib
    type-bug
    on Jun 21, 2021
  3. transferred this issue fromon Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    stdlibtype-bug

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions