On this page
multiprocessing.BufferTooShort
Prev: multiprocessing.BoundedSemaphore | Up: multiprocessing | Next: multiprocessing.Condition
Rel: multiprocessing.active_children, multiprocessing.allow_connection_pickling, multiprocessing.Array, multiprocessing.AuthenticationError
Ref: docs.python.org โ multiprocessing.BufferTooShort
Tags: #public #python3 #stdlib #multiprocessing
Import
import multiprocessing
from multiprocessing import BufferTooShort
Signature & Overview
multiprocessing.BufferTooShort(...)
multiprocessing.BufferTooShort class.
Methods & Attributes
BufferTooShort.add_note(self, note, /)โ Add a note to the exceptionBufferTooShort.with_traceback(self, tb, /)โ Set self.traceback to tb and return self.
Usage
import multiprocessing as mp
assert issubclass(mp.BufferTooShort, mp.ProcessError)
Gotchas
- Raised by
Connection.recv_bytes_into(buf)when the incoming message is larger thanbuf.
REPL Inspect
from multiprocessing import BufferTooShort
help(BufferTooShort)
Linked from
Related notes
- tuts/python3/stdlib_module/multiprocessing/BoundedSemaphore Linked here; links to this page; shared tags: #multiprocessing, #stdlib
- tuts/python3/stdlib_module/multiprocessing/Condition Linked here; links to this page; shared tags: #multiprocessing, #stdlib
- tuts/python3/stdlib_module/multiprocessing Linked here; links to this page; shared tags: #stdlib
- tuts/python3/stdlib_module/multiprocessing/active_children Linked here; shared tags: #multiprocessing, #stdlib
- tuts/python3/stdlib_module/multiprocessing/allow_connection_pickling Linked here; shared tags: #multiprocessing, #stdlib
- tuts/python3/stdlib_module/multiprocessing/Array Linked here; shared tags: #multiprocessing, #stdlib
- tuts/python3/stdlib_module/multiprocessing/AuthenticationError Linked here; shared tags: #multiprocessing, #stdlib
- tuts/python3/stdlib_module/multiprocessing/Barrier shared tags: #multiprocessing, #stdlib
- tuts/python3/stdlib_module/multiprocessing/cpu_count shared tags: #multiprocessing, #stdlib
- tuts/python3/stdlib_module/multiprocessing/current_process shared tags: #multiprocessing, #stdlib