<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-packages/disutils2.git/distutils2/tests/test_util.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>Merge default</title>
<updated>2012-05-21T20:54:12+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2012-05-21T20:54:12+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=ee6fb9f7f0863a1d0020d57f224947f7b795df6d'/>
<id>ee6fb9f7f0863a1d0020d57f224947f7b795df6d</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>make sure the existing metadata Provides field is translated when translating an old PKG-INFO</title>
<updated>2012-05-16T12:22:44+00:00</updated>
<author>
<name>Tarek Ziade</name>
<email>tarek@ziade.org</email>
</author>
<published>2012-05-16T12:22:44+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=0eb8b98af00570113698e39ad0627e5732a21157'/>
<id>0eb8b98af00570113698e39ad0627e5732a21157</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>fix for 14294</title>
<updated>2012-03-14T03:26:28+00:00</updated>
<author>
<name>Preston Holmes</name>
<email>preston@ptone.com</email>
</author>
<published>2012-03-14T03:26:28+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=2b0067a46ae1ad4e8798ed5a86fbbe8e2b831341'/>
<id>2b0067a46ae1ad4e8798ed5a86fbbe8e2b831341</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge fixes for #13974, #6884 and #11841 from default</title>
<updated>2012-02-27T11:29:18+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2012-02-27T11:29:18+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=c57cf8ba29e0b51e614cac580413a183061834d5'/>
<id>c57cf8ba29e0b51e614cac580413a183061834d5</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add test for util.set_platform (#13974).</title>
<updated>2012-02-16T18:35:40+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2012-02-16T18:35:40+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=124fbe0ccc6a243717388a6ec0720d0e625d166b'/>
<id>124fbe0ccc6a243717388a6ec0720d0e625d166b</id>
<content type='text'>
Patch by Tshepang Lekhonkhobe.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Tshepang Lekhonkhobe.
</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>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 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>Improve byte-compilation to be independent of -O or -B.</title>
<updated>2011-11-12T01:58:14+00:00</updated>
<author>
<name>?ric Araujo</name>
<email>merwok@netwok.org</email>
</author>
<published>2011-11-12T01:58:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-packages/disutils2.git/commit/?id=a8791ff81a116924d6d385cf5aab2a54743855a4'/>
<id>a8791ff81a116924d6d385cf5aab2a54743855a4</id>
<content type='text'>
All code (util.byte_compile, build_py, install_lib) can now create .pyc
and/or.pyo files according to options given by users, without
interference from the calling Python?s own optimize mode or from the
sys.dont_write_bytecode switch.

The rationale is that packaging gives control over the creation of
.pyc/.pyo files to the user with its own explicit option, and the
behavior should not be changed if the calling Python happens to run with
-B or -O for whatever reason.

This is actually a bug fix, not an improvement: Digging into the early
history of distutils shows that the original author wanted this behavior
(see for example comments in build_py in r12940).
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
All code (util.byte_compile, build_py, install_lib) can now create .pyc
and/or.pyo files according to options given by users, without
interference from the calling Python?s own optimize mode or from the
sys.dont_write_bytecode switch.

The rationale is that packaging gives control over the creation of
.pyc/.pyo files to the user with its own explicit option, and the
behavior should not be changed if the calling Python happens to run with
-B or -O for whatever reason.

This is actually a bug fix, not an improvement: Digging into the early
history of distutils shows that the original author wanted this behavior
(see for example comments in build_py in r12940).
</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>
</feed>
