-
Notifications
You must be signed in to change notification settings - Fork 727
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: Delgan/loguru
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 0.7.1
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: Delgan/loguru
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 0.7.2
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 14 commits
- 71 files changed
- 4 contributors
Commits on Sep 8, 2023
-
Configuration menu - View commit details
-
Copy full SHA for c5f2ac1 - Browse repository at this point
Copy the full SHA c5f2ac1View commit details -
Add unit tests to validate exception formatting of new Python syntax
These tests ensure that there are no unexpected errors during syntax highlighting and local variable collection. However, this also shows that the implementation can be improved. Some new keywords (such as "match") are not recognized. The addition of "--force-exclude" is necessary to prevent "black" formatter from failing (despite "fmt: off") due to a parsing error (caused by "--target-version py35" when the file contains a new syntax).
Configuration menu - View commit details
-
Copy full SHA for a91c1cc - Browse repository at this point
Copy the full SHA a91c1ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9da27db - Browse repository at this point
Copy the full SHA 9da27dbView commit details -
Bump pre-commit from 3.3.1 to 3.4.0 (#979)
Bumps [pre-commit](https://github.com/pre-commit/pre-commit) from 3.3.1 to 3.4.0. - [Release notes](https://github.com/pre-commit/pre-commit/releases) - [Changelog](https://github.com/pre-commit/pre-commit/blob/main/CHANGELOG.md) - [Commits](pre-commit/pre-commit@v3.3.1...v3.4.0) --- updated-dependencies: - dependency-name: pre-commit dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for 91351df - Browse repository at this point
Copy the full SHA 91351dfView commit details
Commits on Sep 9, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 0f9cdeb - Browse repository at this point
Copy the full SHA 0f9cdebView commit details -
Configuration menu - View commit details
-
Copy full SHA for db6c40b - Browse repository at this point
Copy the full SHA db6c40bView commit details
Commits on Sep 11, 2023
-
Fix possible truncated source while colorizing traceback in Python 3.12
In particular, a "\" at the end of a line (indicating line continuation) would have been lost. This is because prior to Python 3.12, the tokenizer would emit "ERRORTOKEN" (as the continuation of the line is not part of the traceback) but it would be colorized anyway. With Python 3.12, a "TokenError" is raised instead, which cause the token iteration to end prematurely. Because of a typo in the code, the final part of the source (usually empty, except if it couldn't be tokenized) wasn't added to the output string.
Configuration menu - View commit details
-
Copy full SHA for 22bccb7 - Browse repository at this point
Copy the full SHA 22bccb7View commit details -
Fix f-string formatting in traceback of Python 3.12
In Python 3.12, new tokens were added to "tokenize" module in order to differentiate simple strings and f-string. Additionally, the expressions inside the f-string are properly parsed as well. The unit tests have been updated consequently.
Configuration menu - View commit details
-
Copy full SHA for f1e94ab - Browse repository at this point
Copy the full SHA f1e94abView commit details -
Fix deprecation of "datetime.utcfromoffset()"
Although it's not recommended, we still use a naive datetime for UTC time (to calculate the local offset). I'm sure there's a more elegant solution, but as this is code for old, untestable platforms, I'd rather not radically change the implementation.
Configuration menu - View commit details
-
Copy full SHA for 37a2db2 - Browse repository at this point
Copy the full SHA 37a2db2View commit details -
Configuration menu - View commit details
-
Copy full SHA for b28978e - Browse repository at this point
Copy the full SHA b28978eView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3086159 - Browse repository at this point
Copy the full SHA 3086159View commit details -
Configuration menu - View commit details
-
Copy full SHA for 14fa062 - Browse repository at this point
Copy the full SHA 14fa062View commit details -
Fix error using "set_start_method()" after "logger" import (#974)
Calling "multiprocessing.get_context(method=None)" had the unexpected side effect of also fixing the global start method (which can't be changed afterwards).
Configuration menu - View commit details
-
Copy full SHA for 086126f - Browse repository at this point
Copy the full SHA 086126fView commit details -
Configuration menu - View commit details
-
Copy full SHA for e1f48c9 - Browse repository at this point
Copy the full SHA e1f48c9View commit details
There are no files selected for viewing