py3k: Go through all uses of itertools and make them work on py3k
py3k: These need to return a value since in Py3k they're no longer void

Python 2.x shouldn't care about it though the signature is void there.

As exhibited in error:

dulwich/_diff_tree.c:449:2: error: non-void function 'init_diff_tree'
should return a value [-Wreturn-type]
setup: Make setup.py also work on py3k on OS X
Merge branch 'py3k' of git://github.com/Ormod/dulwich
Use 2to3 in setup.py.
Alter itertools import statement so that 2to3 fixes it.
Use byte literal in test_pack.py so that module can be imported in py3.
web: don't echo back invalid service names

This prevents potential XSS attacks, which could have injected
arbitrary content under a domain by echoing back the unsupported
service name.
Merge branch 'service-name-xss' of git://github.com/durin42/dulwich
Fix octal number literals.

Signed-off-by: Jelmer Vernooĳ <jelmer@samba.org>
Fix another potential XSS issue, and add test for the previous one.
Close files for Protocol objects.
Close files for Pack objects.
Close file objects.
News entry for file object closing.
Add .gitattributes files to force fast-export data for tests to checkout with lf line endings.
Handle readonly files on windows when calling rmtree.
Correctly handle socket.timeout on windows.
Get git-daemon to run on windows in test_suite.
Merge branch 'python3-close-files' into windows

* python3-close-files:
  News entry for file object closing.
  Close file objects.
  Close files for Pack objects.
  Close files for Protocol objects.

Conflicts:
	dulwich/tests/compat/test_client.py