<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/_json.c, branch 3.8</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_json.c?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/_json.c?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2019-07-30T14:37:28Z</updated>
<entry>
<title>bpo-37587: Make json.loads faster for long strings (GH-14752)</title>
<updated>2019-07-30T14:37:28Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-07-30T14:37:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9265a877426af4fa5c44cc8482e0198806889350'/>
<id>urn:sha1:9265a877426af4fa5c44cc8482e0198806889350</id>
<content type='text'>
When scanning the string, most characters are valid, so
checking for invalid characters first means never needing
to check the value of strict on valid strings, and only
needing to check it on invalid characters when doing
non-strict parsing of invalid strings.

This provides a measurable reduction in per-character
processing time (~11% in the pre-merge patch testing).
(cherry picked from commit 8a758f5b99c5fc3fd32edeac049d7d4a4b7cc163)

Co-authored-by: Marco Paolini &lt;mpaolini@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>bpo-36974: tp_print -&gt; tp_vectorcall_offset and tp_reserved -&gt; tp_as_async (GH-13464)</title>
<updated>2019-05-31T02:13:39Z</updated>
<author>
<name>Jeroen Demeyer</name>
<email>J.Demeyer@UGent.be</email>
</author>
<published>2019-05-31T02:13:39Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=530f506ac91338b55cf2be71b1cdf50cb077512f'/>
<id>urn:sha1:530f506ac91338b55cf2be71b1cdf50cb077512f</id>
<content type='text'>
Automatically replace
tp_print -&gt; tp_vectorcall_offset
tp_compare -&gt; tp_as_async
tp_reserved -&gt; tp_as_async
</content>
</entry>
<entry>
<title>bpo-36793: Remove unneeded __str__ definitions. (GH-13081)</title>
<updated>2019-05-06T19:29:40Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-05-06T19:29:40Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=96aeaec64738b730c719562125070a52ed570210'/>
<id>urn:sha1:96aeaec64738b730c719562125070a52ed570210</id>
<content type='text'>
Classes that define __str__ the same as __repr__ can
just inherit it from object.</content>
</entry>
<entry>
<title>bpo-36635: Change pyport.h for Py_BUILD_CORE_MODULE define (GH-12853)</title>
<updated>2019-04-17T21:02:26Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-04-17T21:02:26Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=5c75f37d473140f0e0b7d9bf3a8c08343447ded1'/>
<id>urn:sha1: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>
</entry>
<entry>
<title>bpo-35459: Use PyDict_GetItemWithError() instead of PyDict_GetItem(). (GH-11112)</title>
<updated>2019-02-25T15:59:46Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-02-25T15:59:46Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=a24107b04c1277e3c1105f98aff5bfa3a98b33a0'/>
<id>urn:sha1:a24107b04c1277e3c1105f98aff5bfa3a98b33a0</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-35081: Move accu.h to Include/internal/pycore_accu.h (GH-10271)</title>
<updated>2018-11-01T01:30:36Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2018-11-01T01:30:36Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=e281f7d80ce2584a7e6a36acffb5a9cd796a0fe2'/>
<id>urn:sha1:e281f7d80ce2584a7e6a36acffb5a9cd796a0fe2</id>
<content type='text'>
The accu.h header is no longer part of the Python C API: it has been
moved to the "internal" headers which are restricted to Python
itself.

Replace #include "accu.h" with #include "pycore_accu.h".</content>
</entry>
<entry>
<title>bpo-34649: Add missing NULL checks to _encoded_const() (GH-9225)</title>
<updated>2018-09-12T21:05:20Z</updated>
<author>
<name>Alexey Izbyshev</name>
<email>izbyshev@ispras.ru</email>
</author>
<published>2018-09-12T21:05:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6f82bffd2df63a4072b3f0483cdbe93ddedb87e9'/>
<id>urn:sha1:6f82bffd2df63a4072b3f0483cdbe93ddedb87e9</id>
<content type='text'>
Reported by Svace static analyzer.</content>
</entry>
<entry>
<title>bpo-24641: Improved error message for JSON unserializible keys. (#4364)</title>
<updated>2017-11-25T15:38:20Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2017-11-25T15:38:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=cfa797c0681b7fef47cf93955fd06b54ddd09a7f'/>
<id>urn:sha1:cfa797c0681b7fef47cf93955fd06b54ddd09a7f</id>
<content type='text'>
Also updated an example for default() in the module docstring.
Removed quotes around type name in other error messages.
</content>
</entry>
<entry>
<title>bpo-31505: Fix an assertion failure in json, in case _json.make_encoder() received a bad encoder() argument. (#3643)</title>
<updated>2017-09-24T09:07:12Z</updated>
<author>
<name>Oren Milman</name>
<email>orenmn@gmail.com</email>
</author>
<published>2017-09-24T09:07:12Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=2b382dd6121bb1e4b75470fb3ef8555665df3eb6'/>
<id>urn:sha1:2b382dd6121bb1e4b75470fb3ef8555665df3eb6</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-30860: Move windows.h include out of internal/*.h. (#3458)</title>
<updated>2017-09-12T01:30:43Z</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2017-09-12T01:30:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=fc1bf872e9d31f3e837f686210f94e57ad3d6582'/>
<id>urn:sha1:fc1bf872e9d31f3e837f686210f94e57ad3d6582</id>
<content type='text'>
PR #3397 introduced a large number of warnings to the Windows build. This patch fixes them.</content>
</entry>
</feed>
