From 7d51ea120f26b0edeed83005e15037ff2e6ff473 Mon Sep 17 00:00:00 2001 From: Marko Kreen Date: Thu, 19 Jan 2012 14:34:48 +0200 Subject: [PATCH] v2.5 --- NEWS | 4 +++- rarfile.py | 4 ++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/NEWS b/NEWS index e3e4a66..3883487 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ rarfile history =============== -Version 2.5 (2012-01-xx) +Version 2.5 (2012-01-19) ------------------------ Fixes: @@ -11,6 +11,8 @@ Fixes: on short reads. Important for Python 3.2+ where read from pipe can return short result even on blocking file descriptor. * Proper error reporting in .extract(), .extractall(), .testrar() +* .read() from unrar pipe: prefer to return unrar error code, + if thats not available, do own error checks. * Avoid string addition in .read(), instead use always list+join to merge multi-part reads. * dumprar: dont re-encode byte strings (python 2.x). This avoids diff --git a/rarfile.py b/rarfile.py index 39ec523..b574fa9 100644 --- a/rarfile.py +++ b/rarfile.py @@ -1,6 +1,6 @@ # rarfile.py # -# Copyright (c) 2005-2011 Marko Kreen +# Copyright (c) 2005-2012 Marko Kreen # # Permission to use, copy, modify, and/or distribute this software for any # purpose with or without fee is hereby granted, provided that the above @@ -64,7 +64,7 @@ For more details, refer to source. """ -__version__ = '2.4' +__version__ = '2.5' # export only interesting items __all__ = ['is_rarfile', 'RarInfo', 'RarFile', 'RarExtFile'] -- 2.11.4.GIT