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 — Tkinter: test_getint incompatible with Tcl 9.0 · Issue #104411 · python/cpython

Tkinter: test_getint incompatible with Tcl 9.0 #104411

New issue
Copy link
New issue
Copy link
Closed
Closed
Tkinter: test_getint incompatible with Tcl 9.0#104411
Copy link
Labels
topic-tkinter

Description

@chrstphrchvz
chrstphrchvz
opened on May 12, 2023
Issue body actions

TIP 114 means that as of Tcl 9.0, integers are only treated as octal when the 0o prefix is specified; a leading 0 by itself is no longer sufficient. This change partially breaks test_getint:

======================================================================
FAIL: test_getint (test.test_tcl.TclTest.test_getint)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/Users/user/git/cpython/Lib/test/test_tcl.py", line 145, in test_getint
    self.assertEqual(tcl.getint((' %#o ' % i).replace('o', '')), i)
AssertionError: 17777777777 != 2147483647

Linked PRs

  • gh-104411: Update test_getint for Tcl 9.0 #104412
  • [3.12] gh-104411: Update test_getint for Tcl 9.0 (GH-104412) #105356
  • [3.11] gh-104411: Update test_getint for Tcl 9.0 (GH-104412) #105357
Reacted by Gregory P. Smith

Activity

  1. chrstphrchvz
    added a commit that references this issue on May 12, 2023

    pythongh-104411: Update test_getint for Tcl 9.0

    9f8b855
  2. terryjreedy
    added
    topic-tkinter
    on May 12, 2023
  3. terryjreedy commented on May 12, 2023

    @terryjreedy
    terryjreedy
    on May 12, 2023 · Hidden as outdated
    show commentMore actions
  4. serhiy-storchaka
    added a commit that references this issue on Jun 6, 2023

    gh-104411: Update test_getint for Tcl 9.0 (GH-104412)

    2c49c75
  5. miss-islington
    added 2 commits that reference this issue on Jun 6, 2023

    pythongh-104411: Update test_getint for Tcl 9.0 (pythonGH-104412)

    25e2928

    pythongh-104411: Update test_getint for Tcl 9.0 (pythonGH-104412)

    993b9cf
  6. serhiy-storchaka
    closed this as completedon Jun 6, 2023
  7. terryjreedy
    added 2 commits that reference this issue on Jun 6, 2023

    [3.12] gh-104411: Update test_getint for Tcl 9.0 (GH-104412) (#105356)

    260ba1f

    [3.11] gh-104411: Update test_getint for Tcl 9.0 (GH-104412) (#105357)

    daf22ca
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

    topic-tkinter

    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.