Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!feeds.phibee-telecom.net!newsfeed.xs4all.nl!newsfeed6.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.000 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; 'url:pypi': 0.03; 'argument': 0.04; 'patterns': 0.04; 'attribute': 0.05; 'paths': 0.05; 'url:bitbucket': 0.05; 'calls.': 0.07; 'pypi': 0.07; 'subject:ANN': 0.07; 'api': 0.09; 'python': 0.09; 'filesystem': 0.09; 'objects:': 0.09; 'os.path': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'semantics': 0.09; 'antoine': 0.16; 'backward': 0.16; 'beta1.': 0.16; 'eliminating': 0.16; 'from:addr:pitrou.net': 0.16; 'from:addr:solipsis': 0.16; 'from:name:antoine pitrou': 0.16; 'ignores': 0.16; 'message- id:@post.gmane.org': 0.16; 'operators,': 0.16; 'paths.': 0.16; 'received:213.41.240': 0.16; 'received:213.41.240.54': 0.16; 'received:80.91.229.3': 0.16; 'received:charlus.yi.org': 0.16; 'received:plane.gmane.org': 0.16; 'received:yi.org': 0.16; 'refactoring': 0.16; 'string': 0.17; 'fix': 0.17; 'comparing': 0.17; 'windows': 0.19; 'tracker': 0.20; 'header:User-Agent:1': 0.26; 'functions.': 0.27; 'header:X-Complaints-To:1': 0.28; 'changes:': 0.29; 'types.': 0.29; 'classes': 0.30; 'code': 0.31; 'url:python': 0.32; 'handle': 0.33; 'to:addr:python-list': 0.33; 'done': 0.34; 'path': 0.35; 'skip:* 20': 0.35; 'add': 0.36; 'received:org': 0.36; 'url:org': 0.36; 'method': 0.36; 'charset :us-ascii': 0.36; 'subject:: ': 0.38; 'url:en': 0.38; 'page': 0.38; 'to:addr:python.org': 0.39; 'easily': 0.39; 'hello,': 0.39; 'header:Received:5': 0.40; 'different': 0.63; 'more': 0.63; 'advantages': 0.71; 'url:pro': 0.84 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Antoine Pitrou Subject: ANN: pathlib 0.7 Date: Sun, 29 Jul 2012 21:49:28 +0000 (UTC) Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Gmane-NNTP-Posting-Host: sea.gmane.org User-Agent: Loom/3.14 (http://gmane.org/) X-Loom-IP: 213.41.240.54 (Mozilla/5.0 (X11; Linux x86_64; rv:14.0) Gecko/20100101 Firefox/14.0.1) X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.12 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: 34 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1343598584 news.xs4all.nl 6909 [2001:888:2000:d::a6]:33694 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:26216 Hello, pathlib 0.7 has been released with the following changes: - Add '**' (recursive) patterns to Path.glob(). - Fix openat() support after the API refactoring in Python 3.3 beta1. - Add a *target_is_directory* argument to Path.symlink_to() pathlib offers a set of classes to handle filesystem paths. It offers the following advantages over using string objects: * No more cumbersome use of os and os.path functions. Everything can be done easily through operators, attribute accesses, and method calls. * Embodies the semantics of different path types. For example, comparing Windows paths ignores casing. * Well-defined semantics, eliminating any warts or ambiguities (forward vs. backward slashes, etc.). PyPI download page at http://pypi.python.org/pypi/pathlib/ Documentation at http://pathlib.readthedocs.org/en/latest/ Code and issue tracker at https://bitbucket.org/pitrou/pathlib/ Regards Antoine Pitrou. -- Software development and contracting: http://pro.pitrou.net