John T. Wodder II

Results 121 comments of John T. Wodder II

@yarikoptic I can see two ways to deal with this: 1. (recommended) Don't depend on newer `typing_extensions` versions at runtime, but do make use of them when type-checking (as `typing_extensions`...

@perlun I have not reported it to GitHub, and I am not aware of any such reports, but given that GitHub does this in several places, I'd suspect it's intentional...

@yarikoptic * If you're referring to https://github.com/con/fscacher/pull/67 and related work, that made no use of `os.walk()`. * I know nothing about the performance aspects of `Path.walk()`.

I am currently able to get both cargo-llvm-cov and grcov to recognize coverage of crate binaries tested with `assert_cmd` (though it doesn't work for extra-crate binaries built via [`test-binary`](https://crates.io/crates/test-binary) that...

@epage I think the main problem here is less that "`assert(&Path)` doesn't work" and more that "The docs say it works but it doesn't." If you don't want to support...

I don't know why it's happening, and when I build the docs locally, they show up fine.

For the record, [ALE](https://github.com/dense-analysis/ale) (a Vim LSP plugin) detects Python project roots as described here: https://github.com/dense-analysis/ale/blob/32ee7039d0ee7afcc134756cfac78678cffc7017/doc/ale-python.txt#L37-L69

> Do you have any good resources I could read about python project structures? Not really. In a perfect world, this would all be documented at https://packaging.python.org, but that site...

`cargo metadata` has a `--filter-platform ` option for only showing dependencies for a given triple, so one way to implement this would be run the command for each triple and...

I've just discovered the [`krates`](https://github.com/EmbarkStudios/krates) crate, which provides functionality for determining all dependencies of a package filtered by [kind](https://docs.rs/krates/latest/krates/struct.Builder.html#method.ignore_kind) and/or [target](https://docs.rs/krates/latest/krates/struct.Builder.html#method.include_targets), among other things.