GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — [Distutils] strtobool · Issue #99867 · python/cpython

[Distutils] strtobool #99867

New issue
Copy link
New issue
Copy link
Closed as not planned
Closed as not planned
[Distutils] strtobool#99867
Copy link
Labels
docsDocumentation in the Doc dirDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory

Description

@martigan
martigan
opened on Nov 29, 2022
Issue body actions

Documentation

Specification of distutils.util function strtobool doesn't mention that the values are case insensitive.

python_38_strtobool

https://docs.python.org/3.8/distutils/apiref.html#distutils.util.strtobool

I didn't tested on other python version but implementation found here hadn't change for a while.

Activity

  1. martigan
    added
    docsDocumentation in the Doc dirDocumentation in the Doc dir
    on Nov 29, 2022
  2. hugovk
    added
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on Nov 29, 2022
  3. hugovk commented on Nov 29, 2022

    @hugovk
    hugovk
    on Nov 29, 2022
    Member
    More actions

    Thank you for the report.

    I'll note that distutils is deprecated and has been removed from the upcoming Python 3.12:

    • https://peps.python.org/pep-0632/
    • https://docs.python.org/3.12/whatsnew/3.12.html#removed
    • gh-92584: Remove the distutils package #99061

    The PEP's migration advice says there's no planned replacement for strtobool and you'll need to implement it yourself, but it's only a dozen lines of code so you could grab directly.

    We could update the docs for 3.10 and 3.11 (and separately, possibly update the docs at setuptools), but given the deprecation/removal status it's probably not worth it.

    Reacted by Alex Waygood
  4. hugovk
    added
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Nov 29, 2022
  5. hugovk
    closed this as not plannedon Dec 1, 2022
  6. hugovk
    removed
    pendingThe issue will be closed if no feedback is providedThe issue will be closed if no feedback is provided
    on Dec 1, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    docsDocumentation in the Doc dirDocumentation in the Doc dirstdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions

      You are visitor 01402503 — GeezerVison does not store the pages you look up.
      Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.