3 Jun
2002
3 Jun
'02
11:02 a.m.
I'm not sure that using x+=1 instead of x=x+1 should be even a recommended change. This is a personal choice, just like using True/False to indicate truth values.
But the choice only becomes available with a certain version of Python.
2.0.
The "is None" vs. "== None" issue is a general style recommendation, not a migration tip. This is a "should do" issue.
Right. But it wouldn't hurt to remind people in a migration guide, would it?
Yes it would. A migration guide should focus on migration and leave general style tips to other documents. --Guido van Rossum (home page: http://www.python.org/~guido/)