ErrLookup › python/cpython
python/cpython
The Python programming language · Python · 2,160 source files
Analyzed at bc6749cc3b on 2026-08-14. 425 documented errors.
| Code / Message | Type | Severity | Tags |
|---|---|---|---|
| Failed to fetch glossary.json | exception | error | asyncio, windows, transport, race-condition, subprocess |
| d3-flame-graph library failed to load | exception | error | asyncio, sendfile, windows, concurrency, transport |
| Not implemented | exception | error | asyncio, udp, typeerror, encoding, windows |
| Unimplemented ioctl request | exception | error | asyncio, udp, validation, datagram |
| {htmldir!r} is not a Sphinx HTML output directory | validation | error | asyncio, event-loop, lifecycle, windows |
| Must run this script from the repo root | exception | warning | asyncio, socket, debug-mode, non-blocking |
| Wrong field count in {line!r} | validation | error | asyncio, queue, consumer, bookkeeping |
| Unknown thread safety level {level!r} for {name!r}. Valid le | validation | error | asyncio, typeerror, coroutine, runner |
| Object type mismatch in limited API annotation for {name}: { | validation | error | asyncio, lifecycle, runner, state |
| {name} is not part of stable ABI. Document it as `c:macro::` | exception | error | asyncio, event-loop, nested-loop, entrypoint |
| deprecated-removed:: second argument cannot be `next` | validation | error | asyncio, event-loop, lifecycle, selector |
| profiling_trace: Placeholder pattern not found in {js_path.n | exception | error | asyncio, file-descriptor, validation, selector |
| BUILD_GNU_TYPE is not defined | validation | error | asyncio, file-descriptor, transport, duplicate-registration |
| AIX_BUILDDATE is not defined or invalid: {build_date!r} | validation | warning | asyncio, socket, debug-mode, non-blocking |
| write() argument must be str, not {type(s).__name__} | validation | warning | asyncio, socket, debug-mode, non-blocking, buffer |
| write() argument must be bytes-like, not {type(b).__name__} | validation | warning | asyncio, udp, socket, debug-mode |
| write() argument must be str, not {type(s).__name__} | validation | warning | asyncio, udp, socket, debug-mode, buffer |
| write() argument must be bytes-like, not {type(b).__name__} | validation | warning | asyncio, socket, debug-mode, send |
| Node can't be used without a value attribute. | validation | warning | asyncio, socket, server, debug-mode, accept |
| Node can't use cause without an exception. | validation | error | ast, codegen, ast-unparse, developer-error |
| Unexpected node inside JoinedStr, {node!r} | exception | error | ast, f-string, codegen, ast-unparse |
| coroutine ignored GeneratorExit | exception | error | asyncio, coroutine, generator-exit, collections-abc |
| asynchronous generator ignored GeneratorExit | exception | error | asyncio, async-generator, generator-exit, collections-abc |
| generator ignored GeneratorExit | exception | error | generator, generator-exit, collections-abc, iterator-protocol |
| Callable must be used as Callable[[arg, ...], result]. | exception | error | typing, collections-abc, type-hints, developer-error |
| Expected a list of types, an ellipsis, ParamSpec, or Concate | exception | error | typing, collections-abc, type-hints, developer-error |
| module 'collections.abc' has no attribute {attr!r} | exception | error | collections-abc, attributeerror, deprecation, developer-error |
| Expected Theme object, found {t} | exception | error | colorize, cpython-internals, terminal, developer-error |
| ObjC runtime library couldn't be loaded | exception | error | ios, ctypes, platform, import-error |
| _markupbase.ParserBase must be subclassed | exception | error | markup, html-parser, cpython-internals, developer-error |
| unsupported '[' char in %s declaration | exception | error | markup, html-parser, dtd, parsing |
| unexpected '[' char in declaration | exception | error | markup, html-parser, parsing, malformed-html |
| unexpected %r char in declaration | exception | error | markup, html-parser, parsing, malformed-html |
| unknown status keyword %r in marked section | exception | error | markup, html-parser, marked-section, parsing |
| unexpected char in internal subset (in %r) | exception | error | markup, html-parser, dtd, doctype, parsing |
| unknown declaration %r in internal subset | exception | error | markup, html-parser, dtd, doctype, parsing |
| unexpected char after internal subset | exception | error | markup, html-parser, doctype, parsing |
| unexpected char %r in internal subset | exception | error | markup, html-parser, doctype, parsing |
| expected name token at %r | exception | error | markup, html-parser, parsing, malformed-html |
| Cannot locate working compiler | exception | error | macos, compiler, build, xcode, clang, environment |
| Don't know machine value for archs=%r | exception | error | macos, architecture, build, archflags, environment |
| Can only register classes | exception | error | abc, typing, subclass, runtime |
| Refusing to create an inheritance cycle | exception | error | abc, inheritance, cycle, subclass |
| issubclass() arg 1 must be a class | exception | error | abc, issubclass, typing, runtime |
| warnings.showwarning() must be set to a function or method | exception | error | warnings, hook, configuration |
| invalid action: {action!r} | exception | error | warnings, validation, filters, configuration |
| message must be a string | exception | error | warnings, validation, regex, filters |
| category must be a Warning subclass | exception | error | warnings, validation, category, filters |
| module must be a string | exception | error | warnings, validation, regex, filters |
| lineno must be an int | exception | error | warnings, validation, lineno, filters |
| lineno must be an int >= 0 | exception | error | warnings, validation, lineno, filters |
| category must be a Warning subclass, not '{type(category).__ | exception | error | warnings, validation, category |
| category must be a Warning subclass, not class '{category.__ | exception | error | warnings, validation, category, exceptions |
| skip_file_prefixes must be a tuple of strs. | exception | error | warnings, validation, tuple, stacklevel |
| Unrecognized action (%r) in warnings.filters: %s | exception | error | warnings, filters, internal-api, configuration |
| Cannot enter %r twice | exception | error | warnings, context-manager, state, testing |
| Cannot exit %r without entering first | exception | error | warnings, context-manager, runtimeerror, stdlib |
| Expected an object of type str for 'message', not {type(mess | exception | error | warnings, deprecated, typeerror, decorator, stdlib |
| {cls.__name__}() takes no arguments | exception | error | warnings, deprecated, typeerror, constructor, stdlib |
| @deprecated decorator with non-None category must be applied | exception | error | warnings, deprecated, typeerror, decorator, stdlib |
| {name!r} was slated for removal after Python {remove_formatt | exception | critical | warnings, deprecated, runtimeerror, cpython-internal, stdlib |
| Unknown timespec value | exception | error | datetime, isoformat, timespec, valueerror, stdlib |
| Invalid ISO string | exception | error | datetime, isoformat, fromisoformat, iso-week, valueerror, stdlib |
| Invalid isoformat string | exception | error | datetime, fromisoformat, isoformat, valueerror, stdlib |
| Inconsistent use of dash separator | exception | error | datetime, fromisoformat, iso-week, separator, valueerror, stdlib |
| Incomplete time component | exception | error | datetime, fromisoformat, time-parsing, valueerror, stdlib |
| Invalid time separator: %c | exception | error | datetime, fromisoformat, time-parsing, separator, valueerror, stdlib |
| Invalid microsecond separator | exception | error | datetime, fromisoformat, fraction, separator, valueerror, stdlib |
| Non-digit values in fraction | exception | error | datetime, fromisoformat, fraction, valueerror, stdlib |
| Isoformat time too short | exception | error | datetime, fromisoformat, time-parsing, valueerror, stdlib |
| Malformed time zone string | exception | error | datetime, fromisoformat, timezone, valueerror, stdlib |
| year must be in {MINYEAR}..{MAXYEAR}, not {year} | exception | error | datetime, isocalendar, fromisocalendar, valueerror, stdlib |
| Invalid week: {week} | exception | error | datetime, isocalendar, fromisocalendar, iso-week, valueerror, stdlib |
| Invalid weekday: {day} (range is [1, 7]) | exception | error | datetime, isocalendar, fromisocalendar, weekday, valueerror, stdlib |
| tzinfo.tzname() must return None or string, not {type(name). | exception | error | datetime, tzinfo, typeerror, timezone |
| tzinfo.{name}() must return None or timedelta, not {type(off | exception | error | datetime, tzinfo, typeerror, timezone |
| offset must be a timedelta strictly between -timedelta(hours | exception | error | datetime, tzinfo, valueerror, timezone |
| month must be in 1..12, not {month} | exception | error | datetime, valueerror, validation, date |
| day {day} must be in range 1..{dim} for month {month} in yea | exception | error | datetime, valueerror, validation, date, leap-year |
| hour must be in 0..23, not {hour} | exception | error | datetime, valueerror, validation, time |
| minute must be in 0..59, not {minute} | exception | error | datetime, valueerror, validation, time |
| second must be in 0..59, not {second} | exception | error | datetime, valueerror, validation, time, leap-second |
| microsecond must be in 0..999999, not {microsecond} | exception | error | datetime, valueerror, validation, time, nanoseconds |
| fold must be either 0 or 1, not {fold} | exception | error | datetime, valueerror, validation, dst, pep-495 |
| tzinfo argument must be None or of a tzinfo subclass, not {t | exception | error | datetime, typeerror, tzinfo, timezone |
| unsupported type for timedelta {name} component: {type(value | exception | error | datetime, typeerror, timedelta, config |
| timedelta # of days is too large: %d | exception | error | datetime, overflowerror, timedelta, arithmetic |
| Failed to encode latin1 string when unpickling a date object | exception | error | datetime, valueerror, pickle, serialization |
| 'NoneType' object cannot be interpreted as an integer | exception | error | datetime, typeerror, timestamp, null-handling |
| Argument must be a str | exception | error | datetime, typeerror, iso-8601, parsing |
| Argument must be an ASCII str | exception | error | datetime, valueerror, iso-8601, unicode, parsing |
| Invalid isoformat string: {date_string!r} | exception | error | datetime, valueerror, iso-8601, parsing |
| must be str, not %s | exception | error | datetime, typeerror, formatting, bytes |
| result out of range | exception | error | datetime, overflowerror, date-arithmetic, range |
| tzinfo subclass must override tzname() | exception | error | datetime, timezone, notimplementederror, subclassing |
| tzinfo subclass must override utcoffset() | exception | error | datetime, timezone, notimplementederror, utc-offset |
| tzinfo subclass must override dst() | exception | error | datetime, timezone, notimplementederror, dst |
| fromutc() requires a datetime argument | exception | error | datetime, timezone, typeerror, fromutc |
| dt.tzinfo is not self | exception | error | datetime, timezone, valueerror, fromutc |
| fromutc() requires a non-None utcoffset() result | exception | error | datetime, timezone, valueerror, fromutc, utc-offset |
| fromutc() requires a non-None dst() result | exception | error | datetime, timezone, valueerror, fromutc, dst |
| fromutc(): dt.dst gave inconsistent results; cannot convert | exception | error | datetime, timezone, valueerror, fromutc, dst, consistency |
| Failed to encode latin1 string when unpickling a time object | exception | error | datetime, pickle, valueerror, python2-migration, encoding |
| cannot compare naive and aware times | exception | error | datetime, time, typeerror, naive-vs-aware, comparison |
| fromisoformat: argument must be str | exception | error | datetime, time, typeerror, fromisoformat, bytes |
| Invalid isoformat string: {time_string!r} | exception | error | datetime, time, valueerror, fromisoformat, parsing |
| Minute, second, and microsecond must be 0 when hour is 24 | exception | error | datetime, time, fromisoformat, valueerror, duration |
| bad tzinfo state arg | exception | error | datetime, time, pickle, typeerror, tzinfo-state |
| Failed to encode latin1 string when unpickling a datetime ob | exception | error | datetime, pickle, valueerror, python2-migration, encoding |
| date argument must be a date instance | exception | error | datetime, combine, typeerror, parsing |
| time argument must be a time instance | exception | error | datetime, combine, typeerror, parsing |
| minute, second, and microsecond must be 0 when hour is 24 | exception | error | python, datetime, value-error, iso8601, parsing |
| tz argument must be an instance of tzinfo | exception | error | python, datetime, timezone, type-error |
| cannot compare naive and aware datetimes | exception | error | python, datetime, timezone, type-error, comparison |
| cannot mix naive and timezone-aware time | exception | error | python, datetime, timezone, type-error, arithmetic |
| offset must be a timedelta | exception | error | python, datetime, timezone, type-error |
| name must be a string | exception | error | python, datetime, timezone, type-error |
| type 'datetime.timezone' is not an acceptable base type | exception | error | python, datetime, timezone, type-error, inheritance |
| utcoffset() argument must be a datetime instance or None | exception | error | python, datetime, timezone, type-error, api-protocol |
| tzname() argument must be a datetime instance or None | exception | error | python, datetime, timezone, type-error, api-protocol |
| dst() argument must be a datetime instance or None | exception | error | python, datetime, timezone, type-error, api-protocol |
| fromutc: dt.tzinfo is not self | exception | error | python, datetime, timezone, value-error, utc |
| fromutc() argument must be a datetime instance or None | exception | error | python, datetime, timezone, type-error, utc |
| '{key}' is an invalid keyword argument for this function | exception | error | python, decimal, type-error, configuration |
| argument must be a multiple of 32, with a maximum of {IEEE_C | exception | error | decimal, ieee754, context, validation, valueerror |
| Invalid tuple size in creation of Decimal from list or tuple | exception | error | decimal, constructor, tuple, validation, valueerror |
| Invalid sign. The first value in the tuple should be an int | exception | error | decimal, constructor, tuple, sign, validation, valueerror |
| The second value in the tuple must be composed of integers i | exception | error | decimal, constructor, tuple, digits, validation, valueerror |
| The third value in the tuple must be an integer, or one of t | exception | error | decimal, constructor, tuple, exponent, special-values, valueerror |
| Cannot convert %r to Decimal | exception | error | decimal, constructor, typeerror, type-conversion |
| Cannot hash a signaling NaN value. | exception | error | decimal, hash, snan, nan, typeerror, set |
| cannot convert NaN to integer ratio | exception | error | decimal, as-integer-ratio, nan, fraction, valueerror |
| cannot convert Infinity to integer ratio | exception | error | decimal, as-integer-ratio, infinity, overflow, fraction |
| Cannot convert signaling NaN to float | exception | error | decimal, float-conversion, snan, nan, valueerror |
| Cannot convert NaN to integer | exception | error | decimal, int-conversion, nan, truncation, valueerror |
| Cannot convert infinity to integer | exception | error | decimal, int-conversion, infinity, overflow, overflowerror |
| Second argument to round should be integral | exception | error | decimal, rounding, round, typeerror, quantize |
| cannot round a NaN | exception | error | decimal, rounding, round, nan, valueerror |
| cannot round an infinity | exception | error | decimal, rounding, round, infinity, overflowerror |
| invalid file: %r | exception | error | io, file, open, typeerror, path |
| invalid mode: %r | exception | error | io, open, mode, typeerror |
| invalid buffering: %r | exception | error | io, open, buffering, typeerror |
| invalid encoding: %r | exception | error | io, open, encoding, typeerror, text-io |
| invalid errors: %r | exception | error | io, open, errors, encoding, typeerror, text-io |
| can't have text and binary mode at once | exception | error | io, open, mode, valueerror, text-io, binary-io |
| can't have read/write/append mode at once | exception | error | io, open, mode, valueerror |
| must have exactly one of read/write/append mode | exception | error | io, open, mode, valueerror |
| binary mode doesn't take an encoding argument | exception | error | io, open, encoding, binary-io, valueerror |
| binary mode doesn't take an errors argument | exception | error | io, open, errors, binary-io, valueerror |
| binary mode doesn't take a newline argument | exception | error | io, open, newline, binary-io, valueerror, csv |
| invalid buffering size | exception | error | io, open, buffering, valueerror, defensive |
| can't have unbuffered text I/O | exception | error | io, open, buffering, text-io, valueerror |
| unknown mode: %r | exception | error | io, open, mode, valueerror, defensive |
| %s.%s() not supported | exception | error | io, stream, unsupported-operation, oserror, subclassing |
| File or stream is not seekable. | exception | error | io, stream, seek, pipe, stdin, unsupported-operation |
| File or stream is not readable. | exception | error | io, stream, read, mode, unsupported-operation |
| File or stream is not writable. | exception | error | io, stream, write, mode, unsupported-operation |
| I/O operation on closed file. | exception | error | io, file, lifecycle, valueerror |
| {size!r} is not an integer | exception | error | io, typeerror, readline, argument-validation |
| readinto returned {n} outside buffer size {len(b)} | exception | error | io, readinto, custom-stream, invariant, valueerror |
| seek() returned an invalid position | exception | error | io, seek, custom-stream, invariant, oserror |
| tell() returned an invalid position | exception | error | io, tell, custom-stream, invariant, oserror |
| flush on closed file | exception | error | io, flush, lifecycle, valueerror |
| raw stream already detached | exception | error | io, detach, lifecycle, valueerror |
| cannot pickle {self.__class__.__name__!r} object | exception | error | io, pickle, serialization, typeerror, multiprocessing |
| __getstate__ on closed file | exception | error | io, bytesio, pickle, lifecycle, valueerror |
| getvalue on closed file | exception | error | io, bytesio, getvalue, lifecycle, valueerror |
| getbuffer on closed file | exception | error | io, bytesio, getbuffer, memoryview, lifecycle, valueerror |
| read from closed file | exception | error | io, bytesio, read, lifecycle, valueerror |
| can't write str to binary stream | exception | error | io, bytesio, write, typeerror, encoding |
| write to closed file | exception | error | io, bytesio, write, lifecycle, valueerror |
| seek on closed file | exception | error | io, bytesio, seek, lifecycle, valueerror |
| {pos!r} is not an integer | exception | error | io, bytesio, seek, typeerror, argument-validation |
| negative seek position %r | exception | error | io, bytesio, seek, whence, valueerror |
| unsupported whence value | exception | error | io, bytesio, seek, whence, valueerror |
| tell on closed file | exception | error | io, bytesio, tell, lifecycle, valueerror |
| peek on closed file | exception | error | python, io, bytesio, closed-file, valueerror |
| truncate on closed file | exception | error | python, io, bytesio, truncate, closed-file, valueerror |
| negative truncate position %r | exception | error | python, io, bytesio, truncate, valueerror, validation |
| "raw" argument must be readable. | exception | error | python, io, buffered-reader, oserror, constructor, pipe |
| invalid buffer size | exception | error | python, io, buffered-reader, valueerror, configuration, buffer-size |
| invalid number of bytes to read | exception | error | python, io, buffered-reader, valueerror, read, validation |
| invalid whence value | exception | error | python, io, buffered-reader, seek, valueerror, argument-order |
| "raw" argument must be writable. | exception | error | python, io, buffered-writer, oserror, constructor, pipe |
| {e.strerror} | exception | error | python, io, buffered-writer, blockingioerror, nonblocking, eagain, partial-write |
| self.raw should implement RawIOBase: it should not raise Blo | exception | error | python, io, buffered-writer, runtimeerror, rawiobase, custom-stream, protocol-violation |
EAGAIN write could not complete without blocking | exception | warning | python, io, buffered-writer, blockingioerror, eagain, nonblocking, backpressure |
| write() returned incorrect number of bytes | exception | error | python, io, buffered-writer, oserror, custom-stream, rawiobase, contract-violation |
| "reader" argument must be readable. | validation | error | python, io, buffered-io, constructor, oserror |
| "writer" argument must be writable. | validation | error | python, io, buffered-io, constructor, oserror |
| seek() returned invalid position | exception | error | python, io, seek, custom-file-object, oserror |
| integer argument expected, got float | validation | error | python, io, file-io, typeerror, file-descriptor |
| negative file descriptor | validation | error | python, io, file-io, file-descriptor, valueerror |
| invalid mode: %s | validation | error | python, io, file-io, mode, typeerror |
| Must have exactly one of create/read/write/append mode and a | validation | error | python, io, file-io, mode, valueerror |
| Cannot use closefd=False with file name | validation | error | python, io, file-io, closefd, valueerror |
| expected integer from opener | validation | error | python, io, file-io, opener, typeerror |
| opener returned {fd} | validation | error | python, io, file-io, opener, valueerror |
EISDIR Is a directory | exception | error | python, io, file-io, eisdir, isadirectoryerror |
| File not open for reading | exception | error | python, io, file-io, mode, unsupportedoperation |
| File not open for writing | exception | error | python, io, file-io, mode, unsupportedoperation |
| an integer is required | validation | error | python, io, file-io, seek, typeerror |
| cannot convert string of len {lenS} to int | validation | error | python, int, pylong, input-validation, valueerror |
| invalid literal for int() with base 10 | validation | error | python, int, parsing, valueerror, input-validation |
| division by zero | exception | error | python, arithmetic, zerodivision, stdlib, bignum |
| Windows 10 TH2 or later required | console | warning | python, repl, pyrepl, windows, platform, startup |
| \C must be followed by `-' (char %d of %s) | validation | error | python, pyrepl, keymap, parsing, repl |
| doubled \C- (char %d of %s) | validation | error | python, pyrepl, keymap, parsing, repl |
| \M must be followed by `-' (char %d of %s) | validation | error | python, pyrepl, keymap, parsing, repl |
| doubled \M- (char %d of %s) | validation | error | python, pyrepl, keymap, parsing, repl |
| unterminated \< starting at char %d of %s | validation | error | python, pyrepl, keymap, parsing, repl |
| unrecognised keyname `%s' at char %d of %s | validation | error | python, pyrepl, keymap, parsing, key-names |
| unknown backslash escape %s at char %d of %s | validation | error | python, pyrepl, keymap, parsing, escapes |
| \C- followed by invalid key | validation | error | python, pyrepl, keymap, ctrl-key, parsing |
| key definitions for %s clash | validation | error | python, pyrepl, keymap, prefix-conflict, trie |
ENOTTY tty required | console | warning | python, repl, pyrepl, tty, stdin, startup |
| embedded null character | validation | error | python, pyrepl, readline, history, null-byte |
| No history item at position %d | validation | error | python, pyrepl, readline, history, off-by-one |
| termios failure ({e.args[1]}) | console | error | python, pyrepl, termios, tty, unix, initialization |
| terminal doesn't have the required {cap} capability | console | error | python, pyrepl, terminfo, terminal, environment |
| insufficient terminal (horizontal) | console | error | python, pyrepl, terminfo, cursor-movement, terminal |
| insufficient terminal (vertical) | console | error | python, pyrepl, terminfo, cursor-movement, terminal |
| locale changed during initialization | validation | error | python, strptime, locale, threading, race-condition, stdlib |
| timezone changed during initialization | exception | error | strptime, timezone, race-condition, locale, cpython |
| Day of month directive '%d' may not be used without a year d | exception | error | strptime, datetime, format-string, cpython |
| strptime() argument {} must be str, not {} | exception | error | strptime, typeerror, bytes, type-check, cpython |
| stray %% in format '%s' | exception | error | strptime, format-string, escaping, cpython |
| '%s' is a bad directive in format '%s' | exception | error | strptime, format-string, directive, cpython |
| time data %r does not match format %r | exception | error | strptime, datetime, parsing, format-mismatch, cpython |
| Missing colon in %:z before '{rest}', got '{data_string}' | exception | error | strptime, timezone, utc-offset, format-string, cpython |
| unconverted data remains: %s | exception | error | strptime, datetime, parsing, trailing-data, cpython |
| Inconsistent use of : in {found_dict[group_key]} | exception | error | strptime, timezone, utc-offset, parsing, cpython |
| Day of the year directive '%j' is not compatible with ISO ye | exception | error | strptime, iso-week, datetime, format-string, cpython |
| ISO year directive '%G' must be used with the ISO week direc | exception | error | strptime, iso-week, datetime, format-string, cpython |
| ISO week directive '%V' must be used with the ISO year direc | exception | error | strptime, iso-week, datetime, format-string, cpython |
| ISO week directive '%V' is incompatible with the year direct | exception | error | strptime, iso-week, datetime, format-string, cpython |
| Initialization arguments are not supported | exception | error | threading, thread-local, typeerror, cpython |
| %r object attribute '__dict__' is read-only | exception | error | threading, thread-local, attributeerror, cpython |
| pop from empty WeakSet | exception | error | weakref, weakset, keyerror, garbage-collection, cpython |
| Forward reference must be a string -- got {arg!r} | exception | error | annotations, typing, forwardref, typeerror, cpython |
| Cannot subclass ForwardRef | exception | error | annotations, typing, forwardref, subclassing, cpython |
| name '{name:.200}' is not defined | exception | error | annotations, typing, forwardref, nameerror, name-resolution, cpython |
| Forward reference must be an expression -- got {arg!r} | exception | error | python, typing, forward-reference, annotations, syntax |
| Cannot stringify annotation containing string formatting | exception | error | python, annotations, pep649, stringification, f-string |
| The VALUE_WITH_FAKE_GLOBALS format is for internal use only | exception | error | python, annotations, pep649, api-misuse, format-enum |
| annotate function does not support VALUE format | exception | error | python, annotations, pep649, contract-violation, runtimeerror |
| Invalid format: {format!r} | exception | error | python, annotations, validation, format-enum |
| eval_str=True is only supported with format=Format.VALUE | exception | error | python, annotations, parameter-validation, get-annotations |
| Unsupported format {format!r} | exception | error | python, annotations, validation, format-enum |
| {obj!r} does not have annotations | exception | error | python, annotations, typeerror, introspection |
| {obj!r}.__annotate__ returned a non-dict | exception | error | python, annotations, pep649, contract-violation |
| {obj!r}.__annotations__ is neither a dict nor None | exception | error | python, annotations, typeerror, validation, introspection |
| invalid nargs value | exception | error | python, argparse, cli, nargs, validation |
| .__call__() not defined | exception | error | python, argparse, cli, subclassing, not-implemented |
| invalid option name {option_string!r} for BooleanOptionalAct | exception | error | python, argparse, cli, boolean-optional-action, option-naming |
| nargs for store actions must be != 0; if you have nothing to | exception | error | python, argparse, cli, nargs, parser-construction |
| nargs must be %r to supply const | exception | error | python, argparse, cli, nargs, const, parser-construction |
| unknown parser %(parser_name)r (choices: %(choices)s) | exception | error | python, argparse, cli, subcommands, user-input |
| can't open '%(filename)s': %(error)s | validation | error | python, argparse, cli, file-io, filetype, oserror |
| unrecognized arguments: %s | exception | error | python, argparse, cli, unknown-arguments, user-input |
| not allowed with argument %s | exception | error | argparse, cli, mutually-exclusive, argument-conflict |
| ambiguous option: %(option)s could match %(matches)s | exception | error | argparse, cli, abbreviation, ambiguous-option |
| ignored explicit argument %r | exception | error | argparse, cli, option-syntax, bundled-options |
| the following arguments are required: %s | exception | error | argparse, cli, required-argument, missing-argument |
| one of the arguments %s is required | exception | error | argparse, cli, mutually-exclusive, required-argument |
| expected %s argument | exception | error | argparse, cli, nargs, missing-value |
| invalid %(type)s value: %(value)r | exception | error | argparse, cli, type-conversion, invalid-value |
| invalid choice: %(value)r (choose from %(choices)s) | exception | error | argparse, cli, choices, validation |
| invalid choice: %(value)r, maybe you meant %(closest)r? (cho | exception | error | argparse, cli, choices, suggestions, difflib |
| module {__name__!r} has no attribute {name!r} | exception | error | argparse, attributeerror, getattr, deprecation |
| Unsupported major version: {major} | exception | error | ast, parsing, feature-version, valueerror |
| malformed node or string: {node!r} | exception | error | ast, literal-eval, deserialization, valueerror |
| expected AST, got %r | exception | error | ast, dump, typeerror, debugging |
| %r can't have docstrings | exception | error | ast, docstring, typeerror, introspection |
| module 'ast' has no attribute {attr!r} | exception | error | ast, deprecation, attributeerror, compatibility |
| reuse_port not supported by socket module | exception | error | asyncio, sockets, so-reuseport, platform-support |
| reuse_port not supported by socket module, SO_REUSEPORT defi | exception | error | asyncio, sockets, so-reuseport, kernel-support, containers |
| Socket cannot be of type SSLSocket | exception | error | asyncio, ssl, tls, sockets, typeerror |
| Connection closed by peer | exception | error | |
| server {self!r} is already being awaited on serve_forever() | exception | error | |
| server {self!r} is closed | exception | error | |
| task factory must be a callable or None | exception | error | |
| Event loop is closed | exception | error | |
| Executor shutdown has been called | exception | error | |
| This event loop is already running | exception | error | |
| Cannot run the event loop while another loop is running | exception | error | |
| Event loop stopped before Future completed. | exception | error | |
| Cannot close a running event loop | exception | error | |
| delay must not be None | exception | error | |
| when cannot be None | exception | error | |
| coroutines cannot be used with {method}() | exception | error | |
| a callable object was expected by {method}(), got {callback! | exception | error | |
| Non-thread-safe operation invoked on an event loop other tha | exception | error | |
| executor must be ThreadPoolExecutor instance | exception | error | |
| the socket must be non-blocking | exception | error | |
| file should be opened in binary mode | exception | error | |
| only SOCK_STREAM type sockets are supported | exception | error | |
| count must be a positive integer (got {!r}) | exception | error | |
| offset must be a non-negative integer (got {!r}) | exception | error | asyncio, sendfile, type-error, validation |
| no matching local address with {family=} found | exception | error | asyncio, network, ipv6, dual-stack, oserror |
| server_hostname is only meaningful with ssl | exception | error | asyncio, tls, ssl, validation, network |
| You must set server_hostname when using ssl without a host | exception | error | asyncio, tls, ssl, certificate-verification, validation |
| ssl_handshake_timeout is only meaningful with ssl | exception | error | asyncio, tls, ssl, timeout, validation |
| ssl_shutdown_timeout is only meaningful with ssl | exception | error | asyncio, tls, ssl, timeout, validation |
| host/port and sock can not be specified at the same time | exception | error | asyncio, network, sockets, validation |
| getaddrinfo() returned empty list | exception | error | asyncio, network, dns, oserror |
| create_connection failed | exception | error | asyncio, network, exception-group, python312, connection |
| Multiple exceptions: {} | exception | error | asyncio, network, oserror, multi-address, connection |
| host and port was not specified and no sock specified | exception | error | asyncio, network, validation, configuration |
| A Stream Socket was expected, got {sock!r} | exception | error | asyncio, sockets, validation, network |
| Transport is closing | exception | error | asyncio, sendfile, transport, shutdown, race-condition |
| sendfile is not supported for transport {transport!r} | exception | error | asyncio, sendfile, ssl, transport, unsupported-operation |
| Python ssl module is not available | exception | critical | asyncio, tls, ssl, environment, build |
| sslcontext is expected to be an instance of ssl.SSLContext, | exception | error | asyncio, tls, ssl, type-error, validation |
| transport {transport!r} is not supported by start_tls() | exception | error | asyncio, tls, transport, start-tls |
| A datagram socket was expected, got {sock!r} | exception | error | asyncio, udp, datagram, socket |
| socket modifier keyword arguments can not be used when sock | exception | error | asyncio, udp, datagram, api-misuse |
| unexpected address family | exception | error | asyncio, udp, datagram, address-family |
| string is expected | exception | error | asyncio, unix-socket, datagram, type-error |
| 2-tuple is expected | exception | error | asyncio, udp, datagram, type-error |
| can not get address information | exception | error | asyncio, udp, address-family, ipv6 |
| getaddrinfo({host!r}) returned empty list | exception | error | asyncio, server, dns, getaddrinfo |
| ssl argument must be an SSLContext or None | exception | error | asyncio, tls, server, api-misuse |
| Neither host/port nor sock were specified | exception | error | asyncio, server, configuration, api-misuse |
| no running event loop | exception | error | asyncio, event-loop, threading |
| There is no current event loop in thread %r. | exception | error | asyncio, event-loop, threading, python-3-10 |
| loop must be an instance of AbstractEventLoop or None, not ' | exception | error | asyncio, event-loop, typeerror |
| {self.__class__.__name__} object is already initialized | exception | error | asyncio, future, subclassing |
| Future object is not initialized. | exception | error | asyncio, future, initialization |
| await wasn't used with future | exception | error | asyncio, future, await, coroutine |
| A future is required for source argument | validation | error | asyncio, future, typeerror, wrap-future |
| A future is required for destination argument | validation | error | asyncio, future, typeerror, wrap-future |
| {future!r} object does not appear to be compatible with asyn | validation | warning | asyncio, future, debugging, typeerror |
| capture_call_graph() is called outside of a running event lo | exception | warning | asyncio, debugging, event-loop, introspection |
| Lock is not acquired. | exception | error | asyncio, lock, synchronization |
| cannot wait on un-acquired lock | exception | error | asyncio, condition-variable, synchronization |
| cannot notify on un-acquired lock | exception | error | asyncio, condition-variable, synchronization |
| Semaphore initial value must be >= 0 | validation | error | asyncio, semaphore, validation, configuration |
| BoundedSemaphore released too many times | validation | error | asyncio, semaphore, synchronization, resource-leak |
| parties must be >= 1 | validation | error | asyncio, barrier, validation, configuration |
| {self!r} is bound to a different event loop | exception | error | asyncio, event-loop, synchronization, lifetime |
| data argument must be a bytes-like object, not {type(data)._ | validation | error | asyncio, windows, proactor, typeerror, encoding |
| write_eof() already called | exception | error | |
| unable to write; sendfile is in progress | exception | error | |
| data argument must be bytes-like object (%r) | validation | error | |
| Invalid address: must be None or {self._address} | validation | error | |
| Cannot close a running event loop | exception | error | |
| the socket must be non-blocking | validation | error | |
| get_buffer() returned an empty buffer | exception | error | |
| task_done() called too many times | validation | error | |
| Runner.run() cannot be called from a running event loop | exception | error | |
| An asyncio.Future, a coroutine or an awaitable is required | validation | error | |
| Runner is closed | exception | error | |
| asyncio.run() cannot be called from a running event loop | exception | error | |
| Cannot close a running event loop | exception | error | |
| Invalid file object: {fd!r} | validation | error | |
| File descriptor {fd!r} is used by transport {transport!r} | exception | error | |
| the socket must be non-blocking | validation | error | |
| Connect call failed {address} | exception | error | asyncio, networking, tcp, connection-refused, oserror |
| data argument must be a bytes, bytearray, or memoryview obje | exception | error | asyncio, networking, typeerror, transport, serialization |
| Cannot call write() after write_eof() | exception | error | asyncio, networking, transport, eof, protocol-ordering |
| unable to write; sendfile is in progress | exception | error | asyncio, networking, sendfile, concurrency, transport |
| Cannot call writelines() after write_eof() | exception | error | asyncio, networking, transport, eof, writelines |
| unable to writelines; sendfile is in progress | exception | error | asyncio, networking, sendfile, writelines, concurrency |
| Empty waiter is already set | exception | error | asyncio, networking, sendfile, internal-api, concurrency |
| data argument must be a bytes-like object, not {type(data)._ | exception | error | asyncio, networking, udp, typeerror, datagram |
| Invalid address: must be None or {self._address} | exception | error | asyncio, networking, udp, datagram, connected-socket, valueerror |
| Server side SSL needs a valid SSLContext | exception | error | asyncio, ssl, tls, server, sslcontext, valueerror |
| high (%r) must be >= low (%r) must be >= 0 | exception | error | asyncio, ssl, flow-control, backpressure, configuration |
| data: expecting a bytes-like instance, got {type(data).__nam | exception | error | asyncio, ssl, typeerror, transport, tls |
| stdlib ssl module not available | exception | critical | asyncio, ssl, environment, build-issue, runtime-error |
| ssl_handshake_timeout should be a positive number, got {ssl_ | exception | error | asyncio, ssl, timeout, configuration, valueerror |
| ssl_shutdown_timeout should be a positive number, got {ssl_s | exception | error | asyncio, ssl, timeout, shutdown, configuration |
| Creating _SSLProtocolTransport twice | exception | error | asyncio, ssl, internal-api, lifecycle, start-tls |
| cannot switch state from {} to {} | exception | error | asyncio, ssl, state-machine, internal-api, lifecycle |
| staggered race failed | exception | error | asyncio, network, concurrency, exception-group |
| Connection lost | exception | error | asyncio, network, streams, connection-reset |
| Limit cannot be <= 0 | exception | error | asyncio, streams, validation, config |
| {func_name}() called while another coroutine is already wait | exception | error | asyncio, streams, concurrency, single-consumer |
| Separator should contain at least one element | exception | error | asyncio, streams, validation, readuntil |
| Separator should be at least one-byte string | exception | error | asyncio, streams, validation, readuntil |
| readexactly size can not be less than zero | exception | error | asyncio, streams, validation, protocol-parsing |
| Cannot send input after starting communication | exception | error | asyncio, subprocess, api-misuse, validation |
| TaskGroup {self!r} has already been entered | exception | error | asyncio, taskgroup, api-misuse, structured-concurrency |
| TaskGroup {self!r} cannot determine the parent task | exception | error | asyncio, taskgroup, event-loop, api-misuse |
| unhandled errors in a TaskGroup | exception | error | asyncio, taskgroup, exception-group, structured-concurrency |
| TaskGroup {self!r} has not been entered | exception | error | asyncio, taskgroup, api-misuse, structured-concurrency |
| TaskGroup {self!r} is finished | exception | error | asyncio, taskgroup, lifecycle, structured-concurrency |
| TaskGroup {self!r} is shutting down | exception | error | asyncio, taskgroup, shutdown, structured-concurrency |
| a coroutine was expected, got {coro!r} | exception | error | asyncio, tasks, type-error, api-misuse |
| Task does not support set_result operation | exception | error | asyncio, tasks, futures, api-misuse |
| Task does not support set_exception operation | exception | error | asyncio, tasks, futures, api-misuse |
| expect a list of futures, not {type(fs).__name__} | exception | error | asyncio, tasks, wait, type-error |
| Set of Tasks/Futures is empty. | exception | error | asyncio, tasks, wait, validation |
| Passing coroutines is forbidden, use tasks explicitly. | exception | error | asyncio, python, coroutine, tasks, concurrency |
| expects an iterable of awaitables, not {type(fs).__name__} | exception | error | asyncio, python, as-completed, argument-validation |
| posix_spawnattr_setbinpref failed to copy\n | console | critical | macos, cpython, posix-spawn, architecture, startup |
| detach_thread: failed detaching thread\n | console | warning | threading, cpython, pthreads, interpreter-shutdown |
| panic!\n | console | warning | socket, getaddrinfo, network, cpython-internals |
| %s | console | warning | startup, getpath, cpython, environment, pythonhome |
| cannot open '%s' for reading | console | error | cpython, build, freeze-module, file-not-found |
| cannot fstat '%s' | console | error | cpython, build, freeze-module, fstat, filesystem |
| could not allocate %ld bytes | console | error | cpython, build, freeze-module, out-of-memory |
| read too short: got %ld instead of %ld bytes | console | error | cpython, build, freeze-module, file-race, short-read |
| cannot open '%s' for writing | console | error | cpython, build, freeze-module, permissions, output-path |
| memory error: could not allocate varname | console | error | cpython, build, freeze-module, out-of-memory |
| error when writing to '%s' | console | error | cpython, build, freeze-module, disk-full, io-error |
| need to specify the name, input and output paths | console | error | cpython, build, freeze-module, usage, cli-args |
| lost sys.stderr\n | console | error | warnings, sys-stderr, interpreter-shutdown, embedding |
| Expected long option\n | console | error | cli, getopt, command-line, cpython, argument-parsing |
| Unknown option: %ls\n | console | error | cli, getopt, command-line, unknown-option, cpython |
| Argument expected for the %ls options\n | console | error | cli, command-line, getopt, cpython, startup |
| Unknown option: -%c\n | console | error | cli, command-line, getopt, cpython, typo |
| Argument expected for the -%c option\n | console | error | cli, command-line, getopt, cpython, arguments |
| --check-hash-based-pycs must be one of 'default', 'always', | validation | error | cli, cpython, pyc, validation, startup |
| Error setting LC_CTYPE, skipping C locale coercion\n | console | warning | locale, environment, cpython, startup, utf-8 |
| Python detected LC_CTYPE=C: LC_CTYPE coerced to %.20s (set a | console | info | locale, cpython, startup, environment, utf-8 |
| Warning: failed setting the LC_CTYPE environment variable to | console | warning | locale, environment, cpython, startup |
| Could not convert pre-site command to Unicode\n | console | error | cpython, startup, presite, memory, unicode |
| pre-site failed:\n | console | error | cpython, startup, presite, import, debugging |
| 'import warnings' failed; traceback:\n | console | error | cpython, startup, import, warnings, stdlib |
| PYTHONDUMPREFSFILE: cannot create file: %ls\n | console | warning | cpython, debug-build, trace-refs, file-io, leak-hunting |
| lost sys.stderr\n | console | error | cpython, stderr, unhandled-exception, epipe, display |
| Usage: seticon ICON TARGET | console | error | macos, build-tooling, cli, usage, cocoa |
| tracemalloc: | console | warning | cpython, tracemalloc, debug-build, memory, internal |