Welcome to Software Development on Codidact!
Will you help us build our independent community of developers helping developers? We're small and trying to grow. We welcome questions about all aspects of software development, from design to code to QA and more. Got questions? Got answers? Got code you'd like someone to review? Please join us.
Activity for wizzwizz4
| Type | On... | Excerpt | Status | Date |
|---|---|---|---|---|
| Edit | Post #295840 |
Post edited: Fixed syntax error. |
— | 5 months ago |
| Suggested Edit | Post #295840 |
Suggested edit: Fixed syntax error. (more) |
helpful | 5 months ago |
| Edit | Post #295479 | Initial revision | — | 7 months ago |
| Answer | — |
A: how to disable Python pdb's `Quitting pdb will kill the process. Quit anyway [y/n]?` prompt This behaviour is new in Python 3.14. It is defined in the `pdb.Pdb.doquit` method, with the following comment: > Show prompt to kill process when in 'inline' mode and if pdb was not started from an interactive console. The attribute sys.ps1 is only defined if the interpreter is in interactive... (more) |
— | 7 months ago |
| Edit | Post #278072 | Post edited | — | almost 6 years ago |
| Comment | Post #278072 |
Why does it need to be `Sized`? (more) |
— | almost 6 years ago |
| Suggested Edit | Post #278072 |
Suggested edit: Copied TIO code into answer. (more) |
helpful | almost 6 years ago |
| Edit | Post #277411 | Initial revision | — | about 6 years ago |
| Question | — |
How can I define a method on [&mut T] where T: MyTrait? I'm trying to make a trait method callable on mutable slices of a type implementing that trait (see `main`). Rust doesn't like me for it. ```rust use core::convert::AsMut; trait A { type B; fn f(m: &mut [Self], b: Self::B); } impl]>> M { fn f(&mut self, b: B) { ... (more) |
— | about 6 years ago |
