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 — bpo-32839: Add after_info to tkinter by csabella · Pull Request #5664 · python/cpython

Conversation

@csabella

@csabella csabella commented Feb 13, 2018 •
edited by bedevere-bot
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Contributor

https://bugs.python.org/issue32839

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@the-knights-who-say-ni the-knights-who-say-ni added the CLA signed label Feb 13, 2018
@bedevere-bot bedevere-bot added the awaiting review label Feb 13, 2018
serhiy-storchaka
serhiy-storchaka reviewed Feb 13, 2018
View reviewed changes
Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/test/test_tkinter/test_misc.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/test/test_tkinter/test_misc.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/test/test_tkinter/test_misc.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/test/test_tkinter/test_misc.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

terryjreedy
terryjreedy requested changes Feb 13, 2018
View reviewed changes
Comment thread Lib/tkinter/__init__.py Outdated

@terryjreedy terryjreedy Feb 13, 2018

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

This makes no sense to me. id is required and AFAKI should not be passed as None. Do after or after_idle ever return None?

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions

@csabella csabella Feb 14, 2018

Copy link
Copy Markdown
Contributor Author

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Please see my following comment with the Tcl code. I added this because I'm not sure if the original comments about the tuple changing were accurate. I think it was a result of id being None vs it having a value.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot

bedevere-bot commented Feb 13, 2018

Copy link
Copy Markdown

A Python core developer has requested some changes be made to your pull request before we can consider merging it. If you could please address their requests along with any other requests in other reviews from core developers that would be appreciated.

Once you have made the requested changes, please leave a comment on this pull request containing the phrase I have made the requested changes; please review again. I will then notify any core developers who have left a review that you're ready for them to take another look at this pull request.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@bedevere-bot bedevere-bot added awaiting changes and removed awaiting review labels Feb 13, 2018
terryjreedy
terryjreedy reviewed Feb 14, 2018
View reviewed changes
Comment thread Lib/tkinter/test/test_tkinter/test_misc.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

csabella added 2 commits March 4, 2018 08:40
@csabella
Add after_info to tkinter
f3598e1
@csabella
Changes per review.
51bfe2b
@csabella
csabella force-pushed the bpo32839 branch from 90c6408 to 51bfe2b Compare March 4, 2018 13:43
@csabella

csabella commented Mar 4, 2018

Copy link
Copy Markdown
Contributor Author

I pushed a rebase and got the Appveyor error. I'm working on the other concerns about the after_info functionality, so I'll push a fix once those are worked out. Although, this issue on Appveyor does answer the previous question about the after_info() event list containing other events than the ones added in this test. It seems that the other new after* tests are leaving something behind.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

ZackerySpytz
ZackerySpytz reviewed Dec 27, 2019
View reviewed changes
Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Misc/NEWS.d/next/Library/2018-02-13-10-02-54.bpo-32839.McbVz3.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

@csabella csabella closed this Dec 31, 2019
@terryjreedy

terryjreedy commented Dec 31, 2019

Copy link
Copy Markdown
Member

Cheryl, can you explain the closing? I still think adding after_info would be good.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@serhiy-storchaka serhiy-storchaka reopened this Dec 31, 2019
@terryjreedy
Merge branch 'master' into bpo32839
57806b7
@terryjreedy

terryjreedy commented Dec 31, 2019 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown
Member

The only reported error, only on Travis, on line 191 is an extra item, 'after#8' (the 'timer' of line 180, I presume), in the tuple returned from .after_info. (The Travis job page somehow disables copying with current Firefox.) On this system, with the tcl/tk used, the preceding root.update() did not remove the 'timer' callback from the list.

I restarted the failing job to see if the failure is repeatable on Travis.

Answer: yes.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@ZackerySpytz

ZackerySpytz commented Jan 4, 2020

Copy link
Copy Markdown
Contributor

FWIW, I also think adding after_info() would be good.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@csabella

csabella commented Jan 26, 2020

Copy link
Copy Markdown
Contributor Author

Sorry about closing this prematurely. I had thought there hadn't been much interest in adding the functionality when I originally proposed it, so I was just doing some housekeeping. Good to know there is interest. Having said that, the tests pass locally, so it may be tricky to get them to pass. I have a root.update() to clear the timer event from a previous test, so it seems to work locally but not on Travis. I'll look into it more.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@csabella
Cancel specific timer in test
ff9e774
serhiy-storchaka
serhiy-storchaka requested changes Mar 22, 2020
View reviewed changes

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

Please expand the NEWS entry, add a What's New entry apply and test the code suggestion.

The PR looks mostly good to me and I want to land it in 3.9.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
Comment thread Lib/tkinter/__init__.py Resolved

Uh oh!

There was an error while loading. Please reload this page.

Comment thread Misc/NEWS.d/next/Library/2018-02-13-10-02-54.bpo-32839.McbVz3.rst Resolved

Uh oh!

There was an error while loading. Please reload this page.

@ezio-melotti ezio-melotti removed the CLA signed label Jul 13, 2022
@github-actions

github-actions Bot commented Aug 15, 2022

Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Aug 15, 2022
serhiy-storchaka added 5 commits April 25, 2024 13:04
@serhiy-storchaka
Update Lib/tkinter/__init__.py
5b33773
@serhiy-storchaka
Merge commit 'c1fb12e5afa09aca3134a9bc0116c31dbcccc5e9~' into bpo32839
0c9d622
@serhiy-storchaka
Merge commit 'c1fb12e5afa09aca3134a9bc0116c31dbcccc5e9' into bpo32839
26e2249
@serhiy-storchaka
Merge branch 'main' into bpo32839
8899add
@serhiy-storchaka
Update NEWS.
94a71a4
serhiy-storchaka added 2 commits April 25, 2024 13:20
@serhiy-storchaka
Revert "Update Lib/tkinter/__init__.py"
02df0b0
This reverts commit 5b33773.
@serhiy-storchaka
Silence the linter for What's New.
e83e68d
serhiy-storchaka
serhiy-storchaka approved these changes Apr 25, 2024
View reviewed changes

@serhiy-storchaka serhiy-storchaka left a comment

Copy link
Copy Markdown
Member

There was a problem hiding this comment.

Choose a reason for hiding this comment

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

I expanded the NEWS entry and added the What's New entry. My last code suggestions turned out to be wrong.

LGTM.

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
@bedevere-app bedevere-app Bot added awaiting merge and removed awaiting changes labels Apr 25, 2024
terryjreedy
terryjreedy approved these changes Apr 26, 2024
View reviewed changes
@terryjreedy

terryjreedy commented Apr 26, 2024

Copy link
Copy Markdown
Member

I am presuming that my old comments are obsolete.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@serhiy-storchaka
serhiy-storchaka merged commit 194fd17 into python:main Apr 26, 2024
@bedevere-app bedevere-app Bot removed the awaiting merge label Apr 26, 2024
@csabella csabella mentioned this pull request Apr 10, 2022
Add after_info as a function to tkinter #77020
Closed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@serhiy-storchaka serhiy-storchaka serhiy-storchaka approved these changes
@terryjreedy terryjreedy terryjreedy approved these changes
+1 more reviewer
@ZackerySpytz ZackerySpytz ZackerySpytz left review comments
Reviewers whose approvals may not affect merge requirements

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

stale Stale PR or inactive for long period of time.

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

7 participants

@csabella @bedevere-bot @terryjreedy @ZackerySpytz @serhiy-storchaka @the-knights-who-say-ni @ezio-melotti
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.