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-140272: Fix memory leak in _gdbm.gdbm.clear()#140274

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
serhiy-storchaka merged 4 commits intopython:mainfromashm-dev:gdb
Oct 18, 2025

Conversation

@ashm-dev
Copy link
Contributor

@ashm-devashm-dev commentedOct 17, 2025
edited by bedevere-appbot
Loading

Copy link
Member

@serhiy-storchakaserhiy-storchaka left a comment

Choose a reason for hiding this comment

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

LGTM. 👍

A suggestion for the NEWS entry.

ashm-dev reacted with thumbs up emoji
…e-140272.lhY8uS.rstCo-authored-by: Serhiy Storchaka <storchaka@gmail.com>
@serhiy-storchakaserhiy-storchaka added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsOct 18, 2025
@serhiy-storchakaserhiy-storchakaenabled auto-merge (squash)October 18, 2025 08:59
@serhiy-storchakaserhiy-storchaka merged commitf937468 intopython:mainOct 18, 2025
45 checks passed
@miss-islington-app
Copy link

Thanks@ashm-dev for the PR, and@serhiy-storchaka for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestOct 18, 2025
(cherry picked from commitf937468)Co-authored-by: Shamil <ashm.tech@proton.me>
@miss-islington-app
Copy link

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

cherry_picker f937468e7c88c768a28ff4e653da051ffa30d86c 3.13

@bedevere-app
Copy link

GH-140285 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelOct 18, 2025
@ashm-devashm-dev deleted the gdb branchOctober 18, 2025 09:28
serhiy-storchaka pushed a commit that referenced this pull requestOct 18, 2025
…H-140285)(cherry picked from commitf937468)Co-authored-by: Shamil <ashm.tech@proton.me>
serhiy-storchaka pushed a commit to serhiy-storchaka/cpython that referenced this pull requestOct 18, 2025
…GH-140274)(cherry picked from commitf937468)Co-authored-by: Shamil <ashm.tech@proton.me>
@bedevere-app
Copy link

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

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelOct 18, 2025
@serhiy-storchaka
Copy link
Member

I didn't notice at first that the NEWS entry was added to the wrong section. Fixed in the manual backport to 3.13 and in a separate PR for main and 3.14:#140290.

@bedevere-bot
Copy link

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

Hi! The buildbotARM64 macOS 3.14 (tier-2) has failed when building commit128f48f.

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/#/builders/1772/builds/601) and take a look at the build logs.
  4. Check if the failure is related to this commit (128f48f) 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/#/builders/1772/builds/601

Failed tests:

  • test_urllib2net

Failed subtests:

  • test_ftp_default_timeout - test.test_urllib2net.TimeoutTest.test_ftp_default_timeout
  • test_ftp_timeout - test.test_urllib2net.TimeoutTest.test_ftp_timeout
  • test_ftp - test.test_urllib2net.OtherNetworkTests.test_ftp
  • test_ftp_basic - test.test_urllib2net.TimeoutTest.test_ftp_basic
  • test_ftp_no_timeout - test.test_urllib2net.TimeoutTest.test_ftp_no_timeout

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

==

