Movatterモバイル変換


[0]ホーム

URL:


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

Add Tkinter tests for different events.#118778

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged

Conversation

serhiy-storchaka
Copy link
Member

No description provided.

@serhiy-storchakaserhiy-storchaka marked this pull request as ready for reviewMay 15, 2024 20:09
@serhiy-storchaka
Copy link
MemberAuthor

These tests were intended to supplement#98592 and help to catch bugs similar to#118760, but this does not help. They are passed even if the bug is still here, the reproducibility of the bug depends not on the event itself, but on actions that were done before this. Anyway, there are now tests for creating the Event objects of different types, with different sets of attributes. This is a place and a template for adding more tests if this is needed (for example for#47655).

@serhiy-storchakaserhiy-storchaka merged commitb683994 intopython:mainMay 16, 2024
@miss-islington-app
Copy link

Thanks@serhiy-storchaka for the PR 🌮🎉.. I'm working now to backport this PR to: 3.12, 3.13.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestMay 16, 2024
(cherry picked from commitb683994)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@miss-islington-app
Copy link

Sorry,@serhiy-storchaka, I could not cleanly backport this to3.12 due to a conflict.
Please backport usingcherry_picker on command line.

cherry_picker b6839942a8906fccdd64e749abeefe8a61ce7e03 3.12

@bedevere-app
Copy link

GH-119091 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelMay 16, 2024
serhiy-storchaka added a commit that referenced this pull requestMay 16, 2024
(cherry picked from commitb683994)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
serhiy-storchaka added a commit to serhiy-storchaka/cpython that referenced this pull requestMay 16, 2024
(cherry picked from commitb683994)Co-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@bedevere-app
Copy link

GH-119095 is a backport of this pull request to the3.12 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.12only security fixes labelMay 16, 2024
serhiy-storchaka added a commit that referenced this pull requestMay 16, 2024
@bedevere-bot
Copy link

⚠️⚠️⚠️ Buildbot failure⚠️⚠️⚠️

Hi! The buildbots390x Fedora LTO + PGO 3.x has failed when building commitb683994.

What do you need to do:

  1. Don't panic.
  2. Checkthe buildbot page in the devguide if you don't know what the buildbots are or how they work.
  3. Go to the page of the buildbot that failed (https://buildbot.python.org/all/#builders/545/builds/5922) and take a look at the build logs.
  4. Check if the failure is related to this commit (b683994) or if it is a false positive.
  5. If the failure is related to this commit, please, reflect that on the issue and make a new Pull Request with a fix.

You can take a look at the buildbot page here:

https://buildbot.python.org/all/#builders/545/builds/5922

Failed tests:

  • test_free_threading

Summary of the results of the build (if available):

==

Click to see traceback logs
Note:switching to 'b6839942a8906fccdd64e749abeefe8a61ce7e03'.You are in 'detached HEAD' state. You can look around, make experimentalchanges and commit them, and you can discard any commits you make in thisstate without impacting any branches by switching back to a branch.If you want to create a new branch to retain commits you create, you maydo so (now or later) by using -c with the switch command. Example:  git switch -c <new-branch-name>Or undo this operation with:  git switch -Turn off this advice by setting config variable advice.detachedHead to falseHEAD is now at b6839942a8 Add Tkinter tests for different events (GH-118778)Switched to and reset branch 'main'configure:WARNING: no system libmpdecimal found; unable to build _decimalfind:‘build’: No such file or directoryfind:‘build’: No such file or directoryfind:‘build’: No such file or directoryfind:‘build’: No such file or directorymake[2]:[Makefile:3113: clean-retain-profile] Error 1 (ignored)/home/dje/cpython-buildarea/3.x.edelsohn-fedora-z.lto-pgo/build/Lib/test/test_decimal.py:5919: UserWarning: C tests skipped: no module named _decimal.  warnings.warn('C tests skipped: no module named _decimal.',In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘doParseXmlDecl’ at ./Modules/expat/xmltok.c:1192:13:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘doParseXmlDecl’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1070:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1076:12:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1076:12:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1083:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1083:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1110:7:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1123:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1123:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^~~In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘doParseXmlDecl’ at ./Modules/expat/xmltok.c:1192:13:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘doParseXmlDecl’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1070:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1076:12:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1076:12:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1083:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1083:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1110:7:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1123:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^In function ‘utf8_toUtf8’,    inlinedfrom ‘toAscii’ at ./Modules/expat/xmltok.c:1038:3,    inlinedfrom ‘parsePseudoAttribute’ at ./Modules/expat/xmltok.c:1123:9:./Modules/expat/xmltok.c:392:5: warning: ‘memcpy’ writing 2 or more bytes into a region of size 1 overflows the destination [-Wstringop-overflow=]  392 |     memcpy(*toP, *fromP, bytesToCopy);|^./Modules/expat/xmltok.c:In function ‘parsePseudoAttribute’:./Modules/expat/xmltok.c:1036:8: note: destination object ‘buf’ of size 1 1036 |   char buf[1];|^make:*** [Makefile:2240: buildbottest] Error 2

estyxx pushed a commit to estyxx/cpython that referenced this pull requestJul 17, 2024
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Labels
skip issueskip newstestsTests in the Lib/test dir
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@serhiy-storchaka@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp