| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
Sorry, something went wrong.
Fix issue where `pathlib.Path.glob()` raised `OSError` when it encountered a symlink to an overly long path.
|
Thank you for the review Jelle! |
Sorry, something went wrong.
|
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
|
GH-104362 is a backport of this pull request to the 3.11 branch. |
Sorry, something went wrong.
Fix issue where `pathlib.Path.glob()` raised `OSError` when it encountered a symlink to an overly long path. (cherry picked from commit a33ce66) Co-authored-by: Barney Gale <barney.gale@gmail.com>
|
Thanks @barneygale for the PR 🌮🎉.. I'm working now to backport this PR to: 3.11. |
Sorry, something went wrong.
Fix issue where `pathlib.Path.glob()` raised `OSError` when it encountered a symlink to an overly long path. (cherry picked from commit a33ce66) Co-authored-by: Barney Gale <barney.gale@gmail.com>
* main: pythonGH-102181: Improve specialization stats for SEND (pythonGH-102182) pythongh-103000: Optimise `dataclasses.asdict` for the common case (python#104364) pythongh-103538: Remove unused TK_AQUA code (pythonGH-103539) pythonGH-87695: Fix OSError from `pathlib.Path.glob()` (pythonGH-104292) pythongh-104263: Rely on Py_NAN and introduce Py_INFINITY (pythonGH-104202) pythongh-104010: Separate and improve docs for `typing.get_origin` and `typing.get_args` (python#104013) pythongh-101819: Adapt _io._BufferedIOBase_Type methods to Argument Clinic (python#104355) pythongh-103960: Dark mode: invert image brightness (python#103983) pythongh-104252: Immortalize Py_EMPTY_KEYS (pythongh-104253) pythongh-101819: Clean up _io windows console io after pythongh-104197 (python#104354) pythongh-101819: Harden _io init (python#104352) pythongh-103247: clear the module cache in a test in test_importlib/extensions/test_loader.py (pythonGH-104226) pythongh-103848: Adds checks to ensure that bracketed hosts found by urlsplit are of IPv6 or IPvFuture format (python#103849) pythongh-74895: adjust tests to work on Solaris (python#104326) pythongh-101819: Refactor _io in preparation for module isolation (python#104334) pythongh-90953: Don't use deprecated AST nodes in clinic.py (python#104322) pythongh-102327: Extend docs for "url" and "headers" parameters to HTTPConnection.request() pythongh-104328: Fix typo in ``typing.Generic`` multiple inheritance error message (python#104335)
⚠️⚠️⚠️ Buildbot failure ⚠️⚠️⚠️Hi! The buildbot PPC64LE Fedora Stable Clang 3.11 has failed when building commit 846a23d. What do you need to do:
You can take a look at the buildbot page here: https://buildbot.python.org/all/#builders/967/builds/679 Failed tests:
Failed subtests:
Summary of the results of the build (if available): == Tests result: FAILURE then FAILURE == 420 tests OK. 10 slowest tests:
1 test failed: 13 tests skipped: 1 re-run test: Total duration: 6 min 10 sec Click to see traceback logsTraceback (most recent call last):
File "/home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
cache[rtype].remove(name)
KeyError: '/psm_569d8e0d'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/test_gdb.py", line 944, in test_pycfunction
self.assertIn(f'<built-in method {func_name}', gdb_output)
AssertionError: '<built-in method meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=<type at remote 0x7fffea301e50>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n5684\t PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0 meth_fastcall_keywords (self=<type at remote 0x7fffea301e50>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n#1 ?? ()\n#2 _PyObject_VectorcallTstate (tstate=, callable=0x0, args=, nargsf=9223372036854775808, kwnames=<unknown at remote 0x105dfbc0>) at ./Include/internal/pycore_call.h:92\n#3 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=, throwflag=<optimized out>) at ./Include/object.h:523\n#4 _PyEval_EvalFrame (tstate=<_PyRuntime+166328>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:73\n#5 _PyEval_Vector (tstate=<_PyRuntime+166328>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:6438\n#6 PyEval_EvalCode (co=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672830>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals=<optimized out>) at Python/ceval.c:1154\n#7 run_eval_code_obj (tstate=<_PyRuntime+166328>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672830>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672830>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}) at Python/pythonrun.c:1714\n#8 run_mod (mod=<optimized out>, filename=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672830>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672830>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, flags=<optimized out>, arena=<optimized out>) at Python/pythonrun.c:1735\n#9 PyRun_StringFlags (str="\\nimport _testcapi\\ndef foo():\\n _testcapi.MethClass.meth_fastcall_keywo
c__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, flags=) at Python/pythonrun.c:1605\n#10 PyRun_SimpleStringFlags (command="\\nimport _testcapi\\ndef foo():\\n _testcapi.MethClass.meth_fastcall_keywords()\\ndef bar():\\n foo()\\nbar()\\n\\n", flags=) at Python/pythonrun.c:487\n#11 pymain_run_command (command=<optimized out>) at Modules/main.c:255\n#12 pymain_run_python (exitcode=<optimized out>) at Modules/main.c:592\n#13 Py_RunMain () at Modules/main.c:680\n#14 pymain_main (args=) at Modules/main.c:710\n#15 Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:734\n#16 main (argc=<optimized out>, argv=<optimized out>) at ./Programs/python.c:15\nTraceback (most recent call first):\n File "<string>", line 4, in foo\n File "<string>", line 6, in bar\n File "<string>", line 7, in <module>\n'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/test_gdb.py", line 944, in test_pycfunction
self.assertIn(f'<built-in method {func_name}', gdb_output)
AssertionError: '<built-in method meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=<type at remote 0x7fffea301e50>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n5684\t PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0 meth_fastcall_keywords (self=<type at remote 0x7fffea301e50>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n#1 ?? ()\n#2 _PyObject_VectorcallTstate (tstate=, callable=0x0, args=, nargsf=9223372036854775808, kwnames=<unknown at remote 0x105dfbc0>) at ./Include/internal/pycore_call.h:92\n#3 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=, throwflag=<optimized out>) at ./Include/object.h:523\n#4 _PyEval_EvalFrame (tstate=<_PyRuntime+166328>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:73\n#5 _PyEval_Vector (tstate=<_PyRuntime+166328>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:6438\n#6 PyEval_EvalCode (co=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals=<optimized out>) at Python/ceval.c:1154\n#7 run_eval_code_obj (tstate=<_PyRuntime+166328>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}) at Python/pythonrun.c:1714\n#8 run_mod (mod=<optimized out>, filename=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, flags=<optimized out>, arena=<optimized out>) at Python/pythonrun.c:1735\n#9 PyRun_StringFlags (str="\\nimport _testcapi\\ndef foo():\\n _testcapi.MethClass().meth_fastcall_keywords()\\ndef bar():\\n foo()\\nbar()\\n\\n", start=257, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'_
spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, flags=) at Python/pythonrun.c:1605\n#10 PyRun_SimpleStringFlags (command="\\nimport _testcapi\\ndef foo():\\n _testcapi.MethClass().meth_fastcall_keywords()\\ndef bar():\\n foo()\\nbar()\\n\\n", flags=) at Python/pythonrun.c:487\n#11 pymain_run_command (command=<optimized out>) at Modules/main.c:255\n#12 pymain_run_python (exitcode=<optimized out>) at Modules/main.c:592\n#13 Py_RunMain () at Modules/main.c:680\n#14 pymain_main (args=) at Modules/main.c:710\n#15 Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:734\n#16 main (argc=<optimized out>, argv=<optimized out>) at ./Programs/python.c:15\nTraceback (most recent call first):\n File "<string>", line 4, in foo\n File "<string>", line 6, in bar\n File "<string>", line 7, in <module>\n'
Traceback (most recent call first):\n File "<string>", line 4, in foo\n File "<string>", line 6, in bar\n File "<string>", line 7, in <module>\n'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/test_gdb.py", line 944, in test_pycfunction
self.assertIn(f'<built-in method {func_name}', gdb_output)
AssertionError: '<built-in method meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=<type at remote 0x7fffea301e50>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n5684\t PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0 meth_fastcall_keywords (self=<type at remote 0x7fffea301e50>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n#1 ?? ()\n#2 _PyObject_VectorcallTstate (tstate=, callable=0x0, args=, nargsf=9223372036854775808, kwnames=<unknown at remote 0x105dfbc0>) at ./Include/internal/pycore_call.h:92\n#3 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=, throwflag=<optimized out>) at ./Include/object.h:523\n#4 _PyEval_EvalFrame (tstate=<_PyRuntime+166328>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:73\n#5 _PyEval_Vector (tstate=<_PyRuntime+166328>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:6438\n#6 PyEval_EvalCode (co=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals=<optimized out>) at Python/ceval.c:1154\n#7 run_eval_code_obj (tstate=<_PyRuntime+166328>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672a20>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at re
spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, flags=) at Python/pythonrun.c:1605\n#10 PyRun_SimpleStringFlags (command="\\nimport _testcapi\\ndef foo():\\n _testcapi.MethClass().meth_fastcall_keywords()\\ndef bar():\\n foo()\\nbar()\\n\\n", flags=) at Python/pythonrun.c:487\n#11 pymain_run_command (command=<optimized out>) at Modules/main.c:255\n#12 pymain_run_python (exitcode=<optimized out>) at Modules/main.c:592\n#13 Py_RunMain () at Modules/main.c:680\n#14 pymain_main (args=) at Modules/main.c:710\n#15 Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:734\n#16 main (argc=<optimized out>, argv=<optimized out>) at ./Programs/python.c:15\nTraceback (most recent call first):\n File "<string>", line 4, in foo\n File "<string>", line 6, in bar\n File "<string>", line 7, in <module>\n'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/test_gdb.py", line 944, in test_pycfunction
self.assertIn(f'<built-in method {func_name}', gdb_output)
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Lib/multiprocessing/resource_tracker.py", line 209, in main
cache[rtype].remove(name)
KeyError: '/psm_c3407639'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/test_gdb.py", line 944, in test_pycfunction
self.assertIn(f'<built-in method {func_name}', gdb_output)
AssertionError: '<built-in method meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=<module at remote 0x7fffea34a750>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n5684\t PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0 meth_fastcall_keywords (self=<module at remote 0x7fffea34a750>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n#1 ?? ()\n#2 _PyObject_VectorcallTstate (tstate=, callable=0x0, args=, nargsf=9223372036854775808, kwnames=<unknown at remote 0x105dfbc0>) at ./Include/internal/pycore_call.h:92\n#3 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=, throwflag=<optimized out>) at ./Include/object.h:523\n#4 _PyEval_EvalFrame (tstate=<_PyRuntime+166328>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:73\n#5 _PyEval_Vector (tstate=<_PyRuntime+166328>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:6438\n#6 PyEval_EvalCode (co=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, locals=<optimized out>) at Python/ceval.c:1154\n#7 run_eval_code_obj (tstate=<_PyRuntime+166328>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}) at Python/pythonrun.c:1714\n#8 run_mod (mod=<optimized out>, filename=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, flags=<optimized out>, arena=<optimized out>) at Python/pythonrun.c:1735\n#9 PyRun_StringFlags (str="\\nimport _testcapi\\ndef foo():\\n _testcapi.meth_fastcall_keywords()\\ndef bar():\\n foo()\\nbar()\\n\\n", start=257, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\
: None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, flags=) at Python/pythonrun.c:1605\n#10 PyRun_SimpleStringFlags (command="\\nimport _testcapi\\ndef foo():\\n _testcapi.meth_fastcall_keywords()\\ndef bar():\\n foo()\\nbar()\\n\\n", flags=) at Python/pythonrun.c:487\n#11 pymain_run_command (command=<optimized out>) at Modules/main.c:255\n#12 pymain_run_python (exitcode=<optimized out>) at Modules/main.c:592\n#13 Py_RunMain () at Modules/main.c:680\n#14 pymain_main (args=) at Modules/main.c:710\n#15 Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:734\n#16 main (argc=<optimized out>, argv=<optimized out>) at ./Programs/python.c:15\nTraceback (most recent call first):\n File "<string>", line 4, in foo\n File "<string>", line 6, in bar\n File "<string>", line 7, in <module>\n'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/test_gdb.py", line 944, in test_pycfunction
self.assertIn(f'<built-in method {func_name}', gdb_output)
AssertionError: '<built-in method meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=<module at remote 0x7fffea34a750>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n5684\t PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0 meth_fastcall_keywords (self=<module at remote 0x7fffea34a750>, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n#1 ?? ()\n#2 _PyObject_VectorcallTstate (tstate=, callable=0x0, args=, nargsf=9223372036854775808, kwnames=<unknown at remote 0x105dfbc0>) at ./Include/internal/pycore_call.h:92\n#3 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=, throwflag=<optimized out>) at ./Include/object.h:523\n#4 _PyEval_EvalFrame (tstate=<_PyRuntime+166328>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:73\n#5 _PyEval_Vector (tstate=<_PyRuntime+166328>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:6438\n#6 PyEval_EvalCode (co=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, locals=<optimized out>) at Python/ceval.c:1154\n#7 run_eval_code_obj (tstate=<_PyRuntime+166328>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}) at Python/pythonrun.c:1714\n#8 run_mod (mod=<optimized out>, filename=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x106728d0>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, flags=<optimized out>, arena=<optimized out>) at Python/pythonrun.c:1735\n#9 PyRun_StringFlags (str="\\nimport _testcapi\\ndef foo():\\n _testcapi.meth_fastcall_keywords()\\ndef bar(
: None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a750>, \'foo\': <function at remote 0x7fffea32f330>, \'bar\': <function at remote 0x7fffea350b50>}, flags=) at Python/pythonrun.c:1605\n#10 PyRun_SimpleStringFlags (command="\\nimport _testcapi\\ndef foo():\\n _testcapi.meth_fastcall_keywords()\\ndef bar():\\n foo()\\nbar()\\n\\n", flags=) at Python/pythonrun.c:487\n#11 pymain_run_command (command=<optimized out>) at Modules/main.c:255\n#12 pymain_run_python (exitcode=<optimized out>) at Modules/main.c:592\n#13 Py_RunMain () at Modules/main.c:680\n#14 pymain_main (args=) at Modules/main.c:710\n#15 Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:734\n#16 main (argc=<optimized out>, argv=<optimized out>) at ./Programs/python.c:15\nTraceback (most recent call first):\n File "<string>", line 4, in foo\n File "<string>", line 6, in bar\n File "<string>", line 7, in <module>\n'
Traceback (most recent call last):
File "/home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Lib/test/test_gdb.py", line 944, in test_pycfunction
self.assertIn(f'<built-in method {func_name}', gdb_output)
AssertionError: '<built-in method meth_fastcall_keywords' not found in 'Breakpoint 1 (meth_fastcall_keywords) pending.\n[Thread debugging using libthread_db enabled]\nUsing host libthread_db library "/lib64/libthread_db.so.1".\n\nBreakpoint 1, meth_fastcall_keywords (self=0x0, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n5684\t PyObject *pyargs = _fastcall_to_tuple(args, nargs);\n#0 meth_fastcall_keywords (self=0x0, args=, nargs=0, kwargs=0x0) at /home/buildbot/buildarea/3.11.cstratak-fedora-stable-ppc64le.clang/build/Modules/_testcapimodule.c:5684\n#1 ?? ()\n#2 _PyObject_VectorcallTstate (tstate=, callable=0x0, args=, nargsf=9223372036854775808, kwnames=<unknown at remote 0x105dfbc0>) at ./Include/internal/pycore_call.h:92\n#3 _PyEval_EvalFrameDefault (tstate=<optimized out>, frame=, throwflag=<optimized out>) at ./Include/object.h:523\n#4 _PyEval_EvalFrame (tstate=<_PyRuntime+166328>, frame=, throwflag=0) at ./Include/internal/pycore_ceval.h:73\n#5 _PyEval_Vector (tstate=<_PyRuntime+166328>, func=<optimized out>, locals=<optimized out>, args=<optimized out>, argcount=<optimized out>, kwnames=<optimized out>) at Python/ceval.c:6438\n#6 PyEval_EvalCode (co=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672890>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals=<optimized out>) at Python/ceval.c:1154\n#7 run_eval_code_obj (tstate=<_PyRuntime+166328>, co=, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672890>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672890>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}) at Python/pythonrun.c:1714\n#8 run_mod (mod=<optimized out>, filename=<optimized out>, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672890>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672890>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, flags=<optimized out>, arena=<optimized out>) at Python/pythonrun.c:1735\n#9 PyRun_StringFlags (str="\\nimport _testcapi\\ndef foo():\\n _testcapi.MethStatic().meth_fastcall_keywords()\\ndef bar():\\n foo()\\nbar()\\n\\n", start=257, globals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672890>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins__\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, locals={\'__name__\': \'__main__\', \'__doc__\': None, \'__package__\': None, \'__loader__\': <type at remote 0x10672890>, \'__spec__\': None, \'__annotations__\': {}, \'__builtins_
\': <module at remote 0x7fffea50f6b0>, \'_testcapi\': <module at remote 0x7fffea34a870>, \'foo\': <function at remote 0x7fffea32fee0>, \'bar\': <function at remote 0x7fffea350b50>}, flags=) at Python/pythonrun.c:1605\n#10 PyRun_SimpleStringFlags (command="\\nimport _testcapi\\ndef foo():\\n _testcapi.MethStatic().meth_fastcall_keywords()\\ndef bar():\\n foo()\\nbar()\\n\\n", flags=) at Python/pythonrun.c:487\n#11 pymain_run_command (command=<optimized out>) at Modules/main.c:255\n#12 pymain_run_python (exitcode=<optimized out>) at Modules/main.c:592\n#13 Py_RunMain () at Modules/main.c:680\n#14 pymain_main (args=) at Modules/main.c:710\n#15 Py_BytesMain (argc=<optimized out>, argv=<optimized out>) at Modules/main.c:734\n#16 main (argc=<optimized out>, argv=<optimized out>) at ./Programs/python.c:15\nTraceback (most recent call first):\n File "<string>", line 4, in foo\n File "<string>", line 6, in bar\n File "<string>", line 7, in <module>\n'
|
Sorry, something went wrong.
* main: (27 commits) pythongh-87849: fix SEND specialization family definition (pythonGH-104268) pythongh-101819: Adapt _io.IOBase.seek and _io.IOBase.truncate to Argument Clinic (python#104384) pythongh-101819: Adapt _io._Buffered* methods to Argument Clinic (python#104367) pythongh-101819: Refactor `_io` futher in preparation for module isolation (python#104369) pythongh-101819: Adapt _io.TextIOBase methods to Argument Clinic (python#104383) pythongh-101117: Improve accuracy of sqlite3.Cursor.rowcount docs (python#104287) pythonGH-92184: Convert os.altsep to '/' in filenames when creating ZipInfo objects (python#92185) pythongh-104357: fix inlined comprehensions that close over iteration var (python#104368) pythonGH-90208: Suppress OSError exceptions from `pathlib.Path.glob()` (pythonGH-104141) pythonGH-102181: Improve specialization stats for SEND (pythonGH-102182) pythongh-103000: Optimise `dataclasses.asdict` for the common case (python#104364) pythongh-103538: Remove unused TK_AQUA code (pythonGH-103539) pythonGH-87695: Fix OSError from `pathlib.Path.glob()` (pythonGH-104292) pythongh-104263: Rely on Py_NAN and introduce Py_INFINITY (pythonGH-104202) pythongh-104010: Separate and improve docs for `typing.get_origin` and `typing.get_args` (python#104013) pythongh-101819: Adapt _io._BufferedIOBase_Type methods to Argument Clinic (python#104355) pythongh-103960: Dark mode: invert image brightness (python#103983) pythongh-104252: Immortalize Py_EMPTY_KEYS (pythongh-104253) pythongh-101819: Clean up _io windows console io after pythongh-104197 (python#104354) pythongh-101819: Harden _io init (python#104352) ...
| Back | FazBrowse Home | New Git URL |
Fix issue where pathlib.Path.glob() raised OSError when it encountered a symlink to an overly long path.