8000 Mac/Extras.install.py,Can not filter osx .DS_Store file · Issue #98940 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content
Mac/Extras.install.py,Can not filter osx .DS_Store file #98940
Closed
@zhangbo2012

Description

@zhangbo2012

Mac/Extras.install.py,Can not filter osx .DS_store file

Mac/Extras.install.py,Can not filter osx DS_store file

As

if name == '.DS_store': return 0

But in OSX, Real File Name is .DS_Store, like this

(venv) zhangbo@zhangbodeMacBook-Pro a2 % ll -a
total 16
drwxr-xr-x  4 zhangbo  staff   128 Oct 22 17:34 .
drwxr-xr-x  8 zhangbo  staff   256 Oct 22 17:18 ..
-rw-r--r--@ 1 zhangbo  staff  6148 Oct 22 17:17 .DS_Store
drwxr-xr-x  3 zhangbo  staff    96 Oct 22 17:23 123

So we need update .DS_store to .DS_Store

Your environment

macOS 11.1

Metadata

Metadata

Assignees

No one assigned

    Labels

    type-bugAn unexpected behavior, bug, or error

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0