Anne Archibald
Anne Archibald
A brute-force approach to the problem would be to write a little program that watches files that are to be kept in sync and responds to changes in them by...
If it's syntactically nicer, one can use the `dict` constructor in `evolve_recursive`: ```python evolve_recursive(foo, bar=dict(a="a2"), baz=dict(c="c2")) ``` In fact one could define a class Evolve that just wrapped its arguments,...
Just a note: there are (at least) two possible workflows one might want to support here: 1. Only a .py file ever exists, but the user can/must open it through...
> Thanks for considering this! > > Quick question re #1, I see that the [interactive script mode](https://github.com/mwouts/notebooks_in_vscode_and_pycharm_jan_2020/blob/master/README.md#interactive-scripts-in-visual-studio-code) (also on [TDS](https://towardsdatascience.com/jupyter-notebooks-in-the-ide-visual-studio-code-versus-pycharm-5e72218eb3e8), search for _interactive scripts_ in that page), which has...
I'm not sure whether this is the same issue, but the dynamic dependency approach fails when albumentations is installed using the package manager `poetry`, which attempts to construct a complete...
I have to admit this bug was principally uncovered by using `hypothesis`. It is very good at turning up evil test cases I would never have thought of. And it...
Aha! That is indeed what I was trying to do. I think the magic input here is the nearly undocumented `unstructure_as` argument. Dropping it results in the set unstructuring seeing...
I think the following achieves what I was aiming for: ```python def unstructure_set(val: set) -> list: vals = list(val) try: return [c.unstructure(v) for v in sorted(vals)] except TypeError as e:...
There might be other new syntax worth addressing: - [ ] 3.11 `except *` - [ ] 3.11 Variadic generics - [ ] 3.8 Walrus operator (if there's interest in...
Shouldn't condition 4 above be "the package is not listed as a dependency and is also not the package being examined"? It is never correct to list a package as...