Title: Mac/Extras.install.py,Can not filter osx .DS_Store file · Issue #98940 · python/cpython · GitHub
Open Graph Title: Mac/Extras.install.py,Can not filter osx .DS_Store file · Issue #98940 · python/cpython
X Title: Mac/Extras.install.py,Can not filter osx .DS_Store file · Issue #98940 · python/cpython
Description: 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 ...
Open Graph Description: 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...
X Description: 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, l...
Opengraph URL: https://github.com/python/cpython/issues/98940
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Mac/Extras.install.py,Can not filter osx .DS_Store file","articleBody":"\u003c!--\r\n If you're new to Python and you're not sure whether what you're experiencing is a bug, the CPython issue tracker is not\r\n the right place to seek help. Consider the following options instead:\r\n\r\n - reading the Python tutorial: https://docs.python.org/3/tutorial/\r\n - posting in the \"Users\" category on discuss.python.org: https://discuss.python.org/c/users/7\r\n - emailing the Python-list mailing list: https://mail.python.org/mailman/listinfo/python-list\r\n - searching our issue tracker (https://github.com/python/cpython/issues) to see if\r\n your problem has already been reported\r\n--\u003e\r\n\r\n# Mac/Extras.install.py,Can not filter osx .DS_store file\r\n\r\n\r\nMac/Extras.install.py,Can not filter osx DS_store file\r\n\r\nAs\r\n\r\n```python\r\nif name == '.DS_store': return 0\r\n```\r\n\r\nBut in OSX, Real File Name is .DS_Store, like this\r\n\r\n```shell\r\n(venv) zhangbo@zhangbodeMacBook-Pro a2 % ll -a\r\ntotal 16\r\ndrwxr-xr-x 4 zhangbo staff 128 Oct 22 17:34 .\r\ndrwxr-xr-x 8 zhangbo staff 256 Oct 22 17:18 ..\r\n-rw-r--r--@ 1 zhangbo staff 6148 Oct 22 17:17 .DS_Store\r\ndrwxr-xr-x 3 zhangbo staff 96 Oct 22 17:23 123\r\n```\r\n\r\nSo we need update ``.DS_store`` to ``.DS_Store``\r\n\r\n\r\n\r\n# Your environment\r\n\r\nmacOS 11.1 \r\n\r\n\n\n\u003c!-- gh-pr-number: gh-98943 --\u003e\n* PR: gh-98943\n\u003c!-- /gh-pr-number --\u003e\n\n\n\u003c!-- gh-pr-number: gh-99528 --\u003e\n* PR: gh-99528\n\u003c!-- /gh-pr-number --\u003e\n","author":{"url":"https://github.com/zhangbo2012","@type":"Person","name":"zhangbo2012"},"datePublished":"2022-11-01T02:18:03.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/98940/cpython/issues/98940"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:108b0975-294a-ecbd-e987-384b20b6e0c4 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DB40:28656B:4323A5:5D2781:696A2184 |
| html-safe-nonce | 88f6d08291e5844150e82d23db6daf7e3662b1b1e428d78d9b9d3e5d4f5952ef |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQjQwOjI4NjU2Qjo0MzIzQTU6NUQyNzgxOjY5NkEyMTg0IiwidmlzaXRvcl9pZCI6IjI3NTEzNDIzMDMzOTU4NDg1ODAiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ== |
| visitor-hmac | 9d18c248379f9da78f99cb3754d3e4faab68a9f8a516bbdb617ea1842720142d |
| hovercard-subject-tag | issue:1430752984 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/python/cpython/98940/issue_layout |
| twitter:image | https://opengraph.githubassets.com/26cafcccce0d447f3d3b3448bb72c42e47be5e27bfaa9277d217fb435dd3822d/python/cpython/issues/98940 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/26cafcccce0d447f3d3b3448bb72c42e47be5e27bfaa9277d217fb435dd3822d/python/cpython/issues/98940 |
| og:image:alt | 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... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | zhangbo2012 |
| hostname | github.com |
| expected-hostname | github.com |
| None | 014f3d193f36b7d393f88ca22d06fbacd370800b40a547c1ea67291e02dc8ea3 |
| turbo-cache-control | no-preview |
| go-import | github.com/python/cpython git https://github.com/python/cpython.git |
| octolytics-dimension-user_id | 1525981 |
| octolytics-dimension-user_login | python |
| octolytics-dimension-repository_id | 81598961 |
| octolytics-dimension-repository_nwo | python/cpython |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 81598961 |
| octolytics-dimension-repository_network_root_nwo | python/cpython |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | d515f6f09fa57a93bf90355cb894eb84ca4f458f |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width