Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Miscellany #114

Merged
merged 8 commits into from
Feb 2, 2025
Merged

Miscellany #114

merged 8 commits into from
Feb 2, 2025

Conversation

Kodiologist
Copy link
Member

No description provided.

The implicit `do` has no function. It just makes it look like the bindings are locally scoped to the implicit `do`, when in fact, they aren't.

The name `defgensyms` would be more consistent with `defn` and `defmacro`, but I felt it had a little too much clustering of letters.
It seems too trivial for code that you wouldn't use often. It's never been tested, I suspect it's unused, and `pycallgraph` is abandoned (the last release was in 2013).
Python (since 3.8) has allowed using an instance of `cProfile.Profile` as a context manager, which is basically the same thing as `profile/cpu`, minus all the undocumented and seemingly unmotivated stats stuff. Also, `profile/cpu` was never tested.
The previous example with a function's local variable has an unobservable effect.
@Kodiologist Kodiologist merged commit 1c95ebc into hylang:master Feb 2, 2025
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant