Skip to content

Conversation

DimitrisJim
Copy link
Member

@DimitrisJim DimitrisJim commented Sep 11, 2021

Replace occurrences of module constants with associated constants since the latter will be deprecated at some point as per their docs. Only change not made is in math_remainder since #3037 will take care of that.

@youknowone
Copy link
Member

I always wondered why this is not attached to the types, but never knew there was deprecation plan about it.

@youknowone youknowone merged commit 478dce5 into RustPython:main Sep 11, 2021
@DimitrisJim DimitrisJim deleted the use_associated_consts branch September 11, 2021 16:52
@DimitrisJim
Copy link
Member Author

Neither did I. I'd seen it before but had completely forgotten about it. Either way, thought it was best to just move to the associated constants just in case.

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.

2 participants