<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/disutils2.git/distutils2/tests/test_command_build.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>Use sys.version_info instead of sys.version.</title>
<updated>2012-02-09T18:41:19+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2012-02-09T18:41:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=90b039c8d93fe3fb157fc4fe5bb47265dd8a4399'/>
<id>90b039c8d93fe3fb157fc4fe5bb47265dd8a4399</id>
<content type='text'>
The contents of this attribute are an implementation detail, as
documented for #9442, so we should not parse it, to support non-CPython
VMs in the future.

Unfortunately, one use comes directly from PEP 345, so an edit will have
to be agreed before fixing the code (see comment in d2.markers).

Other remaining uses are found in d2.compiler and could be replaced by
the platform module (which also parses sys.version, but then it wouldn?t
be my fault :)
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The contents of this attribute are an implementation detail, as
documented for #9442, so we should not parse it, to support non-CPython
VMs in the future.

Unfortunately, one use comes directly from PEP 345, so an edit will have
to be agreed before fixing the code (see comment in d2.markers).

Other remaining uses are found in d2.compiler and could be replaced by
the platform module (which also parses sys.version, but then it wouldn?t
be my fault :)
</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>moved extension into compiler/</title>
<updated>2010-11-13T11:02:06+00:00</updated>
<author>
<name>Tarek Ziade</name>
<email>tarek@ziade.org</email>
</author>
<published>2010-11-13T11:02:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=56778ccee3b92f0949b4bbb8bc4fe3737d4f0d4c'/>
<id>56778ccee3b92f0949b4bbb8bc4fe3737d4f0d4c</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>
