[PATCH 01/15] Raise exceptions as defined in PEP 3109

Łukasz Żarnowiecki dolohow at outlook.com
Wed May 18 06:50:57 BST 2016


> > There is no other way to make Python2 and Python3 happy, because syntax
> > raise E, V, T is incompatible with the latter.
> 
> > Signed-off-by: Łukasz Żarnowiecki <dolohow at outlook.com>
> > ---
> >  offlineimap/CustomConfig.py             |  6 ++++--
> >  offlineimap/accounts.py                 | 10 ++++++----
> >  offlineimap/folder/Gmail.py             |  7 ++++---
> >  offlineimap/folder/GmailMaildir.py      |  7 ++++---
> >  offlineimap/folder/IMAP.py              | 15 ++++++++-------
> >  offlineimap/folder/LocalStatus.py       |  6 ++++--
> >  offlineimap/folder/LocalStatusSQLite.py | 11 +++++++----
> >  offlineimap/folder/Maildir.py           | 16 +++++++++-------
> >  offlineimap/folder/UIDMaps.py           | 10 ++++++----
> >  offlineimap/imaplibutil.py              |  4 +++-
> >  offlineimap/imapserver.py               | 12 +++++++-----
> >  offlineimap/repository/IMAP.py          |  7 ++++---
> >  offlineimap/repository/__init__.py      |  8 ++++----
> >  13 files changed, 70 insertions(+), 49 deletions(-)
> 
> We must add this new dependency in the README, at least. Documentation
> about the installation will require updates.

You want me to send a patch for that?

> Also, I think a blog post about this change would be great, too. It's
> the first time we are introducing a dependency not packaged with Python
> core.

Do I have a permission to write on the blog?




More information about the OfflineIMAP-project mailing list