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 — Deprecate / remove os.name=java · Issue #90613 · python/cpython

Deprecate / remove os.name=java #90613

New issue
Copy link
New issue
Copy link
Open
Open
Deprecate / remove os.name=java#90613
Copy link
Labels
stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

Description

masklinn
mannequin
opened on Jan 21, 2022
Issue body actions
BPO 46455
Nosy @masklinn

Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.

Show more details

GitHub fields:

assignee = None
closed_at = None
created_at = <Date 2022-01-21.12:52:38.939>
labels = ['library', '3.11']
title = 'Deprecate / remove os.name=java'
updated_at = <Date 2022-01-21.19:00:41.594>
user = 'https://github.com/masklinn'

bugs.python.org fields:

activity = <Date 2022-01-21.19:00:41.594>
actor = 'eric.araujo'
assignee = 'none'
closed = False
closed_date = None
closer = None
components = ['Library (Lib)']
creation = <Date 2022-01-21.12:52:38.939>
creator = 'xmorel'
dependencies = []
files = []
hgrepos = []
issue_num = 46455
keywords = []
message_count = 2.0
messages = ['411123', '411125']
nosy_count = 1.0
nosy_names = ['xmorel']
pr_nums = []
priority = 'normal'
resolution = None
stage = None
status = 'open'
superseder = None
type = None
url = 'https://bugs.python.org/issue46455'
versions = ['Python 3.11']

Reacted by Marcel Guinhos

Activity

  1. masklinn commented on Jan 21, 2022

    @masklinn
    masklinnmannequin
    on Jan 21, 2022
    MannequinAuthor
    More actions

    os.name is defined as:

    The following names have currently been registered: 'posix', 'nt', 'java'.

    In my understanding, the value 'java' is for the benefit of jython, which is rather poorly. Other third-party implementations which may or may not have a "full os module" (e.g. ironpython) do not -- as far as I can tell -- get to be registered against this value, and Python 3.3's addition of sys.implementation seems like a more reliable (and better supported) way to perform implementation-specific checks.

    Therefore I feel os.name == 'java' only exists to confuse readers of the documentation, but doesn't really provide any value, and should be removed.

    Reacted by Marcel Guinhos
  2. masklinn
    added
    3.7 (EOL)end of lifeend of life
    3.8 (EOL)end of lifeend of life
    3.9 (EOL)end of lifeend of life
    3.10 (EOL)end of lifeend of life
    3.11only security fixesonly security fixes
    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directory
    on Jan 21, 2022
  3. masklinn commented on Jan 21, 2022

    @masklinn
    masklinnmannequin
    on Jan 21, 2022
    MannequinAuthor
    More actions

    PS: "platform.system()" also documents Java as a value which doesn't seem to make that much sense, however it's an open set so probably less of an issue / source of confusion.

    Reacted by Marcel Guinhos
  4. merwok
    removed
    3.7 (EOL)end of lifeend of life
    3.8 (EOL)end of lifeend of life
    3.9 (EOL)end of lifeend of life
    3.10 (EOL)end of lifeend of life
    on Jan 21, 2022
  5. ezio-melotti
    transferred this issue fromon Apr 10, 2022
  6. StanFromIreland commented on May 3, 2025

    @StanFromIreland
    StanFromIreland
    on May 3, 2025 · Hidden as outdated
    show commentMore actions
  7. sobolevn commented on May 3, 2025

    @sobolevn
    sobolevn
    on May 3, 2025 · Hidden as outdated
    show commentMore actions
  8. StanFromIreland
    added
    type-featureA feature request or enhancementA feature request or enhancement
    and removed
    3.11only security fixesonly security fixes
    on Jun 21, 2026
  9. serhiy-storchaka
    added this to OS issues 💻on Jul 3, 2026
  10. github-project-automation
    moved this to Todo in OS issues 💻on Jul 3, 2026
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

    stdlibStandard Library Python modules in the Lib/ directoryStandard Library Python modules in the Lib/ directorytype-featureA feature request or enhancementA feature request or enhancement

    Projects

    • OS issues 💻
      Status
      Todo
      Show more project fields

    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.