cpython/Modules/clinic
Soumendra Ganguly ae224bb566
bpo-41818: Add termios.tcgetwinsize(), termios.tcsetwinsize(). (GH-23686)
* Add termios.tcgetwinsize(), termios.tcsetwinsize(). Update docs.
* Add TIOCGSIZE support to termios.tcgetwinsize()
* Add TIOCSSIZE support to termios.tcsetwinsize()

Authored-by: Soumendra Ganguly <soumendraganguly@gmail.com>

* termios.tcgetwinsize() and termios.tcsetwinsize() should return/accept two-item tuples instead of lists.
* Refactor tcsetwinsize to share common code and accept any two item sequence, with overflow checking.

Co-authored-by: Gregory P. Smith <greg@krypto.org> [Google]
2021-08-26 19:56:26 -07:00
..
_abc.c.h
_asynciomodule.c.h bpo-39529: Deprecate creating new event loop in asyncio.get_event_loop() (GH-23554) 2021-04-25 13:40:44 +03:00
_bisectmodule.c.h Update bisect docstrings (GH-26548) 2021-06-06 11:22:48 -07:00
_bz2module.c.h bpo-41052: Fix pickling heap types implemented in C with protocols 0 and 1 (GH-22870) 2020-10-24 21:14:23 +03:00
_codecsmodule.c.h bpo-41919, test_codecs: Move codecs.register calls to setUp() (GH-22513) 2020-10-16 10:34:15 +02:00
_collectionsmodule.c.h
_contextvarsmodule.c.h
_cryptmodule.c.h
_curses_panel.c.h bpo-1635741 port _curses_panel to multi-phase init (PEP 489) (GH-21986) 2020-09-07 17:14:25 +02:00
_cursesmodule.c.h bpo-43084: Return bool instead of int from curses.window.enclose() (GH-24398) 2021-04-05 16:50:24 +03:00
_datetimemodule.c.h
_dbmmodule.c.h Do not use Py_ssize_clean_t (GH-25940) 2021-05-08 10:17:37 +09:00
_elementtree.c.h
_gdbmmodule.c.h Do not use Py_ssize_clean_t (GH-25940) 2021-05-08 10:17:37 +09:00
_hashopenssl.c.h bpo-43669: PEP 644: Require OpenSSL 1.1.1 or newer (GH-23014) 2021-04-17 11:36:35 +02:00
_heapqmodule.c.h
_localemodule.c.h bpo-42208: Add _locale._get_locale_encoding() (GH-23052) 2020-10-31 01:32:11 +01:00
_lsprof.c.h bpo-1635741: Port _lsprof extension to multi-phase init (PEP 489) (GH-22220) 2020-09-23 12:33:21 +02:00
_lzmamodule.c.h bpo-41052: Fix pickling heap types implemented in C with protocols 0 and 1 (GH-22870) 2020-10-24 21:14:23 +03:00
_opcode.c.h bpo-44725 : expose specialization stats in python (GH-27192) 2021-07-29 17:26:53 +01:00
_operator.c.h bpo-44558: Match countOf is/== treatment to c (GH-27007) 2021-07-07 22:28:09 +09:00
_pickle.c.h
_queuemodule.c.h bpo-40077: Convert _queuemodule to use heap types (GH-23136) 2020-11-07 11:18:37 -08:00
_randommodule.c.h bpo-41052: Fix pickling heap types implemented in C with protocols 0 and 1 (GH-22870) 2020-10-24 21:14:23 +03:00
_sre.c.h bpo-1635741: Convert _sre types to heap types and establish module state (PEP 384) (GH-23393) 2020-11-20 21:36:23 +09:00
_ssl.c.h bpo-42854: Correctly use size_t for _ssl._SSLSocket.read and _ssl._SSLSocket.write (GH-27271) 2021-07-23 16:05:53 +01:00
_statisticsmodule.c.h
_struct.c.h bpo-1635741: Port _struct to multiphase initialization (GH-23398) 2020-11-19 22:36:23 +09:00
_testmultiphase.c.h Add _PyType_GetModuleByDef (GH-22835) 2020-11-03 22:27:12 +01:00
_tkinter.c.h
_tracemalloc.c.h
_typingmodule.c.h bpo-44353: Implement typing.NewType __call__ method in C (#27262) 2021-07-22 23:06:54 +02:00
_weakref.c.h
_winapi.c.h bpo-44582: Accelerate mimetypes.init on Windows with a native accelerator (GH-27059) 2021-07-08 16:48:42 +01:00
arraymodule.c.h bpo-31956: Add start and stop parameters to array.index() (GH-25059) 2021-04-03 00:28:35 +09:00
audioop.c.h
binascii.c.h bpo-43086: Add handling for out-of-spec data in a2b_base64 (GH-24402) 2021-07-18 17:45:19 -07:00
cmathmodule.c.h
fcntlmodule.c.h bpo-41985: Add _PyLong_FileDescriptor_Converter and AC converter for "fildes". (GH-22620) 2020-10-09 23:00:45 +03:00
gcmodule.c.h
grpmodule.c.h
itertoolsmodule.c.h bpo-38200: Add itertools.pairwise() (GH-23549) 2020-11-30 20:42:54 -08:00
mathmodule.c.h
md5module.c.h bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) 2020-09-06 12:09:51 +02:00
overlapped.c.h bpo-20179: Convert the _overlapped module to the Argument Clinic (GH-14275) 2020-07-10 20:43:37 +03:00
posixmodule.c.h bpo-43538: Add extra arguments to os.startfile (GH-25538) 2021-04-23 18:03:17 +01:00
pwdmodule.c.h
pyexpat.c.h bpo-1635741: Port pyexpat to multi-phase init (PEP 489) (GH-22222) 2021-01-04 15:34:26 +01:00
readline.c.h bpo-43172: readline now passes its tests when built against libedit (GH-24499) 2021-02-12 12:04:46 -08:00
resource.c.h
selectmodule.c.h bpo-1635741: Port select module to multiphase init (GH-23409) 2020-11-21 20:29:26 +01:00
sha1module.c.h bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) 2020-09-06 12:09:51 +02:00
sha256module.c.h bpo-1635741: Convert _sha256 types to heap types (GH-22134) 2020-09-08 11:16:14 +02:00
sha512module.c.h bpo-1635741: Port _sha1, _sha512, _md5 to multiphase init (GH-21818) 2020-09-06 12:09:51 +02:00
signalmodule.c.h bpo-41146: Convert signal.default_int_handler() to Argument Clinic (GH-21197) 2020-07-12 19:15:20 +03:00
spwdmodule.c.h
symtablemodule.c.h
termios.c.h bpo-41818: Add termios.tcgetwinsize(), termios.tcsetwinsize(). (GH-23686) 2021-08-26 19:56:26 -07:00
unicodedata.c.h Do not use Py_ssize_clean_t (GH-25940) 2021-05-08 10:17:37 +09:00
zlibmodule.c.h bpo-1635741 port zlib module to multi-phase init (GH-21995) 2020-09-07 10:27:55 +02:00