<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Include/pystate.h, branch benjamin-interp-initialize</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>bpo-34523: Use _PyCoreConfig instead of globals (GH-9005)</title>
<updated>2018-08-29T22:50:45+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-08-29T22:50:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=fbca90856d96273fd87c0b126f6e7966af7fbf7b'/>
<id>fbca90856d96273fd87c0b126f6e7966af7fbf7b</id>
<content type='text'>
Use the core configuration of the interpreter, rather
than using global configuration variables. For example, replace
Py_QuietFlag with core_config-&gt;quiet.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Use the core configuration of the interpreter, rather
than using global configuration variables. For example, replace
Py_QuietFlag with core_config-&gt;quiet.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34301: Add _PyInterpreterState_Get() helper function (GH-8592)</title>
<updated>2018-08-03T13:33:52+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-08-03T13:33:52+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=caba55b3b735405b280273f7d99866a046c18281'/>
<id>caba55b3b735405b280273f7d99866a046c18281</id>
<content type='text'>
sys_setcheckinterval() now uses a local variable to parse arguments,
before writing into interp-&gt;check_interval.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
sys_setcheckinterval() now uses a local variable to parse arguments,
before writing into interp-&gt;check_interval.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34170: Add Python/coreconfig.c for _PyCoreConfig (GH-8607)</title>
<updated>2018-08-01T15:56:14+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-08-01T15:56:14+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6'/>
<id>6c785c0ebdadc84d80a53d896c38fd7ada8ae1f6</id>
<content type='text'>
* Add Include/coreconfig.h
* Move config_*() and _PyCoreConfig_*() functions from Modules/main.c
  to a new Python/coreconfig.c file.
* Inline _Py_ReadHashSeed() into config_init_hash_seed()
* Move global configuration variables to coreconfig.c</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Add Include/coreconfig.h
* Move config_*() and _PyCoreConfig_*() functions from Modules/main.c
  to a new Python/coreconfig.c file.
* Inline _Py_ReadHashSeed() into config_init_hash_seed()
* Move global configuration variables to coreconfig.c</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34170: Rename _PyCoreConfig.unbuffered_stdip (GH-8594)</title>
<updated>2018-08-01T01:07:00+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-08-01T01:07:00+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9851227382431a40a138fdff994278d9e7743c74'/>
<id>9851227382431a40a138fdff994278d9e7743c74</id>
<content type='text'>
* Rename _PyCoreConfig.unbuffered_stdio to buffered_stdio
* Rename _PyCoreConfig.debug to parser_debug</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename _PyCoreConfig.unbuffered_stdio to buffered_stdio
* Rename _PyCoreConfig.debug to parser_debug</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34170: Add _PyCoreConfig._frozen parameter (GH-8591)</title>
<updated>2018-08-01T00:13:04+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-08-01T00:13:04+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=b75d7e243512afcfb2285e6471262478383e09db'/>
<id>b75d7e243512afcfb2285e6471262478383e09db</id>
<content type='text'>
Modify frozenmain.c to use _Py_InitializeFromConfig().</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Modify frozenmain.c to use _Py_InitializeFromConfig().</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34170, test_embed: write Py_Initialize() tests (GH-8484)</title>
<updated>2018-07-26T16:57:56+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-07-26T16:57:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=56b29b6d6fa3eb32bb1533ee3f21b1e7135648a0'/>
<id>56b29b6d6fa3eb32bb1533ee3f21b1e7135648a0</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34170: Cleanup pymain_read_conf() (GH-8476)</title>
<updated>2018-07-26T14:04:56+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-07-26T14:04:56+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=d145775b451bbae549391eb49ed612fb3b03bde1'/>
<id>d145775b451bbae549391eb49ed612fb3b03bde1</id>
<content type='text'>
* Config: Rename ignore_environment field to use_environment.
* _PyCoreConfig_Read(): if isolated is set, use_environment and
  site_import are now always set to 0.
* Inline pymain_free_raw() into pymain_free()
* Move config_init_warnoptions() call into pymain_read_conf_impl()
* _PyCoreConfig_Read(): don't replace values if they are already set:
  faulthandler, pycache_prefix, home.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Config: Rename ignore_environment field to use_environment.
