Problem 1 is basic standardization and naming things. Hard, but possible.
Problem 2 is is solved by adding the deprecation warnings. The code works, but it generates warning messages.
Yes, it'll take some time, but I'd argue it's necessary. Unless you've memorized the entire standard library, remembering which functions use underscores and which don't (and which ones use "to" vs "2") is an unnecessary mental burden.
Problem 2 is is solved by adding the deprecation warnings. The code works, but it generates warning messages.
Yes, it'll take some time, but I'd argue it's necessary. Unless you've memorized the entire standard library, remembering which functions use underscores and which don't (and which ones use "to" vs "2") is an unnecessary mental burden.