<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/disutils2.git/distutils2/tests/test_command_upload_docs.py, branch master</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>Remove usage of stdlib shutil.</title>
<updated>2011-11-20T17:51:32+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-11-20T17:51:32+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=47c9f06f2d34971a1c554c0020dc603c3ce3aaa1'/>
<id>47c9f06f2d34971a1c554c0020dc603c3ce3aaa1</id>
<content type='text'>
This should help avoiding issues like #13170.

Because of implicit relative imports, _backport.tarfile already imported
shutil from the backports instead of the stdlib; I have inlined the only
function it needed to remove the circular dependency between these
modules.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This should help avoiding issues like #13170.

Because of implicit relative imports, _backport.tarfile already imported
shutil from the backports instead of the stdlib; I have inlined the only
function it needed to remove the circular dependency between these
modules.
</pre>
</div>
</content>
</entry>
<entry>
<title>Change signature of tests.support.LoggingCatcher.get_logs.</title>
<updated>2011-11-12T02:18:15+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-11-12T02:18:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=ab9af202e257d3403cf820e4ec091d768a9ff755'/>
<id>ab9af202e257d3403cf820e4ec091d768a9ff755</id>
<content type='text'>
I need this for some tests, and it makes code clearer.  This commit also
changes some assertEqual calls to use (actual, expected) order and fix
some pyflakes warnings.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
I need this for some tests, and it makes code clearer.  This commit also
changes some assertEqual calls to use (actual, expected) order and fix
some pyflakes warnings.
</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>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>Fixed a python2.4 syntax errors.</title>
<updated>2011-08-30T07:30:47+00:00</updated>
<author>
<name>Alexandru Plugaru</name>
<email>alexandru.plugaru@gmail.com</email>
</author>
<published>2011-08-30T07:30:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=6d6499fd8bc272709671a1bdb34c1e91dd1898cf'/>
<id>6d6499fd8bc272709671a1bdb34c1e91dd1898cf</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</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>
<entry>
<title>finished the removal of the log module</title>
<updated>2010-11-05T01:29:52+00:00</updated>
<author>
<name>Tarek Ziade</name>
<email>tarek@ziade.org</email>
</author>
<published>2010-11-05T01:29:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=fc473b39e9789ce7197b60314eb9cef2621d0852'/>
<id>fc473b39e9789ce7197b60314eb9cef2621d0852</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>removed core.py</title>
<updated>2010-10-25T00:00:47+00:00</updated>
<author>
<name>Tarek Ziade</name>
<email>tarek@ziade.org</email>
</author>
<published>2010-10-25T00:00:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=3a2f924196e82ff2c2bdcff9188357c509c41320'/>
<id>3a2f924196e82ff2c2bdcff9188357c509c41320</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Rename command's tests filenames to test_command_*, and install_tools.py to install.py</title>
<updated>2010-10-04T01:41:02+00:00</updated>
<author>
<name>Alexis Metaireau</name>
<email>ametaireau@gmail.com</email>
</author>
<published>2010-10-04T01:41:02+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=89d3d9d57e7ba2e3204312f868bcb4796929f315'/>
<id>89d3d9d57e7ba2e3204312f868bcb4796929f315</id>
<content type='text'>
The goal is to avoid overlaps between commands and scripts names (for
instance the "install" script and the "install" command)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The goal is to avoid overlaps between commands and scripts names (for
instance the "install" script and the "install" command)
</pre>
</div>
</content>
</entry>
</feed>
