<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Python/import.c, branch travis-macOS</title>
<subtitle>github.com: python/cpython.git
</subtitle>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/'/>
<entry>
<title>bpo-37444: Update differing exception between builtins and importlib (GH-14869)</title>
<updated>2019-08-03T05:46:02+00:00</updated>
<author>
<name>Ngalim Siregar</name>
<email>ngalim.siregar@gmail.com</email>
</author>
<published>2019-08-03T05:46:02+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c5fa44944ee0a31a12b9a70776c7cb56c4dc39a2'/>
<id>c5fa44944ee0a31a12b9a70776c7cb56c4dc39a2</id>
<content type='text'>
Imports now raise `TypeError` instead of `ValueError` for relative import failures. This makes things consistent between `builtins.__import__` and `importlib.__import__` as well as using a more natural import for the failure.


https://bugs.python.org/issue37444



Automerge-Triggered-By: @brettcannon</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Imports now raise `TypeError` instead of `ValueError` for relative import failures. This makes things consistent between `builtins.__import__` and `importlib.__import__` as well as using a more natural import for the failure.


https://bugs.python.org/issue37444



Automerge-Triggered-By: @brettcannon</pre>
</div>
</content>
</entry>
<entry>
<title>Fix typos in comments, docs and test names (#15018)</title>
<updated>2019-07-30T22:16:13+00:00</updated>
<author>
<name>Min ho Kim</name>
<email>minho42@gmail.com</email>
</author>
<published>2019-07-30T22:16:13+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c4cacc8c5eab50db8da3140353596f38a01115ca'/>
<id>c4cacc8c5eab50db8da3140353596f38a01115ca</id>
<content type='text'>
* Fix typos in comments, docs and test names

* Update test_pyparse.py

account for change in string length

* Apply suggestion: splitable -&gt; splittable

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Apply suggestion: splitable -&gt; splittable

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Apply suggestion: Dealloccte -&gt; Deallocate

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Update posixmodule checksum.

* Reverse idlelib changes.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Fix typos in comments, docs and test names

* Update test_pyparse.py

account for change in string length

* Apply suggestion: splitable -&gt; splittable

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Apply suggestion: splitable -&gt; splittable

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Apply suggestion: Dealloccte -&gt; Deallocate

Co-Authored-By: Terry Jan Reedy &lt;tjreedy@udel.edu&gt;

* Update posixmodule checksum.

* Reverse idlelib changes.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37547: add _PyObject_CallMethodOneArg (GH-14685)</title>
<updated>2019-07-11T08:59:05+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-07-11T08:59:05+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=59ad110d7a7784d53d0b502eebce0346597a6bef'/>
<id>59ad110d7a7784d53d0b502eebce0346597a6bef</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37337: Add _PyObject_CallMethodNoArgs() (GH-14267)</title>
<updated>2019-07-08T08:19:25+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-07-08T08:19:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=762f93ff2efd6b7ef0177cad57939c0ab2002eac'/>
<id>762f93ff2efd6b7ef0177cad57939c0ab2002eac</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-37483: add _PyObject_CallOneArg() function (#14558)</title>
<updated>2019-07-04T10:31:34+00:00</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-07-04T10:31:34+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=196a530e00d88a138973bf9182e013937e293f97'/>
<id>196a530e00d88a138973bf9182e013937e293f97</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36710: Use tstate in pylifecycle.c (GH-14249)</title>
<updated>2019-06-19T22:05:23+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-19T22:05:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=b45d259bdda1de2b2d369458a9ad2e4d6f750687'/>
<id>b45d259bdda1de2b2d369458a9ad2e4d6f750687</id>
<content type='text'>
In pylifecycle.c: pass tstate argument, rather than interp argument,
to functions.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
In pylifecycle.c: pass tstate argument, rather than interp argument,
to functions.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36710: Remove PyImport_Cleanup() function (GH-14221)</title>
<updated>2019-06-19T08:36:10+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-19T08:36:10+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=987a0dcfa1302df6c1ed8cf14762dc18628e3f33'/>
<id>987a0dcfa1302df6c1ed8cf14762dc18628e3f33</id>
<content type='text'>
* Rename PyImport_Cleanup() to _PyImport_Cleanup() and move it to the
  internal C API. Add 'tstate' parameters.
* Remove documentation of _PyImport_Init(), PyImport_Cleanup(),
  _PyImport_Fini(). All three were documented as "For internal use
  only.".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename PyImport_Cleanup() to _PyImport_Cleanup() and move it to the
  internal C API. Add 'tstate' parameters.
* Remove documentation of _PyImport_Init(), PyImport_Cleanup(),
  _PyImport_Fini(). All three were documented as "For internal use
  only.".</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36710: Add tstate parameter in import.c (GH-14218)</title>
<updated>2019-06-19T00:54:39+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-19T00:54:39+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0a28f8d379544eee897979da0ce99f0b449b49dd'/>
<id>0a28f8d379544eee897979da0ce99f0b449b49dd</id>
<content type='text'>
* Add 'tstate' parameter to many internal import.c functions.
* _PyImportZip_Init() now gets 'tstate' parameter rather than
  'interp'.
* Add 'interp' parameter to _PyState_ClearModules() and rename it
  to _PyInterpreterState_ClearModules().
* Move private _PyImport_FindBuiltin() to the internal C API; add
  'tstate' parameter to it.
* Remove private _PyImport_AddModuleObject() from the C API:
  use public PyImport_AddModuleObject() instead.
* Remove private _PyImport_FindExtensionObjectEx() from the C API:
  use private _PyImport_FindExtensionObject() instead.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add 'tstate' parameter to many internal import.c functions.
* _PyImportZip_Init() now gets 'tstate' parameter rather than
  'interp'.
* Add 'interp' parameter to _PyState_ClearModules() and rename it
  to _PyInterpreterState_ClearModules().
* Move private _PyImport_FindBuiltin() to the internal C API; add
  'tstate' parameter to it.
* Remove private _PyImport_AddModuleObject() from the C API:
  use public PyImport_AddModuleObject() instead.
* Remove private _PyImport_FindExtensionObjectEx() from the C API:
  use private _PyImport_FindExtensionObject() instead.</pre>
</div>
</content>
</entry>
<entry>
<title>Revert "bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)" (GH-13795)</title>
<updated>2019-06-04T01:15:09+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-06-04T01:15:09+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0fd2c300c2a85b3b227a907b2a39ef79fa86d850'/>
<id>0fd2c300c2a85b3b227a907b2a39ef79fa86d850</id>
<content type='text'>
This reverts commit 396e0a8d9dc65453cb9d53500d0a620602656cfe.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This reverts commit 396e0a8d9dc65453cb9d53500d0a620602656cfe.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36818: Add PyInterpreterState.runtime field. (gh-13129)</title>
<updated>2019-06-01T03:16:47+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2019-06-01T03:16:47+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=396e0a8d9dc65453cb9d53500d0a620602656cfe'/>
<id>396e0a8d9dc65453cb9d53500d0a620602656cfe</id>
<content type='text'>
https://bugs.python.org/issue36818</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
https://bugs.python.org/issue36818</pre>
</div>
</content>
</entry>
</feed>
