Georg Brandl
Georg Brandl
Because notebook likely only redirects the Python streams while Rust prints to the OS stdout. Not much we can do about it I think...
I don't know if anyone has written a Rust-log-to-Python-logging adapter yet. We could provide println! etc macros in pyo3 that goes to sys.stdout - what do others think about that?
There is PySys_WriteStdout and ...Stderr.
I like it a lot. I agree that the `()` -> `None` transform only should be made for function returns.
As you say, the argument parsing section refers to the "method arguments" chapter, but there, "A Python parameter can be specified as part of method signature, in this case the...
Can you overwrite methods from `pymethods` by reassigning them on the class? If yes, I don't see why class attrs are different.
> I agree it would be nice to restore this behaviour, but I think it's potentially hard - AFAIK we can't achieve it for the older Pythons without writing a...
(Can't say I have big projects using `num-bigint`, so I'm not qualified to push any way forward here.) That certainly looks nasty - makes you wish for binary operation traits...
@muttering-oldman note that you can always bypass the HAL by using e.g. `unsafe { *RTC::ptr() }`. This can be necessary in cases where the HAL doesn't expose the functionality you...
This is maybe somewhat inconsistently used, but the original intent was for `Name.Class` and `Name.Function` to be used only at the *definition* sites, and as a result the highlighting for...