distutils2 (merge default -> python3): Merge devnotes update

http://hg.python.org/distutils2/rev/51bb31c537cb changeset: 1196:51bb31c537cb branch: python3 parent: 1194:d9ce66d22bb5 parent: 1195:9e4d083c4ad6 user: Éric Araujo <merwok@netwok.org> date: Sat Sep 24 01:19:50 2011 +0200 summary: Merge devnotes update files: DEVNOTES.txt | 18 +++++++++++------- 1 files changed, 11 insertions(+), 7 deletions(-) diff --git a/DEVNOTES.txt b/DEVNOTES.txt --- a/DEVNOTES.txt +++ b/DEVNOTES.txt @@ -1,12 +1,16 @@ Notes for developers ==================== -- Distutils2 runs on Python from 2.4 to 2.7 so make sure you don't use code - that doesn't work under one of these Python versions. +- Distutils2 runs on Python from 3.1 to 3.2 so make sure you don't use code + that doesn't work under one of these Python versions. The version compatible + with 2.4-2.7 in the "default" branch. -- For 2.4, you need to run "python2.4 setup.py build" before you can run tests - or pysetup. +- When merging default into python3, don't keep maximum compatibility with + Python 2 but use idiomatic 3.x code. For difficult conversions like encoding + handling with I/O, you can have a look or use a diff tool with the same file + in distutils or packaging from Python 3.3. -- Always run tests.sh before you push a change. This implies - that you have all Python versions installed from 2.4 to 2.7. Be sure to have - docutils installed on all python versions no avoid skipping tests as well. +- Always run tests.sh before you commit a change. This implies that you have + Python 3.1 and 3.2 installed as well as a checkout of Python 3.3 with its + executable available as "python3.3" in your $PATH. Be sure to also have + docutils installed on all Python versions to avoid skipping tests. -- Repository URL: http://hg.python.org/distutils2
participants (1)
-
eric.araujo