<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/Setup, branch fix-misc-acks-sort</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-37798: Add C fastpath for statistics.NormalDist.inv_cdf() (GH-15266)</title>
<updated>2019-08-23T22:20:30+00:00</updated>
<author>
<name>Dong-hee Na</name>
<email>donghee.na92@gmail.com</email>
</author>
<published>2019-08-23T22:20:30+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=0a18ee4be7ba215f414bef04598e0849504f9f1e'/>
<id>0a18ee4be7ba215f414bef04598e0849504f9f1e</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-35184: Fix XML_POOR_ENTROPY option that breaks makesetup parsing of pyexpat line in Setup. (GH-13064)</title>
<updated>2019-06-11T01:54:24+00:00</updated>
<author>
<name>aaronpaulhurst</name>
<email>aaronpaulhurst@gmail.com</email>
</author>
<published>2019-06-11T01:54:24+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=408a2ef1aceff1f4270c44552fa39ef93d9283e3'/>
<id>408a2ef1aceff1f4270c44552fa39ef93d9283e3</id>
<content type='text'>
When the line is uncommented, the equals character causes it to be incorrectly interpreted
as a macro definition by makesetup.  This results in invalid Makefile output.

The expat code only requires XML_POOR_ENTROPY to be defined; the value is unnecessary.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When the line is uncommented, the equals character causes it to be incorrectly interpreted
as a macro definition by makesetup.  This results in invalid Makefile output.

The expat code only requires XML_POOR_ENTROPY to be defined; the value is unnecessary.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36635: Add _testinternalcapi module (GH-12841)</title>
<updated>2019-04-18T09:37:26+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-18T09:37:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=23bace26ec265557697cf3b578b361c178070cd5'/>
<id>23bace26ec265557697cf3b578b361c178070cd5</id>
<content type='text'>
Add a new _testinternalcapi module to test the internal C API.

Move _Py_GetConfigsAsDict() function to the internal C API:
_testembed now uses _testinternalcapi to access the function.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add a new _testinternalcapi module to test the internal C API.

Move _Py_GetConfigsAsDict() function to the internal C API:
_testembed now uses _testinternalcapi to access the function.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-36635: Change pyport.h for Py_BUILD_CORE_MODULE define (GH-12853)</title>
<updated>2019-04-17T21:02:26+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-17T21:02:26+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=5c75f37d473140f0e0b7d9bf3a8c08343447ded1'/>
<id>5c75f37d473140f0e0b7d9bf3a8c08343447ded1</id>
<content type='text'>
Change PyAPI_FUNC(type), PyAPI_DATA(type) and PyMODINIT_FUNC macros
of pyport.h when Py_BUILD_CORE_MODULE is defined.

The Py_BUILD_CORE_MODULE define must be now be used to build a C
extension as a dynamic library accessing Python internals: export the
PyInit_xxx() function in DLL exports on Windows.

Changes:

* Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE now imply
  Py_BUILD_CORE directy in pyport.h.
* ceval.c compilation now fails with an error if Py_BUILD_CORE is not
  defined, just to ensure that Python is build with the correct
  defines.
* setup.py now compiles _pickle.c with Py_BUILD_CORE_MODULE define.
* setup.py compiles _json.c with Py_BUILD_CORE_MODULE define, rather
  than Py_BUILD_CORE_BUILTIN define
* PCbuild/pythoncore.vcxproj: Add Py_BUILD_CORE_BUILTIN define.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Change PyAPI_FUNC(type), PyAPI_DATA(type) and PyMODINIT_FUNC macros
of pyport.h when Py_BUILD_CORE_MODULE is defined.

The Py_BUILD_CORE_MODULE define must be now be used to build a C
extension as a dynamic library accessing Python internals: export the
PyInit_xxx() function in DLL exports on Windows.

Changes:

* Py_BUILD_CORE_BUILTIN and Py_BUILD_CORE_MODULE now imply
  Py_BUILD_CORE directy in pyport.h.
* ceval.c compilation now fails with an error if Py_BUILD_CORE is not
  defined, just to ensure that Python is build with the correct
  defines.
* setup.py now compiles _pickle.c with Py_BUILD_CORE_MODULE define.
* setup.py compiles _json.c with Py_BUILD_CORE_MODULE define, rather
  than Py_BUILD_CORE_BUILTIN define
* PCbuild/pythoncore.vcxproj: Add Py_BUILD_CORE_BUILTIN define.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-28604: Fix localeconv() for different LC_MONETARY (GH-10606)</title>
<updated>2018-11-20T15:20:16+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-20T15:20:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=02e6bf7f2025cddcbde6432f6b6396198ab313f4'/>
<id>02e6bf7f2025cddcbde6432f6b6396198ab313f4</id>
<content type='text'>
locale.localeconv() now sets temporarily the LC_CTYPE locale to the
LC_MONETARY locale if the two locales are different and monetary
strings are non-ASCII. This temporary change affects other threads.

Changes:

* locale.localeconv() can now set LC_CTYPE to LC_MONETARY to decode
  monetary fields.
* Add LocaleInfo.grouping_buffer: copy localeconv() grouping string
  since it can be replaced anytime if a different thread calls
  localeconv().
* _Py_GetLocaleconvNumeric() now requires a "struct lconv *"
  structure, so locale.localeconv() now longer calls localeconv()
  twice. Moreover, the function now requires all arguments to be
  non-NULL.
* Rename STATIC_LOCALE_INFO_INIT to LocaleInfo_STATIC_INIT.
* Move _Py_GetLocaleconvNumeric() definition from fileutils.h
  to pycore_fileutils.h. pycore_fileutils.h now includes locale.h.
