<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Python/frozenmain.c, branch v3.7.2</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/frozenmain.c?h=v3.7.2</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Python/frozenmain.c?h=v3.7.2'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2017-12-12T11:55:04Z</updated>
<entry>
<title>bpo-32241: Add the const qualifire to declarations of umodifiable strings. (#4748)</title>
<updated>2017-12-12T11:55:04Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-12-12T11:55:04Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4ae06c5337e01bdde28bce57b6b9166ad50947e3'/>
<id>urn:sha1:4ae06c5337e01bdde28bce57b6b9166ad50947e3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-32030: Split Py_Main() into subfunctions (#4399)</title>
<updated>2017-11-15T23:48:08Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2017-11-15T23:48:08Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f7e5b56c37eb859e225e886c79c5d742c567ee95'/>
<id>urn:sha1:f7e5b56c37eb859e225e886c79c5d742c567ee95</id>
<content type='text'>
* Don't use "Python runtime" anymore to parse command line options or
  to get environment variables: pymain_init() is now a strict
  separation.
* Use an error message rather than "crashing" directly with
  Py_FatalError(). Limit the number of calls to Py_FatalError(). It
  prepares the code to handle errors more nicely later.
* Warnings options (-W, PYTHONWARNINGS) and "XOptions" (-X) are now
  only added to the sys module once Python core is properly
  initialized.
* _PyMain is now the well identified owner of some important strings
  like: warnings options, XOptions, and the "program name". The
  program name string is now properly freed at exit.
  pymain_free() is now responsible to free the "command" string.
* Rename most methods in Modules/main.c to use a "pymain_" prefix to
  avoid conflits and ease debug.
* Replace _Py_CommandLineDetails_INIT with memset(0)
* Reorder a lot of code to fix the initialization ordering. For
  example, initializing standard streams now comes before parsing
  PYTHONWARNINGS.
* Py_Main() now handles errors when adding warnings options and
  XOptions.
* Add _PyMem_GetDefaultRawAllocator() private function.
* Cleanup _PyMem_Initialize(): remove useless global constants: move
  them into _PyMem_Initialize().
* Call _PyRuntime_Initialize() as soon as possible:
  _PyRuntime_Initialize() now returns an error message on failure.
* Add _PyInitError structure and following macros:

  * _Py_INIT_OK()
  * _Py_INIT_ERR(msg)
  * _Py_INIT_USER_ERR(msg): "user" error, don't abort() in that case
  * _Py_INIT_FAILED(err)</content>
</entry>
<entry>
<title>Issue #5319: New Py_FinalizeEx() API to exit with status 120 on failure</title>
<updated>2015-11-30T03:18:29Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-11-30T03:18:29Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b4ce1fc31be5614d527d77c55018281ebbcd70ab'/>
<id>urn:sha1:b4ce1fc31be5614d527d77c55018281ebbcd70ab</id>
<content type='text'>
</content>
</entry>
<entry>
<title>merge 3.4 (#22633)</title>
<updated>2015-02-14T20:17:47Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2015-02-14T20:17:47Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f80ccf27cba2d2842ec4b85dc73202534f46b526'/>
<id>urn:sha1:f80ccf27cba2d2842ec4b85dc73202534f46b526</id>
<content type='text'>
</content>
</entry>
<entry>
<title>avoid reading unallocated memory when argc == 0 (closes #22633)</title>
<updated>2015-02-14T20:16:32Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2015-02-14T20:16:32Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2476b98acfe303ecc3ed9b38107f75e05dab95c5'/>
<id>urn:sha1:2476b98acfe303ecc3ed9b38107f75e05dab95c5</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #18395: Rename ``_Py_char2wchar()`` to :c:func:`Py_DecodeLocale`, rename</title>
<updated>2014-08-01T10:28:48Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2014-08-01T10:28:48Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f6a271ae980d2f3fb450f745b8f87624378156c4'/>
<id>urn:sha1:f6a271ae980d2f3fb450f745b8f87624378156c4</id>
<content type='text'>
``_Py_wchar2char()`` to :c:func:`Py_EncodeLocale`, and document these
functions.
</content>
</entry>
<entry>
<title>Issue #15893: Improve error handling in main() and Py_FrozenMain()</title>
<updated>2013-07-27T00:39:09Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-27T00:39:09Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=c588feeea94788e164286dbd757e34829a2eefb5'/>
<id>urn:sha1:c588feeea94788e164286dbd757e34829a2eefb5</id>
<content type='text'>
* handle _PyMem_RawStrdup() failure
* Py_FrozenMain() releases memory on error
* Py_FrozenMain() duplicates the old locale, as done in main()
</content>
</entry>
<entry>
<title>Py_FrozenMain() now uses _Py_char2wchar() to decode command line arguments, as</title>
<updated>2013-07-27T00:24:52Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-27T00:24:52Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=739cf4e3e6d7370ab6ddfc96637218eadfe81a13'/>
<id>urn:sha1:739cf4e3e6d7370ab6ddfc96637218eadfe81a13</id>
<content type='text'>
done in main()
</content>
</entry>
<entry>
<title>Issue #18203: Replace PyMem_Malloc() with PyMem_RawMalloc() at Python initialization</title>
<updated>2013-07-26T23:13:34Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-26T23:13:34Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b5245bec936d22fddb6d14bd130218ac71ed8474'/>
<id>urn:sha1:b5245bec936d22fddb6d14bd130218ac71ed8474</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #15893: frozenmain.c now handles PyMem_Malloc() failure</title>
<updated>2013-07-26T23:04:56Z</updated>
<author>
<name>Victor Stinner</name>
<email>victor.stinner@gmail.com</email>
</author>
<published>2013-07-26T23:04:56Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=36577e4e8cf967083dea762407ba9d9d28de5b8a'/>
<id>urn:sha1:36577e4e8cf967083dea762407ba9d9d28de5b8a</id>
<content type='text'>
</content>
</entry>
</feed>
