https://github.com/python/cpython/commit/a34edf7446098fc143b101b22ab29b42ea002458
commit: a34edf7446098fc143b101b22ab29b42ea002458
branch: main
author: deadlovelll <[email protected]>
committer: kumaraditya303 <[email protected]>
date: 2026-05-27T00:37:27+05:30
summary:

gh-150486: Remove dead `_buffer_factory` attribute from 
`_SelectorDatagramTransport` (#150487)

files:
M Lib/asyncio/selector_events.py

diff --git a/Lib/asyncio/selector_events.py b/Lib/asyncio/selector_events.py
index 961dbfb4b96303e..adfbc093a0d16d6 100644
--- a/Lib/asyncio/selector_events.py
+++ b/Lib/asyncio/selector_events.py
@@ -1233,7 +1233,6 @@ def close(self):
 
 class _SelectorDatagramTransport(_SelectorTransport, 
transports.DatagramTransport):
 
-    _buffer_factory = collections.deque
     _header_size = 8
 
     def __init__(self, loop, sock, protocol, address=None,

_______________________________________________
Python-checkins mailing list -- [email protected]
To unsubscribe send an email to [email protected]
https://mail.python.org/mailman3//lists/python-checkins.python.org
Member address: [email protected]

Reply via email to