mirror of
https://github.com/morluto/rea.git
synced 2026-11-19 13:12:26 +00:00
refactor(python): report pyc parser limits from LimitRef (#12213)
This commit is contained in:
1 parent
954a2511b7
commit
84551888ec
7 files changed
+182
-118
No files matched your search
+7
-1
@@ -147,7 +147,13 @@ and a null dictionary value ends the dict without that entry.
|
||||
|
||||
The selected file is limited to 16 MiB by default (64 MiB maximum). Marshal
|
||||
object count, nesting depth, and per-string size are bounded; exceeding a
|
||||
budget fails without partial success. Decode-limit failures are deterministic:
|
||||
budget fails without partial success. Parser refusals name the exhausted
|
||||
allowance and its effective bound in `details.reported_limits.boundary` and
|
||||
`details.reported_limits.maximum`. A derived budget reports its own name and
|
||||
maximum. For example, `nested_code_steps` reports the product of
|
||||
`max_objects` and `max_depth`, and recovery names both caller controls.
|
||||
|
||||
Decode-limit failures are deterministic:
|
||||
the recovery action names the selected field and CLI option, its effective
|
||||
value, and its accepted maximum. Raise that field on the next call when the
|
||||
maximum permits it; waiting for another analysis or increasing host memory does
|
||||
|
||||
Reference in new issue
Block a user