Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.python > #100760
| Path | csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail |
|---|---|
| From | Random832 <random832@fastmail.com> |
| Newsgroups | comp.lang.python |
| Subject | Why doesn't os.remove work on directories? |
| Date | Tue, 22 Dec 2015 23:29:11 -0500 |
| Lines | 5 |
| Message-ID | <mailman.77.1450844962.2237.python-list@python.org> (permalink) |
| Mime-Version | 1.0 |
| Content-Type | text/plain |
| X-Trace | news.uni-berlin.de czS5x6zhaHfZ5uiIv5tPdwqABOKPsm6vvnAKunZgwWDQ== |
| Cancel-Lock | sha1:eCHtbWHYhiwR50YYAvjW9hvNj0E= |
| Return-Path | <python-python-list@m.gmane.org> |
| X-Original-To | python-list@python.org |
| Delivered-To | python-list@mail.python.org |
| X-Spam-Status | OK 0.002 |
| X-Spam-Evidence | '*H*': 1.00; '*S*': 0.00; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'subject:Why': 0.09; 'decision?': 0.16; 'posix': 0.16; 'rationale': 0.16; 'received:80.91.229.3': 0.16; 'received:io': 0.16; 'received:plane.gmane.org': 0.16; 'received:psf.io': 0.16; 'surprising': 0.16; 'function,': 0.22; 'header:User-Agent:1': 0.26; 'header:X-Complaints-To:1': 0.26; 'anyone': 0.32; 'received:comcast.net': 0.33; 'there': 0.36; 'subject:work': 0.36; 'to:addr:python-list': 0.36; 'subject:?': 0.36; 'received:org': 0.37; 'files': 0.38; 'to:addr:python.org': 0.40 |
| X-Injected-Via-Gmane | http://gmane.org/ |
| X-Gmane-NNTP-Posting-Host | c-68-39-146-59.hsd1.in.comcast.net |
| User-Agent | Gnus/5.13 (Gnus v5.13) Emacs/24.5 (darwin) |
| X-BeenThere | python-list@python.org |
| X-Mailman-Version | 2.1.20+ |
| Precedence | list |
| List-Id | General discussion list for the Python programming language <python-list.python.org> |
| List-Unsubscribe | <https://mail.python.org/mailman/options/python-list>, <mailto:python-list-request@python.org?subject=unsubscribe> |
| List-Archive | <http://mail.python.org/pipermail/python-list/> |
| List-Post | <mailto:python-list@python.org> |
| List-Help | <mailto:python-list-request@python.org?subject=help> |
| List-Subscribe | <https://mail.python.org/mailman/listinfo/python-list>, <mailto:python-list-request@python.org?subject=subscribe> |
| Xref | csiph.com comp.lang.python:100760 |
Show key headers only | View raw
This is surprising to anyone accustomed to the POSIX C remove function, which can remove either files or directories. Is there any known rationale for this decision?
Back to comp.lang.python | Previous | Next — Next in thread | Find similar | Unroll thread
Why doesn't os.remove work on directories? Random832 <random832@fastmail.com> - 2015-12-22 23:29 -0500 Re: Why doesn't os.remove work on directories? Laurent Delacroix <laurent@krutt.org> - 2015-12-24 13:58 +0100
csiph-web