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

Add a timestamp_hook argument #45

Open
jwodder opened this issue Dec 1, 2024 · 0 comments
Open

Add a timestamp_hook argument #45

jwodder opened this issue Dec 1, 2024 · 0 comments
Labels
enhancement New feature or request therefor format:simple

Comments

@jwodder
Copy link
Owner

jwodder commented Dec 1, 2024

Give load() and loads() a timestamp_hook argument for specifying a callable to pass the file's timestamp (if any) to

  • The timestamp is passed as an unparsed string with leading # and trailing newline (and other whitespace?) removed
@jwodder jwodder added enhancement New feature or request therefor format:simple labels Dec 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request therefor format:simple
Projects
None yet
Development

No branches or pull requests

1 participant