Skip to content
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

tkinter uses MacOS #47151

Closed
benjaminp opened this issue May 18, 2008 · 4 comments
Closed

tkinter uses MacOS #47151

benjaminp opened this issue May 18, 2008 · 4 comments
Labels
type-bug An unexpected behavior, bug, or error

Comments

@benjaminp
Copy link
Contributor

BPO 2902
Nosy @loewis, @benjaminp

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 = <Date 2008-07-31.15:16:42.785>
created_at = <Date 2008-05-18.00:56:42.661>
labels = ['type-bug']
title = 'tkinter uses MacOS'
updated_at = <Date 2008-07-31.15:16:42.784>
user = 'https://github.com/benjaminp'

bugs.python.org fields:

activity = <Date 2008-07-31.15:16:42.784>
actor = 'benjamin.peterson'
assignee = 'none'
closed = True
closed_date = <Date 2008-07-31.15:16:42.785>
closer = 'benjamin.peterson'
components = []
creation = <Date 2008-05-18.00:56:42.661>
creator = 'benjamin.peterson'
dependencies = []
files = []
hgrepos = []
issue_num = 2902
keywords = []
message_count = 4.0
messages = ['67020', '70478', '70517', '70518']
nosy_count = 3.0
nosy_names = ['loewis', 'benjamin.peterson', 'gpolo']
pr_nums = []
priority = 'critical'
resolution = 'fixed'
stage = None
status = 'closed'
superseder = None
type = 'behavior'
url = 'https://bugs.python.org/issue2902'
versions = ['Python 3.0']

@benjaminp
Copy link
Contributor Author

A few days ago I removed the MacOS module. I didn't realize that it was
used in Tkinter until today. It seems the module is only used in one spot:

        if _MacOS and hasattr(_MacOS, 'SchedParams'):
            # Disable event scanning except for Command-Period
            _MacOS.SchedParams(1, 0)
            # Work around nasty MacTk bug
            # XXX Is this one still needed?
            self.update()

Is this still needed? If so, this check will have to integrated into
_tkinter.

@benjaminp benjaminp added the type-bug An unexpected behavior, bug, or error label May 18, 2008
@benjaminp
Copy link
Contributor Author

[ccing people who might now if this should still be an issue.]

@gpolo
Copy link
Mannequin

gpolo mannequin commented Jul 31, 2008

as I understand, MacOS.SchedParams is gone for more than 4 years now
(that is why you see this hasattr check everywhere). I doubt removing
this MacOS usage will do anything.

@benjaminp
Copy link
Contributor Author

Great! It's gone in r65328.

@ezio-melotti ezio-melotti transferred this issue from another repository Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
type-bug An unexpected behavior, bug, or error
Projects
None yet
Development

No branches or pull requests

1 participant