Click to see traceback logs
Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line363, intest_ftp_no_timeout    u= _urlopen_with_retry(self.FTP_HOST,timeout=None)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line187, inurlopenreturn opener.open(url, data, timeout)~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: [Errno 60] Operation timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=6, family=2, type=1, proto=6, laddr=('192.168.0.101', 56935), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 56938), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 56938), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=6, family=2, type=1, proto=6, laddr=('192.168.0.101', 56940), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 56946), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 56946), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56952), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56952), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56958), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56958), raddr=('68.183.26.59', 21)>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1546, inftp_open    fp, retrlen= fw.retrfile(file,type)~~~~~~~~~~~^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1826, inretrfile    conn, retrlen=self.ftp.ntransfercmd(cmd)~~~~~~~~~~~~~~~~~~~~~^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/ftplib.py", line354, inntransfercmd    conn= socket.create_connection((host, port),self.timeout,                                    source_address=self.source_address)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line870, increate_connectionraise exceptions[0]  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line855, increate_connection    sock.connect(sa)~~~~~~~~~~~~^^^^TimeoutError:[Errno 60] Operation timed outTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1546, inftp_open    fp, retrlen= fw.retrfile(file,type)~~~~~~~~~~~^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1806, inretrfile    conn, retrlen=self.ftp.ntransfercmd(cmd)~~~~~~~~~~~~~~~~~~~~~^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/ftplib.py", line354, inntransfercmd    conn= socket.create_connection((host, port),self.timeout,                                    source_address=self.source_address)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line870, increate_connectionraise exceptions[0]  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line855, increate_connection    sock.connect(sa)~~~~~~~~~~~~^^^^TimeoutError:timed outTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line260, in_test_urls    f= urlopen(url, req, support.INTERNET_TIMEOUT)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: [Errno 60] Operation timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56985), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56987), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56987), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56948), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56950), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56950), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line260, in_test_urls    f= urlopen(url, req, support.INTERNET_TIMEOUT)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line351, intest_ftp_default_timeout    u= _urlopen_with_retry(self.FTP_HOST)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line187, inurlopenreturn opener.open(url, data, timeout)~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: [Errno 60] Operation timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 56977), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56979), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56979), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 56942), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56944), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56944), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line372, intest_ftp_timeout    u= _urlopen_with_retry(self.FTP_HOST,timeout=60)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line187, inurlopenreturn opener.open(url, data, timeout)~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: [Errno 60] Operation timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1546, inftp_open    fp, retrlen= fw.retrfile(file,type)~~~~~~~~~~~^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1806, inretrfile    conn, retrlen=self.ftp.ntransfercmd(cmd)~~~~~~~~~~~~~~~~~~~~~^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/ftplib.py", line354, inntransfercmd    conn= socket.create_connection((host, port),self.timeout,                                    source_address=self.source_address)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line870, increate_connectionraise exceptions[0]  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/socket.py", line855, increate_connection    sock.connect(sa)~~~~~~~~~~~~^^^^TimeoutError:[Errno 60] Operation timed outTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=7, family=2, type=1, proto=6, laddr=('192.168.0.101', 56981), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56989), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=8, family=2, type=1, proto=6, laddr=('192.168.0.101', 56989), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56996), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56996), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 57002), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/support/__init__.py", line847, ingc_collect    gc.collect()ResourceWarning:unclosed <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 57002), raddr=('68.183.26.59', 21)>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56991), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 56993), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 56993), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=9, family=2, type=1, proto=6, laddr=('192.168.0.101', 56954), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=11, family=2, type=1, proto=6, laddr=('192.168.0.101', 56956), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=11, family=2, type=1, proto=6, laddr=('192.168.0.101', 56956), raddr=('68.183.26.59', 21)>ERRORTraceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line342, intest_ftp_basic    u= _urlopen_with_retry(self.FTP_HOST)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line28, inwrappedreturn _retry_thrice(func, exc,*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line24, in_retry_thriceraise last_exc  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line20, in_retry_thricereturn func(*args,**kwargs)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line187, inurlopenreturn opener.open(url, data, timeout)~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line487, inopen    response=self._open(req, data)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line504, in_open    result=self._call_chain(self.handle_open, protocol, protocol+'_open', req)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line464, in_call_chain    result= func(*args)  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/urllib/request.py", line1556, inftp_openraise URLError(f"ftp error:{exp}")from expurllib.error.URLError:<urlopen error ftp error: [Errno 60] Operation timed out>Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=10, family=2, type=1, proto=6, laddr=('192.168.0.101', 56998), raddr=('68.183.26.59', 21)>Warning -- Unraisable exceptionException ignored while finalizing socket <socket.socket fd=11, family=2, type=1, proto=6, laddr=('192.168.0.101', 57000), raddr=('68.183.26.59', 21)>:Traceback (most recent call last):  File"/Users/buildbot/buildarea/3.14.pablogsal-macos-m1.macos-with-brew/build/Lib/test/test_urllib2net.py", line22, in_retry_thrice    last_exc= eResourceWarning:unclosed <socket.socket fd=11, family=2, type=1, proto=6, laddr=('192.168.0.101', 57000), raddr=('68.183.26.59', 21)>ERROR

serhiy-storchaka added a commit that referenced this pull requestOct 18, 2025
…H-140289)(cherry picked from commitf937468)Co-authored-by: Shamil <ashm.tech@proton.me>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@corona10corona10Awaiting requested review from corona10corona10 is a code owner

@erlend-aaslanderlend-aaslandAwaiting requested review from erlend-aaslanderlend-aasland is a code owner

@serhiy-storchakaserhiy-storchakaAwaiting requested review from serhiy-storchakaserhiy-storchaka is a code owner

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

3 participants

@ashm-dev@serhiy-storchaka@bedevere-bot

[8]ページ先頭

©2009-2025 Movatter.jp