cpython/Doc/howto
Bénédikt Tran 30dde1eeb3
gh-133579: consistently report C curses function failures (#134327)
Some curses module-level functions and window methods now raise
a `curses.error` when a call to a C curses function fails:

- Module-level functions: assume_default_colors, baudrate, cbreak,
  echo, longname, initscr, nl, raw, termattrs, termname, and unctrl.
- Window methods: addch, addnstr, addstr, border, box, chgat,
  getbkgd, inch, insstr, and insnstr.

In addition, `curses.window.refresh` and `curses.window.noutrefresh`
now raise a `TypeError` instead of a `curses.error` when called with an
incorrect number of arguments for pads.

See also ee36db5500 for similar
changes.
2025-05-27 10:15:16 +00:00
..
annotations.rst gh-134370: Added clarification on instance annotations (#134387) 2025-05-22 06:46:29 -07:00
argparse-optparse.rst gh-126180: Remove getopt and optparse deprecation notices (GH-126227) 2024-12-23 14:17:19 +10:00
argparse.rst gh-126180: Remove getopt and optparse deprecation notices (GH-126227) 2024-12-23 14:17:19 +10:00
clinic.rst GH-107518: Remove the Argument Clinic How-To (#109900) 2023-10-11 14:57:51 +02:00
cporting.rst gh-91838: Use HTTPS links in docs for resources which redirect to HTTPS (GH-95527) 2022-08-04 10:13:49 +03:00
curses.rst gh-133579: consistently report C curses function failures (#134327) 2025-05-27 10:15:16 +00:00
descriptor.rst gh-101100: Fix sphinx warnings in howto/* (#127084) 2024-11-26 10:17:54 +02:00
enum.rst gh-101100: Fix sphinx warnings in howto/* (#127084) 2024-11-26 10:17:54 +02:00
free-threading-extensions.rst gh-134595: Update HOWTO to reflect change in CIBW option (#134598) 2025-05-24 10:15:00 +03:00
free-threading-python.rst Docs: fix link in free-threading-python.rst (#134548) 2025-05-22 20:37:20 -04:00
functional.rst Fix example in Doc/howto/functional.rst (#133978) 2025-05-18 21:56:17 +05:30
gdb_helpers.rst [Docs] GDB howto: Fix block type of a cast example (#127621) 2024-12-05 22:52:58 +02:00
index.rst gh-131591: Add remote debugging attachment protocol documentation (#132638) 2025-04-21 20:18:24 +00:00
instrumentation.rst gh-123492: Remove unnecessary :func: parentheses (#123493) 2024-08-30 14:34:09 +03:00
ipaddress.rst
isolating-extensions.rst Add notes on nogil & reinitialization to the Opt-Out section in Module Isolation HOWTO (GH-134141) 2025-05-22 09:36:37 +02:00
logging-cookbook.rst Python 3.14.0b1 2025-05-06 18:33:52 +03:00
logging.rst docs(logging): fix phrasing from "operation on" to "operate on" (#127543) 2024-12-03 12:22:12 +05:30
logging_flow.png gh-121035: Update PNG image for logging flow diagram. (GH-121323) 2024-07-03 12:33:28 +01:00
logging_flow.svg gh-121035: Further improve logging flow diagram with respect to dark/light modes. (GH-121265) 2024-07-02 18:57:34 +01:00
mro.rst Docs: fix typo in Doc/howto/mro.rst (GH-129095) 2025-01-21 10:22:13 +01:00
perf_profiling.rst gh-130861: Add clarification to the perf docs on optimization levels (#131098) 2025-04-18 14:42:20 +01:00
pyporting.rst gh-119779: Fix pyporting howto docs (#119785) 2024-05-30 18:51:22 +03:00
regex.rst gh-133306: Support \z as a synonym for \Z in regular expressions (GH-133314) 2025-05-03 07:54:33 +00:00
remote_debugging.rst Docs: fix a couple typos in Doc/ (GH-132927) 2025-04-27 15:56:58 -07:00
sockets.rst gh-75898: make use of thread more explicit in the "Socket Programming HOWTO" document (#125023) 2024-10-08 17:43:37 +05:30
sorting.rst Sorting techniques edits (#124701) 2024-09-27 17:19:44 -07:00
timerfd.rst Fix typo in Doc/howto/timerfd.rst (GH-118376) 2024-04-29 14:01:03 +03:00
unicode.rst gh-101100: Fix some broken sphinx references (#107095) 2023-07-23 03:23:44 -06:00
urllib2.rst gh-118671: Updated dead ActiveState links (#118730) 2024-05-08 01:06:38 -06:00