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

Remove Python 3.5 support #251

Open
Tracked by #244
chrislit opened this issue Jan 28, 2020 · 1 comment
Open
Tracked by #244

Remove Python 3.5 support #251

chrislit opened this issue Jan 28, 2020 · 1 comment
Milestone

Comments

@chrislit
Copy link
Owner

Python 3.5 support ends on 2020-09-13. At that point, support can be removed, in terms of testing & feature support.

With 3.6, new-style variable type hinting and f-strings can be used.
The random.choices() workaround may be removed.

Other things to consider:
Use the secrets module for RNG outside of testing.

@chrislit chrislit added this to the 0.7 milestone Jan 28, 2020
@chrislit
Copy link
Owner Author

alphabet: Optional[Union[TCounter[str], Sequence[str], Set[str], int]] = None,
->
alphabet: Optional[Union[TCounter[str], Collection[str], int]] = None,

alphabet: Optional[Union[TCounter[str], Sequence[str], Set[str], int]] = 0,
->
alphabet: Optional[Union[TCounter[str], Collection[str], int]] = 0,

Other cases of Sequence[str], Set[str] in a Union

Essentially, undo 2e4b17c

@chrislit chrislit modified the milestones: 0.7, 0.6 Jan 6, 2022
@chrislit chrislit mentioned this issue Jan 6, 2022
20 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant