Path: csiph.com!feeder.erje.net!2.eu.feeder.erje.net!newsfeed.freenet.ag!newsfeed.kamp.net!newsfeed.kamp.net!fu-berlin.de!uni-berlin.de!not-for-mail From: eryk sun Newsgroups: comp.lang.python Subject: Re: pip install mitmproxy - fails on watchdog-0.8.3.tar.gz with "Permission denied" error (Python 2.7.11 on Win XP SP3); Date: Tue, 26 Jan 2016 15:30:55 -0600 Lines: 18 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 X-Trace: news.uni-berlin.de e70QQekAAu8S+mWsJx7mxAWnA2p4jta2EgXh1Jajw85Q== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'subject:Python': 0.05; 'paths': 0.05; 'prefix': 0.07; 'skip:\\ 10': 0.07; 'api': 0.09; 'backslash': 0.09; 'namespace': 0.09; 'jan': 0.11; 'subject:error': 0.11; 'exception': 0.13; 'syntax': 0.13; '"global"': 0.16; '2016': 0.16; '24,': 0.16; 'executed.': 0.16; 'received:io': 0.16; 'received:psf.io': 0.16; 'reedy': 0.16; 'slash': 0.16; 'subject:Permission': 0.16; 'subject:fails': 0.16; 'subject:install': 0.16; 'wrote:': 0.16; 'directory.': 0.18; 'windows': 0.20; 'cc:2**0': 0.20; 'mind.': 0.22; 'parse': 0.22; 'symbolic': 0.22; 'seems': 0.23; 'header:In-Reply-To:1': 0.24; "doesn't": 0.26; 'message-id:@mail.gmail.com': 0.27; 'arguments,': 0.29; 'path,': 0.29; 'referencing': 0.29; 'character': 0.29; 'objects': 0.29; 'another': 0.32; 'generally': 0.32; 'received:google.com': 0.35; 'path': 0.35; 'but': 0.36; 'instead': 0.36; 'received:209.85': 0.36; 'cases': 0.36; 'subject:" ': 0.36; 'to:addr:python-list': 0.36; 'pm,': 0.36; 'subject:: ': 0.37; 'received:209.85.213': 0.37; 'received:209': 0.38; 'subject:-': 0.39; 'to:addr:python.org': 0.40; 'subject:with': 0.40; 'more': 0.63 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=I2EMK/2HjC7jWJEJfXkmmTxXEo6Ph9YxGhzGLCJCybo=; b=SUO4JnRlezzelkRNqu0LpZtqGvHgcEVvWeoPyON5TCxCKr7cN2AkVrouDgpXUHef+i YjqH/xWXs5K3YH4lis0OQTUV2UIku8s76uT2C5dz2m3DxYMxu5ZHekkLykvgO+bo+Kla 9ExmuvoTZIiQAGzbPMg3fkVzf1KsPh6JY00OU8dSW/S8Q9QUZLneOsXnhiFfJ2yiWOZF EwgodsCFuW381QtR2p/oVI5fds4bPy/DmtIXADD6ENeYBedRwaVf5vBYK5j5Nxhis6F2 Hh4Nx024e1BSs0S8XjgiyGNSUEQpr+Tfo/m0Y5iExWYxYZKgmC9vUcr3kCOccZFyQglJ DWNQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=I2EMK/2HjC7jWJEJfXkmmTxXEo6Ph9YxGhzGLCJCybo=; b=M/vRc1J+hJGECo/Mm//3w6iqswq9Pza9I/qAszsAVDq1IaTZz6Rql6SmDR81IjBeCw QmmoXlp8wrl7esNmW7OHEEUqRogojxOjwF1rbE/Z01WGD7jqcbII1fsYGmsBoljB2Lul zSHznoCbkUxbSof38UvuGaP7NTDM+e1Q/tN1U6b3TKxnDrVomA9heswDh3VClQbmeZj2 p1NazmqkcmGDMUbDnJsFWwgU7NORMuaUw5YxrKvP7hvQnO4LakXPs8E489AVReB/eRF1 qh3gCJkYwHdZzSoFbAh5yXTwEDQlO16UyFVyqDn+xO7YxbASeSBLXvuo3iw3dilU+Gea EESA== X-Gm-Message-State: AG10YORc3kjIbSUeZkFNKOOw6IZJWCc7xgapB+qzNRY4io9vsFVsXMS9vorDl8aIYR8zOsjsehdwtGUeI1CzFA== X-Received: by 10.50.26.38 with SMTP id i6mr11447763igg.74.1453843895747; Tue, 26 Jan 2016 13:31:35 -0800 (PST) In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:102138 On Sun, Jan 24, 2016 at 7:27 PM, Terry Reedy wrote: > > More specifically, / is not accepted in paths to be executed. It seems to be > generally accepted in path arguments, as in cd path, or > > C:\Users\Terry>C:\programs\python35\python.exe C:/programs/python34/tem.py An exception that comes to mind is takeown.exe, which fails to parse paths that use slash as the value for /F. A couple of exceptional cases in the Windows API come to mind. The "\\?\" extended path syntax requires backslash. Also referencing named kernel objects requires a backslash after either the "Global" prefix or a private namespace prefix. For example, in "Global/ObjectName" the slash is just another character in the name, so the object manager doesn't follow the "Global" symbolic link to \BaseNamedObjects but instead creates"Global/ObjectName" in the session's named objects directory.