Skip to content
This repository was archived by the owner on Dec 13, 2020. It is now read-only.
This repository was archived by the owner on Dec 13, 2020. It is now read-only.

locale.format is deprecated since Python 3.7 #6

@moi90

Description

@moi90

I get the following deprecation warnings:

.../lib/python3.7/site-packages/etaprogress/progress.py:79: DeprecationWarning: This method will be removed in a future version of Python. Use 'locale.format_string()' instead.
    denominator = locale.format('%d', self.denominator, grouping=True)
.../lib/python3.7/site-packages/etaprogress/progress.py:86: DeprecationWarning: This method will be removed in a future version of Python. Use 'locale.format_string()' instead.
    return locale.format('%d', self.numerator, grouping=True)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions