<feed xmlns='http://www.w3.org/2005/Atom'>
<title>python.git/Modules/readline.c, branch 2.7</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/readline.c?h=2.7</id>
<link rel='self' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/atom/Modules/readline.c?h=2.7'/>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/'/>
<updated>2019-11-07T15:06:28Z</updated>
<entry>
<title>[2.7] bpo-38730: Fix -Wstringop-truncation warnings. (GH-17075)</title>
<updated>2019-11-07T15:06:28Z</updated>
<author>
<name>Benjamin Peterson</name>
<email>benjamin@python.org</email>
</author>
<published>2019-11-07T15:06:28Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=f32bcf8c27f3681407707bbb029323eb340d3c4b'/>
<id>urn:sha1:f32bcf8c27f3681407707bbb029323eb340d3c4b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>[2.7] bpo-35441: Remove dead and buggy code related to PyList_SetItem(). (GH-11033) (GH-11234)</title>
<updated>2018-12-19T15:11:02Z</updated>
<author>
<name>Serhiy Storchaka</name>
<email>storchaka@gmail.com</email>
</author>
<published>2018-12-19T15:11:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=89b5ea297d67f5efeb8fca0b63fa3d9f7030b2f0'/>
<id>urn:sha1:89b5ea297d67f5efeb8fca0b63fa3d9f7030b2f0</id>
<content type='text'>
In _localemodule.c and selectmodule.c, remove dead code that would
cause double decrefs if run.

In addition, replace PyList_SetItem() with PyList_SET_ITEM() in cases
where a new list is populated and there is no possibility of an error.

In addition, check if the list changed size in the loop in array_array_fromlist().
(cherry picked from commit 99d56b53560b3867844472ae381fb3f858760621)

Co-authored-by: Zackery Spytz &lt;zspytz@gmail.com&gt;</content>
</entry>
<entry>
<title>[2.7] bpo-29854: Fix segfault in call_readline() (GH-728)</title>
<updated>2017-07-10T21:06:57Z</updated>
<author>
<name>Nir Soffer</name>
<email>nirsof@gmail.com</email>
</author>
<published>2017-07-10T21:06:57Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=bfa4fe4f39dd8b5ce1a0b649cedd36857859081a'/>
<id>urn:sha1:bfa4fe4f39dd8b5ce1a0b649cedd36857859081a</id>
<content type='text'>
If history-length is set in .inputrc, and the history file is double the
history size (or more), history_get(N) returns NULL, and python
segfaults. Fix that by checking for NULL return value.

It seems that the root cause is incorrect handling of bigger history in
readline, but Python should not segfault even if readline returns
unexpected value.

This issue affects only GNU readline. When using libedit emulation
system history size option does not work.

This is a backport of the actual fix from master without the test, since
the test depends on new run_pty() helper which is not available in 2.7.</content>
</entry>
<entry>
<title>Issue #19884: Avoid spurious output on OS X with Gnu Readline</title>
<updated>2016-08-27T02:54:43Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-08-27T02:54:43Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=eac40fdf723bb9af0026305c8ae6cd285fe38c50'/>
<id>urn:sha1:eac40fdf723bb9af0026305c8ae6cd285fe38c50</id>
<content type='text'>
Also adjust the test condition, because enable-meta-key was only added in
6.1, not 6.0.
</content>
</entry>
<entry>
<title>Issue #25523: Correct "a" article to "an" article</title>
<updated>2015-11-02T03:37:02Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2015-11-02T03:37:02Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=b362f75f6e5d8fe21d0cda740f9dcdf1976091f7'/>
<id>urn:sha1:b362f75f6e5d8fe21d0cda740f9dcdf1976091f7</id>
<content type='text'>
This changes the main documentation, doc strings, source code comments, and a
couple error messages in the test suite. In some cases the word was removed
to fix the grammar.
</content>
</entry>
<entry>
<title>Issue #22463: Correct #endif placement; patch by Senthil Kumaran</title>
<updated>2016-06-22T02:04:38Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-06-22T02:04:38Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=29241242598e7d88c2225c2bc79f13d95b25da50'/>
<id>urn:sha1:29241242598e7d88c2225c2bc79f13d95b25da50</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #22463: Backport compiler warning fixes and workarounds</title>
<updated>2016-06-21T23:58:05Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-06-21T23:58:05Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=646b528467b171148143980452d2aa4294cbe5c8'/>
<id>urn:sha1:646b528467b171148143980452d2aa4294cbe5c8</id>
<content type='text'>
* Set but unused variable in Parser/pgen.c in non-debug builds. Patch by
  Christian Heimes.
* Unused static function in Modules/readline.c. Patch by Georg Brandl.
* main_window unused in Modules/tkappinit.c. Patch by Gregory P. Smith.
* Dead assignment in Modules/_ctypes/cfield.c. Extracted from patch by Brett
  Cannon.
* Expression result unused in PyObject_INIT macro expansions. Based on
  patches by Christian Heimes.
* Load expat_config.h and therefore pyconfig.h before C stdlib headers are
  loaded. This silences pre-processor warnings including '_POSIX_C_SOURCE
  redefined'. Extracted from patch by Christian Heimes.
</content>
</entry>
<entry>
<title>Issue #27171: Fix typos in documentation, code comments, and tests</title>
<updated>2016-06-02T10:35:44Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-06-02T10:35:44Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=8d496add74530767cad3aa8b5b371b9a7f0b8498'/>
<id>urn:sha1:8d496add74530767cad3aa8b5b371b9a7f0b8498</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Issue #6953: Rearrange and expand Readline module documentation</title>
<updated>2016-04-05T07:37:22Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-04-05T07:37:22Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=aad86a6015f8d4e1e4faea07e1400152f5843443'/>
<id>urn:sha1:aad86a6015f8d4e1e4faea07e1400152f5843443</id>
<content type='text'>
* Group functions into six new subsections
* Document the underlying Readline function or variable accessed
* get_history_length() returns the history file limit
* clear_history() is conditionally compiled in
* Clarify zero and one bases for history item indexes
* parse_and_bind() uses its argument directly as an init line
* Change "command line" to "line buffer" for consistency
* read_init_file() also executes the file
* read_history_file() replaces the previous history
* write_history_file() overwrites any existing file
* Differentiate history file lines from history list items, which could be
  multi-line
* Add more information about completion, also addressing Issue #10796
* libedit (Editline) may be used on any platform; detection is OS X specific
</content>
</entry>
<entry>
<title>Issue #23735: Avoid sighandler_t Gnu-ism</title>
<updated>2016-04-03T08:00:49Z</updated>
<author>
<name>Martin Panter</name>
<email>vadmium+py@gmail.com</email>
</author>
<published>2016-04-03T08:00:49Z</published>
<link rel='alternate' type='text/html' href='http://dangofactory.net/cgit/cgit.cgi/Server/python.git/commit/?id=ed06e8fa50c0428a57dd4e75f9a05962db68a43e'/>
<id>urn:sha1:ed06e8fa50c0428a57dd4e75f9a05962db68a43e</id>
<content type='text'>
</content>
</entry>
</feed>
