<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/disutils2.git/distutils2/command/bdist_dumb.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>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>Undo potentially confusing name change.</title>
<updated>2011-11-12T04:08:01+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-11-12T04:08:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=123c3e80926d8ae17cb9c21b5b85db821f671563'/>
<id>123c3e80926d8ae17cb9c21b5b85db821f671563</id>
<content type='text'>
This method was named reinitialize_command in distutils and accompanied
by a comment suggesting to change it to get_reinitialized_command.
Following that, I did the change for distutils2, but it proved
confusing: The Distribution object has an internal cache of command
objects, to make sure only one instance is ever used, and the name
get_reinitialized_command could suggest that the object returned was
independent of that cache, which it was not.  I?m reverting the name
change to make code clearer.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This method was named reinitialize_command in distutils and accompanied
by a comment suggesting to change it to get_reinitialized_command.
Following that, I did the change for distutils2, but it proved
confusing: The Distribution object has an internal cache of command
objects, to make sure only one instance is ever used, and the name
get_reinitialized_command could suggest that the object returned was
independent of that cache, which it was not.  I?m reverting the name
change to make code clearer.
</pre>
</div>
</content>
</entry>
<entry>
<title>Make bdist_* commands respect --skip-build passed to bdist (#10946).</title>
<updated>2011-09-19T01:58:52+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-09-19T01:58:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=c7846b75813d514321f67ddc08973d97a168d347'/>
<id>c7846b75813d514321f67ddc08973d97a168d347</id>
<content type='text'>
There was already a test for this, but it was complicated and had a
subtle bug (custom command objects need to be put in dist.command_obj so
that other command objects may see them) that rendered it moot.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
There was already a test for this, but it was complicated and had a
subtle bug (custom command objects need to be put in dist.command_obj so
that other command objects may see them) that rendered it moot.
</pre>
</div>
</content>
</entry>
<entry>
<title>Remove obsolete mentions of the compress program and .Z archives.</title>
<updated>2011-09-19T01:51:51+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-09-19T01:51:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=6b181d2a0fb465faf6402cdda337fbfeda93207e'/>
<id>6b181d2a0fb465faf6402cdda337fbfeda93207e</id>
<content type='text'>
d2 uses the shutil.make_archive function (moved from distutils),
which does not support compress.  There is no test to check that
?bdist --format whatever? works, so this slipped by.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
d2 uses the shutil.make_archive function (moved from distutils),
which does not support compress.  There is no test to check that
?bdist --format whatever? works, so this slipped by.
</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>
<entry>
<title>Merge Kelsey?s edits with mine</title>
<updated>2011-02-10T00:57:49+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-02-10T00:57:49+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=18e1f92438495a791b1e65ed8d3b3fb7c88a39ff'/>
<id>18e1f92438495a791b1e65ed8d3b3fb7c88a39ff</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixing logging strings; improve lower-case consistency</title>
<updated>2011-02-09T23:57:42+00:00</updated>
<author>
<name>Kelsey Hightower</name>
<email>kelsey.hightower@gmail.com</email>
</author>
<published>2011-02-09T23:57:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=ae16122b93e767e568b81c4e83312af8471ff101'/>
<id>ae16122b93e767e568b81c4e83312af8471ff101</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use lazy form in logging calls, again.</title>
<updated>2011-02-09T23:51:42+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-02-09T23:51:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=37d72aef1b216abd0840afd73c114bad25621a39'/>
<id>37d72aef1b216abd0840afd73c114bad25621a39</id>
<content type='text'>
Logging calls have the signature (msg, *args, **kwargs) so that the
%-formatting can be delayed until it is needed.  Logger objects also have an
isEnabledFor method that can be used to isolate expensive code.

Next steps: use only one of d2.logger methods or logging module functions;
use a proper handler in our test machinery instead of monkey-patching; remove
cmd.warn and cmd.announce and use logging instead.  TODOs have been added in
the modules and on the wiki.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Logging calls have the signature (msg, *args, **kwargs) so that the
%-formatting can be delayed until it is needed.  Logger objects also have an
isEnabledFor method that can be used to isolate expensive code.

Next steps: use only one of d2.logger methods or logging module functions;
use a proper handler in our test machinery instead of monkey-patching; remove
cmd.warn and cmd.announce and use logging instead.  TODOs have been added in
the modules and on the wiki.
</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>
</feed>
