You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
fix(corekit): ListField, PayloadField and SchemaField have no default name #1491
Widening scope. The #1493 worker found the same gap in two more fields, and I measured it on 00d232890:
Field
Field().name
PayloadField (pcapkit/corekit/fields/misc.py:223)
AttributeError: ... no attribute '_name'
SchemaField (misc.py:621)
AttributeError: ... no attribute '_name'
SwitchField, ForwardMatchField
fine; they delegate to the wrapped field
Each of the four has its default name commented out (misc.py:310, :459, :655, :828). #1493 will add the default to PayloadField and SchemaField too, using the same FieldBase idiom (field.py:348-349).
changed the title [-]fix(corekit): ListField().name raises AttributeError[/-][+]fix(corekit): ListField, PayloadField and SchemaField have no default name[/+]on Oct 9, 2026
Activity
JarryShaw commentedon Oct 9, 2026
Widening scope. The #1493 worker found the same gap in two more fields, and I measured it on
00d232890:Field().namePayloadField(pcapkit/corekit/fields/misc.py:223)AttributeError: ... no attribute '_name'SchemaField(misc.py:621)AttributeError: ... no attribute '_name'SwitchField,ForwardMatchFieldEach of the four has its default name commented out (
misc.py:310,:459,:655,:828). #1493 will add the default toPayloadFieldandSchemaFieldtoo, using the sameFieldBaseidiom (field.py:348-349).[-]fix(corekit): ListField().name raises AttributeError[/-][+]fix(corekit): ListField, PayloadField and SchemaField have no default name[/+]fix(corekit): give unnamed ListField, PayloadField and SchemaField a …
fix(corekit): give unnamed ListField, PayloadField and SchemaField a …