On 5/09/20 10:15 am, Chris Angelico wrote:
> Remember that if this matters to you, you can "from math import inf".
But you still need to use full eval on your repr, which could
be a serious security problem in some contexts. If it were a
built-in constant, ast.literal_eval could be used instead.