From: "matz (Yukihiro Matsumoto)" Date: 2022-12-01T08:25:31+00:00 Subject: [ruby-core:111118] [Ruby master Bug#19150] pack/unpack silently ignores unknown directives Issue #19150 has been updated by matz (Yukihiro Matsumoto). For 3.2 unknown directives always warn; for 3.3 they raise exceptions. Matz. ---------------------------------------- Bug #19150: pack/unpack silently ignores unknown directives https://bugs.ruby-lang.org/issues/19150#change-100392 * Author: Eregon (Benoit Daloze) * Status: Open * Priority: Normal * Backport: 2.7: UNKNOWN, 3.0: UNKNOWN, 3.1: UNKNOWN ---------------------------------------- But I believe it should be an error instead. Typically when a parser sees a syntax error it should fail not continue silently. For instance `[1].pack('