From: Menno Smits Date: Wed, 17 Apr 2013 23:07:43 +0000 (+0100) Subject: Merged Python 3 support into the main repo X-Git-Tag: 0.10~2^2~21 X-Git-Url: http://git.khamidou.com/?a=commitdiff_plain;h=7c8ade793ee2c30ec9d87895f02fc04440a3df10;p=imapclient.git Merged Python 3 support into the main repo Bumped version to 0.10-alpha --- 7c8ade793ee2c30ec9d87895f02fc04440a3df10 diff --cc NEWS.rst index a976e96,116fac1..7f4c063 --- a/NEWS.rst +++ b/NEWS.rst @@@ -1,3 -1,4 +1,27 @@@ -.. -*-Mode: rst; -*- ++====== ++ 0.10 ++====== ++ ++Python 3 support (#22) [API CHANGE] ++----------------------------------- ++ ++Python 3.2 and 3.3 are now officially supported. This release also ++means that Python versions older than 2.6 are no longer supported. ++ ++A single source approach has been used, with no conversion step required. ++ ++A big thank you to Mathieu Agopian for his massive contribution to ++getting the Python 3 port finished. His changes and ideas feature ++heavily in this release. ++ ++**IMPORTANT**: Under Python 2, all strings returned by IMAPClient are now ++returned as unicode objects. With the exception of folder names, these ++unicode objects will only contain characters in the ASCII range so ++this shouldn't break existing code, however there is always a chance ++that there will be a problem. Please test your existing applications ++thoroughly with this verison of IMAPClient before deploying to ++production situations. ++ ======= 0.9.2 ======= diff --cc imapclient/__init__.py index 9ce1892,8a05321..39fd553 --- a/imapclient/__init__.py +++ b/imapclient/__init__.py @@@ -4,7 -4,10 +4,10 @@@ # version_info provides the version number in programmer friendly way. # The 4th part will be either alpha, beta or final. - version_info = (0, 9, 2, 'final') + + from __future__ import unicode_literals + -version_info = (0, 9, 2, 'final') ++version_info = (0, 10, 0, 'alpha') def _imapclient_version_string(vinfo): major, minor, micro, releaselevel = vinfo