Sat, 14 Aug 2010 18:31:22 -0300 url.py: removed 'file' inheritance in the httpsendfile class
Renato Cunha <renatoc@gmail.com> [Sat, 14 Aug 2010 18:31:22 -0300] rev 11880
url.py: removed 'file' inheritance in the httpsendfile class Since py3k doesn't have a "file" builtin and, consequently, doesn't support inheriting from it, this patch refactors the httpsendfile class to wrap the objects returned by the builtin "open" function while adding the necessary methods (__len__ for constructing the Content-Length header and read, write, close and seek for the file-like interface).
Sun, 15 Aug 2010 11:05:04 +0200 fix undefined variables, spotted by pylint
Benoit Boissinot <benoit.boissinot@ens-lyon.org> [Sun, 15 Aug 2010 11:05:04 +0200] rev 11879
fix undefined variables, spotted by pylint
Sat, 07 Aug 2010 16:38:38 -0300 py3kcompat: added fake ord implementation for py3k
Renato Cunha <renatoc@gmail.com> [Sat, 07 Aug 2010 16:38:38 -0300] rev 11878
py3kcompat: added fake ord implementation for py3k In py3k, a bytes object __getitem__ will return an int instead of a one-character bytes object. This has negative consequences when we want to ord(), like in the following example: >>> b'foo'[0] 102 >>> ord(b'foo'[0]) Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: ord() expected string of length 1, but int found This patch overrides the default ord() implementation to just return an int that's what is passed as an argument for ord(). Making the above call succeed: >>> ord(b'foo'[0]) 102
Sat, 14 Aug 2010 14:57:33 +0200 commit: explicitly document the existence of "last-message.txt" stable
Greg Ward <greg-hg@gerg.ca> [Sat, 14 Aug 2010 14:57:33 +0200] rev 11877
commit: explicitly document the existence of "last-message.txt"
Sat, 14 Aug 2010 03:30:35 +0200 Merge with stable
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:30:35 +0200] rev 11876
Merge with stable
Sat, 14 Aug 2010 03:28:45 +0200 tests: unify test-changelog-exec
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:28:45 +0200] rev 11875
tests: unify test-changelog-exec
Sat, 14 Aug 2010 03:27:24 +0200 tests: unify test-cat
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:27:24 +0200] rev 11874
tests: unify test-cat
Sat, 14 Aug 2010 03:26:03 +0200 tests: unify test-bundle-vs-outgoing
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:26:03 +0200] rev 11873
tests: unify test-bundle-vs-outgoing
Sat, 14 Aug 2010 03:23:56 +0200 tests: unify test-bundle-type
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:23:56 +0200] rev 11872
tests: unify test-bundle-type
Sat, 14 Aug 2010 03:22:11 +0200 tests: unify test-bundle-r
Martin Geisler <mg@lazybytes.net> [Sat, 14 Aug 2010 03:22:11 +0200] rev 11871
tests: unify test-bundle-r
(0) -10000 -3000 -1000 -300 -100 -10 +10 +100 +300 +1000 +3000 +10000 +30000 tip