Tue, 19 May 2015 08:41:04 -0500 check-code: reintroduce str.format() ban for 3.x porting
Matt Mackall <mpm@selenic.com> [Tue, 19 May 2015 08:41:04 -0500] rev 25212
check-code: reintroduce str.format() ban for 3.x porting In their infinite wisdom, the Python maintainers stripped bytes of its % and format() methods for 3.x. They've now added % back to 3.5, but format() is still missing. Since we don't have any particular need for it, we should keep avoiding it.
Mon, 18 May 2015 23:43:36 -0500 util: drop the 'unpacker' helper
Pierre-Yves David <pierre-yves.david@fb.com> [Mon, 18 May 2015 23:43:36 -0500] rev 25211
util: drop the 'unpacker' helper It is not helping anything anymore.
Mon, 18 May 2015 16:56:04 -0500 MBTextWrapper: drop dedicated __init__ method
Pierre-Yves David <pierre-yves.david@fb.com> [Mon, 18 May 2015 16:56:04 -0500] rev 25210
MBTextWrapper: drop dedicated __init__ method It was only there as a compatibility layer with a version of Python which we do support anymore.
Mon, 18 May 2015 16:54:21 -0500 util: drop the compatibility with Python 2.4 unpacker
Pierre-Yves David <pierre-yves.david@fb.com> [Mon, 18 May 2015 16:54:21 -0500] rev 25209
util: drop the compatibility with Python 2.4 unpacker Python 2.4 compatibility have packed and sailed.
Mon, 18 May 2015 16:52:28 -0500 tests: just use 'response.reason'
Pierre-Yves David <pierre-yves.david@fb.com> [Mon, 18 May 2015 16:52:28 -0500] rev 25208
tests: just use 'response.reason' There is no reason to not have simple code now that Python 2.4 is dead.
Mon, 18 May 2015 16:51:02 -0500 url: drop awful hack around bug in Python 2.4
Pierre-Yves David <pierre-yves.david@fb.com> [Mon, 18 May 2015 16:51:02 -0500] rev 25207
url: drop awful hack around bug in Python 2.4 It's all just a memory now.
(0) -10000 -3000 -1000 -300 -100 -30 -10 -6 +6 +10 +30 +100 +300 +1000 +3000 +10000 tip