Bug #21652
closedMarshal#dump documentation out-of-date/unclear regarding Data class
Description
With the introduction of the Data class in Ruby 3.2, the Marshal#dump documentation is confusing since it claims that "Marshal can’t dump ... an instance of ... Data". It is even cross-linked to the new Data class. However, and thankfully, Marshal#dump does not have any issues serializing instances of Data or objects of the defined Data types. This message predates the introduction of the Data class, and likely refers to wrapped C data (T_DATA), instead.
Updated by nobu (Nobuyoshi Nakada) about 1 month ago
- Backport changed from 3.2: UNKNOWN, 3.3: UNKNOWN, 3.4: UNKNOWN to 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED
Updated by nobu (Nobuyoshi Nakada) about 1 month ago
- Status changed from Open to Closed
Applied in changeset git|d17ce4bd05dc05d48f5f4bc75171fcebda1678ed.
[Bug #21652] [DOC] Update unmarshalable object list
The Data mentioned here was the old T_DATA class, not the current
extended Struct.
Updated by alanwu (Alan Wu) 21 days ago
- Backport changed from 3.2: REQUIRED, 3.3: REQUIRED, 3.4: REQUIRED to 3.2: REQUIRED, 3.3: REQUIRED, 3.4: DONE
Updated by nagachika (Tomoyuki Chikanaga) about 6 hours ago
- Backport changed from 3.2: REQUIRED, 3.3: REQUIRED, 3.4: DONE to 3.2: REQUIRED, 3.3: DONE, 3.4: DONE
ruby_3_3 278b731ab92608e75d882036a71eb5825631ef69 merged revision(s) d17ce4bd05dc05d48f5f4bc75171fcebda1678ed.