Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #91

RSFile 1.1 released

Path csiph.com!x330-a1.tempe.blueboxinc.net!feeder1.hal-mli.net!feeder.news-service.com!newsfeed.xs4all.nl!newsfeed5.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail
Return-Path <pythoniks@gmail.com>
X-Original-To python-announce-list@python.org
Delivered-To python-announce-list@mail.python.org
X-Spam-Status OK 0.000
X-Spam-Evidence '*H*': 1.00; '*S*': 0.00; 'bug': 0.02; 'subject:released': 0.03; 'cache': 0.04; '2.7': 0.05; 'api.': 0.05; 'library,': 0.05; 'partial': 0.05; 'passes': 0.05; 'indentation': 0.07; 'pascal': 0.07; 'raises': 0.07; 'semantic': 0.07; 'python': 0.07; 'url:pypi': 0.09; '(it': 0.09; 'arguments,': 0.09; 'closed,': 0.09; 'descriptor': 0.09; 'flags,': 0.09; 'locks': 0.09; 'scripts,': 0.09; 'shortcut': 0.09; 'too).': 0.09; 'linux': 0.11; 'package.': 0.12; 'up-to-date': 0.12; 'received:74.125.82.44': 0.14; 'received:mail-ww0-f44.google.com': 0.14; 'library': 0.15; '(when': 0.16; '2.6,': 0.16; '3.2)': 0.16; 'bugfix': 0.16; 'handy': 0.16; 'kwargs': 0.16; 'py2.6': 0.16; 'workaround': 0.16; 'possibly': 0.16; 'versions': 0.18; 'recently,': 0.19; 'compatible': 0.20; 'modules': 0.20; '(on': 0.23; 'acquired': 0.23; 'issues.': 0.23; 'keys': 0.23; 'module,': 0.23; 'url:wiki': 0.24; 'version': 0.25; 'integration': 0.26; "i'm": 0.26; 'fixed': 0.27; 'core': 0.28; 'bugs': 0.29; 'technical': 0.29; 'unicode': 0.29; 'message-id:@gmail.com': 0.30; 'i/o': 0.31; 'lock': 0.31; 'stat': 0.31; 'anyone': 0.31; 'advised': 0.33; 'minor': 0.33; 'necessary.': 0.33; 'relatively': 0.33; 'module': 0.33; 'record': 0.34; 'actually': 0.34; 'file': 0.35; 'concepts': 0.35; 'header:User-Agent:1': 0.35; '----': 0.36; 'systems,': 0.36; 'getting': 0.36; 'setting': 0.36; 'data': 0.37; 'some': 0.37; 'should': 0.37; 'url:python': 0.37; 'useful': 0.37; 'to:addr:python-announce-list': 0.38; 'received:google.com': 0.38; 'but': 0.38; 'url:org': 0.38; 'errors': 0.39; 'set': 0.39; 'announce': 0.39; 'to:addr:python.org': 0.39; 'could': 0.39; 'issues': 0.39; 'tested': 0.40; "it's": 0.40; 'header:Received:5': 0.40; 'might': 0.40; 'choice.': 0.60; 'prove': 0.65; 'benefit': 0.66; 'due': 0.67; 'care': 0.67; 'details.': 0.67; 'pleased': 0.68; 'heavy': 0.69; 'encountered': 0.73; 'features:': 0.73; 'catastrophic': 0.84; 'loses': 0.84; 'rejection': 0.84; 'streams': 0.84; 'reliable,': 0.91
DKIM-Signature v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:message-id:date:from:user-agent:mime-version:to :subject:content-type:content-transfer-encoding:x-antivirus :x-antivirus-status; bh=pJHJ4DKr84T0eMX7dKrAupI1rrG+moum+JOUiHI56co=; b=C6DnYsEWqMum2GDt/zbhIh277SGeYAbDweLdB4mT+D0EmfeOV675r+Q57USqQToeip T8ELswVDgIU/RK19G+Q8H34SrTMvtk1ekf4Xq2UzKIcwbV5jJwXNG6i6CW3Mtk63t6vr 31B3FbACikyx7TgIJmUyzY6ZRGZtVQlOHhJrA=
DomainKey-Signature a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:user-agent:mime-version:to:subject :content-type:content-transfer-encoding:x-antivirus :x-antivirus-status; b=hA1cEF+x3cfk6b8vCziWhLAXEqCz4XrYOCQ0ITZwndRe/Hss63T6Qq3PED7YKOqslc extms63bAYeYMe0wdrmzz2n7/XSJ2i87JpsIyKkfTLfenayCoh0H7Agw1BwGBW15hlTy R6zS35qjjZjVnXWdlMQA4+ExN1roWJtERzBgs=
Date Thu, 14 Apr 2011 22:22:40 +0200
From Pascal Chambon <pythoniks@gmail.com>
User-Agent Mozilla/5.0 (Windows; U; Windows NT 6.0; fr; rv:1.9.1.9) Gecko/20100317 Thunderbird/3.0.4
MIME-Version 1.0
To python-announce-list@python.org
Subject RSFile 1.1 released
Content-Type text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding 7bit
X-Antivirus avast! (VPS 110414-1, 14/04/2011), Outbound message
X-Antivirus-Status Clean
X-Mailman-Approved-At Fri, 15 Apr 2011 18:11:05 +0200
X-BeenThere python-announce-list@python.org
X-Mailman-Version 2.1.12
Precedence list
Reply-To python-list@python.org
List-Id Announcement-only list for the Python programming language <python-announce-list.python.org>
List-Unsubscribe <http://mail.python.org/mailman/options/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=unsubscribe>
List-Archive <http://mail.python.org/pipermail/python-announce-list>
List-Post <mailto:python-announce-list@python.org>
List-Help <mailto:python-announce-list-request@python.org?subject=help>
List-Subscribe <http://mail.python.org/mailman/listinfo/python-announce-list>, <mailto:python-announce-list-request@python.org?subject=subscribe>
Approved python-announce-list@python.org
Newsgroups comp.lang.python.announce
Message-ID <mailman.397.1302883866.9059.python-announce-list@python.org> (permalink)
Lines 57
NNTP-Posting-Host 82.94.164.166
X-Trace 1302883866 news.xs4all.nl 65870 [::ffff:82.94.164.166]:57724
X-Complaints-To abuse@xs4all.nl
Xref x330-a1.tempe.blueboxinc.net comp.lang.python.announce:91

