<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Objects/stringlib, 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/Objects/stringlib?h=3.8</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Objects/stringlib?h=3.8'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2020-02-12T02:47:20Z</updated>
<entry>
<title>closes bpo-39605: Fix some casts to not cast away const. (GH-18453)</title>
<updated>2020-02-12T02:47:20Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2020-02-12T02:47:20Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=190433d8150bf719fa0ba972dbacf2214942f54e'/>
<id>urn:sha1:190433d8150bf719fa0ba972dbacf2214942f54e</id>
<content type='text'>
gcc -Wcast-qual turns up a number of instances of casting away constness of pointers. Some of these can be safely modified, by either:

Adding the const to the type cast, as in:

-    return _PyUnicode_FromUCS1((unsigned char*)s, size);
+    return _PyUnicode_FromUCS1((const unsigned char*)s, size);

or, Removing the cast entirely, because it's not necessary (but probably was at one time), as in:

-    PyDTrace_FUNCTION_ENTRY((char *)filename, (char *)funcname, lineno);
+    PyDTrace_FUNCTION_ENTRY(filename, funcname, lineno);

These changes will not change code, but they will make it much easier to check for errors in consts
(cherry picked from commit e6be9b59a911626d6597fe148c32f0342bd2bd24)

Co-authored-by: Andy Lester &lt;andy@petdance.com&gt;</content>
</entry>
<entry>
<title>Doc: Fix typo in fastsearch comments (GH-14608) (GH-15933)</title>
<updated>2019-09-11T13:05:49Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-09-11T13:05:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=6a17751589841346b09f5eab747ae52bbf934348'/>
<id>urn:sha1:6a17751589841346b09f5eab747ae52bbf934348</id>
<content type='text'>
(cherry picked from commit 60bba83b5d9947fb3106325293e3a4e9c9cdea7e)

Co-authored-by: Valentin Haenel &lt;esc@users.noreply.github.com&gt;</content>
</entry>
<entry>
<title>[3.8] bpo-37034: Display argument name on errors with keyword arguments with Argument Clinic. (GH-13593). (GH-15599)</title>
<updated>2019-08-29T15:29:59Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-08-29T15:29:59Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=96631dcb11c2786f470d4586bf23ecca14361506'/>
<id>urn:sha1:96631dcb11c2786f470d4586bf23ecca14361506</id>
<content type='text'>
(cherry picked from commit 4901fe274bc82b95dc89bcb3de8802a3dfedab32)

Co-authored-by: Rémi Lapeyre &lt;remi.lapeyre@henki.fr&gt;</content>
</entry>
<entry>
<title>bpo-24214: Fixed the UTF-8 and UTF-16 incremental decoders. (GH-14304)</title>
<updated>2019-06-25T09:12:16Z</updated>
<author>
<name>Miss Islington (bot)</name>
<email>31488909+miss-islington@users.noreply.github.com</email>
</author>
<published>2019-06-25T09:12:16Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=d32594ad27f48a898d42a0ea30b9d007b1c57de9'/>
<id>urn:sha1:d32594ad27f48a898d42a0ea30b9d007b1c57de9</id>
<content type='text'>
* The UTF-8 incremental decoders fails now fast if encounter
  a sequence that can't be handled by the error handler.
* The UTF-16 incremental decoders with the surrogatepass error
  handler decodes now a lone low surrogate with final=False.
(cherry picked from commit 894263ba80af4b7733c2df95b527e96953922656)

Co-authored-by: Serhiy Storchaka &lt;storchaka@gmail.com&gt;</content>
</entry>
<entry>
<title>Improve exception message for str.format (GH-12675)</title>
<updated>2019-06-01T17:14:00Z</updated>
<author>
<name>Francisco Couzo</name>
<email>franciscouzo@gmail.com</email>
</author>
<published>2019-06-01T17:14:00Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=9843bc110dc4241ba7cb05f3d3ef74ac6c77caf2'/>
<id>urn:sha1:9843bc110dc4241ba7cb05f3d3ef74ac6c77caf2</id>
<content type='text'>
</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>Fix couple of dead code paths (GH-7418)</title>
<updated>2019-05-17T23:46:22Z</updated>
<author>
<name>David Carlier</name>
<email>dcarlier@afilias.info</email>
</author>
<published>2019-05-17T23:46:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=27ee0f8551a6d576a65e20da90acf9f3cb412c35'/>
<id>urn:sha1:27ee0f8551a6d576a65e20da90acf9f3cb412c35</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-36775: _PyCoreConfig only uses wchar_t* (GH-13062)</title>
<updated>2019-05-02T18:56:30Z</updated>
<author>
<name>Victor Stinner</name>
<email>vstinner@redhat.com</email>
</author>
<published>2019-05-02T18:56:30Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=709d23dee69e700b87d5a4cb59e149d0e1af7993'/>
<id>urn:sha1:709d23dee69e700b87d5a4cb59e149d0e1af7993</id>
<content type='text'>
_PyCoreConfig: Change filesystem_encoding, filesystem_errors,
stdio_encoding and stdio_errors fields type from char* to wchar_t*.

Changes:

* PyInterpreterState: replace fscodec_initialized (int) with fs_codec
  structure.
* Add get_error_handler_wide() and unicode_encode_utf8() helper
  functions.
* Add error_handler parameter to unicode_encode_locale()
  and unicode_decode_locale().
* Remove _PyCoreConfig_SetString().
* Rename _PyCoreConfig_SetWideString() to _PyCoreConfig_SetString().
* Rename _PyCoreConfig_SetWideStringFromString()
  to _PyCoreConfig_DecodeLocale().</content>
</entry>
<entry>
<title>bpo-36127: Argument Clinic: inline parsing code for keyword parameters. (GH-12058)</title>
<updated>2019-03-14T08:32:22Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-03-14T08:32:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=3191391515824fa7f3c573d807f1034c6a28fab3'/>
<id>urn:sha1:3191391515824fa7f3c573d807f1034c6a28fab3</id>
<content type='text'>
</content>
</entry>
<entry>
<title>bpo-35582: Argument Clinic: inline parsing code for positional parameters. (GH-11313)</title>
<updated>2019-01-11T14:01:14Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2019-01-11T14:01:14Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=4fa9591025b6a098f3d6402e5413ee6740ede6c5'/>
<id>urn:sha1:4fa9591025b6a098f3d6402e5413ee6740ede6c5</id>
<content type='text'>
</content>
</entry>
</feed>
