SF patch 1631942 by Collin Winter:
(a) "except E, V" -> "except E as V"
(b) V is now limited to a simple name (local variable)
(c) V is now deleted at the end of the except block
diff --git a/Lib/nntplib.py b/Lib/nntplib.py
index cc51d1d..6e6a2b6 100644
--- a/Lib/nntplib.py
+++ b/Lib/nntplib.py
@@ -127,7 +127,7 @@
except NNTPPermanentError:
# error 500, probably 'not implemented'
pass
- except NNTPTemporaryError, e:
+ except NNTPTemporaryError as e:
if user and e.response[:3] == '480':
# Need authorization before 'mode reader'
readermode_afterauth = 1