|
Meta tags:
description=Add bytearray.resize() which wraps PyByteArray_Resize.
Make negative size passed to resize exception/error rather than crash in optimized builds.
Issue: gh-129559
📚 Documentation preview 📚: htt????/cpython-previews--129560.org.readthedocs.build/;
Headings (most frequently used words):
uh, oh, navigation, gh, 129559, add, bytearray, resize, 129560, footer, diff, view, menu, repository, there, are, no, files, selected, for, viewing, filter, by, extension,
Text of the page (most frequently used words):
self (52), #bytearray (47), #resize (47), file (46), 2025 (28), cmaloney (27), feb (25), the (22), this (21), line (21), hidden (18), characters (18), unicode (18), assertraises (18), github (17), size (17), that (16), show (16), expand (16), and (16), diff (15), assertequal (15), open (14), applied (12), code (12), add (12), changes (12), number (12), bidirectional (12), rst (12), len (11), reload (10), bytes (10), review (10), for (10), suggestions (9), while (9), comments (9), all (9), learn (9), about (9), view (9), abc (9), def (9), more (8), objects (8), down (8), buffererror (8), doc (8), you (7), suggestion (7), cannot (7), change (7), error (7), loading (7), desktop (7), delete (7), edit (7), clinic (7), bytearrayobject (7), additions (7), null (7), text (7), may (7), than (7), what (7), library (7), 129559 (7), fix (7), sign (7), can (6), please (6), there (6), files (6), set (6), original (6), contains (6), interpreted (6), compiled (6), differently (6), appears (6), below (6), editor (6), reveals (6), next (6), test (6), assertisnone (6), api (6), security (5), from (5), was (5), page (5), new (5), return (5), py_ssize_t (5), buffer (5), requested_size (5), issue (5), crashes (5), lib (5), grow (5), shrink (5), stdtypes (5), commits (5), your (5), pull (4), are (4), start_size (4), pyobject (4), assert (4), class (4), deletions (4), memoryerror (4), valueerror (4), orig (4), range (4), test_bytes (4), with (4), will (4), apply (4), whitespace (4), nbsp (4), update (4), support (4), copilot (4), not (3), docs (3), community (3), navigation (3), check (3), request (3), resolved (3), must (3), batch (3), commit (3), retry (3), generated (3), load (3), deletion (3), input (3), result (3), pybytearray_resize (3), misc (3), news (3), hqceaz (3), object (3), test_capi (3), test_bytearray (3), beyond (3), exception (3), versionchanged (3), hide (3), filter (3), 129560 (3), merged (3), python (3), account (3), quality (3), another (3), tab (3), window (3), refresh (3), session (3), developers (3), changelog (3), customer (3), enterprise (3), grade (3), features (3), build (3), contact (2), status (2), privacy (2), terms (2), footer (2), now (2), merge (2), marked (2), single (2), only (2), one (2), per (2), viewing (2), toggle (2), static (2), conversation (2), int (2), output (2), pybytearrayobject (2), internal (2), 184 (2), place (2), method (2), 1000 (2), py_ssize_t_max (2), 200 (2), 151 (2), test_resize (2), manual_resize (2), test_resize_forbidden (2), val (2), sys (2), maxsize (2), typeerror (2), abcdef (2), abcdefghij (2), hello (2), world (2), 1359 (2), x00 (2), equivalent (2), needs (2), 2841 (2), selected (2), split (2), unified (2), failed (2), jump (2), extension (2), main (2), into (2), resize_pr (2), doctest (2), select (2), tree (2), insights (2), projects (2), actions (2), repository (2), cpython (2), signed (2), universe (2), training (2), integrations (2), stories (2), center (2), documentation (2), business (2), fixes (2), products (2), secret (2), perform, action, time, share, personal, information, manage, cookies, 2026, inc, right, back, later, queued, multi, pending, reviews, has, been, outdated, existing, order, create, valid, applying, deleted, lines, supported, subset, closed, invalid, because, were, made, annotations, notes, oops, something, went, wrong, some, rendered, default, how, customized, appear, bytearray_rindex_methoddef, bytearray_rfind_methoddef, bytearray_reverse_methoddef, bytearray_resize_methoddef, bytearray_removesuffix_methoddef, bytearray_removeprefix_methoddef, bytearray_replace_methoddef, 2361, 2391, pymethoddef, bytearray_methods, translate, py_return_none, memset, pybytearray_as_string, comment, thread, pybytearray_get_size, end, f73524922990b2d9, 75fd4d17c4aa47d3, bytearray_resize_impl, start, 1388, 1393, bytearray_removesuffix_impl, py_buffer, suffix, py_size, positive, sizes, got, pyerr_format, pyexc_valueerror, logical_offset, alloc, pybytearray_check, resized, meth, efficiently, pop, other, operations, implying, memoryview, before, raising, furthermore, destructive, wouldn, reallocate, underlying, 1715, 1753, setitem_as_mapping, test_setitem, arguments, bytearraysubclass, subclass, defghij, values, cleared, findall, length, contrasts, strings, where, integer, since, sequences, integers, akin, list, versionadded, examples, else, del, those, truncated, greater, equal, contain, between, hex, optional, sep, bytes_per_sep, parameters, insert, separators, macros, negative, being, returned, failure, function, direct, functions, conversations, clear, filters, viewed, types, branch, 43e46dd, 8df7b02, bf00f33, 2f6b0a3, 298d052, indentation, a49374b, tweaks, ddc7b09, use, cf89ec1, tweak, fixup, 1a0e157, 336299a, ec4aa3d, always, 69bbdc1, dd46a85, byte, tests, include, c183116, grammar, 7429cf4, fine, d8b9faf, requested, facc91f, warnings, df779e2, 18829a2, remove, case, longer, d199032, d15ef67, argument, formatting, 29c04ad, note, around, behavior, 925fcbd, e240327, hold, shift, click, changed, checks, gpshead, already, clicking, agree, our, occasionally, send, related, emails, statement, service, free, its, maintainers, have, question, project, items, requests, issues, message, dismiss, alert, switched, accounts, out, appearance, settings, search, pricing, event, talks, workshops, partners, company, forum, events, webinars, blog, resource, connect, resources, premium, advanced, ons, trust, why, evaluate, see, industries, government, manufacturing, financial, services, healthcare, industry, nonprofits, startups, team, enterprises, stage, businesses, source, latest, improvements, across, developer, articles, sponsors, trending, repos, explore, customize, certifications, scanning, leak, prevention, protection, vulnerability, detection, remediation, secure, cloud, development, environments, codespaces, analysis, enforcement, automation, ship, coding, agent, tasks, automated, work, hosting, collaboration, platform, menu, skip, content,
|