Visitar URL original
General code nits by ShaharNaveh · Pull Request #8107 · RustPython/RustPython · GitHub
Skip to content
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
fix release compile
  • Loading branch information
ShaharNaveh committed Jun 15, 2026
commit 2075c16ebf76840cc0efa734f62306c99ea3cbe4
2 changes: 2 additions & 0 deletions crates/vm/src/class.rs
Original file line number Diff line number Diff line change
Expand Up @@ -153,6 +153,8 @@ pub trait PyClassImpl: PyClassDef {
where
Self: Sized,
{
// NOTE: `is_created_with_flags` if only available when debug_assertions is true
#[cfg(debug_assertions)]
debug_assert!(class.slots.flags.is_created_with_flags());

let _ = ctx.intern_str(Self::NAME); // intern type name
Expand Down
Loading