<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Lib/pkgutil.py, branch fix-misc-acks</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/'/>
<entry>
<title>closes bpo-31650: PEP 552 (Deterministic pycs) implementation (#4575)</title>
<updated>2017-12-09T18:26:52+00:00</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2017-12-09T18:26:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=42aa93b8ff2f7879282b06efc73a31ec7785e602'/>
<id>42aa93b8ff2f7879282b06efc73a31ec7785e602</id>
<content type='text'>
Python now supports checking bytecode cache up-to-dateness with a hash of the
source contents rather than volatile source metadata. See the PEP for details.

While a fairly straightforward idea, quite a lot of code had to be modified due
to the pervasiveness of pyc implementation details in the codebase. Changes in
this commit include:

- The core changes to importlib to understand how to read, validate, and
  regenerate hash-based pycs.

- Support for generating hash-based pycs in py_compile and compileall.

- Modifications to our siphash implementation to support passing a custom
  key. We then expose it to importlib through _imp.

- Updates to all places in the interpreter, standard library, and tests that
  manually generate or parse pyc files to grok the new format.

- Support in the interpreter command line code for long options like
  --check-hash-based-pycs.

- Tests and documentation for all of the above.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Python now supports checking bytecode cache up-to-dateness with a hash of the
source contents rather than volatile source metadata. See the PEP for details.

While a fairly straightforward idea, quite a lot of code had to be modified due
to the pervasiveness of pyc implementation details in the codebase. Changes in
this commit include:

- The core changes to importlib to understand how to read, validate, and
  regenerate hash-based pycs.

- Support for generating hash-based pycs in py_compile and compileall.

- Modifications to our siphash implementation to support passing a custom
  key. We then expose it to importlib through _imp.

- Updates to all places in the interpreter, standard library, and tests that
  manually generate or parse pyc files to grok the new format.

- Support in the interpreter command line code for long options like
  --check-hash-based-pycs.

- Tests and documentation for all of the above.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-24744: Raises error in pkgutil.walk_packages if path is str (#1926)</title>
<updated>2017-06-13T17:11:14+00:00</updated>
<author>
<name>Sanyam Khurana</name>
<email>CuriousLearner@users.noreply.github.com</email>
</author>
<published>2017-06-13T17:11:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b9c3da5c89c66dcccf382e8f196746da2a06d4cc'/>
<id>b9c3da5c89c66dcccf382e8f196746da2a06d4cc</id>
<content type='text'>
bpo-24744: Raise error in pkgutil.walk_packages if path is str

Previously an empty result list was accidentallly returned, since the
code iterated over the string as if it were the expected list of paths,
and of course found nothing.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
bpo-24744: Raise error in pkgutil.walk_packages if path is str

Previously an empty result list was accidentallly returned, since the
code iterated over the string as if it were the expected list of paths,
and of course found nothing.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #17211: Yield a namedtuple in pkgutil.</title>
<updated>2016-09-08T01:37:17+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2016-09-08T01:37:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d5f92239818eef182fadc7c6f81f70912090573d'/>
<id>d5f92239818eef182fadc7c6f81f70912090573d</id>
<content type='text'>
Patch by Ramchandra Apte.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by Ramchandra Apte.
</pre>
</div>
</content>
</entry>
<entry>
<title>[merge from 3.5] - Update pkgutil docs to reference appropriate finder and loader object documentation.</title>
<updated>2016-09-06T00:16:06+00:00</updated>
<author>
<name>Senthil Kumaran</name>
<email>senthil@uthcode.com</email>
</author>
<published>2016-09-06T00:16:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=56b4872ff5cb1eef8fcef61db3b9b36f7acc5f1e'/>
<id>56b4872ff5cb1eef8fcef61db3b9b36f7acc5f1e</id>
<content type='text'>
Initial patch contributed by Jaysinh shukla.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initial patch contributed by Jaysinh shukla.
</pre>
</div>
</content>
</entry>
<entry>
<title>Update pkgutil docs to reference appropriate finder and loader object documentation.</title>
<updated>2016-09-06T00:11:51+00:00</updated>
<author>
<name>Senthil Kumaran</name>
<email>senthil@uthcode.com</email>
</author>
<published>2016-09-06T00:11:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=4672060d86722e7daf946220812613938c54a5eb'/>
<id>4672060d86722e7daf946220812613938c54a5eb</id>
<content type='text'>
Initial patch contributed by Jaysinh shukla.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Initial patch contributed by Jaysinh shukla.
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #26896: Disambiguate uses of "importer" with "finder".</title>
<updated>2016-07-08T18:00:00+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2016-07-08T18:00:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fdcdd9ed80d2b4bf7e7dac04ed2d22e9cb747ff6'/>
<id>fdcdd9ed80d2b4bf7e7dac04ed2d22e9cb747ff6</id>
<content type='text'>
Thanks to Oren Milman for the patch.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Thanks to Oren Milman for the patch.
</pre>
</div>
</content>
</entry>
<entry>
<title>Merge 3.5, issue #14209</title>
<updated>2016-06-12T01:05:42+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2016-06-12T01:05:42+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=34ad2ef8f9a2fb506389b8c6b490f2ef19b5ff40'/>
<id>34ad2ef8f9a2fb506389b8c6b490f2ef19b5ff40</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #14209: pkgutil.iter_zipimport_modules ignores the prefix for packages</title>
<updated>2016-06-12T01:02:46+00:00</updated>
<author>
<name>Łukasz Langa</name>
<email>lukasz@langa.pl</email>
</author>
<published>2016-06-12T01:02:46+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=0d18c15fbf4365764e61017c1ccb6cecc49edf84'/>
<id>0d18c15fbf4365764e61017c1ccb6cecc49edf84</id>
<content type='text'>
Patch by James Pickering.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Patch by James Pickering.
</pre>
</div>
</content>
</entry>
<entry>
<title>Upgrade the imp module's deprecation to DeprecationWarning.</title>
<updated>2015-10-16T19:21:37+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2015-10-16T19:21:37+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=c0d91aff9a3b91307b26e8b7c34dfbf27bbdd43a'/>
<id>c0d91aff9a3b91307b26e8b7c34dfbf27bbdd43a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>Issue #20383: Introduce importlib.util.module_from_spec().</title>
<updated>2014-05-30T18:55:29+00:00</updated>
<author>
<name>Brett Cannon</name>
<email>brett@python.org</email>
</author>
<published>2014-05-30T18:55:29+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=2a17bde930af72995a217f6625d763e828bf5ce1'/>
<id>2a17bde930af72995a217f6625d763e828bf5ce1</id>
<content type='text'>
Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Along the way, dismantle importlib._bootstrap._SpecMethods as it was
no longer relevant and constructing the new function required
partially dismantling the class anyway.
</pre>
</div>
</content>
</entry>
</feed>