* The _locale module is now built with Py_BUILD_CORE defined.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
locale.localeconv() now sets temporarily the LC_CTYPE locale to the
LC_MONETARY locale if the two locales are different and monetary
strings are non-ASCII. This temporary change affects other threads.

Changes:

* locale.localeconv() can now set LC_CTYPE to LC_MONETARY to decode
  monetary fields.
* Add LocaleInfo.grouping_buffer: copy localeconv() grouping string
  since it can be replaced anytime if a different thread calls
  localeconv().
* _Py_GetLocaleconvNumeric() now requires a "struct lconv *"
  structure, so locale.localeconv() now longer calls localeconv()
  twice. Moreover, the function now requires all arguments to be
  non-NULL.
* Rename STATIC_LOCALE_INFO_INIT to LocaleInfo_STATIC_INIT.
* Move _Py_GetLocaleconvNumeric() definition from fileutils.h
  to pycore_fileutils.h. pycore_fileutils.h now includes locale.h.
* The _locale module is now built with Py_BUILD_CORE defined.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35081: Internal headers require Py_BUILD_CORE (GH-10363)</title>
<updated>2018-11-09T12:03:37+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-09T12:03:37+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=130893debfd97c70e3a89d9ba49892f53e6b9d79'/>
<id>130893debfd97c70e3a89d9ba49892f53e6b9d79</id>
<content type='text'>
* All internal header files now require Py_BUILD_CORE or
  Py_BUILD_CORE_BUILTIN to be defined.
* _json.c is now compiled with Py_BUILD_CORE_BUILTIN to access
  pycore_accu.h header.
* Add an example to Modules/Setup to show how to build _json
  as a built-in module; it requires non trivial compiler options.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* All internal header files now require Py_BUILD_CORE or
  Py_BUILD_CORE_BUILTIN to be defined.
* _json.c is now compiled with Py_BUILD_CORE_BUILTIN to access
  pycore_accu.h header.
* Add an example to Modules/Setup to show how to build _json
  as a built-in module; it requires non trivial compiler options.
</pre>
</div>
</content>
</entry>
<entry>
<title>closes bpo-35139: The `pyexpat` module's macros in `Modules/Setup` now match `setup.py` (GH-10289)</title>
<updated>2018-11-02T02:49:46+00:00</updated>
<author>
<name>Max Bélanger</name>
<email>aeromax@gmail.com</email>
</author>
<published>2018-11-02T02:49:46+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=318ab63c01f5b8e7562b122ab5ba01258a51277b'/>
<id>318ab63c01f5b8e7562b122ab5ba01258a51277b</id>
<content type='text'>
This could cause compile errors on macOS or other platforms.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This could cause compile errors on macOS or other platforms.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35081: Add pycore_ prefix to internal header files (GH-10263)</title>
<updated>2018-10-31T23:52:28+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-10-31T23:52:28+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e'/>
<id>27e2d1f21975dfb8c0ddcb192fa0f45a51b7977e</id>
<content type='text'>
* Rename Include/internal/ header files:

  * pyatomic.h -&gt; pycore_atomic.h
  * ceval.h -&gt; pycore_ceval.h
  * condvar.h -&gt; pycore_condvar.h
  * context.h -&gt; pycore_context.h
  * pygetopt.h -&gt; pycore_getopt.h
  * gil.h -&gt; pycore_gil.h
  * hamt.h -&gt; pycore_hamt.h
  * hash.h -&gt; pycore_hash.h
  * mem.h -&gt; pycore_mem.h
  * pystate.h -&gt; pycore_state.h
  * warnings.h -&gt; pycore_warnings.h

* PCbuild project, Makefile.pre.in, Modules/Setup: add the
  Include/internal/ directory to the search paths of header files.
* Update includes. For example, replace #include "internal/mem.h"
  with #include "pycore_mem.h".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
* Rename Include/internal/ header files:

  * pyatomic.h -&gt; pycore_atomic.h
  * ceval.h -&gt; pycore_ceval.h
  * condvar.h -&gt; pycore_condvar.h
  * context.h -&gt; pycore_context.h
  * pygetopt.h -&gt; pycore_getopt.h
  * gil.h -&gt; pycore_gil.h
  * hamt.h -&gt; pycore_hamt.h
  * hash.h -&gt; pycore_hash.h
  * mem.h -&gt; pycore_mem.h
  * pystate.h -&gt; pycore_state.h
  * warnings.h -&gt; pycore_warnings.h

* PCbuild project, Makefile.pre.in, Modules/Setup: add the
  Include/internal/ directory to the search paths of header files.
* Update includes. For example, replace #include "internal/mem.h"
  with #include "pycore_mem.h".</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-35053: Define _PyTraceMalloc_NewReference in object.h (GH-10107)</title>
<updated>2018-10-25T22:01:56+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-10-25T22:01:56+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=c89a93271447ec65e83a1dc7605e62dbf272cafd'/>
<id>c89a93271447ec65e83a1dc7605e62dbf272cafd</id>
<content type='text'>
_PyTraceMalloc_NewReference() is now called by _Py_NewReference(), so
move its definition to object.h. Moreover, define it even if
Py_LIMITED_API is defined, since _Py_NewReference() is also exposed
even if Py_LIMITED_API is defined.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
_PyTraceMalloc_NewReference() is now called by _Py_NewReference(), so
move its definition to object.h. Moreover, define it even if
Py_LIMITED_API is defined, since _Py_NewReference() is also exposed
even if Py_LIMITED_API is defined.</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-25711: Rewrite zipimport in pure Python. (GH-6809)</title>
<updated>2018-09-18T19:22:29+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-09-18T19:22:29+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b'/>
<id>79d1c2e6c9d1bc1cf41ec3041801ca1a2b9a995b</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
</feed>
