A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2019-March/156637.html below:

[Python-Dev] configparser: should optionxform be idempotent?

[Python-Dev] configparser: should optionxform be idempotent? [Python-Dev] configparser: should optionxform be idempotent?Greg Ewing greg.ewing at canterbury.ac.nz
Thu Mar 7 18:56:13 EST 2019
Paul Moore wrote:
> There's a subtle difference in the mathematical
> and computing meanings [of idempotent] (around functions
 > with side-effects, which aren't a thing in maths)

Not really an issue here, since optionxform shouldn't be having
side effects if it's sane.

In any case, the word is easy enough to avoid in this case.
We could say something like:

    "The optionxform function transforms option names to a
    canonical form. If the name is already in canonical form,
    it should be returned unchanged."

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4