-
-
Notifications
You must be signed in to change notification settings - Fork 733
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
use more py38 features #5635
Milestone
Comments
Consider pyupgrade as helper |
https://pypi.org/project/pyupgrade/
|
Closed
#6382 < pyupgrade run. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
master branch requires py39+ (soon, see #6315).
1.2-maint branch requires py38+.
1.1-maint will stay on py35+.
https://docs.python.org/3/whatsnew/3.6.html
especially:
secrets
module: https://docs.python.org/3/whatsnew/3.6.html#whatsnew36-pep506 - we could use that instead ofos.urandom
at some places. maybe have a better readablerandom_bytes
alias for thesecrets.token_bytes
function?borg.constants
aboutisoformat()
being evil - that's not the case any more with timespec != 'auto'!https://docs.python.org/3/whatsnew/3.7.html
attrs
)borg.helpers.time.parse_timestamp
- needs more testingpy_37_plus
check.https://docs.python.org/3/whatsnew/3.8.html
The text was updated successfully, but these errors were encountered: