Changes to support 2.x and 3.x in the same codebase.

--HG--
branch : distribute
extra : rebase_source : 7d3608edee54a43789f0574d702fb839628b5071
Fixed some bugs - tests now all pass under Python 3.3.

--HG--
branch : distribute
extra : rebase_source : 3498bfdc0d4c15e4276673b52e924c461ca353f0
Fixed some bugs, tests now also all pass on 2.7 and 3.2.

--HG--
branch : distribute
extra : rebase_source : 25c6042a716c49e3576605c3cf4e2878d5b85c18
Fixed execfile in compat.py.

--HG--
branch : distribute
extra : rebase_source : cf31870fee8b718e14e209d957905c8d7573beba
Fixed execfile in pkg_resources.

--HG--
branch : distribute
extra : rebase_source : 3148f97cc98edf62e982cb14b4b90527c4fc11fb
Merge with upstream

--HG--
branch : distribute
Post-merge fixes for Python 3.

--HG--
branch : distribute
extra : source : 6b9041dea7b9197f6ea1fb993d7a05dd4f7c580d
Minor fix previously fixed in a merge

--HG--
branch : distribute
Updated win_script_wrapper to run on Python 2 and Python 3

--HG--
branch : distribute
Fixed some resource leaks.

--HG--
branch : distribute
extra : source : 98c929e25fee11a99eb125dd9a13521321d68dd3
Merge Vinay Sajip's unified Python 2/3 support from distribute 3

--HG--
branch : distribute
Remove unused import

--HG--
branch : distribute
Update exceptions for Python 3 compatibility

--HG--
branch : distribute
extra : rebase_source : 354795c0a0b8a864583f2549ce869e719be265d2
Re-save test modules with UTF-8 encoding

--HG--
branch : distribute
extra : rebase_source : 6728580b2f2f10026fe0f196db7ea5510acac704
extra : histedit_source : f4fbf02bbe3e4e39caf1aa2f5a354c99d9249e65
Use unicode from compat module

--HG--
branch : distribute
extra : rebase_source : c4dd03dba58146eed2f620cd6d6b7ab52ee9d109
extra : histedit_source : 02c194ea1c97e8aea64fd23d77efc1bade185c0a
Fix Python3 compatibility issue in filterfalse

--HG--
branch : distribute
extra : rebase_source : 71e3e89efe6483924a07e7f9819ee86f08dbf1f2
extra : histedit_source : fa75c7bc174b248c74da7b4efd5f6f05c36b6ae4
Added tag 0.6.46 for changeset b57e5ba93476

--HG--
branch : distribute
Bumped to 0.6.47 in preparation for next release.

--HG--
branch : distribute
Merge 0.6.46 with native Python 3 code

--HG--
branch : distribute