Visitar URL original
more hostenv impl by youknowone · Pull Request #7604 · 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
Remove orphaned _name_wide assignment in WindowsConsoleIO open
  • Loading branch information
youknowone committed May 16, 2026
commit ae108b4f2e195bfaa168eaecacc708f655b4a23c
2 changes: 0 additions & 2 deletions crates/vm/src/stdlib/_io.rs
Original file line number Diff line number Diff line change
Expand Up @@ -6023,8 +6023,6 @@ mod winconsoleio {

fd = host_nt::open_console_path_fd(wide.as_ptr(), writable)
.map_err(|err| err.to_pyexception(vm))?;

_name_wide = Some(wide);
} else {
// When opened by fd, never close the fd (user owns it)
zelf.closefd.store(false);
Expand Down
Loading