id
stringlengths
13
54
prompt
stringlengths
708
2.91M
answer
stringlengths
110
352k
prompt_input_token_count
int64
206
1.14M
metadata
dict
aio-libs__aiohttp-5853
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3eb01213d38d51a1a631786e03def631563140fc Changed files: - aiohttp/helpers.py ## Pro...
diff --git a/aiohttp/helpers.py b/aiohttp/helpers.py index 0000000..0000000 100644 --- a/aiohttp/helpers.py +++ b/aiohttp/helpers.py @@ -675,7 +675,6 @@ class TimerContext(BaseTimerContext): ) if self._cancelled: - task.cancel() raise asyncio.TimeoutError from None ...
23,690
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-5853", "repo": "aio-libs/aiohttp", "base_commit": "3eb01213d38d51a1a631786e03def631563140fc", "pull_number": 5853, "issue_numbers": [ ...
aio-libs__aiohttp-5928
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 33a38b8c358011fc8bc9198cd62a2a50b69bbc14 Changed files: - aiohttp/web.py ## Problem...
diff --git a/aiohttp/web.py b/aiohttp/web.py index 0000000..0000000 100644 --- a/aiohttp/web.py +++ b/aiohttp/web.py @@ -441,9 +441,7 @@ def _cancel_tasks( for task in to_cancel: task.cancel() - loop.run_until_complete( - asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) - ) + ...
14,495
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-5928", "repo": "aio-libs/aiohttp", "base_commit": "33a38b8c358011fc8bc9198cd62a2a50b69bbc14", "pull_number": 5928, "issue_numbers": [ ...
aio-libs__aiohttp-5929
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 7534c0b978060fd5a64d365d7a16b7d1691b2a78 Changed files: - aiohttp/web.py ## Problem...
diff --git a/aiohttp/web.py b/aiohttp/web.py index 0000000..0000000 100644 --- a/aiohttp/web.py +++ b/aiohttp/web.py @@ -442,9 +442,7 @@ def _cancel_tasks( for task in to_cancel: task.cancel() - loop.run_until_complete( - asyncio.gather(*to_cancel, loop=loop, return_exceptions=True) - ) + ...
14,507
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-5929", "repo": "aio-libs/aiohttp", "base_commit": "7534c0b978060fd5a64d365d7a16b7d1691b2a78", "pull_number": 5929, "issue_numbers": [ ...
aio-libs__aiohttp-5958
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 47ab6dfd9453a858d2a849834c1a025d3e3d4bf4 Changed files: - aiohttp/web_protocol.py #...
diff --git a/aiohttp/web_protocol.py b/aiohttp/web_protocol.py index 0000000..0000000 100644 --- a/aiohttp/web_protocol.py +++ b/aiohttp/web_protocol.py @@ -194,6 +194,7 @@ class RequestHandler(BaseProtocol): max_field_size: int = 8190, lingering_time: float = 10.0, read_bufsize: int = 2 ** 1...
15,441
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-5958", "repo": "aio-libs/aiohttp", "base_commit": "47ab6dfd9453a858d2a849834c1a025d3e3d4bf4", "pull_number": 5958, "issue_numbers": [ ...
aio-libs__aiohttp-5959
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 079e9c5a7e6fede74be6fabd689b875f2065e084 Changed files: - aiohttp/helpers.py ## Pro...
diff --git a/aiohttp/helpers.py b/aiohttp/helpers.py index 0000000..0000000 100644 --- a/aiohttp/helpers.py +++ b/aiohttp/helpers.py @@ -13,6 +13,7 @@ import platform import re import sys import time +import warnings import weakref from collections import namedtuple from contextlib import suppress @@ -55,6 +56,7 ...
22,691
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-5959", "repo": "aio-libs/aiohttp", "base_commit": "079e9c5a7e6fede74be6fabd689b875f2065e084", "pull_number": 5959, "issue_numbers": [ ...
aio-libs__aiohttp-5960
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 068e68112768bbdd8efd664511d9a0c46ad7d111 Changed files: - aiohttp/client.py - aiohtt...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -154,7 +154,7 @@ class ClientTimeout: # to create a timeout specific for a single request, either # - create a completely new one to overwrite the default - # - or use http:...
45,838
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-5960", "repo": "aio-libs/aiohttp", "base_commit": "068e68112768bbdd8efd664511d9a0c46ad7d111", "pull_number": 5960, "issue_numbers": [ ...
aio-libs__aiohttp-5992
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 13c26be82aa884994b52add6ec7a476b199fe910 Changed files: - aiohttp/client_reqrep.py -...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -481,8 +481,6 @@ class ClientRequest: proxy_auth: Optional[BasicAuth], proxy_headers: Optional[LooseHeaders], ) -> None: - if prox...
58,176
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-5992", "repo": "aio-libs/aiohttp", "base_commit": "13c26be82aa884994b52add6ec7a476b199fe910", "pull_number": 5992, "issue_numbers": [ ...
aio-libs__aiohttp-6049
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 8aa7a72eebd52afdc23e33cb0e3f14f73fdf4c6a Changed files: - aiohttp/client_reqrep.py -...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -547,8 +547,6 @@ class ClientRequest: proxy_auth: Optional[BasicAuth], proxy_headers: Optional[LooseHeaders], ) -> None: - if prox...
80,952
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6049", "repo": "aio-libs/aiohttp", "base_commit": "8aa7a72eebd52afdc23e33cb0e3f14f73fdf4c6a", "pull_number": 6049, "issue_numbers": [ ...
aio-libs__aiohttp-6121
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: a4b7505172a9f84022f14c5976f108bc847a7475 Changed files: - aiohttp/client_reqrep.py ...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -311,7 +311,7 @@ class ClientRequest: self.update_proxy(proxy, proxy_auth, proxy_headers) self.update_body_from_data(data) - if data ...
28,012
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6121", "repo": "aio-libs/aiohttp", "base_commit": "a4b7505172a9f84022f14c5976f108bc847a7475", "pull_number": 6121, "issue_numbers": [ ...
aio-libs__aiohttp-6129
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 83fff483e1e77530a6295a44bcad515a18f7b207 Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -169,6 +169,7 @@ class ClientSession: """First-class interface for making HTTP requests.""" __slots__ = ( + "_base_url", "_source_traceback", "_connect...
30,784
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6129", "repo": "aio-libs/aiohttp", "base_commit": "83fff483e1e77530a6295a44bcad515a18f7b207", "pull_number": 6129, "issue_numbers": [ ...
aio-libs__aiohttp-6135
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 58f86f52176e3504a1a88723bd77bc91fa8eae74 Changed files: - aiohttp/web_app.py - aioht...
diff --git a/aiohttp/web_app.py b/aiohttp/web_app.py index 0000000..0000000 100644 --- a/aiohttp/web_app.py +++ b/aiohttp/web_app.py @@ -332,7 +332,7 @@ class Application(MutableMapping[str, Any]): match_info.freeze() resp = None - request._match_info = match_info # type: ignore[assignment] ...
42,190
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6135", "repo": "aio-libs/aiohttp", "base_commit": "58f86f52176e3504a1a88723bd77bc91fa8eae74", "pull_number": 6135, "issue_numbers": [ ...
aio-libs__aiohttp-6137
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 61b7d831ec26bd3246b5cc31a1b679daf1897861 Changed files: - aiohttp/web_app.py - aioht...
diff --git a/aiohttp/web_app.py b/aiohttp/web_app.py index 0000000..0000000 100644 --- a/aiohttp/web_app.py +++ b/aiohttp/web_app.py @@ -482,7 +482,7 @@ class Application(MutableMapping[str, Any]): match_info.freeze() resp = None - request._match_info = match_info # type: ignore[assignment] ...
45,905
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6137", "repo": "aio-libs/aiohttp", "base_commit": "61b7d831ec26bd3246b5cc31a1b679daf1897861", "pull_number": 6137, "issue_numbers": [ ...
aio-libs__aiohttp-6144
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 0fef0a30797c960ab748664599fab54e6cc2d025 Changed files: - setup.py ## Problem state...
diff --git a/setup.py b/setup.py index 0000000..0000000 100644 --- a/setup.py +++ b/setup.py @@ -18,7 +18,7 @@ if sys.implementation.name != "cpython": NO_EXTENSIONS = True -if IS_GIT_REPO and not (HERE / "vendor/http-parser/README.md").exists(): +if IS_GIT_REPO and not (HERE / "vendor/llhttp/README.md").exist...
4,000
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6144", "repo": "aio-libs/aiohttp", "base_commit": "0fef0a30797c960ab748664599fab54e6cc2d025", "pull_number": 6144, "issue_numbers": [ ...
aio-libs__aiohttp-6164
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 4b3b36c0eb4099e0a9a90365b9cf3dc4bf46cfe7 Changed files: - setup.py ## Problem state...
diff --git a/setup.py b/setup.py index 0000000..0000000 100644 --- a/setup.py +++ b/setup.py @@ -80,18 +80,6 @@ def read(f): return (here / f).read_text("utf-8").strip() -NEEDS_PYTEST = {"pytest", "test"}.intersection(sys.argv) -pytest_runner = ["pytest-runner"] if NEEDS_PYTEST else [] - -tests_require = [ - ...
5,779
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6164", "repo": "aio-libs/aiohttp", "base_commit": "4b3b36c0eb4099e0a9a90365b9cf3dc4bf46cfe7", "pull_number": 6164, "issue_numbers": [ ...
aio-libs__aiohttp-6179
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: eeaea0cf8d0e4df3425ee19cc9f800fdc73bee80 Changed files: - aiohttp/web_urldispatcher....
diff --git a/aiohttp/web_urldispatcher.py b/aiohttp/web_urldispatcher.py index 0000000..0000000 100644 --- a/aiohttp/web_urldispatcher.py +++ b/aiohttp/web_urldispatcher.py @@ -513,6 +513,7 @@ class PrefixResource(AbstractResource): assert prefix in ("", "/") or not prefix.endswith("/"), prefix super(...
31,245
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6179", "repo": "aio-libs/aiohttp", "base_commit": "eeaea0cf8d0e4df3425ee19cc9f800fdc73bee80", "pull_number": 6179, "issue_numbers": [ ...
aio-libs__aiohttp-6183
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 59bbcac0158ca492b57307ce990bcb709680b024 Changed files: - aiohttp/helpers.py ## Pro...
diff --git a/aiohttp/helpers.py b/aiohttp/helpers.py index 0000000..0000000 100644 --- a/aiohttp/helpers.py +++ b/aiohttp/helpers.py @@ -240,14 +240,20 @@ class ProxyInfo: def proxies_from_env() -> Dict[str, ProxyInfo]: - proxy_urls = {k: URL(v) for k, v in getproxies().items() if k in ("http", "https")} + p...
21,518
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6183", "repo": "aio-libs/aiohttp", "base_commit": "59bbcac0158ca492b57307ce990bcb709680b024", "pull_number": 6183, "issue_numbers": [ ...
aio-libs__aiohttp-6201
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3cea180059f63a549eaed3d239c2d82f73153d54 Changed files: - aiohttp/__init__.py - docs...
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index 0000000..0000000 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -180,8 +180,6 @@ __all__: Tuple[str, ...] = ( "AsyncResolver", "DefaultResolver", "ThreadedResolver", - # signals - "Signal", # streams "DataQueue", ...
17,153
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6201", "repo": "aio-libs/aiohttp", "base_commit": "3cea180059f63a549eaed3d239c2d82f73153d54", "pull_number": 6201, "issue_numbers": [ ...
aio-libs__aiohttp-6309
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 7f3251359b2ece0641acd0ccc5515dafaab5d8ed Changed files: - aiohttp/resolver.py ## Pr...
diff --git a/aiohttp/resolver.py b/aiohttp/resolver.py index 0000000..0000000 100644 --- a/aiohttp/resolver.py +++ b/aiohttp/resolver.py @@ -40,17 +40,23 @@ class ThreadedResolver(AbstractResolver): hosts = [] for family, _, proto, _, address in infos: if family == socket.AF_INET6: - ...
4,483
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6309", "repo": "aio-libs/aiohttp", "base_commit": "7f3251359b2ece0641acd0ccc5515dafaab5d8ed", "pull_number": 6309, "issue_numbers": [ ...
aio-libs__aiohttp-6321
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: d149eff62e1e110d2eafac8a79219dd2e56b8581 Changed files: - aiohttp/connector.py ## P...
diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 0000000..0000000 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -45,7 +45,7 @@ from .client_exceptions import ( ) from .client_proto import ResponseHandler from .client_reqrep import SSL_ALLOWED_TYPES, ClientRequest, Fingerprint -from .h...
34,581
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6321", "repo": "aio-libs/aiohttp", "base_commit": "d149eff62e1e110d2eafac8a79219dd2e56b8581", "pull_number": 6321, "issue_numbers": [ ...
aio-libs__aiohttp-6340
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3daa9d1fda7c5018669879a09cf9dd3c33920fb7 Changed files: - aiohttp/web_request.py ##...
diff --git a/aiohttp/web_request.py b/aiohttp/web_request.py index 0000000..0000000 100644 --- a/aiohttp/web_request.py +++ b/aiohttp/web_request.py @@ -205,6 +205,7 @@ class BaseRequest(MutableMapping[str, Any], HeadersMixin): scheme: Union[str, _SENTINEL] = sentinel, host: Union[str, _SENTINEL] = se...
21,697
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6340", "repo": "aio-libs/aiohttp", "base_commit": "3daa9d1fda7c5018669879a09cf9dd3c33920fb7", "pull_number": 6340, "issue_numbers": [ ...
aio-libs__aiohttp-6409
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 15941aa1d941716d6fefe67f19369139bc3d0843 Changed files: - aiohttp/http_parser.py - a...
diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py index 0000000..0000000 100644 --- a/aiohttp/http_parser.py +++ b/aiohttp/http_parser.py @@ -533,9 +533,6 @@ class HttpRequestParser(HttpParser[RawRequestMessage]): "Status line is too long", str(self.max_line_size), str(len(path)) ...
42,328
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6409", "repo": "aio-libs/aiohttp", "base_commit": "15941aa1d941716d6fefe67f19369139bc3d0843", "pull_number": 6409, "issue_numbers": [ ...
aio-libs__aiohttp-6718
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: a0454809e3fd15f70c95d794addf005d9bd95b23 Changed files: - aiohttp/client_reqrep.py ...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -215,7 +215,7 @@ class ClientRequest: if match: raise ValueError( f"Method cannot contain non-token characters {method!r}...
26,542
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6718", "repo": "aio-libs/aiohttp", "base_commit": "a0454809e3fd15f70c95d794addf005d9bd95b23", "pull_number": 6718, "issue_numbers": [ ...
aio-libs__aiohttp-6722
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 0ec65c0f4dc08d027f659256b09ae9cff10ab404 Changed files: - aiohttp/__init__.py - aioh...
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index 0000000..0000000 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -25,7 +25,12 @@ from .client import ( ContentTypeError, Fingerprint, InvalidURL, + InvalidUrlClientError, + InvalidUrlRedirectClientError, NamedPipeConnec...
45,424
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6722", "repo": "aio-libs/aiohttp", "base_commit": "0ec65c0f4dc08d027f659256b09ae9cff10ab404", "pull_number": 6722, "issue_numbers": [ ...
aio-libs__aiohttp-6727
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 0215cdd4275ea0150f169545b25b66e1f5dc69f0 Changed files: - aiohttp/web_protocol.py #...
diff --git a/aiohttp/web_protocol.py b/aiohttp/web_protocol.py index 0000000..0000000 100644 --- a/aiohttp/web_protocol.py +++ b/aiohttp/web_protocol.py @@ -331,8 +331,6 @@ class RequestHandler(BaseProtocol): exc = ConnectionResetError("Connection lost") self._current_request._cancel(exc) ...
18,608
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6727", "repo": "aio-libs/aiohttp", "base_commit": "0215cdd4275ea0150f169545b25b66e1f5dc69f0", "pull_number": 6727, "issue_numbers": [ ...
aio-libs__aiohttp-6741
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 217258305fa2496467e75cde85c6be716651f850 Changed files: - aiohttp/web_protocol.py #...
diff --git a/aiohttp/web_protocol.py b/aiohttp/web_protocol.py index 0000000..0000000 100644 --- a/aiohttp/web_protocol.py +++ b/aiohttp/web_protocol.py @@ -299,8 +299,6 @@ class RequestHandler(BaseProtocol): exc = ConnectionResetError("Connection lost") self._current_request._cancel(exc) ...
18,050
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6741", "repo": "aio-libs/aiohttp", "base_commit": "217258305fa2496467e75cde85c6be716651f850", "pull_number": 6741, "issue_numbers": [ ...
aio-libs__aiohttp-6742
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 46b9a769496c675d203e109ed6deaf7dc12ac223 Changed files: - aiohttp/web_protocol.py #...
diff --git a/aiohttp/web_protocol.py b/aiohttp/web_protocol.py index 0000000..0000000 100644 --- a/aiohttp/web_protocol.py +++ b/aiohttp/web_protocol.py @@ -311,8 +311,6 @@ class RequestHandler(BaseProtocol): exc = ConnectionResetError("Connection lost") self._current_request._cancel(exc) ...
18,316
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6742", "repo": "aio-libs/aiohttp", "base_commit": "46b9a769496c675d203e109ed6deaf7dc12ac223", "pull_number": 6742, "issue_numbers": [ ...
aio-libs__aiohttp-6810
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 1f97c55a93c4dd7e7dfe9b5850bdbfa0daa273de Changed files: - aiohttp/streams.py ## Pro...
diff --git a/aiohttp/streams.py b/aiohttp/streams.py index 0000000..0000000 100644 --- a/aiohttp/streams.py +++ b/aiohttp/streams.py @@ -325,7 +325,9 @@ class StreamReader(AsyncStreamReaderMixin): offset = self._buffer_offset ichar = self._buffer[0].find(separator, offset) + 1 ...
15,104
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6810", "repo": "aio-libs/aiohttp", "base_commit": "1f97c55a93c4dd7e7dfe9b5850bdbfa0daa273de", "pull_number": 6810, "issue_numbers": [ ...
aio-libs__aiohttp-6903
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 905e0625777c20e4cf2d57fcfd4355827312f797 Changed files: - aiohttp/connector.py - aio...
diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 0000000..0000000 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -8,6 +8,7 @@ import traceback import warnings from collections import defaultdict, deque from contextlib import suppress +from http import HTTPStatus from http.cookies impo...
60,894
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6903", "repo": "aio-libs/aiohttp", "base_commit": "905e0625777c20e4cf2d57fcfd4355827312f797", "pull_number": 6903, "issue_numbers": [ ...
aio-libs__aiohttp-6924
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 7b9a39fa5615b6ec0828a13f25dd88ee3c13fba5 Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -1044,7 +1044,7 @@ class ClientSession: return self._loop @property - def timeout(self) -> Union[object, ClientTimeout]: + def timeout(self) -> ClientTimeout: ...
33,752
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6924", "repo": "aio-libs/aiohttp", "base_commit": "7b9a39fa5615b6ec0828a13f25dd88ee3c13fba5", "pull_number": 6924, "issue_numbers": [ ...
aio-libs__aiohttp-6925
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 9fdf5489313fef9d520ff149f2c296578fe518ae Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -1027,7 +1027,7 @@ class ClientSession: return self._loop @property - def timeout(self) -> Union[object, ClientTimeout]: + def timeout(self) -> ClientTimeout: ...
33,378
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6925", "repo": "aio-libs/aiohttp", "base_commit": "9fdf5489313fef9d520ff149f2c296578fe518ae", "pull_number": 6925, "issue_numbers": [ ...
aio-libs__aiohttp-6955
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3976528809cfd7525dd3690b96535720f911f3ce Changed files: - aiohttp/__init__.py - docs...
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index 0000000..0000000 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -1,4 +1,4 @@ -__version__ = "3.8.1" +__version__ = "3.9.0.dev0" from typing import Tuple diff --git a/docs/conf.py b/docs/conf.py index 0000000..0000000 100644 --- a/docs/conf...
20,825
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6955", "repo": "aio-libs/aiohttp", "base_commit": "3976528809cfd7525dd3690b96535720f911f3ce", "pull_number": 6955, "issue_numbers": [ ...
aio-libs__aiohttp-6956
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 0116cfddbf140cdafeefd1638382d4e0d1ab19e4 Changed files: - aiohttp/__init__.py - docs...
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index 0000000..0000000 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -1,4 +1,4 @@ -__version__ = "4.0.0a1" +__version__ = "4.0.0a2.dev0" from typing import Tuple diff --git a/docs/conf.py b/docs/conf.py index 0000000..0000000 100644 --- a/docs/...
20,992
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-6956", "repo": "aio-libs/aiohttp", "base_commit": "0116cfddbf140cdafeefd1638382d4e0d1ab19e4", "pull_number": 6956, "issue_numbers": [ ...
aio-libs__aiohttp-7079
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: cdd25d91ae617b2820c2638768447310f873cc08 Changed files: - aiohttp/streams.py ## Pro...
diff --git a/aiohttp/streams.py b/aiohttp/streams.py index 0000000..0000000 100644 --- a/aiohttp/streams.py +++ b/aiohttp/streams.py @@ -319,7 +319,9 @@ class StreamReader(AsyncStreamReaderMixin): offset = self._buffer_offset ichar = self._buffer[0].find(separator, offset) + 1 ...
15,401
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7079", "repo": "aio-libs/aiohttp", "base_commit": "cdd25d91ae617b2820c2638768447310f873cc08", "pull_number": 7079, "issue_numbers": [ ...
aio-libs__aiohttp-7144
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 6798629d1376f7c4140213ea54cef65dfcbdc32e Changed files: - docs/conf.py ## Problem s...
diff --git a/docs/conf.py b/docs/conf.py index 0000000..0000000 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -200,12 +200,6 @@ html_theme_options = { "height": "20", "alt": "Latest PyPI package version", }, - { - "image": f"https://img.shields.io/discourse/status?...
11,620
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7144", "repo": "aio-libs/aiohttp", "base_commit": "6798629d1376f7c4140213ea54cef65dfcbdc32e", "pull_number": 7144, "issue_numbers": [ ...
aio-libs__aiohttp-7150
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 4635161ee8e7ad321cca46e01ce5bfeb1ad8bf26 Changed files: - aiohttp/client_proto.py - ...
diff --git a/aiohttp/client_proto.py b/aiohttp/client_proto.py index 0000000..0000000 100644 --- a/aiohttp/client_proto.py +++ b/aiohttp/client_proto.py @@ -157,7 +157,6 @@ class ResponseHandler(BaseProtocol, DataQueue[Tuple[RawResponseMessage, StreamRe self._skip_payload = skip_payload self._read_t...
34,289
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7150", "repo": "aio-libs/aiohttp", "base_commit": "4635161ee8e7ad321cca46e01ce5bfeb1ad8bf26", "pull_number": 7150, "issue_numbers": [ ...
aio-libs__aiohttp-7180
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 2a1024ff1e8f210c5d735f87cd3b408c9ceedd8e Changed files: - aiohttp/base_protocol.py -...
diff --git a/aiohttp/base_protocol.py b/aiohttp/base_protocol.py index 0000000..0000000 100644 --- a/aiohttp/base_protocol.py +++ b/aiohttp/base_protocol.py @@ -18,11 +18,15 @@ class BaseProtocol(asyncio.Protocol): self._loop: asyncio.AbstractEventLoop = loop self._paused = False self._drain_...
7,341
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7180", "repo": "aio-libs/aiohttp", "base_commit": "2a1024ff1e8f210c5d735f87cd3b408c9ceedd8e", "pull_number": 7180, "issue_numbers": [ ...
aio-libs__aiohttp-7190
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 0d93d8053d21aecf7c2f1acdd9656ed0d9c1c38d Changed files: - aiohttp/web.py ## Problem...
diff --git a/aiohttp/web.py b/aiohttp/web.py index 0000000..0000000 100644 --- a/aiohttp/web.py +++ b/aiohttp/web.py @@ -299,7 +299,7 @@ async def _run_app( shutdown_timeout: float = 60.0, keepalive_timeout: float = 75.0, ssl_context: Optional[SSLContext] = None, - print: Callable[..., None] = print, ...
14,286
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7190", "repo": "aio-libs/aiohttp", "base_commit": "0d93d8053d21aecf7c2f1acdd9656ed0d9c1c38d", "pull_number": 7190, "issue_numbers": [ ...
aio-libs__aiohttp-7198
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: e0a78653f81200ed315e07af9738b637b1ef34c6 Changed files: - aiohttp/base_protocol.py -...
diff --git a/aiohttp/base_protocol.py b/aiohttp/base_protocol.py index 0000000..0000000 100644 --- a/aiohttp/base_protocol.py +++ b/aiohttp/base_protocol.py @@ -18,11 +18,15 @@ class BaseProtocol(asyncio.Protocol): self._loop: asyncio.AbstractEventLoop = loop self._paused = False self._drain_...
8,209
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7198", "repo": "aio-libs/aiohttp", "base_commit": "e0a78653f81200ed315e07af9738b637b1ef34c6", "pull_number": 7198, "issue_numbers": [ ...
aio-libs__aiohttp-7199
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: ba573e267c0601e97b7caafb7ac9ad4ec7c7d52d Changed files: - aiohttp/base_protocol.py -...
diff --git a/aiohttp/base_protocol.py b/aiohttp/base_protocol.py index 0000000..0000000 100644 --- a/aiohttp/base_protocol.py +++ b/aiohttp/base_protocol.py @@ -18,11 +18,15 @@ class BaseProtocol(asyncio.Protocol): self._loop: asyncio.AbstractEventLoop = loop self._paused = False self._drain_...
8,205
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7199", "repo": "aio-libs/aiohttp", "base_commit": "ba573e267c0601e97b7caafb7ac9ad4ec7c7d52d", "pull_number": 7199, "issue_numbers": [ ...
aio-libs__aiohttp-7206
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 599810225af1b3be91a049f87b7e71fd2c8f8d88 Changed files: - aiohttp/client_proto.py - ...
diff --git a/aiohttp/client_proto.py b/aiohttp/client_proto.py index 0000000..0000000 100644 --- a/aiohttp/client_proto.py +++ b/aiohttp/client_proto.py @@ -150,7 +150,6 @@ class ResponseHandler(BaseProtocol, DataQueue[Tuple[RawResponseMessage, StreamRe self._skip_payload = skip_payload self._read_t...
35,730
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7206", "repo": "aio-libs/aiohttp", "base_commit": "599810225af1b3be91a049f87b7e71fd2c8f8d88", "pull_number": 7206, "issue_numbers": [ ...
aio-libs__aiohttp-7244
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 6da04694fd87a39af9c3856048c9ff23ca815f88 Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -742,7 +742,7 @@ class ClientSession: default_headers = { hdrs.UPGRADE: "websocket", - hdrs.CONNECTION: "upgrade", + hdrs.CONNECTION: "Upgrade...
31,000
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7244", "repo": "aio-libs/aiohttp", "base_commit": "6da04694fd87a39af9c3856048c9ff23ca815f88", "pull_number": 7244, "issue_numbers": [ ...
aio-libs__aiohttp-7245
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: dbc118dd1086682f3f028bf167a5c3ca1243e522 Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -772,7 +772,7 @@ class ClientSession: default_headers = { hdrs.UPGRADE: "websocket", - hdrs.CONNECTION: "upgrade", + hdrs.CONNECTION: "Upgrade...
32,695
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7245", "repo": "aio-libs/aiohttp", "base_commit": "dbc118dd1086682f3f028bf167a5c3ca1243e522", "pull_number": 7245, "issue_numbers": [ ...
aio-libs__aiohttp-7333
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 6f3e7f4687089ecb085a49aadbe372e5408fb9bb Changed files: - aiohttp/connector.py ## P...
diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 0000000..0000000 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -1062,6 +1062,9 @@ class TCPConnector(BaseConnector): f"[{type_err!s}]" ) from type_err else: + if tls_transport is None: + ...
36,573
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7333", "repo": "aio-libs/aiohttp", "base_commit": "6f3e7f4687089ecb085a49aadbe372e5408fb9bb", "pull_number": 7333, "issue_numbers": [ ...
aio-libs__aiohttp-7357
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 40874103ebfaa1007d47c25ecc4288af873a07cf Changed files: - aiohttp/connector.py ## P...
diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 0000000..0000000 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -1121,6 +1121,9 @@ class TCPConnector(BaseConnector): f"[{type_err!s}]" ) from type_err else: + if tls_transport is None: + ...
38,521
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7357", "repo": "aio-libs/aiohttp", "base_commit": "40874103ebfaa1007d47c25ecc4288af873a07cf", "pull_number": 7357, "issue_numbers": [ ...
aio-libs__aiohttp-7358
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 6536cb541efdd9c862a114fc90cff8dd7216b7cc Changed files: - aiohttp/connector.py ## P...
diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 0000000..0000000 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -1130,6 +1130,9 @@ class TCPConnector(BaseConnector): f"[{type_err!s}]" ) from type_err else: + if tls_transport is None: + ...
38,869
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7358", "repo": "aio-libs/aiohttp", "base_commit": "6536cb541efdd9c862a114fc90cff8dd7216b7cc", "pull_number": 7358, "issue_numbers": [ ...
aio-libs__aiohttp-7363
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 7911f1e9542afd0623b61f75c5e367c3c0e185bd Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -159,6 +159,9 @@ class ClientTimeout: # 5 Minute default read timeout DEFAULT_TIMEOUT: Final[ClientTimeout] = ClientTimeout(total=5 * 60) +# https://www.rfc-editor.org/rfc/rfc9110#sect...
34,776
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7363", "repo": "aio-libs/aiohttp", "base_commit": "7911f1e9542afd0623b61f75c5e367c3c0e185bd", "pull_number": 7363, "issue_numbers": [ ...
aio-libs__aiohttp-7370
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 44f322d43aad39d9491394c93fd7ae08a4a2514d Changed files: - aiohttp/payload.py ## Pro...
diff --git a/aiohttp/payload.py b/aiohttp/payload.py index 0000000..0000000 100644 --- a/aiohttp/payload.py +++ b/aiohttp/payload.py @@ -416,7 +416,7 @@ class AsyncIterablePayload(Payload): if not isinstance(value, AsyncIterable): raise TypeError( "value argument must support " - ...
10,334
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7370", "repo": "aio-libs/aiohttp", "base_commit": "44f322d43aad39d9491394c93fd7ae08a4a2514d", "pull_number": 7370, "issue_numbers": [ ...
aio-libs__aiohttp-7371
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3577b1e3719d4648fa973dbdec927f78f9df34dd Changed files: - aiohttp/payload.py ## Pro...
diff --git a/aiohttp/payload.py b/aiohttp/payload.py index 0000000..0000000 100644 --- a/aiohttp/payload.py +++ b/aiohttp/payload.py @@ -423,7 +423,7 @@ class AsyncIterablePayload(Payload): if not isinstance(value, AsyncIterable): raise TypeError( "value argument must support " - ...
10,412
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7371", "repo": "aio-libs/aiohttp", "base_commit": "3577b1e3719d4648fa973dbdec927f78f9df34dd", "pull_number": 7371, "issue_numbers": [ ...
aio-libs__aiohttp-7372
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 578d42383fd8c52a460e1966942e664968e62b18 Changed files: - aiohttp/payload.py ## Pro...
diff --git a/aiohttp/payload.py b/aiohttp/payload.py index 0000000..0000000 100644 --- a/aiohttp/payload.py +++ b/aiohttp/payload.py @@ -421,7 +421,7 @@ class AsyncIterablePayload(Payload): if not isinstance(value, AsyncIterable): raise TypeError( "value argument must support " - ...
10,389
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7372", "repo": "aio-libs/aiohttp", "base_commit": "578d42383fd8c52a460e1966942e664968e62b18", "pull_number": 7372, "issue_numbers": [ ...
aio-libs__aiohttp-7378
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 41e2c4c1fdf34d800bb9e4247cd9ebfc6904d9d7 Changed files: - aiohttp/helpers.py ## Pro...
diff --git a/aiohttp/helpers.py b/aiohttp/helpers.py index 0000000..0000000 100644 --- a/aiohttp/helpers.py +++ b/aiohttp/helpers.py @@ -3,6 +3,7 @@ import asyncio import base64 import binascii +import contextlib import dataclasses import datetime import enum @@ -213,8 +214,11 @@ def netrc_from_env() -> Optional[...
28,600
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7378", "repo": "aio-libs/aiohttp", "base_commit": "41e2c4c1fdf34d800bb9e4247cd9ebfc6904d9d7", "pull_number": 7378, "issue_numbers": [ ...
aio-libs__aiohttp-7394
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3f6673734b435403337216b5ec6a2fe00549134b Changed files: - aiohttp/helpers.py ## Pro...
diff --git a/aiohttp/helpers.py b/aiohttp/helpers.py index 0000000..0000000 100644 --- a/aiohttp/helpers.py +++ b/aiohttp/helpers.py @@ -3,6 +3,7 @@ import asyncio import base64 import binascii +import contextlib import datetime import enum import functools @@ -209,8 +210,11 @@ def netrc_from_env() -> Optional[ne...
24,385
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7394", "repo": "aio-libs/aiohttp", "base_commit": "3f6673734b435403337216b5ec6a2fe00549134b", "pull_number": 7394, "issue_numbers": [ ...
aio-libs__aiohttp-7395
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 7c02129567bc4ec59be467b70fc937c82920948c Changed files: - aiohttp/helpers.py ## Pro...
diff --git a/aiohttp/helpers.py b/aiohttp/helpers.py index 0000000..0000000 100644 --- a/aiohttp/helpers.py +++ b/aiohttp/helpers.py @@ -3,6 +3,7 @@ import asyncio import base64 import binascii +import contextlib import datetime import functools import inspect @@ -226,8 +227,11 @@ def netrc_from_env() -> Optional...
22,437
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7395", "repo": "aio-libs/aiohttp", "base_commit": "7c02129567bc4ec59be467b70fc937c82920948c", "pull_number": 7395, "issue_numbers": [ ...
aio-libs__aiohttp-7601
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: fc066bba85fcb704eb0416ed0d15a390567b9cbd Changed files: - aiohttp/client_reqrep.py -...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -398,6 +398,8 @@ class ClientRequest: netloc = cast(str, self.url.raw_host) if helpers.is_ipv6_address(netloc): netloc = f"[{netl...
69,199
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7601", "repo": "aio-libs/aiohttp", "base_commit": "fc066bba85fcb704eb0416ed0d15a390567b9cbd", "pull_number": 7601, "issue_numbers": [ ...
aio-libs__aiohttp-7672
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 45f98b7d5b1aacf21a6cf446a5df51ee2ea2b4b7 Changed files: - docs/conf.py ## Problem s...
diff --git a/docs/conf.py b/docs/conf.py index 0000000..0000000 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -75,7 +75,6 @@ intersphinx_mapping = { "aiohttpsession": ("https://aiohttp-session.readthedocs.io/en/stable/", None), "aiohttpdemos": ("https://aiohttp-demos.readthedocs.io/en/latest/", None), ...
17,404
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7672", "repo": "aio-libs/aiohttp", "base_commit": "45f98b7d5b1aacf21a6cf446a5df51ee2ea2b4b7", "pull_number": 7672, "issue_numbers": [ ...
aio-libs__aiohttp-7680
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3d60762a9b9fe2a13904f5837babdc6a0c4bfd74 Changed files: - aiohttp/client_ws.py ## P...
diff --git a/aiohttp/client_ws.py b/aiohttp/client_ws.py index 0000000..0000000 100644 --- a/aiohttp/client_ws.py +++ b/aiohttp/client_ws.py @@ -191,7 +191,8 @@ class ClientWebSocketResponse: async def close(self, *, code: int = WSCloseCode.OK, message: bytes = b"") -> bool: # we need to break `receive()`...
9,580
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7680", "repo": "aio-libs/aiohttp", "base_commit": "3d60762a9b9fe2a13904f5837babdc6a0c4bfd74", "pull_number": 7680, "issue_numbers": [ ...
aio-libs__aiohttp-7690
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 492e8ee64927f5222666ae7bb0257ea8b09862fd Changed files: - aiohttp/client_ws.py ## P...
diff --git a/aiohttp/client_ws.py b/aiohttp/client_ws.py index 0000000..0000000 100644 --- a/aiohttp/client_ws.py +++ b/aiohttp/client_ws.py @@ -181,7 +181,8 @@ class ClientWebSocketResponse: async def close(self, *, code: int = WSCloseCode.OK, message: bytes = b"") -> bool: # we need to break `receive()`...
8,354
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7690", "repo": "aio-libs/aiohttp", "base_commit": "492e8ee64927f5222666ae7bb0257ea8b09862fd", "pull_number": 7690, "issue_numbers": [ ...
aio-libs__aiohttp-7701
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 39f8ff225a3eb93bae3b9fd54fa377e31e0a9f6d Changed files: - aiohttp/http_parser.py ##...
diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py index 0000000..0000000 100644 --- a/aiohttp/http_parser.py +++ b/aiohttp/http_parser.py @@ -549,11 +549,11 @@ class HttpRequestParser(HttpParser[RawRequestMessage]): ) # method - if not METHRE.match(method): + if not METH...
22,856
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7701", "repo": "aio-libs/aiohttp", "base_commit": "39f8ff225a3eb93bae3b9fd54fa377e31e0a9f6d", "pull_number": 7701, "issue_numbers": [ ...
aio-libs__aiohttp-7703
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 6791b9eb9bf068c6140d050de695e1d2e6fef822 Changed files: - aiohttp/http_parser.py ##...
diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py index 0000000..0000000 100644 --- a/aiohttp/http_parser.py +++ b/aiohttp/http_parser.py @@ -556,11 +556,11 @@ class HttpRequestParser(HttpParser[RawRequestMessage]): ) # method - if not METHRE.match(method): + if not METH...
23,028
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7703", "repo": "aio-libs/aiohttp", "base_commit": "6791b9eb9bf068c6140d050de695e1d2e6fef822", "pull_number": 7703, "issue_numbers": [ ...
aio-libs__aiohttp-7713
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 5c3adc402caa941ab162d0d25d54217a1ff82a88 Changed files: - aiohttp/http_parser.py ##...
diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py index 0000000..0000000 100644 --- a/aiohttp/http_parser.py +++ b/aiohttp/http_parser.py @@ -34,6 +34,7 @@ from .http_exceptions import ( ContentEncodingError, ContentLengthError, InvalidHeader, + InvalidURLError, LineTooLong, Trans...
23,355
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7713", "repo": "aio-libs/aiohttp", "base_commit": "5c3adc402caa941ab162d0d25d54217a1ff82a88", "pull_number": 7713, "issue_numbers": [ ...
aio-libs__aiohttp-7714
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: f61a4e7db94706446abfb81d129025d1cc0e211c Changed files: - aiohttp/http_parser.py ##...
diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py index 0000000..0000000 100644 --- a/aiohttp/http_parser.py +++ b/aiohttp/http_parser.py @@ -34,6 +34,7 @@ from .http_exceptions import ( ContentEncodingError, ContentLengthError, InvalidHeader, + InvalidURLError, LineTooLong, Trans...
23,528
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7714", "repo": "aio-libs/aiohttp", "base_commit": "f61a4e7db94706446abfb81d129025d1cc0e211c", "pull_number": 7714, "issue_numbers": [ ...
aio-libs__aiohttp-7716
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 5b4b7b84cf3fa0cec0384a3115b4d43636834c85 Changed files: - aiohttp/http_exceptions.py...
diff --git a/aiohttp/http_exceptions.py b/aiohttp/http_exceptions.py index 0000000..0000000 100644 --- a/aiohttp/http_exceptions.py +++ b/aiohttp/http_exceptions.py @@ -85,10 +85,9 @@ class LineTooLong(BadHttpMessage): class InvalidHeader(BadHttpMessage): def __init__(self, hdr: Union[bytes, str]) -> None: - ...
26,316
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7716", "repo": "aio-libs/aiohttp", "base_commit": "5b4b7b84cf3fa0cec0384a3115b4d43636834c85", "pull_number": 7716, "issue_numbers": [ ...
aio-libs__aiohttp-7720
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: bc25c89bc6223049fc9429c1912cf27c923088ff Changed files: - aiohttp/http_exceptions.py...
diff --git a/aiohttp/http_exceptions.py b/aiohttp/http_exceptions.py index 0000000..0000000 100644 --- a/aiohttp/http_exceptions.py +++ b/aiohttp/http_exceptions.py @@ -87,10 +87,9 @@ class LineTooLong(BadHttpMessage): class InvalidHeader(BadHttpMessage): def __init__(self, hdr: Union[bytes, str]) -> None: - ...
26,506
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7720", "repo": "aio-libs/aiohttp", "base_commit": "bc25c89bc6223049fc9429c1912cf27c923088ff", "pull_number": 7720, "issue_numbers": [ ...
aio-libs__aiohttp-7764
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 7a19191e3fe48a22dee58461348c9fe59d673fa0 Changed files: - aiohttp/client.py - aiohtt...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -1140,6 +1140,7 @@ class _RequestContextManager(_BaseRequestContextManager[ClientResponse]): # explicitly. Otherwise connection error handling should kick in # and close...
60,565
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7764", "repo": "aio-libs/aiohttp", "base_commit": "7a19191e3fe48a22dee58461348c9fe59d673fa0", "pull_number": 7764, "issue_numbers": [ ...
aio-libs__aiohttp-7781
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 379ee7c43ddb5bdacdf19e78f053370a3e4af22b Changed files: - aiohttp/client.py - aiohtt...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -1203,6 +1203,7 @@ class _RequestContextManager(_BaseRequestContextManager[ClientResponse]): # explicitly. Otherwise connection error handling should kick in # and close...
63,851
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7781", "repo": "aio-libs/aiohttp", "base_commit": "379ee7c43ddb5bdacdf19e78f053370a3e4af22b", "pull_number": 7781, "issue_numbers": [ ...
aio-libs__aiohttp-7785
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 96de6eb5ee46fb647c848fa8cd70204bc57649fa Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -1108,8 +1108,8 @@ class _BaseRequestContextManager(Coroutine[Any, Any, _RetType], Generic[_RetType def send(self, arg: None) -> "asyncio.Future[Any]": return self._coro.send...
41,393
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7785", "repo": "aio-libs/aiohttp", "base_commit": "96de6eb5ee46fb647c848fa8cd70204bc57649fa", "pull_number": 7785, "issue_numbers": [ ...
aio-libs__aiohttp-7786
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 8f27edf79a506b1b8702bf8946cc79882b1e5c7a Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -1170,8 +1170,8 @@ class _BaseRequestContextManager(Coroutine[Any, Any, _RetType], Generic[_RetType def send(self, arg: None) -> "asyncio.Future[Any]": return self._coro.send...
43,961
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7786", "repo": "aio-libs/aiohttp", "base_commit": "8f27edf79a506b1b8702bf8946cc79882b1e5c7a", "pull_number": 7786, "issue_numbers": [ ...
aio-libs__aiohttp-7829
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: c0377bf80e72134ad7bf29aa847f0301fbdb130f Changed files: - aiohttp/web_urldispatcher....
diff --git a/aiohttp/web_urldispatcher.py b/aiohttp/web_urldispatcher.py index 0000000..0000000 100644 --- a/aiohttp/web_urldispatcher.py +++ b/aiohttp/web_urldispatcher.py @@ -716,13 +716,20 @@ class PrefixedSubAppResource(PrefixResource): def __init__(self, prefix: str, app: "Application") -> None: supe...
31,484
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7829", "repo": "aio-libs/aiohttp", "base_commit": "c0377bf80e72134ad7bf29aa847f0301fbdb130f", "pull_number": 7829, "issue_numbers": [ ...
aio-libs__aiohttp-7850
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 6f7667336b92dbf09a6a283c2496cdd64ad56a62 Changed files: - aiohttp/cookiejar.py ## P...
diff --git a/aiohttp/cookiejar.py b/aiohttp/cookiejar.py index 0000000..0000000 100644 --- a/aiohttp/cookiejar.py +++ b/aiohttp/cookiejar.py @@ -62,9 +62,10 @@ class CookieJar(AbstractCookieJar): ) try: calendar.timegm(time.gmtime(MAX_TIME)) - except OSError: + except (OSError, ValueError): ...
10,593
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7850", "repo": "aio-libs/aiohttp", "base_commit": "6f7667336b92dbf09a6a283c2496cdd64ad56a62", "pull_number": 7850, "issue_numbers": [ ...
aio-libs__aiohttp-7854
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 68c9697dade4933a591673fdeb5036af3dfb44fa Changed files: - aiohttp/cookiejar.py ## P...
diff --git a/aiohttp/cookiejar.py b/aiohttp/cookiejar.py index 0000000..0000000 100644 --- a/aiohttp/cookiejar.py +++ b/aiohttp/cookiejar.py @@ -62,9 +62,10 @@ class CookieJar(AbstractCookieJar): ) try: calendar.timegm(time.gmtime(MAX_TIME)) - except OSError: + except (OSError, ValueError): ...
10,630
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7854", "repo": "aio-libs/aiohttp", "base_commit": "68c9697dade4933a591673fdeb5036af3dfb44fa", "pull_number": 7854, "issue_numbers": [ ...
aio-libs__aiohttp-7855
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 4d440d1275da8f259bfb27d61f3b2ad73891c007 Changed files: - aiohttp/cookiejar.py ## P...
diff --git a/aiohttp/cookiejar.py b/aiohttp/cookiejar.py index 0000000..0000000 100644 --- a/aiohttp/cookiejar.py +++ b/aiohttp/cookiejar.py @@ -62,9 +62,10 @@ class CookieJar(AbstractCookieJar): ) try: calendar.timegm(time.gmtime(MAX_TIME)) - except OSError: + except (OSError, ValueError): ...
10,634
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7855", "repo": "aio-libs/aiohttp", "base_commit": "4d440d1275da8f259bfb27d61f3b2ad73891c007", "pull_number": 7855, "issue_numbers": [ ...
aio-libs__aiohttp-7865
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 17c7d9540fdba6922ade9e9d761fbf45b6442ef4 Changed files: - aiohttp/compression_utils....
diff --git a/aiohttp/compression_utils.py b/aiohttp/compression_utils.py index 0000000..0000000 100644 --- a/aiohttp/compression_utils.py +++ b/aiohttp/compression_utils.py @@ -62,19 +62,25 @@ class ZLibCompressor(ZlibBaseHandler): self._compressor = zlib.compressobj( wbits=self._mode, str...
22,313
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7865", "repo": "aio-libs/aiohttp", "base_commit": "17c7d9540fdba6922ade9e9d761fbf45b6442ef4", "pull_number": 7865, "issue_numbers": [ ...
aio-libs__aiohttp-7869
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3a21134a0e3e8a163faa7436383e92da08415f13 Changed files: - aiohttp/client_reqrep.py ...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -967,7 +967,9 @@ class ClientResponse(HeadersMixin): return self._cleanup_writer() - self._release_connection() + if self....
29,842
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7869", "repo": "aio-libs/aiohttp", "base_commit": "3a21134a0e3e8a163faa7436383e92da08415f13", "pull_number": 7869, "issue_numbers": [ ...
aio-libs__aiohttp-7879
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 4d9fc636dbad45678330f17b7d82b75cf91247bf Changed files: - aiohttp/client_reqrep.py -...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -940,19 +940,14 @@ class ClientResponse(HeadersMixin): if self._closed: return - if self._connection is not None: - # ...
65,249
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7879", "repo": "aio-libs/aiohttp", "base_commit": "4d9fc636dbad45678330f17b7d82b75cf91247bf", "pull_number": 7879, "issue_numbers": [ ...
aio-libs__aiohttp-7889
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 41a9f1f5b9b2630b1f4b971811c7ef8f016262fb Changed files: - aiohttp/compression_utils....
diff --git a/aiohttp/compression_utils.py b/aiohttp/compression_utils.py index 0000000..0000000 100644 --- a/aiohttp/compression_utils.py +++ b/aiohttp/compression_utils.py @@ -62,19 +62,25 @@ class ZLibCompressor(ZlibBaseHandler): self._compressor = zlib.compressobj( wbits=self._mode, str...
22,491
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7889", "repo": "aio-libs/aiohttp", "base_commit": "41a9f1f5b9b2630b1f4b971811c7ef8f016262fb", "pull_number": 7889, "issue_numbers": [ ...
aio-libs__aiohttp-7890
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: a5e8aba14868a8b020d3693f8a9a1e7b25f4b14b Changed files: - aiohttp/compression_utils....
diff --git a/aiohttp/compression_utils.py b/aiohttp/compression_utils.py index 0000000..0000000 100644 --- a/aiohttp/compression_utils.py +++ b/aiohttp/compression_utils.py @@ -62,19 +62,25 @@ class ZLibCompressor(ZlibBaseHandler): self._compressor = zlib.compressobj( wbits=self._mode, str...
22,490
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7890", "repo": "aio-libs/aiohttp", "base_commit": "a5e8aba14868a8b020d3693f8a9a1e7b25f4b14b", "pull_number": 7890, "issue_numbers": [ ...
aio-libs__aiohttp-7907
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 31d0834e34d7c122918a1061ed9222963e1135be Changed files: - aiohttp/client_reqrep.py -...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -1006,19 +1006,14 @@ class ClientResponse(HeadersMixin): if self._closed: return - if self._connection is not None: - ...
70,052
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7907", "repo": "aio-libs/aiohttp", "base_commit": "31d0834e34d7c122918a1061ed9222963e1135be", "pull_number": 7907, "issue_numbers": [ ...
aio-libs__aiohttp-7908
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 946523d6380bd79e13146557432f46f6f9bbd53f Changed files: - aiohttp/client_reqrep.py -...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -1006,19 +1006,14 @@ class ClientResponse(HeadersMixin): if self._closed: return - if self._connection is not None: - ...
70,052
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7908", "repo": "aio-libs/aiohttp", "base_commit": "946523d6380bd79e13146557432f46f6f9bbd53f", "pull_number": 7908, "issue_numbers": [ ...
aio-libs__aiohttp-7917
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: c2a53158a62770c9d7a66e97804840defb05616e Changed files: - aiohttp/web_urldispatcher....
diff --git a/aiohttp/web_urldispatcher.py b/aiohttp/web_urldispatcher.py index 0000000..0000000 100644 --- a/aiohttp/web_urldispatcher.py +++ b/aiohttp/web_urldispatcher.py @@ -738,13 +738,20 @@ class PrefixedSubAppResource(PrefixResource): def __init__(self, prefix: str, app: "Application") -> None: supe...
31,979
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7917", "repo": "aio-libs/aiohttp", "base_commit": "c2a53158a62770c9d7a66e97804840defb05616e", "pull_number": 7917, "issue_numbers": [ ...
aio-libs__aiohttp-7942
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 43f92fae09bcc9692ee96ac1413eda884afa2f63 Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -689,6 +689,7 @@ class ClientSession: proxy: Optional[StrOrURL] = None, proxy_auth: Optional[BasicAuth] = None, ssl: Union[SSLContext, Literal[False], None, Fing...
31,646
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7942", "repo": "aio-libs/aiohttp", "base_commit": "43f92fae09bcc9692ee96ac1413eda884afa2f63", "pull_number": 7942, "issue_numbers": [ ...
aio-libs__aiohttp-7954
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: d8079562e4cf3457f36742b65aaa763872d6fa4c Changed files: - aiohttp/connector.py ## P...
diff --git a/aiohttp/connector.py b/aiohttp/connector.py index 0000000..0000000 100644 --- a/aiohttp/connector.py +++ b/aiohttp/connector.py @@ -3,6 +3,7 @@ import dataclasses import functools import logging import random +import socket import sys import traceback import warnings @@ -31,6 +32,8 @@ from typing imp...
36,598
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7954", "repo": "aio-libs/aiohttp", "base_commit": "d8079562e4cf3457f36742b65aaa763872d6fa4c", "pull_number": 7954, "issue_numbers": [ ...
aio-libs__aiohttp-7978
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 5e44ba465c2168c6e1842df441828ec5759093e1 Changed files: - aiohttp/web_ws.py ## Prob...
diff --git a/aiohttp/web_ws.py b/aiohttp/web_ws.py index 0000000..0000000 100644 --- a/aiohttp/web_ws.py +++ b/aiohttp/web_ws.py @@ -162,9 +162,8 @@ class WebSocketResponse(StreamResponse): def _pong_not_received(self) -> None: if self._req is not None and self._req.transport is not None: sel...
20,303
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-7978", "repo": "aio-libs/aiohttp", "base_commit": "5e44ba465c2168c6e1842df441828ec5759093e1", "pull_number": 7978, "issue_numbers": [ ...
aio-libs__aiohttp-8014
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 5f699bbbf98d3700921ec9a7d646d5f21e82e8c1 Changed files: - aiohttp/web_fileresponse.p...
diff --git a/aiohttp/web_fileresponse.py b/aiohttp/web_fileresponse.py index 0000000..0000000 100644 --- a/aiohttp/web_fileresponse.py +++ b/aiohttp/web_fileresponse.py @@ -263,6 +263,10 @@ class FileResponse(StreamResponse): self.headers[hdrs.CONTENT_ENCODING] = encoding if gzip: sel...
9,831
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8014", "repo": "aio-libs/aiohttp", "base_commit": "5f699bbbf98d3700921ec9a7d646d5f21e82e8c1", "pull_number": 8014, "issue_numbers": [ ...
aio-libs__aiohttp-8022
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 63bea9d21498ccda73472fabc060d67cd83e2c7a Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -269,9 +269,13 @@ class ClientSession: self._version = version self._json_serialize = json_serialize if timeout is sentinel or timeout is None: - self...
32,688
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8022", "repo": "aio-libs/aiohttp", "base_commit": "63bea9d21498ccda73472fabc060d67cd83e2c7a", "pull_number": 8022, "issue_numbers": [ ...
aio-libs__aiohttp-8026
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: ed98a5eb2db664ec010ce2cbe75d1b59270503de Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -276,7 +276,7 @@ class ClientSession: self._default_auth = auth self._version = version self._json_serialize = json_serialize - if timeout is sentinel: + ...
34,185
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8026", "repo": "aio-libs/aiohttp", "base_commit": "ed98a5eb2db664ec010ce2cbe75d1b59270503de", "pull_number": 8026, "issue_numbers": [ ...
aio-libs__aiohttp-8027
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 64c4bc6a5620e138574a0c06783eee1f9a3e6203 Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -272,7 +272,7 @@ class ClientSession: self._default_auth = auth self._version = version self._json_serialize = json_serialize - if timeout is sentinel: + ...
34,274
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8027", "repo": "aio-libs/aiohttp", "base_commit": "64c4bc6a5620e138574a0c06783eee1f9a3e6203", "pull_number": 8027, "issue_numbers": [ ...
aio-libs__aiohttp-8038
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: c465e850f67f95150d474c3313082b2b47abd490 Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -167,6 +167,9 @@ class ClientTimeout: # 5 Minute default read timeout DEFAULT_TIMEOUT: Final[ClientTimeout] = ClientTimeout(total=5 * 60) +# https://www.rfc-editor.org/rfc/rfc9110#sect...
37,076
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8038", "repo": "aio-libs/aiohttp", "base_commit": "c465e850f67f95150d474c3313082b2b47abd490", "pull_number": 8038, "issue_numbers": [ ...
aio-libs__aiohttp-8063
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 026e8d9872ab4511c38578a8c784cd2e740f0448 Changed files: - aiohttp/web_fileresponse.p...
diff --git a/aiohttp/web_fileresponse.py b/aiohttp/web_fileresponse.py index 0000000..0000000 100644 --- a/aiohttp/web_fileresponse.py +++ b/aiohttp/web_fileresponse.py @@ -2,6 +2,9 @@ import asyncio import mimetypes import os import pathlib +import sys +from contextlib import suppress +from types import MappingProx...
25,422
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8063", "repo": "aio-libs/aiohttp", "base_commit": "026e8d9872ab4511c38578a8c784cd2e740f0448", "pull_number": 8063, "issue_numbers": [ ...
aio-libs__aiohttp-8098
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: f3aeb9a0ef35ed10d85643261b7f20fb8f6dc10a Changed files: - aiohttp/client_reqrep.py ...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -159,6 +159,8 @@ def _merge_ssl_params( ssl_context: Optional["SSLContext"], fingerprint: Optional[bytes], ) -> Union["SSLContext", bool, Fingerprint...
30,912
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8098", "repo": "aio-libs/aiohttp", "base_commit": "f3aeb9a0ef35ed10d85643261b7f20fb8f6dc10a", "pull_number": 8098, "issue_numbers": [ ...
aio-libs__aiohttp-8101
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 33f49e8ec985e428083cd78bc11cb5fe0dff0e57 Changed files: - aiohttp/client_reqrep.py ...
diff --git a/aiohttp/client_reqrep.py b/aiohttp/client_reqrep.py index 0000000..0000000 100644 --- a/aiohttp/client_reqrep.py +++ b/aiohttp/client_reqrep.py @@ -159,6 +159,8 @@ def _merge_ssl_params( ssl_context: Optional["SSLContext"], fingerprint: Optional[bytes], ) -> Union["SSLContext", bool, Fingerprint...
30,943
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8101", "repo": "aio-libs/aiohttp", "base_commit": "33f49e8ec985e428083cd78bc11cb5fe0dff0e57", "pull_number": 8101, "issue_numbers": [ ...
aio-libs__aiohttp-8158
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 5e4f0b8cdbdfda71fa039fc6b55fb51cbc735c58 Changed files: - aiohttp/__init__.py - aioh...
diff --git a/aiohttp/__init__.py b/aiohttp/__init__.py index 0000000..0000000 100644 --- a/aiohttp/__init__.py +++ b/aiohttp/__init__.py @@ -25,7 +25,12 @@ from .client import ( ContentTypeError, Fingerprint, InvalidURL, + InvalidUrlClientError, + InvalidUrlRedirectClientError, NamedPipeConnec...
48,457
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8158", "repo": "aio-libs/aiohttp", "base_commit": "5e4f0b8cdbdfda71fa039fc6b55fb51cbc735c58", "pull_number": 8158, "issue_numbers": [ ...
aio-libs__aiohttp-8160
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: cda4a8b79e63d07474a9caf78ceb970350f0e09b Changed files: - aiohttp/web_fileresponse.p...
diff --git a/aiohttp/web_fileresponse.py b/aiohttp/web_fileresponse.py index 0000000..0000000 100644 --- a/aiohttp/web_fileresponse.py +++ b/aiohttp/web_fileresponse.py @@ -2,6 +2,9 @@ import asyncio import mimetypes import os import pathlib +import sys +from contextlib import suppress +from types import MappingProx...
27,296
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8160", "repo": "aio-libs/aiohttp", "base_commit": "cda4a8b79e63d07474a9caf78ceb970350f0e09b", "pull_number": 8160, "issue_numbers": [ ...
aio-libs__aiohttp-8200
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 8f23712616935bcd86b1c1bca434593ad92a4c14 Changed files: - aiohttp/web_ws.py ## Prob...
diff --git a/aiohttp/web_ws.py b/aiohttp/web_ws.py index 0000000..0000000 100644 --- a/aiohttp/web_ws.py +++ b/aiohttp/web_ws.py @@ -417,6 +417,7 @@ class WebSocketResponse(StreamResponse): return True if self._closing: + self._close_transport() return True rea...
15,028
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8200", "repo": "aio-libs/aiohttp", "base_commit": "8f23712616935bcd86b1c1bca434593ad92a4c14", "pull_number": 8200, "issue_numbers": [ ...
aio-libs__aiohttp-8211
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: cb4d33016f6e1da0d31b3de4198b6100867b8873 Changed files: - aiohttp/multipart.py ## P...
diff --git a/aiohttp/multipart.py b/aiohttp/multipart.py index 0000000..0000000 100644 --- a/aiohttp/multipart.py +++ b/aiohttp/multipart.py @@ -25,7 +25,7 @@ from typing import ( ) from urllib.parse import parse_qsl, unquote, urlencode -from multidict import CIMultiDict, CIMultiDictProxy, MultiMapping +from multid...
26,733
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8211", "repo": "aio-libs/aiohttp", "base_commit": "cb4d33016f6e1da0d31b3de4198b6100867b8873", "pull_number": 8211, "issue_numbers": [ ...
aio-libs__aiohttp-8214
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 01531454b673be006fbe32f924e16b89652b427d Changed files: - aiohttp/multipart.py ## P...
diff --git a/aiohttp/multipart.py b/aiohttp/multipart.py index 0000000..0000000 100644 --- a/aiohttp/multipart.py +++ b/aiohttp/multipart.py @@ -25,7 +25,7 @@ from typing import ( ) from urllib.parse import parse_qsl, unquote, urlencode -from multidict import CIMultiDict, CIMultiDictProxy, MultiMapping +from multid...
23,316
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8214", "repo": "aio-libs/aiohttp", "base_commit": "01531454b673be006fbe32f924e16b89652b427d", "pull_number": 8214, "issue_numbers": [ ...
aio-libs__aiohttp-8215
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 0854d33b46351c380eb06cdff4eb37f4a00b79be Changed files: - aiohttp/multipart.py ## P...
diff --git a/aiohttp/multipart.py b/aiohttp/multipart.py index 0000000..0000000 100644 --- a/aiohttp/multipart.py +++ b/aiohttp/multipart.py @@ -25,7 +25,7 @@ from typing import ( ) from urllib.parse import parse_qsl, unquote, urlencode -from multidict import CIMultiDict, CIMultiDictProxy, MultiMapping +from multid...
23,314
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8215", "repo": "aio-libs/aiohttp", "base_commit": "0854d33b46351c380eb06cdff4eb37f4a00b79be", "pull_number": 8215, "issue_numbers": [ ...
aio-libs__aiohttp-8271
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 509fb269ac7ed0fe9ad387eccf7d1112aa9c0e65 Changed files: - aiohttp/web_runner.py ## ...
diff --git a/aiohttp/web_runner.py b/aiohttp/web_runner.py index 0000000..0000000 100644 --- a/aiohttp/web_runner.py +++ b/aiohttp/web_runner.py @@ -299,6 +299,9 @@ class BaseRunner(ABC): await site.stop() if self._server: # If setup succeeded + # Yield to event loop to ensure incomi...
12,633
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8271", "repo": "aio-libs/aiohttp", "base_commit": "509fb269ac7ed0fe9ad387eccf7d1112aa9c0e65", "pull_number": 8271, "issue_numbers": [ ...
aio-libs__aiohttp-8272
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 3a13bd56a1d027a662390c9ee5fb4b8c006751de Changed files: - aiohttp/web_runner.py ## ...
diff --git a/aiohttp/web_runner.py b/aiohttp/web_runner.py index 0000000..0000000 100644 --- a/aiohttp/web_runner.py +++ b/aiohttp/web_runner.py @@ -307,6 +307,9 @@ class BaseRunner(ABC): await site.stop() if self._server: # If setup succeeded + # Yield to event loop to ensure incomi...
12,117
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8272", "repo": "aio-libs/aiohttp", "base_commit": "3a13bd56a1d027a662390c9ee5fb4b8c006751de", "pull_number": 8272, "issue_numbers": [ ...
aio-libs__aiohttp-8273
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: d10bd0a8742a3824f030236ef34f05ea84cf2496 Changed files: - aiohttp/web_runner.py ## ...
diff --git a/aiohttp/web_runner.py b/aiohttp/web_runner.py index 0000000..0000000 100644 --- a/aiohttp/web_runner.py +++ b/aiohttp/web_runner.py @@ -307,6 +307,9 @@ class BaseRunner(ABC): await site.stop() if self._server: # If setup succeeded + # Yield to event loop to ensure incomi...
12,116
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8273", "repo": "aio-libs/aiohttp", "base_commit": "d10bd0a8742a3824f030236ef34f05ea84cf2496", "pull_number": 8273, "issue_numbers": [ ...
aio-libs__aiohttp-8290
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 88c80c146d16d06d78562b803fec7c7b2f849e87 Changed files: - aiohttp/client.py ## Prob...
diff --git a/aiohttp/client.py b/aiohttp/client.py index 0000000..0000000 100644 --- a/aiohttp/client.py +++ b/aiohttp/client.py @@ -243,6 +243,9 @@ class ClientSession: max_field_size: int = 8190, fallback_charset_resolver: _CharsetResolver = lambda r, b: "utf-8", ) -> None: + # We initia...
34,679
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8290", "repo": "aio-libs/aiohttp", "base_commit": "88c80c146d16d06d78562b803fec7c7b2f849e87", "pull_number": 8290, "issue_numbers": [ ...
aio-libs__aiohttp-8292
You are given a GitHub issue and the relevant repository files before and after the fix. Your task is to synthesize the unified git diff that transforms the before files into the after files. Repository: aio-libs/aiohttp Base commit: 28f1fd88cbe44d81487d5e9b23a3302d032811bd Changed files: - aiohttp/http_parser.py ##...
diff --git a/aiohttp/http_parser.py b/aiohttp/http_parser.py index 0000000..0000000 100644 --- a/aiohttp/http_parser.py +++ b/aiohttp/http_parser.py @@ -123,12 +123,11 @@ class ChunkState(IntEnum): class HeadersParser: def __init__( - self, - max_line_size: int = 8190, - max_field_size: int...
53,502
{ "dataset": "internlm/SWE-Fixer-Train-110K-diff", "source_dataset": "internlm/SWE-Fixer-Train-110K", "task": "before_after_to_diff", "instance_id": "aio-libs__aiohttp-8292", "repo": "aio-libs/aiohttp", "base_commit": "28f1fd88cbe44d81487d5e9b23a3302d032811bd", "pull_number": 8292, "issue_numbers": [ ...