bpo-10379: deprecate locale.format in lieu of locale.format_string by plusminushalf · Pull Request #259 · python/cpython · GitHub

github.com

Tin mới

plusminushalf:fix-bpo-10379

GitHub CopilotWrite better code with AI

GitHub Copilot appDirect agents from issue to merge

ActionsAutomate any workflow

CodespacesInstant dev environments

IssuesPlan and track work

Code ReviewManage code changes

Code QualityEnforce quality at merge

GitHub Advanced SecurityFind and fix vulnerabilities

Code securitySecure your code as you build

Secret protectionStop leaks before they start

View all use cases

Financial services

View all industries

Software Development

GitHub SponsorsFund open source developers

Copilot for BusinessEnterprise-grade AI features

Premium SupportEnterprise-grade 24/7 support

Pull requests 2.6k

Security and quality 0

bpo-10379: deprecate locale.format in lue of locale.format_string

Adding tests and documentation changes

Adding version changed info for locale.format

View reviewed changes

Doc/library/locale.rst

Learn more about hiding disruptive comments

The reason will be displayed to describe this comment to others. Learn more.

Deprecating but not changing the function defination

View reviewed changes

Doc/library/locale.rst

Adding documentation inside what's new in 3.7

View reviewed changes

Adding whatsnew documentation in proper segments

codecov Bot commented Feb 27, 2017
codecov Bot commented Feb 27, 2017

codecov Bot commented Feb 27, 2017

Merging #259 into master will decrease coverage by -1.01%. The diff coverage is 71.42%.

Merge branch 'master' of github.com:python/cpython into fix-bpo-10379

fixing documentation bug

View reviewed changes

Doc/whatsnew/3.7.rst

Adding locale subsection

Merge branch 'master' of github.com:python/cpython into fix-bpo-10379

View reviewed changes

Refactoring Doc, using _format inisde locale module

View reviewed changes

Adding entry to Misc/NEWS about changes

View reviewed changes

View reviewed changes

Stackless issue #259: Update Doc/conf.py and .readthedocs.yml Update the Stackless patches for readthedocs.org based on the documentation. This simplified configuration is still untested.

: Update Doc/conf.py and .readthedocs.yml

Stackless issue #259: Update Doc/conf.py Set the css-file to "pydoctheme.css".

Stackless issue #259: Update Doc/conf.py Remove the explicit specification of the css-file for readthedocs.org. It is not needed any more.

AttributeError: module 'locale' has no attribute 'format'. Did you mean: '_format'? (Python 3.12) poblabs/weewx-belchertown#954