<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/main.c, 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>Add PYTHONUTF8 to commandline usage. (GH-17587) (GH-17599)</title>
<updated>2019-12-14T10:53:43+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2019-12-14T10:53:43+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=26892c7d5fc761a7f0e5523937283a3deaaead76'/>
<id>26892c7d5fc761a7f0e5523937283a3deaaead76</id>
<content type='text'>
Co-Authored-By: Victor Stinner &lt;vstinner@python.org&gt;
(cherry picked from commit 95826c773a9004fc5b3c89de55f800504685ab21)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Co-Authored-By: Victor Stinner &lt;vstinner@python.org&gt;
(cherry picked from commit 95826c773a9004fc5b3c89de55f800504685ab21)</pre>
</div>
</content>
</entry>
<entry>
<title> bpo-36965: Fix includes in main.c on Windows with non-MSC compilers (GH-13421) (GH-13471)</title>
<updated>2019-05-22T11:04:06+00:00</updated>
<author>
<name>Erik Janssens</name>
<email>erik.janssens@conceptive.be</email>
</author>
<published>2019-05-22T11:04:06+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=791e5fcbab9e444b62d13d08707cbbbeb9406297'/>
<id>791e5fcbab9e444b62d13d08707cbbbeb9406297</id>
<content type='text'>
Include windows.h rather than crtdbg.h to get STATUS_CONTROL_C_EXIT constant.
Moreover, include windows.h on Windows, not only when MSC is used.

(cherry picked from commit 925af1d99b69bf3e229411022ad840c5a0cfdcf8)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Include windows.h rather than crtdbg.h to get STATUS_CONTROL_C_EXIT constant.
Moreover, include windows.h on Windows, not only when MSC is used.

(cherry picked from commit 925af1d99b69bf3e229411022ad840c5a0cfdcf8)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-20844: open script file with "rb" mode (GH-12616)</title>
<updated>2019-04-01T12:02:51+00:00</updated>
<author>
<name>Inada Naoki</name>
<email>songofacandy@gmail.com</email>
</author>
<published>2019-04-01T12:02:51+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=8384670615a90418fc52c3881242b7c10d1f2b13'/>
<id>8384670615a90418fc52c3881242b7c10d1f2b13</id>
<content type='text'>
(cherry picked from commit 10654c19b5e6efdf3c529ff9bf7bcab89bdca1c1)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
(cherry picked from commit 10654c19b5e6efdf3c529ff9bf7bcab89bdca1c1)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36236: Handle removed cwd at Python init (GH-12450)</title>
<updated>2019-03-19T23:30:45+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-03-19T23:30:45+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f7959a9fe7e7e316899c60251e29390c4ed0307a'/>
<id>f7959a9fe7e7e316899c60251e29390c4ed0307a</id>
<content type='text'>
At Python initialization, the current directory is no longer
prepended to sys.path if it has been removed.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
At Python initialization, the current directory is no longer
prepended to sys.path if it has been removed.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36356: pymain_free() calls _PyRuntime_Finalize() (GH-12436)</title>
<updated>2019-03-19T14:08:17+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-03-19T14:08:17+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=935250d6f3ac7ba91e1ea8e6ca63aaf7f605e291'/>
<id>935250d6f3ac7ba91e1ea8e6ca63aaf7f605e291</id>
<content type='text'>
Ensure that _PyRuntime_Finalize() is always call. This change fix a
few memory leaks when running "python3 -V".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Ensure that _PyRuntime_Finalize() is always call. This change fix a
few memory leaks when running "python3 -V".</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35720: Fixing a memory leak in pymain_parse_cmdline_impl() (GH-11528)</title>
<updated>2019-01-22T16:42:13+00:00</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-01-22T16:42:13+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=f71e7433ebccb2e3a2665b93bb84de38f9c581c8'/>
<id>f71e7433ebccb2e3a2665b93bb84de38f9c581c8</id>
<content type='text'>
When the loop in the pymain_read_conf function in this same file
calls pymain_init_cmdline_argv() a 2nd time, the pymain-&gt;command
buffer of wchar_t is overriden and the previously allocated memory
is never freed.
(cherry picked from commit 35ca1820e19f81f69073f294503cdcd708fe490f)

Co-authored-by: Lucas Cimon &lt;lucas.cimon@gmail.com&gt;</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the loop in the pymain_read_conf function in this same file
calls pymain_init_cmdline_argv() a 2nd time, the pymain-&gt;command
buffer of wchar_t is overriden and the previously allocated memory
is never freed.
(cherry picked from commit 35ca1820e19f81f69073f294503cdcd708fe490f)

