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

gh-105927: Refactor weakrefobject.c#105928

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
vstinner merged 1 commit intopython:mainfromvstinner:weakref_refactor
Jun 19, 2023

Conversation

vstinner
Copy link
Member

@vstinnervstinner commentedJun 19, 2023
edited by bedevere-bot
Loading

  • Rename proxy_checkref() to proxy_check_ref().
  • proxy_check_ref() now checks the object, not the proxy.
  • Most functions take PyObject* instead of PyWeakReference*.
  • Remove redundant calls to PyWeakref_GET_OBJECT().

* Rename proxy_checkref() to proxy_check_ref().* proxy_check_ref() now checks the object, not the proxy.* Most functions take PyObject* instead of PyWeakReference*.* Remove redundant calls to PyWeakref_GET_OBJECT().
@vstinnervstinnerenabled auto-merge (squash)June 19, 2023 23:18
@vstinnervstinner merged commit7f97c8e intopython:mainJun 19, 2023
@vstinnervstinner deleted the weakref_refactor branchJune 19, 2023 23:38
@bedevere-bot
Copy link

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

Hi! The buildbotARM64 Windows 3.x has failed when building commit7f97c8e.

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/729/builds/4781) and take a look at the build logs.
  4. Check if the failure is related to this commit (7f97c8e) 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/729/builds/4781

Failed tests:

  • test_concurrent_futures

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

== Tests result: FAILURE then SUCCESS ==

413 tests OK.

10 slowest tests:

  • test_math: 6 min 49 sec
  • test_multiprocessing_spawn: 4 min 22 sec
  • test_peg_generator: 4 min 15 sec
  • test_unparse: 2 min 37 sec
  • test_tokenize: 2 min 29 sec
  • test_tarfile: 2 min 9 sec
  • test_capi: 1 min 59 sec
  • test_unicodedata: 1 min 56 sec
  • test_fstring: 1 min 54 sec
  • test_compileall: 1 min 35 sec

33 tests skipped:
test.test_asyncio.test_unix_events test_curses test_dbm_gnu
test_dbm_ndbm test_devpoll test_epoll test_fcntl test_fork1
test_gdb test_grp test_ioctl test_kqueue test_multiprocessing_fork
test_multiprocessing_forkserver test_openpty test_perf_profiler
test_perfmaps test_poll test_posix test_pty test_pwd test_readline
test_resource test_syslog test_threadsignals test_tkinter test_ttk
test_wait3 test_wait4 test_xxlimited test_xxtestfuzz
test_zipfile64 test_zoneinfo

1 re-run test:
test_concurrent_futures

Total duration: 24 min 44 sec

Click to see traceback logs
Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\os_helper.py", line480, intemp_diryield path  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\os_helper.py", line533, intemp_cwdyield cwd_dir  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\libregrtest\main.py", line758, inmainself._main(tests, kwargs)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\libregrtest\main.py", line817, in_main    sys.exit(0)SystemExit:0Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\runpy.py", line198, in_run_module_as_mainreturn _run_code(code, main_globals,None,^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\runpy.py", line88, in_run_codeexec(code, run_globals)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\__main__.py", line2, in<module>    main()  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\libregrtest\main.py", line822, inmain    Regrtest().main(tests=tests,**kwargs)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\libregrtest\main.py", line752, inmainwith os_helper.temp_cwd(test_cwd,quiet=True):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\contextlib.py", line155, in__exit__self.gen.throw(value)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\os_helper.py", line531, intemp_cwdwith temp_dir(path=name,quiet=quiet)as temp_path:  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\contextlib.py", line155, in__exit__self.gen.throw(value)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\os_helper.py", line485, intemp_dir    rmtree(path)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\os_helper.py", line442, inrmtree    _rmtree(path)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\os_helper.py", line385, in_rmtree    _waitfor(_rmtree_inner, path,waitall=True)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\os_helper.py", line330, in_waitfor    func(pathname)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\os_helper.py", line382, in_rmtree_inner    _force_run(fullname, os.rmdir, fullname)  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\__init__.py", line218, in_force_runreturn func(*args)^^^^^^^^^^^PermissionError:[WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Workspace\\buildarea\\3.x.linaro-win-arm64\\build\\build\\test_python_1836�\\test_python_worker_3456�'Traceback (most recent call last):  File"C:\Workspace\buildarea\3.x.linaro-win-arm64\build\Lib\test\support\__init__.py", line207, in_force_runreturn func(*args)^^^^^^^^^^^PermissionError:[WinError 32] The process cannot access the file because it is being used by another process: 'C:\\Workspace\\buildarea\\3.x.linaro-win-arm64\\build\\build\\test_python_1836�\\test_python_worker_3456�'

Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers
No reviews
Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

2 participants
@vstinner@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp