<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/python-setuptools-git.git/_distutils_hack, branch v60.5.1</title>
<subtitle>github.com: pypa/setuptools.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/'/>
<entry>
<title>Merge pull request #2990 from asottile/distutils-hack-set-origin</title>
<updated>2022-01-08T19:38:08+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2022-01-08T19:38:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=d514fa1acc0efa9cfb5735134fc827be975bdde2'/>
<id>d514fa1acc0efa9cfb5735134fc827be975bdde2</id>
<content type='text'>
set origin= for distutils.__spec__</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
set origin= for distutils.__spec__</pre>
</div>
</content>
</entry>
<entry>
<title>set origin= for distutils.__spec__</title>
<updated>2022-01-08T17:14:25+00:00</updated>
<author>
<name>Anthony Sottile</name>
<email>asottile@umich.edu</email>
</author>
<published>2021-12-31T17:32:20+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=bd8d4dbd9638988f09b061f5d94a678c0fd80f25'/>
<id>bd8d4dbd9638988f09b061f5d94a678c0fd80f25</id>
<content type='text'>
set origin so spec finding reports the correct location -- https://docs.python.org/3/library/importlib.html#importlib.machinery.ModuleSpec
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
set origin so spec finding reports the correct location -- https://docs.python.org/3/library/importlib.html#importlib.machinery.ModuleSpec
</pre>
</div>
</content>
</entry>
<entry>
<title>Move filter into meta finder</title>
<updated>2022-01-08T16:55:35+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2022-01-06T23:30:26+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=06d81cb32da88ec0b69d3bc01ad138a9c0d41520'/>
<id>06d81cb32da88ec0b69d3bc01ad138a9c0d41520</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Use internal warnings API and _TrivialRe hack to install filter</title>
<updated>2022-01-08T16:55:35+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2022-01-06T23:17:15+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=804b106a8c97efa2944b92918f120c636ecb6818'/>
<id>804b106a8c97efa2944b92918f120c636ecb6818</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Temporarily add back filter, tests fail without it</title>
<updated>2022-01-08T16:55:35+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2022-01-06T22:48:41+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=f39c0631e5269c33b3544004439f8480a41fcd02'/>
<id>f39c0631e5269c33b3544004439f8480a41fcd02</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Speedup startup of Python by importing less</title>
<updated>2022-01-08T16:55:35+00:00</updated>
<author>
<name>Christian Heimes</name>
<email>christian@python.org</email>
</author>
<published>2022-01-06T22:30:19+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=cf21303f1ef9b143e76d613b253730c61edd97c2'/>
<id>cf21303f1ef9b143e76d613b253730c61edd97c2</id>
<content type='text'>
``_distutils_hack`` is imported by a ``.pth`` file at every start of a
Python interpreter. The import of costly modules like ``re`` and
``contextlib`` almost doubles the initial startup time of an
interpreter.

- replace ``contextlib`` with simple context manager and try/except
- replace ``re`` with simple string match
- move import of ``importlib`` into function body
- remove ``warnings.filterwarnings()``, which imports ``re``, too.

Fixes: #3006
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
``_distutils_hack`` is imported by a ``.pth`` file at every start of a
Python interpreter. The import of costly modules like ``re`` and
``contextlib`` almost doubles the initial startup time of an
interpreter.

- replace ``contextlib`` with simple context manager and try/except
- replace ``re`` with simple string match
- move import of ``importlib`` into function body
- remove ``warnings.filterwarnings()``, which imports ``re``, too.

Fixes: #3006
Signed-off-by: Christian Heimes &lt;christian@python.org&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Suppress AttributeError when detecting get-pip. Fixes #3002.</title>
<updated>2022-01-06T04:22:26+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2022-01-06T04:21:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=2504699e5f9acfdd1438512173f90b3f61114095'/>
<id>2504699e5f9acfdd1438512173f90b3f61114095</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Add another exception for the exclusion for pip. Fixes #2993.</title>
<updated>2022-01-03T03:59:50+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2022-01-03T03:59:50+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=41fa663c9da93ca1af98ce2ae397c02e4b3062e8'/>
<id>41fa663c9da93ca1af98ce2ae397c02e4b3062e8</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge pull request #2962 from nitzmahone/setuptools_picky_shim</title>
<updated>2021-12-29T16:35:11+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-12-29T16:35:11+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=104f8b40ba36999b81d88470900f01c20654d3ce'/>
<id>104f8b40ba36999b81d88470900f01c20654d3ce</id>
<content type='text'>
distutils shim should ignore setuptools on another path</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
distutils shim should ignore setuptools on another path</pre>
</div>
</content>
</entry>
<entry>
<title>Restore 'add_shim' as the way to invoke the hook. Avoids compatibility issues between different versions of Setuptools with the distutils local implementation. Renamed the former 'add_shim' as 'insert_shim'. Fixes #2983</title>
<updated>2021-12-29T16:33:08+00:00</updated>
<author>
<name>Jason R. Coombs</name>
<email>jaraco@jaraco.com</email>
</author>
<published>2021-12-29T16:31:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/python-setuptools-git.git/commit/?id=d0da0142609318e534d5874bfa0c44d1254f9e38'/>
<id>d0da0142609318e534d5874bfa0c44d1254f9e38</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