* _PyCoreConfig_Read(): if isolated is set, use_environment and
  site_import are now always set to 0.
* Inline pymain_free_raw() into pymain_free()
* Move config_init_warnoptions() call into pymain_read_conf_impl()
* _PyCoreConfig_Read(): don't replace values if they are already set:
  faulthandler, pycache_prefix, home.
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34170: Enhance _PyCoreConfig_Read() (GH-8468)</title>
<updated>2018-07-26T00:37:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-07-26T00:37:22+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=ecf411c59e33d3760dbfebf6d5b4b205bcc29d5a'/>
<id>ecf411c59e33d3760dbfebf6d5b4b205bcc29d5a</id>
<content type='text'>
* Inline cmdline_get_env_flags() into config_read_env_vars():
  _PyCoreConfig_Read() now reads much more environment variables like
  PYTHONVERBOSE.
* Allow to override faulthandler and allocator even if dev_mode=1.
  PYTHONMALLOC is now the priority over PYTHONDEVMODE.
* Fix _PyCoreConfig_Copy(): copy also install_signal_handlers,
  coerce_c_locale and coerce_c_locale_warn
* _PyCoreConfig.install_signal_handlers default is now 1: install
  signals by default
* Fix also a compiler warning: don't define _PyPathConfig type twice.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Inline cmdline_get_env_flags() into config_read_env_vars():
  _PyCoreConfig_Read() now reads much more environment variables like
  PYTHONVERBOSE.
* Allow to override faulthandler and allocator even if dev_mode=1.
  PYTHONMALLOC is now the priority over PYTHONDEVMODE.
* Fix _PyCoreConfig_Copy(): copy also install_signal_handlers,
  coerce_c_locale and coerce_c_locale_warn
* _PyCoreConfig.install_signal_handlers default is now 1: install
  signals by default
* Fix also a compiler warning: don't define _PyPathConfig type twice.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34228: Allow PYTHONTRACEMALLOC=0 (GH-8467)</title>
<updated>2018-07-25T17:23:53+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-07-25T17:23:53+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=60b04c9f6fb87522a62ab6b95db9f8a09aef42d4'/>
<id>60b04c9f6fb87522a62ab6b95db9f8a09aef42d4</id>
<content type='text'>
PYTHONTRACEMALLOC=0 environment variable and -X tracemalloc=0 command
line option are now allowed to disable explicitly tracemalloc at
startup.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
PYTHONTRACEMALLOC=0 environment variable and -X tracemalloc=0 command
line option are now allowed to disable explicitly tracemalloc at
startup.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34170: Add _Py_InitializeFromConfig() (GH-8454)</title>
<updated>2018-07-25T00:49:17+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-07-25T00:49:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=1dc6e3906acb81163725e98378bf4d1bd1ce771a'/>
<id>1dc6e3906acb81163725e98378bf4d1bd1ce771a</id>
<content type='text'>
* If _Py_InitializeCore() is called twice, the second call now copies
  and apply (partially) the new configuration.
* Rename _Py_CommandLineDetails to _PyCmdline
* Move more code into pymain_init(). The core configuration created
  by Py_Main() is new destroyed before running Python to reduce the
  memory footprint.
* _Py_InitializeCore() now returns the created interpreter.
  _Py_InitializeMainInterpreter() now expects an interpreter.
* Remove _Py_InitializeEx_Private(): _freeze_importlib now uses
  _Py_InitializeFromConfig()
* _PyCoreConfig_InitPathConfig() now only computes the path
  configuration if needed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* If _Py_InitializeCore() is called twice, the second call now copies
  and apply (partially) the new configuration.
* Rename _Py_CommandLineDetails to _PyCmdline
* Move more code into pymain_init(). The core configuration created
  by Py_Main() is new destroyed before running Python to reduce the
  memory footprint.
* _Py_InitializeCore() now returns the created interpreter.
  _Py_InitializeMainInterpreter() now expects an interpreter.
* Remove _Py_InitializeEx_Private(): _freeze_importlib now uses
  _Py_InitializeFromConfig()
* _PyCoreConfig_InitPathConfig() now only computes the path
  configuration if needed.</pre>
</div>
</content>
</entry>
</feed>
