Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

fix(gui): resolve Tkinter RIGHT/LEFT constant collision #1316

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
houtan-rocky wants to merge 1 commit into aimacode:master
base: master
Choose a base branch
Loading
from houtan-rocky:master

Conversation

@houtan-rocky
Copy link

@houtan-rocky houtan-rocky commented Oct 17, 2025
edited
Loading

Fixes _tkinter.TclError: bad side "-1" caused by AIMA's internal RIGHT = -1 overriding tkinter.RIGHT due to wildcard imports.
Replaced from tkinter import * with import tkinter as tk and prefixed all Tkinter calls to isolate namespaces.

  • Affected file: gui/romania_problem.py
  • Python 3.4+ compliant
  • No functional or layout changes
  • Tested on Python 3.10–3.13 (Windows)

Copy link
Contributor

@orsenthil orsenthil left a comment

Choose a reason for hiding this comment

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

LGTM

Copy link
Author

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

1 more reviewer

@orsenthil orsenthil orsenthil approved these changes

Reviewers whose approvals may not affect merge requirements

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /