<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/disutils2.git/distutils2/tests/__main__.py, branch python3</title>
<subtitle>hg.python.org: Obsolete (use python-setuptools-git)
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/'/>
<entry>
<title>Ye olde merge.</title>
<updated>2011-11-12T06:33:45+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-11-12T06:33:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=ed71facf9298a2d12dc631f86e4ecdd33a117380'/>
<id>ed71facf9298a2d12dc631f86e4ecdd33a117380</id>
<content type='text'>
I broke test_mixin2to3 somehow; distutils2-default is okay and packaging too,
so I don?t see an obvious reason right now, I?ll investigate later.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I broke test_mixin2to3 somehow; distutils2-default is okay and packaging too,
so I don?t see an obvious reason right now, I?ll investigate later.
</pre>
</div>
</content>
</entry>
<entry>
<title>Clean up some idioms in tests.</title>
<updated>2011-11-11T23:33:44+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-11-11T23:33:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=b160fba2c0cbad389abc1bdbc94c82c1a26edfc9'/>
<id>b160fba2c0cbad389abc1bdbc94c82c1a26edfc9</id>
<content type='text'>
- Use os.makedirs (I had forgotten about it!)
- Let TempdirManager.write_file call os.path.join for us
- Let TempdirManager.tearDown go back to the previous working directory
  for us
- Use a skip instead of hiding a method with an underscore
- Reset the finalized attribute of command objects before calling
  ensure_finalized a second time, so that it?s not a no-op
- Address pyflakes warnings
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
- Use os.makedirs (I had forgotten about it!)
- Let TempdirManager.write_file call os.path.join for us
- Let TempdirManager.tearDown go back to the previous working directory
  for us
- Use a skip instead of hiding a method with an underscore
- Reset the finalized attribute of command objects before calling
  ensure_finalized a second time, so that it?s not a no-op
- Address pyflakes warnings
</pre>
</div>
</content>
</entry>
<entry>
<title>Start a branch to provide Distutils2 for Python 3.</title>
<updated>2011-09-23T23:06:28+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-09-23T23:06:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=d04e4c8c1027310520576e1890061799a0f64f0b'/>
<id>d04e4c8c1027310520576e1890061799a0f64f0b</id>
<content type='text'>
This codebase is compatible with 3.1, 3.2 and 3.3.  It was converted with 2to3
and a semi-automated diff/merge with packaging in 3.3 to fix some idioms.
We?ve now come full circle from 2.x to 3.x to 2.x to 3.x again :)

Starting from now, contributors can make patches for packaging (preferred, as
the stdlib?s regrtest is very useful), distutils2 or distutils-python3, and
we?ll make patches flow between versions.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This codebase is compatible with 3.1, 3.2 and 3.3.  It was converted with 2to3
and a semi-automated diff/merge with packaging in 3.3 to fix some idioms.
We?ve now come full circle from 2.x to 3.x to 2.x to 3.x again :)

Starting from now, contributors can make patches for packaging (preferred, as
the stdlib?s regrtest is very useful), distutils2 or distutils-python3, and
we?ll make patches flow between versions.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove some duplication in tests subpackage.</title>
<updated>2011-09-18T21:56:21+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-09-18T21:56:21+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=44a140ea34bc9a523dec50da1b25227d84a10517'/>
<id>44a140ea34bc9a523dec50da1b25227d84a10517</id>
<content type='text'>
This commit adds some missing names found by pyflakes/pylint; the test
suite passed before, but we might as well have correct code.  Some other
functions have been removed; running the test suite through
d2.tests.__main__ now requires Python 2.7.

There?s still quite a bit of unnecessary duplication between __init__
and support, but I won?t fix that now.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This commit adds some missing names found by pyflakes/pylint; the test
suite passed before, but we might as well have correct code.  Some other
functions have been removed; running the test suite through
d2.tests.__main__ now requires Python 2.7.

There?s still quite a bit of unnecessary duplication between __init__
and support, but I won?t fix that now.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix backport changesets part 2: tests</title>
<updated>2011-09-18T18:23:12+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-09-18T18:23:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=0555ed6a05c59e22963c0c1d931f7fcfa284f04f'/>
<id>0555ed6a05c59e22963c0c1d931f7fcfa284f04f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix the backport fixes.</title>
<updated>2011-09-18T18:20:13+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-09-18T18:20:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=506cfea8bbd41e865bc36a836bdbc05aae8d74bb'/>
<id>506cfea8bbd41e865bc36a836bdbc05aae8d74bb</id>
<content type='text'>
Backports:
- sysconfig is now always imported from our backports
- when hashlib is not found, our backport is used instead of the md5
  module (debatable; we could just drop hashlib)

Version-dependent features:
- PEP 370 features are only enabled for 2.6+
- the check for sys.dont_write_bytecode was fixed to use getattr
  with a default value instead of hasattr

Idioms/syntax:
- octal literals lost their extra 0
- misused try/except blocks have been changed back to try/finally
  (it?s legal in 2.4 too, it?s only try/except/finally that isn?t)
- exception catching uses the regular 2.x idiom instead of sys.exc_info
- file objects are closed within finally blocks (this causes much
  whitespace changes but actually makes diff with packaging easier)

Renamed modules:
- some missed renamings (_thread, Queue, isAlive, urllib.urlsplit, etc.)
  were fixed

Other:
- a few false positive replacements of ?packaging? by ?distutils2? in
  comments or docstrings were reverted
- util.is_packaging regained its name
- assorted whitespace/comment/import changes to match packaging
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Backports:
- sysconfig is now always imported from our backports
- when hashlib is not found, our backport is used instead of the md5
  module (debatable; we could just drop hashlib)

Version-dependent features:
- PEP 370 features are only enabled for 2.6+
- the check for sys.dont_write_bytecode was fixed to use getattr
  with a default value instead of hasattr

Idioms/syntax:
- octal literals lost their extra 0
- misused try/except blocks have been changed back to try/finally
  (it?s legal in 2.4 too, it?s only try/except/finally that isn?t)
- exception catching uses the regular 2.x idiom instead of sys.exc_info
- file objects are closed within finally blocks (this causes much
  whitespace changes but actually makes diff with packaging easier)

Renamed modules:
- some missed renamings (_thread, Queue, isAlive, urllib.urlsplit, etc.)
  were fixed

Other:
- a few false positive replacements of ?packaging? by ?distutils2? in
  comments or docstrings were reverted
- util.is_packaging regained its name
- assorted whitespace/comment/import changes to match packaging
</pre>
</div>
</content>
</entry>
<entry>
<title>Backported packaging from cpython default, overwriting previous version.</title>
<updated>2011-08-18T09:11:00+00:00</updated>
<author>
<name>Vinay Sajip</name>
<email>vinay_sajip@yahoo.co.uk</email>
</author>
<published>2011-08-18T09:11:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=1797898898a76efb0f3e78b394675033f3c2fad2'/>
<id>1797898898a76efb0f3e78b394675033f3c2fad2</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
