◐ Shell
clean mode source ↗

RustPython version to 3.14 by youknowone · Pull Request #6718 · RustPython/RustPython

🧩 Analysis chain

🏁 Script executed:

fd -e rs marshal | head -20

Repository: RustPython/RustPython

Length of output: 132


🏁 Script executed:

cat -n crates/compiler-core/src/marshal.rs | head -50

Repository: RustPython/RustPython

Length of output: 1727


🏁 Script executed:

cat -n crates/compiler-core/src/marshal.rs | sed -n '190,220p'

Repository: RustPython/RustPython

Length of output: 1461


🏁 Script executed:

cat -n crates/compiler-core/src/marshal.rs | sed -n '650,675p'

Repository: RustPython/RustPython

Length of output: 1226


🏁 Script executed:

rg "FORMAT_VERSION" crates/compiler-core/src/marshal.rs -B 2 -A 2

Repository: RustPython/RustPython

Length of output: 145


🏁 Script executed:

rg "CodeFlags" crates/compiler-core/src/marshal.rs -B 2 -A 2 | head -60

Repository: RustPython/RustPython

Length of output: 246


🏁 Script executed:

rg "struct CodeFlags|enum CodeFlags|type CodeFlags" crates/compiler-core/src/ -B 2 -A 5

Repository: RustPython/RustPython

Length of output: 619


🏁 Script executed:

rg "bitflags!" crates/compiler-core/src/marshal.rs -B 2 -A 10

Repository: RustPython/RustPython

Length of output: 47


🏁 Script executed:

rg -l "CodeFlags" crates/compiler-core/src/ | head -10

Repository: RustPython/RustPython

Length of output: 137


🏁 Script executed:

git log --oneline crates/compiler-core/src/bytecode.rs | head -20

Repository: RustPython/RustPython

Length of output: 115


🏁 Script executed:

git log --oneline crates/compiler-core/src/marshal.rs | head -20

Repository: RustPython/RustPython

Length of output: 115


🏁 Script executed:

git log -p --all -- crates/compiler-core/src/bytecode.rs | grep -A 10 -B 10 "CodeFlags:" | head -50

Repository: RustPython/RustPython

Length of output: 47


🏁 Script executed:

git log -p --all -- crates/compiler-core/src/marshal.rs | grep -A 5 -B 5 "FORMAT_VERSION" | head -60

Repository: RustPython/RustPython

Length of output: 47


🏁 Script executed:

cat -n crates/compiler-core/src/bytecode.rs | grep -A 20 "bitflags!"

Repository: RustPython/RustPython

Length of output: 811


🏁 Script executed:

fd -i changelog -o -i "CHANGELOG" -o -i "release" | head -5

Repository: RustPython/RustPython

Length of output: 181


🏁 Script executed:

git log --all --oneline | wc -l

Repository: RustPython/RustPython

Length of output: 66


🏁 Script executed:

git show f0edec00e --stat | head -20

Repository: RustPython/RustPython

Length of output: 1141


🏁 Script executed:

rg "cache|Cache" crates/compiler-core/src/marshal.rs -i

Repository: RustPython/RustPython

Length of output: 47


🏁 Script executed:

rg "compat|Compat|backwards|backward" crates/compiler-core/src/marshal.rs -i

Repository: RustPython/RustPython

Length of output: 47


🏁 Script executed:

git log --all --oneline -- "*/marshal.rs" | head -30

Repository: RustPython/RustPython

Length of output: 167


🏁 Script executed:

git show HEAD:crates/compiler-core/src/bytecode.rs | grep -A 15 "bitflags!"

Repository: RustPython/RustPython

Length of output: 580


🏁 Script executed:

git show 380fa39eb --stat | grep -E "(marshal|bytecode)"

Repository: RustPython/RustPython

Length of output: 654


🏁 Script executed:

git show 380fa39eb -- crates/compiler-core/src/bytecode.rs | grep -A 20 -B 5 "CodeFlags"

Repository: RustPython/RustPython

Length of output: 2802


🏁 Script executed:

git show 380fa39eb -- crates/compiler-core/src/marshal.rs | head -100

Repository: RustPython/RustPython

Length of output: 2675


🏁 Script executed:

git log --all --oneline --follow -- "crates/compiler-core/src/bytecode.rs" | head -20

Repository: RustPython/RustPython

Length of output: 167


🏁 Script executed:

git show 380fa39eb:crates/compiler-core/src/bytecode.rs | grep -A 10 "pub struct CodeFlags"

Repository: RustPython/RustPython

Length of output: 332


🏁 Script executed:

git diff 380fa39eb HEAD -- crates/compiler-core/src/bytecode.rs | grep -A 10 -B 10 "CodeFlags"

Repository: RustPython/RustPython

Length of output: 885


🏁 Script executed:

git log --all --oneline --follow -- "crates/compiler-core/src/bytecode.rs" | grep -v "Auto-format"

Repository: RustPython/RustPython

Length of output: 116


🏁 Script executed:

git log --all --reverse --oneline | head -20

Repository: RustPython/RustPython

Length of output: 167


🏁 Script executed:

git show HEAD:crates/compiler-core/src/bytecode.rs | grep "pub const FORMAT_VERSION"

Repository: RustPython/RustPython

Length of output: 47


🏁 Script executed:

git show 380fa39eb:crates/compiler-core/src/bytecode.rs | grep "pub const FORMAT_VERSION"

Repository: RustPython/RustPython

Length of output: 47


🏁 Script executed:

git log --all --oneline -p -- crates/compiler-core/src/bytecode.rs crates/compiler-core/src/marshal.rs | grep -A 2 -B 2 "FORMAT_VERSION" | head -30

Repository: RustPython/RustPython

Length of output: 239


🏁 Script executed:

git show 380fa39eb:crates/compiler-core/src/marshal.rs | sed -n '200,210p'

Repository: RustPython/RustPython

Length of output: 382


🏁 Script executed:

git show 380fa39eb:crates/compiler-core/src/bytecode.rs | grep -A 8 "pub struct CodeFlags"

Repository: RustPython/RustPython

Length of output: 308


🏁 Script executed:

rg "FORMAT_VERSION" crates/ -B 2 -A 2

Repository: RustPython/RustPython

Length of output: 581


🏁 Script executed:

git show 380fa39eb:crates/compiler-core/src/marshal.rs | sed -n '660,670p'

Repository: RustPython/RustPython

Length of output: 356


🏁 Script executed:

rg "read_u16|write_u16" crates/compiler-core/src/marshal.rs

Repository: RustPython/RustPython

Length of output: 146


🏁 Script executed:

rg "test_marshal|test.*code.*object" --type rust | head -20

Repository: RustPython/RustPython

Length of output: 47


🏁 Script executed:

rg "pub fn dump|pub fn load" crates/compiler-core/src/marshal.rs

Repository: RustPython/RustPython

Length of output: 47


Bump FORMAT_VERSION: CodeFlags wire format changed from u16 to u32.

CodeFlags was widened from u16 to u32 between commits, but FORMAT_VERSION remains at 4. This creates a backward compatibility issue: any pre-existing serialized code objects will misalign on deserialization. Increment FORMAT_VERSION to invalidate stale cached data.