Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed1.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.010 X-Spam-Evidence: '*H*': 0.98; '*S*': 0.00; 'variables': 0.07; 'apis': 0.09; 'received:internal': 0.09; 'seemed': 0.09; 'variable,': 0.09; 'windows': 0.15; '(both': 0.16; '(windows)': 0.16; '24,': 0.16; 'message-id:@webmail.messagingengine.com': 0.16; 'received:10.202': 0.16; 'received:10.202.2': 0.16; 'received:66.111': 0.16; 'received:66.111.4': 0.16; 'received:messagingengine.com': 0.16; 'roaming': 0.16; 'undefined.': 0.16; 'windows?': 0.16; 'wrote:': 0.18; 'wed,': 0.18; 'directory.': 0.24; 'certain': 0.27; 'header:In-Reply-To:1': 0.27; 'chris': 0.29; 'unix': 0.29; 'dec': 0.30; 'default,': 0.31; "user's": 0.31; 'says': 0.33; 'received:66': 0.35; 'etc': 0.35; 'but': 0.35; 'there': 0.35; 'doing': 0.36; 'possible': 0.36; 'subject:?': 0.36; 'received:10': 0.37; 'handle': 0.38; 'to:addr :python-list': 0.38; 'to:addr:python.org': 0.39; 'how': 0.40; 'documents,': 0.60; 'most': 0.60; 'from:no real name:2**0': 0.61; 'header:Message-Id:1': 0.63; 'different': 0.65; 'home': 0.69; 'results': 0.69; '2014,': 0.84; 'profiles': 0.91; 'directly.': 0.95 DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=fastmail.us; h= message-id:x-sasl-enc:from:to:mime-version :content-transfer-encoding:content-type:in-reply-to:references :subject:date; s=mesmtp; bh=VqPiGkWc2w1x7TunQiKMIC6nvXY=; b=PPrr Nu4GLggg5hUIGotRRdFeFoaeIHSf+6qIHv4ek+xH6iIlT3NeovDDmRW7bmspC5E1 4Ro7G5Eu/4spujofCUfyavvDQsWVIOcqgzACqTTf/+g1jw/qRAmAy5Conljnkzxo CW79rYyiqPPsPIjWEPfy7zKUy3orFq+/n0roaXo= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d= messagingengine.com; h=message-id:x-sasl-enc:from:to :mime-version:content-transfer-encoding:content-type:in-reply-to :references:subject:date; s=smtpout; bh=VqPiGkWc2w1x7TunQiKMIC6n vXY=; b=XARHTbHW6sAITRRCuv/RTKcVwMOpa4maFUYANrqDHigMtmA5X1/TplX6 Rdo39xkuWl1ad+oyLvvsqOYoSJvpiq4ChCLEW5WL4FmW6hNk5w/Kuuwl/CpTgapA kp0OxdNG4+Br/Zp5Ra7Sjj7uKM0q6qg4Z9lvWJJHnZhfqoG2CQ4= X-Sasl-Enc: PNPefRwcvytpHsFAGYen0GBPLeI5aFBYlhG5S7gnaKVv 1419475091 From: random832@fastmail.us To: python-list@python.org MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain X-Mailer: MessagingEngine.com Webmail Interface - ajax-f9401346 In-Reply-To: <70DD1C3F-9EDB-44B4-B648-8B477FE62EA2@evenprimes.com> References: <203896CA-3C8E-4BFA-9657-5A1749EF52CC@evenprimes.com> <70DD1C3F-9EDB-44B4-B648-8B477FE62EA2@evenprimes.com> Subject: Re: is pathlib Path.resolve working as intended? Date: Wed, 24 Dec 2014 21:38:11 -0500 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 14 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1419475100 news.xs4all.nl 2868 [2001:888:2000:d::a6]:43408 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:82908 On Wed, Dec 24, 2014, at 09:09, Chris Cioffi wrote: > PS: For those who are curious, the 2 issues that seemed to hold things > up the most are non-Unix systems (Windows) and how to handle when there > is no home directory. Posix only says that the results are undefined. What did they end up doing on windows? Many programs use USERPROFILE variable, but supposedly the "correct" variables to use are HOMEDRIVE/HOMEPATH or HOMESHARE. (they're the same directory by default, but it's supposedly possible for them to be different if roaming profiles are set up a certain way). It might be worthwhile to have (both windows and modern unix systems in the form of the freedesktop.org specs have APIs to get these) a way to access the user's Desktop, Documents, etc folders directly.