Show key headers only | View raw


I'm pleased to announce the first bugfix release of the "RSFile" package.

Issues addressed:
- rejection of unicode keys in kwargs arguments, in some versions of py2.6
- indentation bug swallowing some errors on file opening

----

RSFile aims at providing python with a cross-platform, reliable, and 
comprehensive file
I/O API. It's actually a partial reimplementation of the io module, as 
compatible possible
(it passes latest stdlib io tests), which offers a set of new - and 
possibly very useful - features:
shared/exclusive file record locking, cache synchronization, advanced 
opening flags, handy stat
getters (size, inode...), shortcut I/O functions etc.

Unix users might particularly be interested by the workaround that this 
library provides, concerning
the catastrophic fcntl() lock semantic (when any descriptor to a file is 
closed, your process loses ALL
locks acquired on it through other streams).

RSFile has been tested with py2.6, py2.7, and py3.2, on win32, linux and 
freebsd systems,
and should theoretically work with IronPython/Jython/PyPy (on Mac OS X too).

The technical documentation of RSFile includes a comprehensive description
of concepts and gotchas encountered while setting up this library, which 
could
prove useful to anyone interested in getting aware about gory file I/O 
details.

The implementation is currently pure-python, as integration with the C 
implementation of io module
raises lots of issues. So if you need heavy performances, standard 
python streams will
remain necessary. But for most programs and scripts, which just care 
about data integrity, RSFile
should be a proper choice.

Downloads:
http://pypi.python.org/pypi/RSFile/1.1

Documentation:
http://bytebucket.org/pchambon/python-rock-solid-tools/wiki/index.html


Regards,
Pascal Chambon

PS : Due to miscellaneous bugs of python core and stdlib io modules 
which have been fixed relatively recently,
it's advised to have an up-to-date minor version of python (be it 2.6, 
2.7 or 3.2) to benefit from RSFile.

Back to comp.lang.python.announce | Previous | Next | Find similar | Unroll thread


Thread

RSFile 1.1 released Pascal Chambon <pythoniks@gmail.com> - 2011-04-14 22:22 +0200

csiph-web