Daily edition

Nov 22, 2026

The edition exactly as it was published. Nothing here is re-selected on a later reading.

Nov 23, 20265 reads · 80 merged PRs screened

language design

rust-lang/rust · #166259

Files changed →View PR ↗

fmt: Improve `Debug` for `FormattingOptions`Rust · 68 + / 1 −

Introduces 3 new declarations in library/core/src/fmt/mod.rs.

Adds new language design rather than adjusting what was there. Tests changed with it, with code of their own.

library/core/src/fmt/mod.rs ↗ · 2 files

@@ -535,6 +535,49 @@ impl FormattingOptions {     pub const fn create_formatter<'a>(self, write: &'a mut (dyn Write + 'a)) -> Formatter<'a> {         Formatter { options: self, buf: write }     }++    /// Recreate a format specifier like `-<04x` matching these options. Public only for testing.+    #[doc(hidden)]+    #[unstable(feature = "fmt_internals", issue = "none")]+    pub fn write_fmt_specifier(&self, f: &mut Formatter<'_>, str_escape: bool) -> Result {+        let fill = self.get_fill();+        if fill != ' ' {+            if str_escape {+                write!(f, "{}", fill.escape_debug())?;+            } else {+                write!(f, "{fill}")?;+            }+        }+        match self.get_align() {+            Some(Alignment::Left) => write!(f, "<")?,+            Some(Alignment::Right) => write!(f, ">")?,+            Some(Alignment::Center) => write!(f, "^")?,+            None => (),+        }+        match self.get_sign() {+            Some(Sign::Plus) => write!(f, "+")?,+            Some(Sign::Minus) => write!(f, "-")?,+            None => (),+        }+        if self.get_alternate() {+            write!(f, "#")?;+        }+        if self.get_sign_aware_zero_pad() {+            write!(f, "0")?;+        }

core implementation

holoviz/panel · #9139

Files changed →View PR ↗

feat(CodeEditor): add line markers and style the read-only tooltipTypeScript · 119 + / 5 −

Introduces 6 new declarations in panel/models/ace.ts.

Adds new core implementation rather than adjusting what was there. Tests changed with it, with code of their own.

panel/models/ace.ts ↗ · 7 files

@@ -119,6 +140,53 @@ export class AcePlotView extends HTMLBoxView {     }   } +  _update_readonly(): void {+    this._editor.setReadOnly(this.model.readonly)+    // Ace creates the "Editing is disabled" tooltip on document.body, outside+    // the shadow root holding Ace's CSS, unless the editor already has one.+    // It drops the tooltip whenever read-only is turned off, so attach a new+    // one to the shadow root each time it is turned on.+    const editor = this._editor as any+    if (this.model.readonly && editor.hoverTooltip == null) {+      const {HoverTooltip} = (ace as any).require("ace/tooltip")+      editor.hoverTooltip = new HoverTooltip(this.shadow_el)+    }+  }++  _update_markers(): void {+    const session = this._editor.session+    for (const id of this._marker_ids) {+      session.removeMarker(id)+    }+    for (const [row, cls] of this._gutter_marks) {+      session.removeGutterDecoration(row, cls)+    }+    this._marker_ids = []+    this._gutter_marks = []+    const {Range} = (ace as any).require("ace/range")+    for (const marker of this.model.markers as Marker[]) {+      const start = marker.start_row+      if (typeof start !== "number") {+        continue+      }+      const end = marker.end_row ?? start

runtime

ggml-org/llama.cpp · #32398

Files changed →View PR ↗

server: support /models/sse on single-model modeC++ · 255 + / 113 −

Introduces 2 new declarations in tools/server/server.cpp.

Adds new runtime rather than adjusting what was there. Tests changed with it, with code of their own.

tools/server/server.cpp ↗ · 12 files

@@ -665,37 +666,82 @@ static int server_run_instance(common_params & params, server_role & role, commo         server_stream_make_get_handler(),         server_stream_make_lookup_handler(),         server_stream_make_delete_handler());+    if (!managed) {+        ctx_http.get("/models/sse", ex_wrapper(sse.make_handler([&sse_stopping]() {+            return sse_stopping.load(std::memory_order_relaxed);+        })));+    }      if (!server_setup_features(ctx_http, params, mcp_mgr, tools, SERVER_ROLE_INSTANCE)) {         return 1;     }      // setup clean up function, to be called before exit-    auto clean_up = [&ctx_http, &ctx_server, &mcp_mgr]() {+    auto clean_up = [&ctx_http, &ctx_server, &mcp_mgr, &sse_stopping]() {         SRV_INF("%s: cleaning up before exit...\n", __func__);         // stop the session GC first, it finalizes live sessions and wakes pending readers         server_stream_session_manager_stop();+        sse_stopping.store(true); // disconnect the SSE clients         ctx_http.stop();         ctx_server.terminate();         mcp_mgr.shutdown();         llama_backend_free();     }; -    // start the HTTP server before loading the model to be able to serve /health requests+    // start the HTTP server before downloading and loading the model to be able to serve /health and /models/sse requests     if (!ctx_http.start()) {         clean_up();         SRV_ERR("%s", "exiting due to HTTP server error\n");         return 1;     }

core implementation

pandas-dev/pandas · #72231

Files changed →View PR ↗

BUG: clear error for a scalar row after a list-like row (GH#29213)Python · 30 + / 1 −

Introduces 1 new declaration in pandas/core/internals/construction.py.

Adds new core implementation rather than adjusting what was there. Tests changed with it, with code of their own.

pandas/core/internals/construction.py ↗ · 4 files

@@ -924,6 +930,29 @@ def _list_to_arrays(     return content  +def _validate_scalar_rows(data: list[Any]) -> list[bool]:+    # GH#29213 a non-iterable row would otherwise fail later with an opaque error;+    #  a null row after a tuple row is padded by lib.to_object_array_tuples.+    #  Returns whether each row is such a null row.+    allow_null = isinstance(data[0], tuple)+    null_rows = []+    for i, row in enumerate(data):+        is_null = allow_null and is_scalar(row) and isna(row)+        null_rows.append(is_null)+        if is_null:+            continue+        try:+            iter(row)+        except TypeError as err:+            raise TypeError(+                "When the first row is list-like, every row must be list-like, "+                f"but the row at position {i} has type {type(row).__name__}. To "+                "store list-likes as values of a single column, construct a "+                "Series and call to_frame() instead."+            ) from err+    return null_rows++ def _warn_if_str_rows(row_types: set[type]) -> bool:     # GH#50461 called when the first row is list-like. Returns whether a str or     #  bytes row was found, in which case the caller skips the mismatched-lengths

framework internals

vercel/next.js · #101954

Files changed →View PR ↗

Turbopack: recover from an unreadable persistent cache at startupRust · 559 + / 25 −

Introduces 16 new declarations in turbopack/crates/turbo-tasks-backend/src/kv_backing_storage.rs.

Adds new framework internals rather than adjusting what was there. Read the linked PR for the surrounding test context.

turbopack/crates/turbo-tasks-backend/src/kv_backing_storage.rs ↗ · 8 files

@@ -1048,4 +1094,190 @@ mod tests {         assert_eq!(message, "Failed to restore: some bug");         Ok(())     }++    const TEST_VERSION: GitVersionInfo<'static> = GitVersionInfo {+        describe: "v-current",+        dirty: false,+    };++    /// Writes a cache entry into the current version's database under `base_path` and then removes+    /// one of its `.sst` files, the way something outside of Turbopack might. Also creates the+    /// database of another version next to it. Returns the removed file's name.+    fn unreadable_versioned_db(base_path: &Path) -> Result<String> {+        let versioned_path = base_path.join(TEST_VERSION.describe);+        let db = TurboKeyValueDatabase::new(versioned_path.clone(), TEST_STORAGE_OPTIONS)?;+        write_task_cache_entry(&db, 1, TaskId::try_from(1u32).unwrap())?;+        db.shutdown();+        drop(db);++        let other = base_path.join("v-other");+        fs_err::create_dir_all(&other)?;+        fs_err::write(other.join("CURRENT"), b"untouched")?;++        let sst = fs_err::read_dir(&versioned_path)?+            .map(|entry| entry.map(|entry| entry.path()))+            .collect::<std::io::Result<Vec<_>>>()?+            .into_iter()+            .find(|path| path.extension().is_some_and(|ext| ext == "sst"))+            .expect("the commit should have written an SST file");+        fs_err::remove_file(&sst)?;+        Ok(sst.file_name().unwrap().to_str().unwrap().to_owned())+    }+

Read today’s edition →