<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/disutils2.git/distutils2/tests/test_command_build_ext.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>Fix for shared builds</title>
<updated>2012-02-15T17:16:47+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2012-02-15T17:16:47+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=7d34d5fb6a09c8c476d0989acfb920a81d7653a5'/>
<id>7d34d5fb6a09c8c476d0989acfb920a81d7653a5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Fix parsing of build_ext --libraries option (#1326113)</title>
<updated>2012-02-15T16:34:16+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2012-02-15T16:34:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=ba827083256d2e791781f9d210c0f2808569c3be'/>
<id>ba827083256d2e791781f9d210c0f2808569c3be</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<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>Clean up mocking of stdout and stdin in tests.</title>
<updated>2011-11-12T04:30:34+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-11-12T04:30:34+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=880fdf00a4ae68815dffafc750f9f1092e1baacb'/>
<id>880fdf00a4ae68815dffafc750f9f1092e1baacb</id>
<content type='text'>
In addition, update the create module to use logging.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In addition, update the create module to use logging.
</pre>
</div>
</content>
</entry>
<entry>
<title>Refactor support code for compiling xxmodule.c.</title>
<updated>2011-09-19T00:08:16+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-09-19T00:08:16+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=231b2b59728b71f5d974e3cb58ab60cf42dae346'/>
<id>231b2b59728b71f5d974e3cb58ab60cf42dae346</id>
<content type='text'>
This file is needed in other tests, so it?s better to have the support
code in tests.support.  It?s also simpler to just have a skip instead of
custom print/return/test suite fiddling.  Unfortunately, the xxmodule.c
file (resurrected from the repo, and also identical to the version in
Python 2.7) cannot be compiled by Python 2.4 and 2.5 on my computer, so
the test is skipped.

The code to fix up build_ext for Unix shared builds and Windows debug
builds was also moved to support for future reuse.

Finally, I fixed code using sysconfig._CONFIG_VARS directly so that it
calls get_config_var first, so that _CONFIG_VARS is a dict instead of
None.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This file is needed in other tests, so it?s better to have the support
code in tests.support.  It?s also simpler to just have a skip instead of
custom print/return/test suite fiddling.  Unfortunately, the xxmodule.c
file (resurrected from the repo, and also identical to the version in
Python 2.7) cannot be compiled by Python 2.4 and 2.5 on my computer, so
the test is skipped.

The code to fix up build_ext for Unix shared builds and Windows debug
builds was also moved to support for future reuse.

Finally, I fixed code using sysconfig._CONFIG_VARS directly so that it
calls get_config_var first, so that _CONFIG_VARS is a dict instead of
None.
</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>Branch merge, reverting some of Alexis? changes.</title>
<updated>2011-09-13T11:28:48+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-09-13T11:28:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=24c3ea82342d802d3824cb23fdf54b67abf3478f'/>
<id>24c3ea82342d802d3824cb23fdf54b67abf3478f</id>
<content type='text'>
The print statement fixes that were in my branch override the print(u'')
calls added by Alexis; the import at function scope were removed for the
usual reasons; d2._backport.hashlib is used if hashlib is not available
instead of md5.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
The print statement fixes that were in my branch override the print(u'')
calls added by Alexis; the import at function scope were removed for the
usual reasons; d2._backport.hashlib is used if hashlib is not available
instead of md5.
</pre>
</div>
</content>
</entry>
<entry>
<title>Fixes to actually use the backports.</title>
<updated>2011-09-12T11:10:57+00:00</updated>
<author>
<name>Jeremy Kloth</name>
<email>jeremy.kloth@gmail.com</email>
</author>
<published>2011-09-12T11:10:57+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=6cc3762352d9deb802ad5acf2f4c4b7bd7da904b'/>
<id>6cc3762352d9deb802ad5acf2f4c4b7bd7da904b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Convert print function calls back to print statements.</title>
<updated>2011-09-11T23:39:51+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-09-11T23:39:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=31214dacba2f9ac2efc8a0d8f0d1a61283f9db98'/>
<id>31214dacba2f9ac2efc8a0d8f0d1a61283f9db98</id>
<content type='text'>
This caused pysetup to print out tuples.  When multi-line strings are
enclosed in parens for line-wrapping purposes, which would not print out
a tuple, I have added a space for clarity anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This caused pysetup to print out tuples.  When multi-line strings are
enclosed in parens for line-wrapping purposes, which would not print out
a tuple, I have added a space for clarity anyway.
</pre>
</div>
</content>
</entry>
</feed>
