repo
stringclasses
15 values
fix_commit
stringlengths
40
40
buggy_commit
stringlengths
40
40
message
stringlengths
3
64.3k
files
listlengths
1
300
timestamp
timestamp[s]date
2013-03-13 20:45:00
2026-04-11 07:48:46
golang/go
f6b5ffb5e1d31fd24edadfe6c105886093638825
812c99f86a1b38d50c5c0b501d10b72c3b7dfb95
cmd/compile: fix crawler for unexported fields with instantiated types In markType() in crawler.go, mark the type of a unexported field if it is a fully-instantiated type, since we create and instantiate the methods of any fully-instantiated type that we see during import. As before, we still do not mark the type of a...
[ { "path": "src/cmd/compile/internal/typecheck/crawler.go", "patch": "@@ -10,10 +10,12 @@ import (\n \t\"cmd/compile/internal/types\"\n )\n \n-// crawlExports crawls the type/object graph rooted at the given list\n-// of exported objects. Any functions that are found to be potentially\n-// callable by import...
2021-09-19T03:02:08
electron/electron
0b7a1a1eef075628a1d4c1d1c654e51ed9c2166d
72d332dfa046e79a94eb3745ce7e8b0d855b572b
Fix typos, Improve grammer
[ { "path": "docs/README-ko.md", "patch": "@@ -66,7 +66,3 @@\n * [빌드 설명서 (Windows)](development/build-instructions-windows-ko.md)\n * [빌드 설명서 (Linux)](development/build-instructions-linux-ko.md)\n * [디버거에서 디버그 심볼 서버 설정](development/setting-up-symbol-server-ko.md)\n-\n-이 참조문서는 [@preco21](https://github.com/pre...
2015-07-17T04:28:13
huggingface/transformers
99c747539e07b2e141cb5f13961b72108e9dc864
b59140b696346005320f461cb4b558d475234c06
unpin `torchcodec==0.5.0` and use `torch 2.8` on daily CI (#40072) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "docker/transformers-all-latest-gpu/Dockerfile", "patch": "@@ -9,7 +9,7 @@ SHELL [\"sh\", \"-lc\"]\n # The following `ARG` are mainly used to specify the versions explicitly & directly in this docker file, and not meant\n # to be used as arguments for docker build (so far).\n \n-ARG PYTORCH='2.7.1...
2025-08-10T20:27:39
vercel/next.js
bfc3849b1fbca35ccdb9a3bd71c1bf5a457439ae
9a1798b69dd2e2b39f3af3fb488f9eef0048473f
Update generateStaticParams handling with fetch cache (#46906) This ensures we leverage the fetch cache when calling `generateStaticParams` and also ensures paths with `generateStaticParams` without `dynamicParams = false` don't error when only partial params are provided. x-ref: [slack thread](https://vercel.s...
[ { "path": "packages/next/src/build/index.ts", "patch": "@@ -1463,6 +1463,11 @@ export default async function build(\n edgeInfo,\n pageType,\n hasServerComponents: !!appDir,\n+ incrementalCacheHandlerPath:\...
2023-03-08T06:59:06
nodejs/node
e1ab457490925ddbf9f234973c4338bd0690acb5
dbdfc5d656dc05d23a48aeb656454040c20217d8
worker: fix nullptr deref after MessagePort deser failure This would previously always have crashed when deserializing a `MessagePort` fails, because there was always at least one `nullptr` entry in the vector. PR-URL: https://github.com/nodejs/node/pull/25076 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By:...
[ { "path": "src/node_messaging.cc", "patch": "@@ -90,7 +90,8 @@ MaybeLocal<Value> Message::Deserialize(Environment* env,\n if (ports[i] == nullptr) {\n for (MessagePort* port : ports) {\n // This will eventually release the MessagePort object itself.\n- port->Close();\n+ if (p...
2018-12-16T13:34:37
golang/go
812c99f86a1b38d50c5c0b501d10b72c3b7dfb95
b00222fcdd9f2aeb426887b005865eca1aec3631
cmd/compile: fix case in dictPass where OMETHVALUE should become ODOTMETH When I separate out the dictionary transformations to dictPass, I missed duplicating a conditional that deals with OMETHVALUE nodes that are actually called. We create the OMETHVALUE when transforming bounds function reference (before we know wh...
[ { "path": "src/cmd/compile/internal/noder/stencil.go", "patch": "@@ -1220,6 +1220,12 @@ func (g *irgen) dictPass(info *instInfo) {\n \t\t\top := m.(*ir.CallExpr).X.Op()\n \t\t\tif op != ir.OFUNCINST {\n \t\t\t\tassert(op == ir.OMETHVALUE || op == ir.OCLOSURE || op == ir.ODYNAMICDOTTYPE || op == ir.ODYNAMICD...
2021-09-24T16:13:32
huggingface/transformers
f4d57f2f0cdff0f63ee74a1f16f442dfaf525231
7b20915f4e36a801873a26351b8b030c4d8d7b3b
Revert "fix `notification_service.py` about `time_spent`" (#40044) Revert "fix `notification_service.py` about `time_spent` (#40037)" This reverts commit d2ba153b29feb9cc0e9818c1ce63a07679b47250.
[ { "path": "utils/notification_service.py", "patch": "@@ -1225,7 +1225,7 @@ def pop_default(l: list[Any], i: int, default: Any) -> Any:\n matrix_job_results[matrix_name][\"success\"] += success\n matrix_job_results[matrix_name][\"errors\"] += errors\n matrix_jo...
2025-08-08T20:32:24
electron/electron
10faf314d4ba72b62875ee603eb7154459f95dbc
378e81ffaa6a515db2ec79c305c957dba754d15f
fix line length issue
[ { "path": "atom/browser/native_window.h", "patch": "@@ -288,7 +288,8 @@ class NativeWindow : public content::WebContentsObserver,\n // Page's default zoom factor.\n double zoom_factor_;\n \n- // Used to maintain the aspect ratio of a view which is inside of the content view.\n+ // Used to maintain the...
2015-07-16T18:26:48
vercel/next.js
2dea520ae25c044b260e5634382494bc52da3694
db5e2ea401b7321943142e227bb9c24e703ebddd
fix(turbopack): Update app-renderer (vercel/turbo#4102) ### Description This PR mirrors some related manifest changes in Next.js: https://github.com/vercel/next.js/pull/46881. ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> --------- Co-authored-by: Justin Ridgewell <ju...
[ { "path": "packages/next-swc/crates/next-core/js/package.json", "patch": "@@ -12,7 +12,7 @@\n \"@vercel/turbopack-runtime\": \"latest\",\n \"anser\": \"^2.1.1\",\n \"css.escape\": \"^1.5.1\",\n- \"next\": \"13.1.7-canary.30\",\n+ \"next\": \"13.2.4-canary.6\",\n \"platform\": \"1.3.6\"...
2023-03-08T05:47:50
nodejs/node
1cbd377078cd07447a6877fb9f844dd949a1cd43
3b9e0f2a0a9d480a21db5a4a7857ec14d585b494
2018-12-18, Version 8.14.1 'Carbon' (LTS) Notable changes: * **assert**: - revert breaking change (Ruben Bridgewater) [#24786](https://github.com/nodejs/node/pull/24786) * **http2**: - fix sequence of error/close events (Gerhard Stoebich) [#24789](https://github.com/nodejs/node/pull/24789) PR-URL: https:...
[ { "path": "CHANGELOG.md", "patch": "@@ -56,8 +56,9 @@ release.\n <a href=\"doc/changelogs/CHANGELOG_V10.md#10.0.0\">10.0.0</a><br/>\n </td>\n <td valign=\"top\">\n-<b><a href=\"doc/changelogs/CHANGELOG_V8.md#8.14.0\">8.14.0</a><br/>\n-<a href=\"doc/changelogs/CHANGELOG_V8.md#8.13.0\">8.13.0</a></b><...
2018-12-04T18:26:19
golang/go
b00222fcdd9f2aeb426887b005865eca1aec3631
584afc29289c2f1a204daa39f44a4a4afbacb741
cmd/go: refactor {Allow,Disallow}WriteGoMod to ExplicitWriteGoMod Subcommands may now set the global flag modload.ExplicitWriteGoMod instead of calling {Allow,Disallow}WriteGoMod. When ExplicitWriteGoMod is false (default), modload.LoadPackages and ListModules will either update go.mod and go.sum or report an error i...
[ { "path": "src/cmd/go/internal/modcmd/download.go", "patch": "@@ -86,6 +86,7 @@ func runDownload(ctx context.Context, cmd *base.Command, args []string) {\n \n \t// Check whether modules are enabled and whether we're in a module.\n \tmodload.ForceUseModules = true\n+\tmodload.ExplicitWriteGoMod = true\n \tif...
2021-09-13T23:48:53
huggingface/transformers
7b20915f4e36a801873a26351b8b030c4d8d7b3b
d2ba153b29feb9cc0e9818c1ce63a07679b47250
GLM-4.5V Model Support (#39805) * init * update * uupdate * ruff * t patch is 2 defalut not 1 * draft * back * back1 * update * config update * update using glm-41 format * add self.rope_scaling = config.rope_scaling * update config * update * remove the processor * update * fix tests * update * for ...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -1009,6 +1009,8 @@\n title: GIT\n - local: model_doc/glm4v\n title: glm4v\n+ - local: model_doc/glm4v_moe\n+ title: glm4v_moe\n - local: model_doc/got_ocr2\n title: GOT-OCR2\n - local: model_doc/grani...
2025-08-08T15:39:52
vercel/next.js
7f943bb7fae1373e4172cd45552d4ce71dd46765
44c14cec00ab102de10fc47abc7904ec66b42968
fix(turbopack): Update app-renderer (vercel/turbo#4102) ### Description This PR mirrors some related manifest changes in Next.js: https://github.com/vercel/next.js/pull/46881. ### Testing Instructions <!-- Give a quick description of steps to test your changes. --> --------- Co-authored-by: Justin Ridgewell <ju...
[ { "path": "crates/next-core/js/package.json", "patch": "@@ -12,7 +12,7 @@\n \"@vercel/turbopack-runtime\": \"latest\",\n \"anser\": \"^2.1.1\",\n \"css.escape\": \"^1.5.1\",\n- \"next\": \"13.1.7-canary.30\",\n+ \"next\": \"13.2.4-canary.6\",\n \"platform\": \"1.3.6\",\n \"react-do...
2023-03-08T05:47:50
nodejs/node
3b2698e41f27a1d0c51833dab32bdaa98e6ef8cb
0858e5d9d8db085cb83b3f1f3f94ed6b550a7bc5
assert: inspect getters While asserting two objects the descriptor is not taken into account. Therefore getters will be triggered as such. This makes sure they are also highlighted in the error message instead of potentially looking identical while the return value of the getter is actually different. PR-URL: https:/...
[ { "path": "lib/internal/assert.js", "patch": "@@ -56,7 +56,9 @@ function inspectValue(val) {\n breakLength: Infinity,\n // Assert does not detect proxies currently.\n showProxy: false,\n- sorted: true\n+ sorted: true,\n+ // Inspect getters as we also check them when comparin...
2018-12-13T03:05:41
golang/go
584afc29289c2f1a204daa39f44a4a4afbacb741
d5d3f80013fa9c4fda5ed2fd3d04868dd212ff8d
cmd/go: test that graph, verify, and why don't write go.mod or go.sum They should also not report an error if these files need to be updated. These commands are used for debugging, so it's important that they still work when go.mod and go.sum are incomplete. For #40775 Change-Id: I1b731599e5a4510f47827b9812525636a74...
[ { "path": "src/cmd/go/testdata/script/mod_skip_write.txt", "patch": "@@ -0,0 +1,96 @@\n+# Commands used to debug the module graph should not write go.mod or go.sum\n+# or report errors when those files need to be updated.\n+\n+# Everything's okay initially.\n+go list -m all\n+\n+# Downgrading sampler makes ...
2021-09-22T23:16:16
huggingface/transformers
d2ba153b29feb9cc0e9818c1ce63a07679b47250
f639c0c780cdc820e99408946e3b53beb4cf6596
fix `notification_service.py` about `time_spent` (#40037) temp Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "utils/notification_service.py", "patch": "@@ -1225,7 +1225,7 @@ def pop_default(l: list[Any], i: int, default: Any) -> Any:\n matrix_job_results[matrix_name][\"success\"] += success\n matrix_job_results[matrix_name][\"errors\"] += errors\n matrix_jo...
2025-08-08T15:11:16
vercel/next.js
db5e2ea401b7321943142e227bb9c24e703ebddd
c4b64405fd084411799a3bf9e09dee78b026b51f
fix assert alias (vercel/turbo#4114) ### Description typo, causing resolve failure
[ { "path": "packages/next-swc/crates/next-core/src/next_import_map.rs", "patch": "@@ -270,7 +270,7 @@ pub fn get_next_client_resolved_map(\n }\n \n static NEXT_ALIASES: [(&str, &str); 23] = [\n- (\"asset\", \"next/dist/compiled/assert\"),\n+ (\"assert\", \"next/dist/compiled/assert\"),\n (\"buffer\...
2023-03-08T03:32:21
nodejs/node
9190e4ecdf891892e479b0ef4b691252d4084806
3edc1c917b6f678b9146b99daf91cc478cd0e8c3
tools: make apilinks building more robust 1. Move the apilinks.json file into out/doc so it gets cleaned when running `make docclean` 2. When the apilinks.json generated is empty, throw a specific error so it's easier to understand what's wrong 3. Write to a file passed through CLI arguments instead writing to s...
[ { "path": "Makefile", "patch": "@@ -692,16 +692,16 @@ out/doc/api/assets/%: doc/api_assets/% out/doc/api/assets\n \n run-npm-ci = $(PWD)/$(NPM) ci\n \n+LINK_DATA = out/doc/apilinks.json\n gen-api = tools/doc/generate.js --node-version=$(FULLVERSION) \\\n-\t\t--apilinks=out/apilinks.json $< --output-director...
2018-12-13T16:14:38
huggingface/transformers
a78263dbb575618fc313e8ef34c4067431c78b36
dc11a3cbb2c6cd96986519a144d4a22610fd8487
fix
[ { "path": "src/transformers/models/bark/modeling_bark.py", "patch": "@@ -1067,16 +1067,6 @@ def tie_weights(self):\n If the `torchscript` flag is set in the configuration, can't handle parameter sharing so we are cloning the\n weights instead.\n \"\"\"\n- if getattr(self.confi...
2025-08-08T13:32:23
golang/go
217507eb035933bac6c990844f0d71d6000fd339
fe8347b61a5e33506c9e3827877ec318c90377e6
runtime: set vdsoSP to caller's SP consistently m.vdsoSP should be set to the SP of the caller of nanotime1, instead of the SP of nanotime1 itself, which matches m.vdsoPC. Otherwise the unmatched vdsoPC and vdsoSP would make the stack trace look like recursive. We already do it correctly on AMD64, 386, and RISCV64. T...
[ { "path": "src/runtime/pprof/pprof_test.go", "patch": "@@ -1544,3 +1544,33 @@ func TestTryAdd(t *testing.T) {\n \t\t})\n \t}\n }\n+\n+func TestTimeVDSO(t *testing.T) {\n+\t// Test that time functions have the right stack trace. In particular,\n+\t// it shouldn't be recursive.\n+\n+\tp := testCPUProfile(t, s...
2021-09-22T22:32:45
vercel/next.js
44c14cec00ab102de10fc47abc7904ec66b42968
baba144cabef87d035849cbddba24213e5fb0d26
fix assert alias (vercel/turbo#4114) ### Description typo, causing resolve failure
[ { "path": "crates/next-core/src/next_import_map.rs", "patch": "@@ -270,7 +270,7 @@ pub fn get_next_client_resolved_map(\n }\n \n static NEXT_ALIASES: [(&str, &str); 23] = [\n- (\"asset\", \"next/dist/compiled/assert\"),\n+ (\"assert\", \"next/dist/compiled/assert\"),\n (\"buffer\", \"next/dist/com...
2023-03-08T03:32:21
nodejs/node
47ecf2060343705a26eaa7f7d0be242cb6d84cf8
4b96a2a73b8117218c82e4dbbc491c81fd1b1fa4
test: remove magic numbers in test-gc-http-client-onerror Remove magic numbers (500, 10, 100) from the test. Instead, detect when GC has started and stop sending requests at that point. On my laptop, this results in 16 or 20 requests per run instead of 500. Fixes: https://github.com/nodejs/node/issues/23089 PR-URL:...
[ { "path": "test/parallel/test-gc-http-client-onerror.js", "patch": "@@ -6,45 +6,44 @@\n const common = require('../common');\n const onGC = require('../common/ongc');\n \n+const cpus = require('os').cpus().length;\n+\n function serverHandler(req, res) {\n req.resume();\n res.writeHead(200, { 'Content-Ty...
2018-12-10T20:11:47
electron/electron
a2c26b8c744c8417db590604b37331ccf2ba8eb8
78e55414d49ff90c94093fc73a4c573aff7cb7e0
Fix hanlding trailing slash in asar package, close #2222
[ { "path": "atom/common/asar/archive.cc", "patch": "@@ -54,6 +54,11 @@ bool GetChildNode(const base::DictionaryValue* root,\n const std::string& name,\n const base::DictionaryValue* dir,\n const base::DictionaryValue** out) {\n+ if (name == \"\") {\n+ ...
2015-07-16T10:48:35
golang/go
9ce601df6a8292f763b07994680013facd7b4a63
aa878ee49b6954a818cc00c26754c84b86a4215b
cmd/go: move gc concurrency level computation near gcflags So after constructing "args" variable, "gcflags" is not used anywhere. It makes the code easier to maintain, and prevent subtle bug like #48490. Change-Id: I41653536480880a8a6f9fbf6cfa8a461b6fb3208 Reviewed-on: https://go-review.googlesource.com/c/go/+/351849...
[ { "path": "src/cmd/go/internal/work/gc.go", "patch": "@@ -156,6 +156,10 @@ func (gcToolchain) gc(b *Builder, a *Action, archive string, importcfg, embedcfg\n \t\t\t}\n \t\t}\n \t}\n+\t// Add -c=N to use concurrent backend compilation, if possible.\n+\tif c := gcBackendConcurrency(gcflags); c > 1 {\n+\t\tgcf...
2021-09-23T16:40:58
rust-lang/rust
a577bcc07738dbf41b718ec3dde208b8c80a27cb
d2a6990122ed4eccc4c2914fab4ba62df1a245d7
fix clippy warnings Signed-off-by: onur-ozkan <work@onurozkan.dev>
[ { "path": "src/bootstrap/src/bin/rustc.rs", "patch": "@@ -120,14 +120,12 @@ fn main() {\n };\n cmd.args(&args).env(dylib_path_var(), env::join_paths(&dylib_path).unwrap());\n \n- if let Some(crate_name) = crate_name {\n- if let Some(target) = env::var_os(\"RUSTC_TIME\") {\n- if ...
2025-05-27T15:53:20
huggingface/transformers
dc11a3cbb2c6cd96986519a144d4a22610fd8487
95510ab0182b6581822c55472cd53e85daa3379b
[core] Refactor the Cache logic to make it simpler and more general (#39797) * Simplify the logic quite a bit * Update cache_utils.py * continue work * continue simplifying a lot * style * Update cache_utils.py * offloading much simpler * style * Update cache_utils.py * update inits * Update cache_utils.py ...
[ { "path": "docs/source/en/internal/generation_utils.md", "patch": "@@ -363,37 +363,34 @@ A [`Constraint`] can be used to force the generation to include specific tokens\n - get_max_cache_shape\n - reset\n - reorder_cache\n+ - lazy_initialization\n \n [[autodoc]] DynamicLayer\n - update\n+...
2025-08-08T12:47:21
vercel/next.js
9a1798b69dd2e2b39f3af3fb488f9eef0048473f
105e5b0088b36cafd224aaf8d635e3fac7182df9
Fix `with-jest` and `with-jest-babel` example test snapshot failure (#46885) fixes #46838 This PR fixes the snapshot test failure of examples `with-jest` and `with-jest-babel`. I have tested by running tests in the files generated by these 2 commands: ``` $ npx create-next-app@latest --example https://github.com...
[ { "path": "examples/with-jest-babel/__tests__/__snapshots__/snapshot.tsx.snap", "patch": "@@ -86,28 +86,16 @@ exports[`renders homepage unchanged 1`] = `\n <span\n class=\"logo\"\n >\n- <span\n- style=\"box-sizing: border-box; display: inline-block; overflow: hi...
2023-03-08T01:16:15
nodejs/node
19b59bfe171113067ed9af19e09f6dea100a2b23
50dd555910ed0338c35f27ee57e947b9ec95724c
tls: re-define max supported version as 1.2 Several secureProtocol strings allow any supported TLS version as the maximum, but our maximum supported protocol version is TLSv1.2 even if someone configures a build against an OpenSSL that supports TLSv1.3. Fixes: https://github.com/nodejs/node/issues/24658 PR-URL: http...
[ { "path": "src/node_crypto.cc", "patch": "@@ -518,6 +518,12 @@ void SecureContext::Init(const FunctionCallbackInfo<Value>& args) {\n SSL_SESS_CACHE_NO_AUTO_CLEAR);\n \n SSL_CTX_set_min_proto_version(sc->ctx_.get(), min_version);\n+\n+ if (max_version == 0) {\n+ // Sele...
2018-11-28T22:11:18
electron/electron
2cd6ad1a9712cdf9cf97564de1d3c382ce2f7c3f
17628b3e40a8793cc4e65f5e4bc62948520ee1cd
More code style fixing.
[ { "path": "atom/browser/ui/tray_icon_cocoa.mm", "patch": "@@ -9,9 +9,13 @@\n #include \"ui/gfx/image/image.h\"\n #include \"ui/gfx/screen.h\"\n \n+namespace {\n+\n const CGFloat kStatusItemLength = 26;\n const CGFloat kMargin = 3;\n \n+} // namespace\n+\n @interface StatusItemView : NSView {\n atom::Tra...
2015-07-16T10:36:45
rust-lang/rust
d2a6990122ed4eccc4c2914fab4ba62df1a245d7
305890541f4777488305bcc154617b9c6f73f60c
fix bootstrap tests Signed-off-by: onur-ozkan <work@onurozkan.dev>
[ { "path": "src/bootstrap/src/core/builder/tests.rs", "patch": "@@ -254,19 +254,6 @@ fn ci_rustc_if_unchanged_invalidate_on_compiler_changes() {\n });\n }\n \n-#[test]\n-fn ci_rustc_if_unchanged_invalidate_on_library_changes_in_ci() {\n- git_test(|ctx| {\n- prepare_rustc_checkout(ctx);\n- ...
2025-05-27T15:50:58
golang/go
aa878ee49b6954a818cc00c26754c84b86a4215b
483533df9e35eea46747c5545307b230eca997b6
cmd/compile/internal/syntax: assume generic code for std lib Also: improve some error message prints in testSyntaxErrors. Change-Id: Iaa1d642398fa82975fefb4bde54f476dd5229eb5 Reviewed-on: https://go-review.googlesource.com/c/go/+/351791 Trust: Robert Griesemer <gri@golang.org> Run-TryBot: Robert Griesemer <gri@golang....
[ { "path": "src/cmd/compile/internal/syntax/error_test.go", "patch": "@@ -154,11 +154,11 @@ func testSyntaxErrors(t *testing.T, filename string) {\n \t\tif found {\n \t\t\trx, err := regexp.Compile(pattern)\n \t\t\tif err != nil {\n-\t\t\t\tt.Errorf(\"%s: %v\", pos, err)\n+\t\t\t\tt.Errorf(\"%s:%s: %v\", fil...
2021-09-24T03:50:48
huggingface/transformers
95510ab0182b6581822c55472cd53e85daa3379b
5c3fb7f731743609262d7c77a636b41f69d204fe
Fix missing None default values for Gemma3n model in get_placeholder_mask (#39991) (#40024) * Fix missing None default values for Gemma3n model in get_placeholder_mask (#39991) * Switched definition of optional from| None to Optiona[] (Issue #39991) --------- Co-authored-by: Laurenz Ruzicka <Laurenz.Ruzicka@ait.ac....
[ { "path": "src/transformers/models/gemma3n/modeling_gemma3n.py", "patch": "@@ -1968,10 +1968,10 @@ def get_image_features(self, pixel_values: torch.Tensor) -> torch.Tensor:\n \n def get_placeholder_mask(\n self,\n- input_ids: torch.LongTensor,\n- inputs_embeds: torch.FloatTensor,\n...
2025-08-08T10:43:42
vercel/next.js
030fd1d6842b945a661ad8d1ef34756399330797
abf7da32a47d0bb19af34db05e28d8ad8346ef9b
Fix conflict dev entry key between app and pages (#46832) Add unique identifier `@app@` / `@pages@` / `@root@` for entry key of on demand entries, so that they'll be unique for each path when the page key is similar bewteen app and pages like (`"app/page"` and `"pages/page"` will both end up with `/page`) ## B...
[ { "path": "packages/next/src/build/webpack/plugins/flight-client-entry-plugin.ts", "patch": "@@ -13,6 +13,7 @@ import {\n getInvalidator,\n getEntries,\n EntryTypes,\n+ getEntryKey,\n } from '../../../server/dev/on-demand-entry-handler'\n import { WEBPACK_LAYERS } from '../../../lib/constants'\n impo...
2023-03-07T20:27:10
nodejs/node
b54d4a68e3967f0e106af520ccd95dbc375fbf22
3439c955abaeab503a4adf563ac5ed940665fe25
test: merge test with unnecessary child process Test didn't require child process creation. While this test has not been unstable, child process creation is slower and can be flaky in ci, so test directly for the segfault regression. PR-URL: https://github.com/nodejs/node/pull/25025 Reviewed-By: Rich Trott <rtrott@gm...
[ { "path": "test/parallel/test-crypto-hash.js", "patch": "@@ -111,6 +111,17 @@ assert.throws(function() {\n crypto.createHash('xyzzy');\n }, /Digest method not supported/);\n \n+// Issue https://github.com/nodejs/node/issues/9819: throwing encoding used to\n+// segfault.\n+common.expectsError(\n+ () => cr...
2018-12-13T21:39:26
rust-lang/rust
305890541f4777488305bcc154617b9c6f73f60c
60394a807d6c37a274bac1b774e53cb6660ed790
fix fs bug on CI and update ming-check-1 Dockerfile Signed-off-by: onur-ozkan <work@onurozkan.dev>
[ { "path": "src/bootstrap/src/core/build_steps/compile.rs", "patch": "@@ -788,6 +788,14 @@ impl Step for StdLink {\n }\n } else if compiler.stage == 0 {\n let sysroot = builder.out.join(compiler.host.triple).join(\"stage0-sysroot\");\n+\n+ if builder.local_rebuild {...
2025-04-10T14:26:25
golang/go
0f1159bf5429b7e2dc774b77be41a66b53d25c55
4dd5f0994f2e2079582876db4af1cba95fe3b6c2
go/types: delay union element checks This is a clean port of CL 351969 from types2 to go/types with a minor adjustment for error handling (provide an error code). For #46461. Change-Id: I493dde12d8ccf86aa33f4913ac6e82f2eb459088 Reviewed-on: https://go-review.googlesource.com/c/go/+/351971 Trust: Robert Griesemer <gr...
[ { "path": "src/go/types/testdata/fixedbugs/issue46461.go2", "patch": "@@ -4,8 +4,17 @@\n \n package p\n \n+// test case 1\n type T[U interface{ M() T[U] }] int\n \n type X int\n \n func (X) M() T[X] { return 0 }\n+\n+// test case 2\n+type A[T interface{ A[T] }] interface{}\n+\n+// test case 3\n+type A2[U in...
2021-09-24T00:35:36
rust-lang/rust
60394a807d6c37a274bac1b774e53cb6660ed790
1ab2ba300cd5bc29571a2ae8a24eecd13cfb96ad
fix CI-rustc bugs Signed-off-by: onur-ozkan <work@onurozkan.dev>
[ { "path": "src/bootstrap/src/core/build_steps/clippy.rs", "patch": "@@ -207,16 +207,18 @@ impl Step for Rustc {\n let compiler = builder.compiler(builder.top_stage, builder.config.build);\n let target = self.target;\n \n- if compiler.stage != 0 {\n- // If we're not in stage...
2025-03-22T09:43:53
vercel/next.js
7ab5d3397b88ba1b3be5c485a7880cbcb541b2a2
c3fb25b430cb88049d81d0310428e682ca079aef
feat(turbopack_ecmascript): support partial tsconfig for the transform (vercel/turbo#3995) Resolves WEB-667, WEB-659. This PR allows to specify partial tsconfig (specifically, `useDefineForClassFields` / legacy decorators for now) into ecmatransform. There are few tsconfig options affect to the runtime output of...
[ { "path": "crates/turbopack-ecmascript/Cargo.toml", "patch": "@@ -52,6 +52,7 @@ swc_core = { workspace = true, features = [\n \"ecma_transforms_module\",\n \"ecma_transforms_react\",\n \"ecma_transforms_typescript\",\n+ \"ecma_transforms_proposal\",\n \"ecma_quote\",\n \"ecma_visit\",\n \"ecma_...
2023-03-07T20:15:49
electron/electron
736fe0c1db8c2fb5502eb1a6bb5d3cca9c63f750
ed4c69343f5f9bf77cec5ec84f3a363261b82b21
Fix OS X build error.
[ { "path": "atom/browser/ui/tray_icon_cocoa.h", "patch": "@@ -27,7 +27,7 @@ class TrayIconCocoa : public TrayIcon {\n void SetToolTip(const std::string& tool_tip) override;\n void SetTitle(const std::string& title) override;\n void SetHighlightMode(bool highlight) override;\n- void PopContextMenu() ov...
2015-07-16T03:43:42
nodejs/node
cc0e1770d950fbdfb73d8640ba5468cdc06534bd
20770073ba56d2af516cc8fa39527da3e4e01985
doc: fix node.1 --http-parser sort order For consistency with the API docs, switch the order of --http-parser and --force-fips in node.1. PR-URL: https://github.com/nodejs/node/pull/25045 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anna Henningsen <anna...
[ { "path": "doc/node.1", "patch": "@@ -97,18 +97,18 @@ Enable experimental ES module support in VM module.\n .It Fl -experimental-worker\n Enable experimental worker threads using worker_threads module.\n .\n-.It Fl -http-parser Ns = Ns Ar library\n-Chooses an HTTP parser library. Available values are\n-.Sy ...
2018-12-14T15:14:07
golang/go
4dd5f0994f2e2079582876db4af1cba95fe3b6c2
c90ead97ad7542437079462e0b70ff7b3f8e7811
constraints: new package The constraint packages defined a set of useful constraints to be used with type parameters. Fixes #45458 Change-Id: Id4f4e6c55debb90e6b10ea0dbe2319be1e888746 Reviewed-on: https://go-review.googlesource.com/c/go/+/349709 Trust: Ian Lance Taylor <iant@golang.org> Run-TryBot: Ian Lance Taylor ...
[ { "path": "src/constraints/constraints.go", "patch": "@@ -0,0 +1,65 @@\n+// Copyright 2021 The Go Authors. All rights reserved.\n+// Use of this source code is governed by a BSD-style\n+// license that can be found in the LICENSE file.\n+\n+// Package constraints defines a set of useful constraints to be us...
2021-09-13T22:40:11
huggingface/transformers
5c3fb7f731743609262d7c77a636b41f69d204fe
2469cce62166dc8b4ca19f336e4152a84d3217df
Harmonize `past_key_value` to `past_key_valueS` everywhere (#39956) * all modulars and llama * apply modular * bert and gpt2 copies * fix imports * do it everywhere * fix import * finalize it * fix * oups set it in modular * style * fix * Add 1 version to deprecation cycle * Update modeling_layers.py
[ { "path": "docs/source/en/modular_transformers.md", "patch": "@@ -218,7 +218,7 @@ class Olmo2Attention(OlmoAttention):\n hidden_states: torch.Tensor,\n position_embeddings: tuple[torch.Tensor, torch.Tensor],\n attention_mask: Optional[torch.Tensor],\n- past_key_value: Optional...
2025-08-08T09:52:57
rust-lang/rust
28960ece722bf84e4c84a93b0855d588f7109667
7afd613941656ac6548f60da94959bb6632ab48e
Fix s390x intrinsics - use correct intrinsic for unpackl - fix invalid use of `simd_{or,and,xor}` on floating point vectors - `vec_search_string` should require `vector-enhancements-2`
[ { "path": "library/stdarch/crates/core_arch/src/s390x/vector.rs", "patch": "@@ -174,9 +174,9 @@ unsafe extern \"unadjusted\" {\n #[link_name = \"llvm.s390.vpklsfs\"] fn vpklsfs(a: vector_unsigned_int, b: vector_unsigned_int) -> PackedTuple<vector_unsigned_short, i32>;\n #[link_name = \"llvm.s390.vpk...
2025-05-27T20:37:22
vercel/next.js
abf7da32a47d0bb19af34db05e28d8ad8346ef9b
5dae98ea0ae173cea80e11d1610d880af0b766ec
Fix TS plugin showing warning for error file's `reset` prop (#46898) This should be a special case of having a function as the client boundary's prop. Fixes NEXT-732, fixes #46573.
[ { "path": "packages/next/src/server/typescript/rules/client-boundary.ts", "patch": "@@ -39,6 +39,8 @@ const clientBoundary = {\n \n const diagnostics: ts.Diagnostic[] = []\n \n+ const isErrorFile = /[\\\\/]error\\.tsx?$/.test(source.fileName)\n+\n const props = node.parameters?.[0]?.name\n if...
2023-03-07T20:07:44
nodejs/node
20770073ba56d2af516cc8fa39527da3e4e01985
02b66b5b866bd8398e7d815d3715ba3f94a5cf65
child_process: spawn ignores options in case args is undefined spawn method ignores 3-d argument 'options' in case the second one 'args' equals to 'undefined'. Fixes: https://github.com/nodejs/node/issues/24912 PR-URL: https://github.com/nodejs/node/pull/24913 Reviewed-By: Rich Trott <rtrott@gmail.com> Reviewed-By: ...
[ { "path": "lib/child_process.js", "patch": "@@ -403,8 +403,9 @@ function normalizeSpawnArguments(file, args, options) {\n \n if (Array.isArray(args)) {\n args = args.slice(0);\n- } else if (args !== undefined &&\n- (args === null || typeof args !== 'object')) {\n+ } else if (args == null...
2018-12-08T21:50:17
electron/electron
002eb1a3266c2540b5c0d90752819bffc8cae52c
38c33d69ae2b1c7d6bcdd86069933d848d44513b
Simplify code logic and fix object-c code style.
[ { "path": "atom/browser/ui/tray_icon_cocoa.mm", "patch": "@@ -9,13 +9,12 @@\n #include \"ui/gfx/image/image.h\"\n #include \"ui/gfx/screen.h\"\n \n-\n const CGFloat kStatusItemLength = 26;\n const CGFloat kMargin = 3;\n \n @interface StatusItemView : NSView {\n atom::TrayIconCocoa* trayIcon_; // weak\n- ...
2015-07-16T02:49:55
golang/go
c90ead97ad7542437079462e0b70ff7b3f8e7811
4e308d73ba3610838305997b6f4793c4f4dcfc4e
cmd/compile/internal/types2: delay union element checks We cannot determine the underlying type right when parsing a union term since it may lead to types that are not yet fully set up. Fixes #46461. Change-Id: I1fcadb1dcef2160be2f088a4a34e99dbab01da67 Reviewed-on: https://go-review.googlesource.com/c/go/+/351969 Tr...
[ { "path": "src/cmd/compile/internal/types2/testdata/fixedbugs/issue46461.go2", "patch": "@@ -4,8 +4,17 @@\n \n package p\n \n+// test case 1\n type T[U interface{ M() T[U] }] int\n \n type X int\n \n func (X) M() T[X] { return 0 }\n+\n+// test case 2\n+type A[T interface{ A[T] }] interface{}\n+\n+// test ca...
2021-09-23T23:53:21
rust-lang/rust
7afd613941656ac6548f60da94959bb6632ab48e
79654521eeab8b6e4af054e6fe7190c2e2e620b8
Fix PPC shift and rotate intrinsics
[ { "path": "library/stdarch/crates/core_arch/src/powerpc/altivec.rs", "patch": "@@ -338,26 +338,26 @@ unsafe extern \"C\" {\n #[link_name = \"llvm.ppc.altivec.vlogefp\"]\n fn vlogefp(a: vector_float) -> vector_float;\n \n- #[link_name = \"llvm.ppc.altivec.sll\"]\n+ #[link_name = \"llvm.ppc.alti...
2025-05-27T20:35:25
huggingface/transformers
2469cce62166dc8b4ca19f336e4152a84d3217df
fe1bf8215906ac22ae7afaf47b877c4415dd7221
Fix an annoying flaky test (#40000) annoying flaky test
[ { "path": "tests/test_tokenization_mistral_common.py", "patch": "@@ -32,7 +32,7 @@\n from mistral_common.tokens.tokenizers.mistral import MistralTokenizer\n \n \n-IMG_URL = \"https://picsum.photos/id/237/200/300\"\n+IMG_URL = \"https://huggingface.co/datasets/raushan-testing-hf/images_test/resolve/main/...
2025-08-08T08:32:51
vercel/next.js
c19e0f307520255a76a42b4f56f70d3b3c6f7a05
8c9ae939c9f2a8882ae1ee8cc29be1d3f28c4c87
next/font: Generate fallback fonts (vercel/turbo#4086) This: * Generates and uses definitions for fallback system fonts to use in place of user fonts, or as they are loading. * Reads the font metrics file from the `next` package directly relative to the user's app. * Fixes a bug where `adjust_font_fallback` defau...
[ { "path": "packages/next-swc/crates/next-core/src/next_font_google/font_fallback.rs", "patch": "@@ -0,0 +1,259 @@\n+use std::collections::HashMap;\n+\n+use anyhow::{Context, Result};\n+use once_cell::sync::Lazy;\n+use serde::{Deserialize, Serialize};\n+use turbo_tasks::{\n+ primitives::{StringVc, Strings...
2023-03-07T20:00:38
nodejs/node
02b66b5b866bd8398e7d815d3715ba3f94a5cf65
5f4fa0756b6961cf73a224f4307eaba13b9f9d40
util: inspect all prototypes It is currently difficult to distinguish multiple objects from each other because the prototype is not properly inspected. From now on all prototypes will be inspected, even if we do not fully know how they will look like / what their shape really is. PR-URL: https://github.com/nodejs/nod...
[ { "path": "lib/internal/util/inspect.js", "patch": "@@ -322,7 +322,7 @@ function getEmptyFormatArray() {\n return [];\n }\n \n-function getConstructorName(obj) {\n+function getConstructorName(obj, ctx) {\n let firstProto;\n while (obj) {\n const descriptor = Object.getOwnPropertyDescriptor(obj, 'c...
2018-12-11T23:25:32
golang/go
4e308d73ba3610838305997b6f4793c4f4dcfc4e
93f964b4122b7f9a1ae3f80ad75363403a5753ca
cmd/go: refer to the right package in a test The test checks that two packages aren't non-test dependencies. There's a copy-paste typo, however. When net/http is unexpectedly found as a dependendency, we instead mention the other package in the error message. Change-Id: I3232c6252255c839e08efa048f2232c192d0fb85 Revie...
[ { "path": "src/cmd/go/internal/imports/scan_test.go", "patch": "@@ -33,7 +33,7 @@ func TestScan(t *testing.T) {\n \t\t}\n \t\tif p == \"net/http\" {\n \t\t\t// A test import but not an import\n-\t\t\tt.Errorf(\"json reported as importing encoding/binary but does not\")\n+\t\t\tt.Errorf(\"json reported as im...
2021-09-22T13:59:42
electron/electron
9ee0d46734d1e357775833e2c4645c8073842dc9
1e9eccf959492e81956b40cc69ccacb8159c3379
Use CTRL+SHIFT+I for toggling devtools, fix #2205
[ { "path": "atom/browser/default_app/main.js", "patch": "@@ -237,7 +237,7 @@ app.once('ready', function() {\n },\n {\n label: 'Toggle &Developer Tools',\n- accelerator: 'Alt+Ctrl+I',\n+ accelerator: 'Shift+Ctrl+I',\n click: function() {\n ...
2015-07-15T20:11:01
rust-lang/rust
79654521eeab8b6e4af054e6fe7190c2e2e620b8
a4a7184370b0efaf36a8a87b7421c8530040375d
Fix `ldpte` and `lddir` signature - The 2nd argument of the LLVM intrinsic should be IMMARG
[ { "path": "library/stdarch/crates/core_arch/src/loongarch64/mod.rs", "patch": "@@ -329,16 +329,18 @@ pub unsafe fn asrtgt(a: i64, b: i64) {\n \n /// Loads the page table directory entry\n #[inline]\n+#[rustc_legacy_const_generics(1)]\n #[unstable(feature = \"stdarch_loongarch\", issue = \"117427\")]\n-pub u...
2025-05-27T20:34:34
huggingface/transformers
fe1bf8215906ac22ae7afaf47b877c4415dd7221
b374c3d12e8a42014b7911d1bddf598aeada1154
Higgs modules_to_not_convert standardization (#39989) fix higgs
[ { "path": "src/transformers/integrations/higgs.py", "patch": "@@ -554,6 +554,7 @@ def replace_with_higgs_linear(\n quantization_config=None,\n current_key_name=None,\n has_been_replaced=False,\n+ modules_to_not_convert=None,\n ):\n \"\"\"\n Public method that recursively replaces the ...
2025-08-08T08:22:59
golang/go
93f964b4122b7f9a1ae3f80ad75363403a5753ca
02913aa51c1f1c1338596310ceafc63d4a93a19d
cmd/compile/internal/ssa: remove workarounds for #43938 The cmd/go bug this worked around should be fixed as of CL 351329. Fixes #43938 Fixes #48550 Change-Id: Ida930e7ee33d44d89556b9b8bbc3c26bb53697b2 Reviewed-on: https://go-review.googlesource.com/c/go/+/351529 Trust: Bryan C. Mills <bcmills@google.com> Reviewed-b...
[ { "path": "src/cmd/compile/internal/ssa/debug_lines_test.go", "patch": "@@ -29,8 +29,10 @@ var asmLine *regexp.Regexp = regexp.MustCompile(`^\\s[vb][0-9]+\\s+[0-9]+\\s\\(\\+([0\n \n // this matches e.g. ` v123456789 000007 (+9876654310) MOVUPS\tX15, \"\"..autotmp_2-32(SP)`\n...
2021-09-22T15:54:22
nodejs/node
8f4b924f4a7b37bd16ddff65329c8e96fc5f0f2d
2c5dae59341aafc69e1edd62555e6942ba8f0d50
fs: make writeFile consistent with readFile wrt fd As it is, `readFile` always reads from the current position of the file, if a file descriptor is used. But `writeFile` always writes from the beginning of the file. This patch fixes this inconsistency by making `writeFile` also to write from the current position of t...
[ { "path": "lib/fs.js", "patch": "@@ -1229,7 +1229,7 @@ function writeFile(path, data, options, callback) {\n function writeFd(fd, isUserFd) {\n const buffer = isArrayBufferView(data) ?\n data : Buffer.from('' + data, options.encoding || 'utf8');\n- const position = /a/.test(flag) ? null : 0;\...
2018-10-17T09:10:08
electron/electron
ca2cb9c9ba5c24a3bdfc5debf0d85305b171c95a
1e9eccf959492e81956b40cc69ccacb8159c3379
valid example json, fix https://github.com/atom/electron/issues/2228
[ { "path": "docs/api/auto-updater.md", "patch": "@@ -85,7 +85,7 @@ to the update request provided:\n \"url\": \"http://mycompany.com/myapp/releases/myrelease\",\n \"name\": \"My Release Name\",\n \"notes\": \"Theses are some release notes innit\",\n- \"pub_date\": \"2013-09-18T12:29:53+01:00\",\n+ \"...
2015-07-15T14:34:33
vercel/next.js
c3fb25b430cb88049d81d0310428e682ca079aef
67b94626f2d56a90e9d00fd3a441d52c0eeeb7c8
next/font: Generate fallback fonts (vercel/turbo#4086) This: * Generates and uses definitions for fallback system fonts to use in place of user fonts, or as they are loading. * Reads the font metrics file from the `next` package directly relative to the user's app. * Fixes a bug where `adjust_font_fallback` defau...
[ { "path": "crates/next-core/src/next_font_google/font_fallback.rs", "patch": "@@ -0,0 +1,259 @@\n+use std::collections::HashMap;\n+\n+use anyhow::{Context, Result};\n+use once_cell::sync::Lazy;\n+use serde::{Deserialize, Serialize};\n+use turbo_tasks::{\n+ primitives::{StringVc, StringsVc, U32Vc},\n+ ...
2023-03-07T20:00:38
huggingface/transformers
b374c3d12e8a42014b7911d1bddf598aeada1154
4d57c39007d98ab5ffb90df6f1695db8738c9410
Fix broken image inference for Fuyu model (#39915) * fix fuyu Signed-off-by: Isotr0py <2037008807@qq.com> * oops Signed-off-by: Isotr0py <2037008807@qq.com> * run test on GPU Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> * clean unused Signed-off-by: Isotr0py <mozf@mail2.sysu.edu.cn> * revert Signed-off-by...
[ { "path": "src/transformers/models/fuyu/modeling_fuyu.py", "patch": "@@ -225,7 +225,7 @@ def forward(\n if image_patches is not None:\n patch_embeddings = self.get_image_features(image_patches)\n patch_embeddings = torch.cat(patch_embeddings, dim=0).to(inputs_embeds.device, i...
2025-08-08T07:21:49
golang/go
02913aa51c1f1c1338596310ceafc63d4a93a19d
ddb5a42b25c63df9f11669bd4b14eeebcd2ba2bb
test/fixedbugs: adjust test case (fix longtest builders) For #33232. Change-Id: Id95a92bfdad91e3ccde9f5654c3b1b02ca95f6ea Reviewed-on: https://go-review.googlesource.com/c/go/+/351731 Trust: Robert Griesemer <gri@golang.org> Trust: Bryan C. Mills <bcmills@google.com> Run-TryBot: Robert Griesemer <gri@golang.org> TryB...
[ { "path": "test/fixedbugs/issue14652.go", "patch": "@@ -1,4 +1,4 @@\n-// compile\n+// compile -G=3\n \n // Copyright 2016 The Go Authors. All rights reserved.\n // Use of this source code is governed by a BSD-style", "additions": 1, "deletions": 1, "language": "Go" } ]
2021-09-23T05:11:17
nodejs/node
139525618779790f05dec3aa75c997a79ba86120
83360899db901a3eace976adff749006fbcee8a7
test: run eslint on test file and fix errors This removes two entries from the eslint ignore file. One file does not exist anymore and the other one could easily be fixed. PR-URL: https://github.com/nodejs/node/pull/25009 Reviewed-By: Sakthipriyan Vairamani <thechargingvolcano@gmail.com> Reviewed-By: Rich Trott <rtro...
[ { "path": ".eslintignore", "patch": "@@ -1,9 +1,7 @@\n node_modules\n-lib/internal/v8.js\n lib/internal/v8_prof_polyfill.js\n lib/punycode.js\n test/addons/??_*\n-test/es-module/test-esm-dynamic-import.js\n test/fixtures\n test/message/esm_display_syntax_error.mjs\n tools/icu", "additions": 0, "dele...
2018-12-13T08:35:55
vercel/next.js
5dae98ea0ae173cea80e11d1610d880af0b766ec
422b3b01a744999408aa101d1e153e002f97495c
Add more JSDoc to types (#46897) Fixes NEXT-540.
[ { "path": "packages/next/src/server/config-shared.ts", "patch": "@@ -144,6 +144,10 @@ export interface ExperimentalConfig {\n nextScriptWorkers?: boolean\n scrollRestoration?: boolean\n externalDir?: boolean\n+ /**\n+ * The App Router (app directory) enables support for layouts, Server Components, ...
2023-03-07T19:51:12
electron/electron
00c484c68bf55376b00a47081f4f937cfcaabf21
1e9eccf959492e81956b40cc69ccacb8159c3379
fix typo in browser-window.md
[ { "path": "docs/api/browser-window.md", "patch": "@@ -760,7 +760,7 @@ Calling `event.preventDefault()` can prevent creating new windows.\n * `event` Event\n * `url` String\n \n-Emitted when user or the page wants to start an navigation, it can happen when\n+Emitted when user or the page wants to start a nav...
2015-07-15T14:29:02
huggingface/transformers
12f248bced9937d7d2b88f36d4982b1d3279fe4f
efaf3714dc72a7d9f35df4442d8d64ca2a1da299
Raising error when quantizing a quantized model (#39998) * error when quantizing a quantized model * style
[ { "path": "src/transformers/quantizers/auto.py", "patch": "@@ -213,6 +213,12 @@ def merge_quantization_configs(\n else:\n quantization_config = AutoQuantizationConfig.from_dict(quantization_config)\n \n+ if quantization_config.__class__.__name__ != quantization_config_from...
2025-08-07T20:37:25
golang/go
ddb5a42b25c63df9f11669bd4b14eeebcd2ba2bb
c0766d2cd0453b33da74407bcb0d32bbc5392c9b
cmd/compile/internal/types2: avoid "declared but not used" errors for invalid code Agressively mark all LHS variables in assignments as used if there is any error in the (entire) assignment. This reduces the number of spurious "declared but not used" errors in programs that are invalid in the first place. This behavio...
[ { "path": "src/cmd/compile/internal/types2/assignments.go", "patch": "@@ -156,6 +156,7 @@ func (check *Checker) initVar(lhs *Var, x *operand, context string) Type {\n \n \tcheck.assignment(x, lhs.typ, context)\n \tif x.mode == invalid {\n+\t\tlhs.used = true // avoid follow-on \"declared but not used\" erro...
2021-09-23T04:57:19
huggingface/transformers
efaf3714dc72a7d9f35df4442d8d64ca2a1da299
ca4cbb1e3fee25e601c7d2f4f1982332c71f922d
docs: fix duplication in 'en/optimizers.md' (#40014)
[ { "path": "docs/source/en/optimizers.md", "patch": "@@ -137,7 +137,6 @@ args = TrainingArguments(\n max_steps=1000,\n per_device_train_batch_size=4,\n + optim=\"adalomo\",\n- gradient_checkpointing=True,\n gradient_checkpointing=True,\n logging_strategy=\"steps\",\n logging_steps=1,...
2025-08-07T20:28:43
electron/electron
de5bc32d0b4050548934aa52b4162fdbac888e70
1e9eccf959492e81956b40cc69ccacb8159c3379
Fix typos, update some files
[ { "path": "README-ko.md", "patch": "@@ -2,6 +2,7 @@\n \n [![Build Status](https://travis-ci.org/atom/electron.svg?branch=master)](https://travis-ci.org/atom/electron)\n [![devDependency Status](https://david-dm.org/atom/electron/dev-status.svg)](https://david-dm.org/atom/electron#info=devDependencies)\n+[![...
2015-07-08T03:33:23
rust-lang/rust
ac69f1eecb698f14ed2df060cca99af8ba8f658d
f1d5cfea44007f2312c24442dff95951a7d51aff
Pin compiler_builtins to 0.1.160 to fix some f128 tests
[ { "path": "patches/0001-Pin-compiler_builtins-to-0.1.160.patch", "patch": "@@ -0,0 +1,39 @@\n+From cdb3d407740e4f15c3746051f8ba89b8e74e99d3 Mon Sep 17 00:00:00 2001\n+From: None <none@example.com>\n+Date: Fri, 30 May 2025 13:46:22 -0400\n+Subject: [PATCH] Pin compiler_builtins to 0.1.160\n+\n+---\n+ library...
2025-05-30T17:49:26
vercel/next.js
67b94626f2d56a90e9d00fd3a441d52c0eeeb7c8
19c1d4bbbfae5b3cec3602e8c1e2bcd01e48c41c
fix windows/macOS only warnings (vercel/turbo#4108) ### Description left-over warnings for previous PR
[ { "path": "crates/turbo-tasks-fs/src/lib.rs", "patch": "@@ -29,7 +29,7 @@ use std::{\n path::{Path, PathBuf, MAIN_SEPARATOR},\n sync::{\n mpsc::{channel, RecvError, TryRecvError},\n- Arc, Mutex, MutexGuard,\n+ Arc, Mutex,\n },\n time::Duration,\n };\n@@ -114,7 +114,7 @@...
2023-03-07T19:09:54
golang/go
c0766d2cd0453b33da74407bcb0d32bbc5392c9b
0626ac064d9300d16e1e5878777efc0430088569
go/types: avoid "declared but not used errors" for invalid variable initializations This is a partial port of CL 351669 from types2 to go/types; it only copies the fix for variable usage. Eventually we may want to use the compiler error messages for assignment errors everywhere, but that doesn't need to happen now. ...
[ { "path": "src/go/types/assignments.go", "patch": "@@ -237,6 +237,7 @@ func (check *Checker) initVars(lhs []*Var, origRHS []ast.Expr, returnPos token.P\n \tif len(lhs) != len(rhs) {\n \t\t// invalidate lhs\n \t\tfor _, obj := range lhs {\n+\t\t\tobj.used = true // avoid declared but not used errors\n \t\t\t...
2021-09-23T00:28:36
huggingface/transformers
9bfbdd29452eadcb2843390fbffa439a555a4181
692d33690855fadda046ca69ff012903d2bf9c3d
Fix default values of getenv (#39867) Signed-off-by: cyy <cyyever@outlook.com>
[ { "path": "examples/3D_parallel.py", "patch": "@@ -72,9 +72,9 @@\n \n \n def main():\n- tp_size = int(os.environ.get(\"TP_SIZE\", 1))\n- dp_size = int(os.environ.get(\"DP_SIZE\", 1))\n- cp_size = int(os.environ.get(\"CP_SIZE\", 1)) # Add CP size configuration\n+ tp_size = int(os.environ.get(\"T...
2025-08-07T17:25:40
electron/electron
1e9eccf959492e81956b40cc69ccacb8159c3379
4b06c0645c5d40c95ce650ce4ff23b6f7f00792c
Forward the crashed event to BrowserWindow, fix #2201
[ { "path": "atom/browser/api/lib/browser-window.coffee", "patch": "@@ -26,6 +26,10 @@ BrowserWindow::_init = ->\n if process.platform isnt 'darwin' and @isMenuBarAutoHide() and @isMenuBarVisible()\n @setMenuBarVisibility false\n \n+ # Forward the crashed event.\n+ @webContents.on 'crashed', =>\n+...
2015-07-14T22:13:41
rust-lang/rust
4a1843924e80815b159963693d4a5d3362cb74d8
e6152cdf5b31bd844a4cc1049433859d54863602
Fix spans for unsafe binders
[ { "path": "compiler/rustc_resolve/src/late.rs", "patch": "@@ -934,8 +934,7 @@ impl<'ra: 'ast, 'ast, 'tcx> Visitor<'ast> for LateResolutionVisitor<'_, 'ast, 'r\n )\n }\n TyKind::UnsafeBinder(unsafe_binder) => {\n- // FIXME(unsafe_binder): Better span\n- ...
2025-05-30T16:46:16
vercel/next.js
fbcf93eb11097772e0d04ada51e315c9dee778ea
7116c0ee01c832bb8110a86bbc844684535ec6c5
only use recursive watchers on macOS and windows (vercel/turbo#4100) ### Description Only windows and macOS support real recursive file watchers, other OS emulate it by walking the directory structure and watching all directories. But that might be really slow and use up a lot of watchers, so we don't want that....
[ { "path": "crates/turbo-tasks-fs/Cargo.toml", "patch": "@@ -18,6 +18,7 @@ auto-hash-map = { workspace = true }\n bitflags = \"1.3.2\"\n bytes = \"1.1.0\"\n concurrent-queue = { workspace = true }\n+dashmap = { workspace = true }\n dunce = { workspace = true }\n futures = { workspace = true }\n futures-retry...
2023-03-07T18:32:41
huggingface/transformers
692d33690855fadda046ca69ff012903d2bf9c3d
0659214196d36a20785d3f99a68357ff804a8acd
Fix HGNetV2 Model Card and Image Classification Pipeline Usage Tips (#39965) * fix hgnet docs and image-classification pipeline * use positional argument * fix dit close hfoptions tag * fix alphabet order * fix hgnnet modular docstring * Update hgnet_v2.md Co-authored-by: Steven Liu <59462357+stevhliu@users.nore...
[ { "path": "docs/source/en/_toctree.yml", "patch": "@@ -90,16 +90,16 @@\n title: Tools and RAG\n title: Chat with models\n - sections:\n- - local: serving\n- title: Serving LLMs, VLMs, and other chat-based models\n- - local: jan\n- title: Jan\n- - local: cursor\n- ...
2025-08-07T16:33:29
golang/go
0626ac064d9300d16e1e5878777efc0430088569
2fc7697da43f24e19d2a9efb79dd7bb9a4e16556
cmd/compile: restore original assignment error messages When used with the compiler, types2 will report assignment error messages that closely match what the compiler type checker (types1) produces. Also, mark lhs variables as used in invalid variable initializations to avoid a class of follow-on errors. Fixes #4855...
[ { "path": "src/cmd/compile/internal/types2/assignments.go", "patch": "@@ -6,7 +6,10 @@\n \n package types2\n \n-import \"cmd/compile/internal/syntax\"\n+import (\n+\t\"cmd/compile/internal/syntax\"\n+\t\"fmt\"\n+)\n \n // assignment reports whether x can be assigned to a variable of type T,\n // if necessar...
2021-09-23T00:08:00
electron/electron
c6f870d4e4866c7c1cd0aef1443df03c8abe6762
053594eae838af2cfe51f12ccc60fc0c088a7409
Fix cpplint warnings
[ { "path": "atom/browser/atom_browser_context.h", "patch": "@@ -5,6 +5,8 @@\n #ifndef ATOM_BROWSER_ATOM_BROWSER_CONTEXT_H_\n #define ATOM_BROWSER_ATOM_BROWSER_CONTEXT_H_\n \n+#include <string>\n+\n #include \"brightray/browser/browser_context.h\"\n \n namespace atom {", "additions": 2, "deletions": 0...
2015-07-14T19:16:13
vercel/next.js
4b8240b842509be3b2d75aa4fa5d3fecc4318bb5
14bfe87110fee29cda6dc30c29c0a2e336b069dd
Support unnamed default export expression (#46888 This PR adds the support for unnamed default export expression support `export default async function () {}` in a "use server" entry, with corresponding test. Also fixed an existing bug that the default exported action's name should be aligned with the export nam...
[ { "path": "packages/next-swc/crates/core/src/server_actions.rs", "patch": "@@ -34,12 +34,14 @@ pub fn server_actions<C: Comments>(\n start_pos: BytePos(0),\n in_action_file: false,\n in_export_decl: false,\n+ in_default_export_decl: false,\n in_prepass: false,\n ...
2023-03-07T18:16:45
nodejs/node
b5202546fcd64293cce94a4ba4b98f9d8ca1aee6
a96ba1c8b61d670732a66582f8e794cda21f3b0c
test: improve WPT runner name matching This patch: - Support wildcards(*) in WPT runner name matching (needed by e.g. encoding where all the tests requires i18n support in the build) - Print failure reasons when encountering an expected failure - Fix a bug in copyGlobalsFromObject (previously it copies properties...
[ { "path": "test/common/wpt.js", "patch": "@@ -66,20 +66,92 @@ class ResourceLoader {\n }\n }\n \n+class StatusRule {\n+ constructor(key, value, pattern = undefined) {\n+ this.key = key;\n+ this.requires = value.requires || [];\n+ this.fail = value.fail;\n+ this.skip = value.skip;\n+ if (pa...
2018-11-18T05:15:15
huggingface/transformers
0659214196d36a20785d3f99a68357ff804a8acd
27997eeb8d57bc9a54759c105a74df46a37951b2
fix: remove CHAT_TEMPLATE import in tests for deepseek-vl (#40003) * remove CHAT_TEMPLATE import in tests * update and use prepare_processor_dict
[ { "path": "tests/models/deepseek_vl/test_processing_deepseek_vl.py", "patch": "@@ -16,7 +16,6 @@\n import unittest\n \n from transformers import DeepseekVLProcessor, LlamaTokenizer\n-from transformers.models.deepseek_vl.convert_deepseek_vl_weights_to_hf import CHAT_TEMPLATE\n from transformers.testing_utils...
2025-08-07T16:19:36
golang/go
13f3c57cefef59e5d94f678483aff527807fb33b
5961134fa5530e8e07b5536b9577e4755ac1e04a
go/types,types2: disallow illegal cycles through Unions Checker.validType was not considering Unions when looking for illegal cycles. Fixes #48582 Change-Id: I11ad0279eeaaa56bb6d5731b0572c1c3a0c459eb Reviewed-on: https://go-review.googlesource.com/c/go/+/351829 Trust: Robert Findley <rfindley@google.com> Run-TryBot:...
[ { "path": "src/cmd/compile/internal/types2/decl.go", "patch": "@@ -315,6 +315,13 @@ func (check *Checker) validType(typ Type, path []Object) typeInfo {\n \t\t\t}\n \t\t}\n \n+\tcase *Union:\n+\t\tfor _, t := range t.terms {\n+\t\t\tif check.validType(t.typ, path) == invalid {\n+\t\t\t\treturn invalid\n+\t\t...
2021-09-23T16:19:05
vercel/next.js
8c9ae939c9f2a8882ae1ee8cc29be1d3f28c4c87
951568c4c7451adb034d86c907dabe51cb809680
revert workspace dependency to allow building correctly (vercel/turbo#4103) ### Description Cargo always uses default features for workspace dependencies, so we can't use that here. See also comment. ### Testing Instructions ``` $ cargo tree -p next-binding -i openssl --target x86_64-unknown-linux-gnu -e fe...
[ { "path": "packages/next-swc/crates/next-binding/Cargo.toml", "patch": "@@ -103,7 +103,7 @@ __swc_testing = [\"__swc\", \"testing\"]\n mdxjs = { optional = true, workspace = true }\n modularize_imports = { optional = true, workspace = true }\n # TODO: Not sure what's going on, but using `workspace = true` n...
2023-03-07T17:41:00
huggingface/transformers
27997eeb8d57bc9a54759c105a74df46a37951b2
bf1bd6ac1f0a1a4dbd92687b298ff741e41cd6e3
Fix missing video inputs for PerceptionLM. (#39971) * Fix missing video inputs for PerceptionLM. * Minor fix for vanilla input image (only C,H,W, no tiles dim). * Revert "Minor fix for vanilla input image (only C,H,W, no tiles dim)." This reverts commit 181d87b964e59c4118035a9fd4f530c6e551ba9f.
[ { "path": "src/transformers/models/perception_lm/processing_perception_lm.py", "patch": "@@ -170,7 +170,7 @@ def __call__(\n mm_token_type_ids[array_ids == self.image_token_id] = 1\n text_inputs[\"mm_token_type_ids\"] = mm_token_type_ids.tolist()\n \n- return BatchFeature(data...
2025-08-07T15:54:45
nodejs/node
37a5e01bda104eacca78da31afb9f9ec05da180c
adf5083647c3bbe2f0873a3bc6d5614a07468a94
lib: ensure readable stream flows to end If a readable stream was set up with `highWaterMark 0`, the while-loop in `maybeReadMore_` function would never execute. The while loop now has an extra or-condition for the case where the stream is flowing and there are no items. The or-condition is adapted from the emit-cond...
[ { "path": "lib/_stream_readable.js", "patch": "@@ -568,16 +568,38 @@ function maybeReadMore(stream, state) {\n }\n \n function maybeReadMore_(stream, state) {\n- var len = state.length;\n+ // Attempt to read more data if we should.\n+ //\n+ // The conditions for reading more data are (one of):\n+ // - ...
2018-12-09T09:09:01
rust-lang/rust
ce0c17a6e70f26a9133b24d0ea570e4af0178715
e6152cdf5b31bd844a4cc1049433859d54863602
* Merge `Cfg::render_long_html` and `Cfg::render_long_plain` methods common code * Fix invalid whitespace handling
[ { "path": "src/librustdoc/clean/cfg.rs", "patch": "@@ -169,33 +169,36 @@ impl Cfg {\n msg\n }\n \n- /// Renders the configuration for long display, as a long HTML description.\n- pub(crate) fn render_long_html(&self) -> String {\n+ fn render_long_inner(&self, format: Format) -> String {...
2025-05-30T13:33:20
golang/go
5961134fa5530e8e07b5536b9577e4755ac1e04a
335e72bcb6a5f670e2b3c65170c4287ca7265934
crypto: avoid escaping Hash.Sum on generic architectures For architectures without a specialized implementation (e.g. arm), the generic implementation allocates because it does: var block = blockGeneric which causes the compiler to give up trying to analyze block even though it is technically only ever one implemen...
[ { "path": "src/crypto/md5/md5_test.go", "patch": "@@ -211,6 +211,20 @@ func TestLargeHashes(t *testing.T) {\n \t}\n }\n \n+func TestAllocations(t *testing.T) {\n+\tin := []byte(\"hello, world!\")\n+\tout := make([]byte, 0, Size)\n+\th := New()\n+\tn := int(testing.AllocsPerRun(10, func() {\n+\t\th.Reset()\n...
2021-08-30T17:25:11
electron/electron
5708b7fbecd3de89589be36554b73e969eda0a15
5863ed4c33fde2b72f1a94f071aeb528ccc4e911
Fix the ill cookie test
[ { "path": "spec/api-session-spec.coffee", "patch": "@@ -46,14 +46,15 @@ describe 'session module', ->\n w.loadUrl 'file://' + path.join(fixtures, 'page', 'a.html')\n w.webContents.on 'did-finish-load', ()->\n w.webContents.session.cookies.set {url: url, name: 'key', value: 'dummy2'}, (error) -...
2015-07-14T09:32:20
huggingface/transformers
bf1bd6ac1f0a1a4dbd92687b298ff741e41cd6e3
43d3b1931a7d3cddac9947adcb19bb3b1f8abedb
Fix int4 quantized model cannot work with cpu (#39724) * Fix int4 quantized model cannot work with cpu Signed-off-by: yuanwu <yuan.wu@intel.com> * Update the comments Signed-off-by: yuanwu <yuan.wu@intel.com> * update Signed-off-by: yuanwu <yuan.wu@intel.com> * update Signed-off-by: yuanwu <yuan.wu@intel.com> ...
[ { "path": "src/transformers/modeling_utils.py", "patch": "@@ -954,7 +954,7 @@ def load_shard_file(args):\n or isinstance(hf_quantizer.quantization_config.quant_type, Int4WeightOnlyConfig)\n )\n ):\n- map_location = torch.device([d for d in device_map.values() if d not in [\"cp...
2025-08-07T15:24:00
nodejs/node
914c49497cd92a9266cf5aaed1f425358d1023cc
80ab537ee6fa5513399b86ab439d954387d88772
test: increase error information in test-cli-syntax-* If there is an error, but not the error code the test expects, display more information about the error. PR-URL: https://github.com/nodejs/node/pull/25021 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Anto Aravinth <anto.aravinth.cse@gmail.com> Reviewe...
[ { "path": "test/sequential/test-cli-syntax-bad.js", "patch": "@@ -32,7 +32,8 @@ const syntaxErrorRE = /^SyntaxError: \\b/m;\n const cmd = [node, ..._args].join(' ');\n exec(cmd, common.mustCall((err, stdout, stderr) => {\n assert.strictEqual(err instanceof Error, true);\n- assert.strictEq...
2018-12-13T17:17:35
vercel/next.js
7116c0ee01c832bb8110a86bbc844684535ec6c5
efd75c06af827247a037e09f7705c729a968aeda
revert workspace dependency to allow building correctly (vercel/turbo#4103) ### Description Cargo always uses default features for workspace dependencies, so we can't use that here. See also comment. ### Testing Instructions ``` $ cargo tree -p next-binding -i openssl --target x86_64-unknown-linux-gnu -e fe...
[ { "path": "crates/next-binding/Cargo.toml", "patch": "@@ -103,7 +103,7 @@ __swc_testing = [\"__swc\", \"testing\"]\n mdxjs = { optional = true, workspace = true }\n modularize_imports = { optional = true, workspace = true }\n # TODO: Not sure what's going on, but using `workspace = true` noops `default-feat...
2023-03-07T17:41:00
golang/go
335e72bcb6a5f670e2b3c65170c4287ca7265934
24c2ee7b6578c683a608c3d8c41fe626d50e6b61
cmd/go: fix indentation of -workfile help text While reading the help text for #48576, I noticed that the output was misaligned. Turns out it's because two lines have space indentation, while the rest use tab indentation. Fix that. Change-Id: Ie7c473d892ca13852fa2134f3cdef21e9210e02e Reviewed-on: https://go-review.g...
[ { "path": "src/cmd/go/alldocs.go", "patch": "@@ -167,8 +167,8 @@\n // \t\tdirectory, but it is not accessed. When -modfile is specified, an\n // \t\talternate go.sum file is also used: its path is derived from the\n // \t\t-modfile flag by trimming the \".mod\" extension and appending \".sum\".\n-// -work...
2021-09-23T10:46:28
huggingface/transformers
43d3b1931a7d3cddac9947adcb19bb3b1f8abedb
d5a08097071ce89acc25fa7bb738550436e919ea
Update expected output values after #39885 (part 1) (#39990) fix Co-authored-by: ydshieh <ydshieh@users.noreply.github.com>
[ { "path": "tests/models/beit/test_modeling_beit.py", "patch": "@@ -517,9 +517,9 @@ def test_inference_semantic_segmentation(self):\n \n expected_slice = torch.tensor(\n [\n- [[-4.8963, -2.3696, -3.0359], [-2.8485, -0.9842, -1.7426], [-2.9453, -1.3338, -2.1463]],\n- ...
2025-08-07T14:00:28
nodejs/node
1c52dccc54da29fa787bafdc44986f1fadd1273f
69a7a044543b0178db61816b77cfa01b7f53b8e4
src: add GetLoadedLibraries routine Add a static function GetLoadedLibraries under NativeSymbolDebuggingContext abstraction that provides a list of shared objects - either the current process depended on or loaded. PR-URL: https://github.com/nodejs/node/pull/24825 Reviewed-By: Anna Henningsen <anna@addaleax.net> Revi...
[ { "path": "src/debug_utils.cc", "patch": "@@ -30,6 +30,27 @@\n \n #endif // __POSIX__\n \n+#if defined(__linux__) || defined(__sun)\n+#include <link.h>\n+#endif // (__linux__) || defined(__sun)\n+\n+#ifdef __APPLE__\n+#include <mach-o/dyld.h> // _dyld_get_image_name()\n+#endif // __APP...
2018-12-04T06:23:07
vercel/next.js
14bfe87110fee29cda6dc30c29c0a2e336b069dd
a88b0335b642be90b8b45704d76e0521e22fdc2f
Add a timeout to next/font/google in dev (#46834) Add a timeout to the Google Fonts fetch calls in dev. In case they aren't fetched in time, the fallback font is used instead. Currently if font fetching fails due to network errors in dev, the loader is not cached. Every change on a page that uses a font makes it ...
[ { "path": "packages/font/src/google/fetch-css-from-google-fonts.ts", "patch": "@@ -11,7 +11,8 @@ import { nextFontError } from '../next-font-error'\n */\n export async function fetchCSSFromGoogleFonts(\n url: string,\n- fontFamily: string\n+ fontFamily: string,\n+ isDev: boolean\n ): Promise<string> {...
2023-03-07T12:57:43
golang/go
abbfec2829b001cf758a058eba4ccdc940e029f4
d0dd26a88c019d54f22463daae81e785f5867565
cmd/go: insert goroot to the hash of build cache when the packages include C files There are some absolute paths in the object file of the packages include C files. The path in C objects file can't be rewritten by linker. The goroot must be used as input for the hash when the packages include C files. So that the debu...
[ { "path": "src/cmd/go/internal/work/exec.go", "patch": "@@ -222,18 +222,32 @@ func (b *Builder) buildActionID(a *Action) cache.ActionID {\n \t// same compiler settings and can reuse each other's results.\n \t// If not, the reason is already recorded in buildGcflags.\n \tfmt.Fprintf(h, \"compile\\n\")\n-\t//...
2021-09-10T16:33:34
electron/electron
83e8ceceda64d47b304b6c2db676470ae45daf72
3ef54147c9b8abf670f79552131cde7198644c12
Fix session specs
[ { "path": "spec/api-session-spec.coffee", "patch": "@@ -80,5 +80,9 @@ describe 'session module', ->\n done()\n w.loadUrl 'file://' + path.join(fixtures, 'api', 'localstorage.html')\n w.webContents.on 'did-finish-load', ->\n- w.webContents.session.clearStorageData \"file://\", ['lo...
2015-07-13T22:22:40
huggingface/transformers
d5a08097071ce89acc25fa7bb738550436e919ea
b347e93567a1770fe1ae588ac2fd51898028e6ed
Fix consistency (#39995) * modular * fix
[ { "path": "src/transformers/models/gpt_oss/modeling_gpt_oss.py", "patch": "@@ -160,6 +160,8 @@ def forward(self, hidden_states):\n \n \n class GptOssRotaryEmbedding(nn.Module):\n+ inv_freq: torch.Tensor # fix linting for `register_buffer`\n+\n def __init__(self, config: GptOssConfig, device=None):\n...
2025-08-07T13:52:40
nodejs/node
7ee61fb3e564317cc64b78c78b8d926acedd2fc9
afeb56adf0c106cc4535d0ee20da078478be7ca2
test: from functools import reduce in test/testpy/__init__.py $ __make lint-py__ # When run on Python 3 ``` PYTHONPATH=tools/pip python -m flake8 . \ --count --show-source --statistics --select=E901,E999,F821,F822,F823 \ --exclude=.git,deps,lib,src,tools/*_macros.py,tools/gyp,tools/inspector_protocol,tools/jinja2...
[ { "path": "test/testpy/__init__.py", "patch": "@@ -31,6 +31,11 @@\n import re\n import ast\n \n+try:\n+ reduce\n+except NameError:\n+ from functools import reduce\n+\n \n FLAGS_PATTERN = re.compile(r\"//\\s+Flags:(.*)\")\n FILES_PATTERN = re.compile(r\"//\\s+Files:(.*)\")", "additions": 5, "deleti...
2018-12-11T11:38:09
vercel/next.js
a88b0335b642be90b8b45704d76e0521e22fdc2f
f1fba5b456b0edb850b04ebe00775d30b828a35f
chore: add App Router template to bug report (#46872) ### What? Link to https://github.com/vercel/next.js/tree/canary/examples/reproduction-template-app-dir from our bug report template. ### Why? To lower the barrier to adding a reproduction even when reporting an App Router-related issue, which is current...
[ { "path": ".github/ISSUE_TEMPLATE/1.bug_report.yml", "patch": "@@ -51,7 +51,9 @@ body:\n - type: input\n attributes:\n label: Link to the code that reproduces this issue\n- description: A link to a GitHub repository, a [StackBlitz](https://stackblitz.com/fork/github/vercel/next.js/tree/cana...
2023-03-07T12:23:38