<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/cpython-git.git/Modules/cjkcodecs, branch main</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>gh-99113: Add Py_MOD_PER_INTERPRETER_GIL_SUPPORTED (gh-104205)</title>
<updated>2023-05-05T21:11:27+00:00</updated>
<author>
<name>Eric Snow</name>
<email>ericsnowcurrently@gmail.com</email>
</author>
<published>2023-05-05T21:11:27+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a9c6e0618f26270e2591b3d99ffeef55eea02a33'/>
<id>a9c6e0618f26270e2591b3d99ffeef55eea02a33</id>
<content type='text'>
Here we are doing no more than adding the value for Py_mod_multiple_interpreters and using it for stdlib modules.  We will start checking for it in gh-104206 (once PyInterpreterState.ceval.own_gil is added in gh-104204).</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Here we are doing no more than adding the value for Py_mod_multiple_interpreters and using it for stdlib modules.  We will start checking for it in gh-104206 (once PyInterpreterState.ceval.own_gil is added in gh-104204).</pre>
</div>
</content>
</entry>
<entry>
<title>gh-103583: Isolate CJK codec modules (#103869)</title>
<updated>2023-04-27T13:02:43+00:00</updated>
<author>
<name>Erlend E. Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2023-04-27T13:02:43+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=8a0c7f1e402768c7e806e2472e0a493c1800851f'/>
<id>8a0c7f1e402768c7e806e2472e0a493c1800851f</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-103583: Add ref. dependency between multibytecodec modules (#103589)</title>
<updated>2023-04-19T16:02:17+00:00</updated>
<author>
<name>Erlend E. Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2023-04-19T16:02:17+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a6b07b5a345f7f54ee9f6d75e81d2fb55971b35c'/>
<id>a6b07b5a345f7f54ee9f6d75e81d2fb55971b35c</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-103583: Always pass multibyte codec structs as const (#103588)</title>
<updated>2023-04-19T03:08:16+00:00</updated>
<author>
<name>Erlend E. Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2023-04-19T03:08:16+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=e989e0b62aba9b487faf24d8694d28022d35a776'/>
<id>e989e0b62aba9b487faf24d8694d28022d35a776</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-103583: Add codecs and maps to _codecs_* module state (#103540)</title>
<updated>2023-04-17T00:41:25+00:00</updated>
<author>
<name>Erlend E. Aasland</name>
<email>erlend.aasland@protonmail.com</email>
</author>
<published>2023-04-17T00:41:25+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=217911ede5d52b02b2e3c9222439e1ea08545291'/>
<id>217911ede5d52b02b2e3c9222439e1ea08545291</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>gh-101863: Fix wrong comments in EUC-KR codec (gh-102417)</title>
<updated>2023-03-04T16:01:54+00:00</updated>
<author>
<name>Byeongmin Choi</name>
<email>jincbm@naver.com</email>
</author>
<published>2023-03-04T16:01:54+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=77a3196b7cc17d90a8aae5629aa71ff183b9266a'/>
<id>77a3196b7cc17d90a8aae5629aa71ff183b9266a</id>
<content type='text'>
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
</pre>
</div>
</content>
</entry>
<entry>
<title>bpo-15999: Accept arbitrary values for boolean parameters. (#15609)</title>
<updated>2022-12-03T19:52:21+00:00</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2022-12-03T19:52:21+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=a87c46eab3c306b1c5b8a072b7b30ac2c50651c0'/>
<id>a87c46eab3c306b1c5b8a072b7b30ac2c50651c0</id>
<content type='text'>
builtins and extension module functions and methods that expect boolean values for parameters now accept any Python object rather than just a bool or int type. This is more consistent with how native Python code itself behaves.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
builtins and extension module functions and methods that expect boolean values for parameters now accept any Python object rather than just a bool or int type. This is more consistent with how native Python code itself behaves.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-99537: Use Py_SETREF(var, NULL) in C code (#99687)</title>
<updated>2022-11-23T13:57:50+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-11-23T13:57:50+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=81f7359f67a7166d57a10a3d5366406d9c85f1de'/>
<id>81f7359f67a7166d57a10a3d5366406d9c85f1de</id>
<content type='text'>
Replace "Py_DECREF(var); var = NULL;" with "Py_SETREF(var, NULL);".</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace "Py_DECREF(var); var = NULL;" with "Py_SETREF(var, NULL);".</pre>
</div>
</content>
</entry>
<entry>
<title>gh-99537: Use Py_SETREF() function in C code (#99656)</title>
<updated>2022-11-22T13:22:22+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-11-22T13:22:22+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=7e3f09cad9b783d8968aa79ff6a8ee57beb8b83e'/>
<id>7e3f09cad9b783d8968aa79ff6a8ee57beb8b83e</id>
<content type='text'>
Fix potential race condition in code patterns:

* Replace "Py_DECREF(var); var = new;" with "Py_SETREF(var, new);"
* Replace "Py_XDECREF(var); var = new;" with "Py_XSETREF(var, new);"
* Replace "Py_CLEAR(var); var = new;" with "Py_XSETREF(var, new);"

Other changes:

* Replace "old = var; var = new; Py_DECREF(var)"
  with "Py_SETREF(var, new);"
* Replace "old = var; var = new; Py_XDECREF(var)"
  with "Py_XSETREF(var, new);"
* And remove the "old" variable.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Fix potential race condition in code patterns:

* Replace "Py_DECREF(var); var = new;" with "Py_SETREF(var, new);"
* Replace "Py_XDECREF(var); var = new;" with "Py_XSETREF(var, new);"
* Replace "Py_CLEAR(var); var = new;" with "Py_XSETREF(var, new);"

Other changes:

* Replace "old = var; var = new; Py_DECREF(var)"
  with "Py_SETREF(var, new);"
* Replace "old = var; var = new; Py_XDECREF(var)"
  with "Py_XSETREF(var, new);"
* And remove the "old" variable.</pre>
</div>
</content>
</entry>
<entry>
<title>gh-99300: Use Py_NewRef() in Modules/ directory (#99469)</title>
<updated>2022-11-14T15:21:23+00:00</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@python.org</email>
</author>
<published>2022-11-14T15:21:23+00:00</published>
<link rel='alternate' type='text/html' href='http://git.baserock.org/cgit/delta/cpython-git.git/commit/?id=3e2f7135e6164860b763cf5d0d22b9dc12409767'/>
<id>3e2f7135e6164860b763cf5d0d22b9dc12409767</id>
<content type='text'>
Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in test C files of the Modules/ directory.</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace Py_INCREF() and Py_XINCREF() with Py_NewRef() and
Py_XNewRef() in test C files of the Modules/ directory.</pre>
</div>
</content>
</entry>
</feed>