Co-authored-by: Lucas Cimon &lt;lucas.cimon@gmail.com&gt;</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35336: Fix PYTHONCOERCECLOCALE=1 (GH-10806) (GH-10813)</title>
<updated>2018-11-30T11:19:48+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-30T11:19:48+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=df738d56fe798b3586ed71775df25bf127789cf6'/>
<id>df738d56fe798b3586ed71775df25bf127789cf6</id>
<content type='text'>
Fix PYTHONCOERCECLOCALE=1 environment variable: only coerce the C
locale if the LC_CTYPE locale is "C".

(cherry picked from commit 55e498058faf8c97840556f6d791c2c392732dc3)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix PYTHONCOERCECLOCALE=1 environment variable: only coerce the C
locale if the LC_CTYPE locale is "C".

(cherry picked from commit 55e498058faf8c97840556f6d791c2c392732dc3)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-34725: Adds _Py_SetProgramFullPath so embedders may override sys.executable (GH-9861)</title>
<updated>2018-11-18T04:42:08+00:00</updated>
<author>
<name>Steve Dower</name>
<email>steve.dower@microsoft.com</email>
</author>
<published>2018-11-18T04:42:08+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=e851049e0e045b5e0f9d5c6b8a64d7f6b8ecc9c7'/>
<id>e851049e0e045b5e0f9d5c6b8a64d7f6b8ecc9c7</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35233: InitConfigTests tests more config vars (GH-10541) (GH-10546)</title>
<updated>2018-11-14T17:58:01+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-14T17:58:01+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=9ee1d42f019ac827f73479ce241e95733d050e67'/>
<id>9ee1d42f019ac827f73479ce241e95733d050e67</id>
<content type='text'>
test_embed.InitConfigTests tests more configuration variables.

Changes:

* InitConfigTests tests more core configuration variables:

  * base_exec_prefix
  * base_prefix
  * exec_prefix
  * home
  * module_search_path_env
  * prefix

* "_testembed init_from_config" tests more variables:

  * argv
  * warnoptions
  * xoptions

* Py_HasFileSystemDefaultEncoding value is no longer tested since it
  depends on the LC_CTYPE locale and the platform.
* InitConfigTests: add check_global_config(), check_core_config() and
  check_main_config() subfunctions to cleanup the code. Move also
  constants at the class level (ex: COPY_MAIN_CONFIG).
* Use more macros in _PyCoreConfig_AsDict() and
  _PyMainInterpreterConfig_AsDict() to reduce code duplication.
* Other minor cleanups.

(cherry picked from commit 01de89cb59107d4f889aa503a1c0350dae4aebaf)</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
test_embed.InitConfigTests tests more configuration variables.

Changes:

* InitConfigTests tests more core configuration variables:

  * base_exec_prefix
  * base_prefix
  * exec_prefix
  * home
  * module_search_path_env
  * prefix

* "_testembed init_from_config" tests more variables:

  * argv
  * warnoptions
  * xoptions

* Py_HasFileSystemDefaultEncoding value is no longer tested since it
  depends on the LC_CTYPE locale and the platform.
* InitConfigTests: add check_global_config(), check_core_config() and
  check_main_config() subfunctions to cleanup the code. Move also
  constants at the class level (ex: COPY_MAIN_CONFIG).
* Use more macros in _PyCoreConfig_AsDict() and
  _PyMainInterpreterConfig_AsDict() to reduce code duplication.
* Other minor cleanups.

(cherry picked from commit 01de89cb59107d4f889aa503a1c0350dae4aebaf)</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35233: Fix _PyMainInterpreterConfig_Copy() (GH-10537)</title>
<updated>2018-11-14T01:45:25+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-14T01:45:25+00:00</published>
<link rel='alternate' type='text/html' href='http://91.123.203.49/cgit/delta/cpython-git.git/commit/?id=88cbea4c6ff4987ce31f4fe6f73c2d04a3d37829'/>
<id>88cbea4c6ff4987ce31f4fe6f73c2d04a3d37829</id>
<content type='text'>
Fix _PyMainInterpreterConfig_Copy(): copy 'install_signal_handlers'
attribute</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix _PyMainInterpreterConfig_Copy(): copy 'install_signal_handlers'
attribute</pre>
</div>
</content>
</entry>
</feed>
