get:
Show a patch.

patch:
Update a patch.

put:
Update a patch.

GET /api/patches/2218757/?format=api
HTTP 200 OK
Allow: GET, PUT, PATCH, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "id": 2218757,
    "url": "http://patchwork.ozlabs.org/api/patches/2218757/?format=api",
    "web_url": "http://patchwork.ozlabs.org/project/gcc/patch/20260401203805.664912-1-jwakely@redhat.com/",
    "project": {
        "id": 17,
        "url": "http://patchwork.ozlabs.org/api/projects/17/?format=api",
        "name": "GNU Compiler Collection",
        "link_name": "gcc",
        "list_id": "gcc-patches.gcc.gnu.org",
        "list_email": "gcc-patches@gcc.gnu.org",
        "web_url": null,
        "scm_url": null,
        "webscm_url": null,
        "list_archive_url": "",
        "list_archive_url_format": "",
        "commit_url_format": ""
    },
    "msgid": "<20260401203805.664912-1-jwakely@redhat.com>",
    "list_archive_url": null,
    "date": "2026-04-01T20:37:28",
    "name": "libstdc++: Check right value of __cpp_lib_format for dynamic_string",
    "commit_ref": null,
    "pull_url": null,
    "state": "new",
    "archived": false,
    "hash": "d5827d1295de1ec0223b5255ea4f332fee95e82b",
    "submitter": {
        "id": 48004,
        "url": "http://patchwork.ozlabs.org/api/people/48004/?format=api",
        "name": "Jonathan Wakely",
        "email": "jwakely@redhat.com"
    },
    "delegate": null,
    "mbox": "http://patchwork.ozlabs.org/project/gcc/patch/20260401203805.664912-1-jwakely@redhat.com/mbox/",
    "series": [
        {
            "id": 498389,
            "url": "http://patchwork.ozlabs.org/api/series/498389/?format=api",
            "web_url": "http://patchwork.ozlabs.org/project/gcc/list/?series=498389",
            "date": "2026-04-01T20:37:28",
            "name": "libstdc++: Check right value of __cpp_lib_format for dynamic_string",
            "version": 1,
            "mbox": "http://patchwork.ozlabs.org/series/498389/mbox/"
        }
    ],
    "comments": "http://patchwork.ozlabs.org/api/patches/2218757/comments/",
    "check": "pending",
    "checks": "http://patchwork.ozlabs.org/api/patches/2218757/checks/",
    "tags": {},
    "related": [],
    "headers": {
        "Return-Path": "<gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org>",
        "X-Original-To": [
            "incoming@patchwork.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Delivered-To": [
            "patchwork-incoming@legolas.ozlabs.org",
            "gcc-patches@gcc.gnu.org"
        ],
        "Authentication-Results": [
            "legolas.ozlabs.org;\n\tdkim=pass (1024-bit key;\n unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256\n header.s=mimecast20190719 header.b=R7vRyW/x;\n\tdkim-atps=neutral",
            "legolas.ozlabs.org;\n spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org\n (client-ip=2620:52:6:3111::32; helo=vm01.sourceware.org;\n envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;\n receiver=patchwork.ozlabs.org)",
            "sourceware.org; dmarc=pass (p=quarantine dis=none)\n header.from=redhat.com",
            "sourceware.org; spf=pass smtp.mailfrom=redhat.com",
            "server2.sourceware.org;\n arc=none smtp.remote-ip=170.10.129.124"
        ],
        "Received": [
            "from vm01.sourceware.org (vm01.sourceware.org\n [IPv6:2620:52:6:3111::32])\n\t(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n\t key-exchange x25519 server-signature ECDSA (secp384r1) server-digest SHA384)\n\t(No client certificate requested)\n\tby legolas.ozlabs.org (Postfix) with ESMTPS id 4fmGz81dfLz1yFv\n\tfor <incoming@patchwork.ozlabs.org>; Thu, 02 Apr 2026 07:38:28 +1100 (AEDT)",
            "from vm01.sourceware.org (localhost [127.0.0.1])\n\tby sourceware.org (Postfix) with ESMTP id 47DD44BA23E4\n\tfor <incoming@patchwork.ozlabs.org>; Wed,  1 Apr 2026 20:38:26 +0000 (GMT)",
            "from us-smtp-delivery-124.mimecast.com\n (us-smtp-delivery-124.mimecast.com [170.10.129.124])\n by sourceware.org (Postfix) with ESMTP id 32AD04BA2E0A\n for <gcc-patches@gcc.gnu.org>; Wed,  1 Apr 2026 20:38:16 +0000 (GMT)",
            "from mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com\n (ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by\n relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,\n cipher=TLS_AES_256_GCM_SHA384) id us-mta-19-oKsjONTpOBWBRnMrCh7vtQ-1; Wed,\n 01 Apr 2026 16:38:08 -0400",
            "from mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com\n (mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.4])\n (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)\n key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest\n SHA256)\n (No client certificate requested)\n by mx-prod-mc-05.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS\n id C7666195608E; Wed,  1 Apr 2026 20:38:07 +0000 (UTC)",
            "from zen.kayari.org (unknown [10.44.48.64])\n by mx-prod-int-01.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP\n id 98F3930001A2; Wed,  1 Apr 2026 20:38:06 +0000 (UTC)"
        ],
        "DMARC-Filter": "OpenDMARC Filter v1.4.2 sourceware.org 32AD04BA2E0A",
        "ARC-Filter": "OpenARC Filter v1.0.0 sourceware.org 32AD04BA2E0A",
        "ARC-Seal": "i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1775075896; cv=none;\n b=Hqkw7KVd0jkqHr9kkxf2WDn6Yom3Mkh0nkEV6mHNAFuaMMgV43qnFvuU3SpWZrpMViFlWC/546nKTay9AD3utfTTNqVZMKVEySaR5drQwvzTioD1mzUBA1CaHvp4ohZ3x/rU9vVCYCgvoZcc3kxuDw6QZ92yCeLMgFRyyvq2cUI=",
        "ARC-Message-Signature": "i=1; a=rsa-sha256; d=sourceware.org; s=key;\n t=1775075896; c=relaxed/simple;\n bh=xKDseXHrl3B1np4rJlNKyo3NEX2s1Dq2yb3mxzJhgks=;\n h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;\n b=lpr08BeVt4BFVGq9AJjvl759qL+9esBsdBZpDIY4WPCdqab2DPy4IzkvVBs7xMuZkMrDiM3LqeicXIgWF6pl3aRnol0FNmedk1KBrf/uFy0khvYfrah/Q8GhPZU6DwYntwAgbBgXoFFh3wk+E47MLzpJwqxycPe9PMlJSYD3ukk=",
        "ARC-Authentication-Results": "i=1; server2.sourceware.org",
        "DKIM-Signature": "v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;\n s=mimecast20190719; t=1775075891;\n h=from:from:reply-to:subject:subject:date:date:message-id:message-id:\n to:to:cc:mime-version:mime-version:content-type:content-type:\n content-transfer-encoding:content-transfer-encoding;\n bh=EkX8H3l0q1rUVcY5pwzUQtfq1NwOvbhTxha1uiIpkJc=;\n b=R7vRyW/xYwrOwXjhNtiqlQ0DCllrFzWRTa+l3x36gWoMwKvlxbMBsPkDMqY+fBYxBItfzK\n q8vBiBt9DIwrWWHZj1w3iyejDYddXSbZI8lhc2KWKngMdbdkpve9H5tz42EBvetW+UvxeM\n eNDkPpouE3fnqnFKb0VEQeYy/W+EwMg=",
        "X-MC-Unique": "oKsjONTpOBWBRnMrCh7vtQ-1",
        "X-Mimecast-MFC-AGG-ID": "oKsjONTpOBWBRnMrCh7vtQ_1775075887",
        "From": "Jonathan Wakely <jwakely@redhat.com>",
        "To": "gcc-patches@gcc.gnu.org,\n\tlibstdc++@gcc.gnu.org",
        "Subject": "[PATCH] libstdc++: Check right value of __cpp_lib_format for\n dynamic_string",
        "Date": "Wed,  1 Apr 2026 21:37:28 +0100",
        "Message-ID": "<20260401203805.664912-1-jwakely@redhat.com>",
        "MIME-Version": "1.0",
        "X-Scanned-By": "MIMEDefang 3.4.1 on 10.30.177.4",
        "X-Mimecast-Spam-Score": "0",
        "X-Mimecast-MFC-PROC-ID": "pN2ffNpy1SWRsyVNwMD1bfSTmoM8meHZ6v414tj1qyk_1775075887",
        "X-Mimecast-Originator": "redhat.com",
        "Content-Type": "text/plain",
        "Content-Transfer-Encoding": "8bit",
        "X-BeenThere": "gcc-patches@gcc.gnu.org",
        "X-Mailman-Version": "2.1.30",
        "Precedence": "list",
        "List-Id": "Gcc-patches mailing list <gcc-patches.gcc.gnu.org>",
        "List-Unsubscribe": "<https://gcc.gnu.org/mailman/options/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=unsubscribe>",
        "List-Archive": "<https://gcc.gnu.org/pipermail/gcc-patches/>",
        "List-Post": "<mailto:gcc-patches@gcc.gnu.org>",
        "List-Help": "<mailto:gcc-patches-request@gcc.gnu.org?subject=help>",
        "List-Subscribe": "<https://gcc.gnu.org/mailman/listinfo/gcc-patches>,\n <mailto:gcc-patches-request@gcc.gnu.org?subject=subscribe>",
        "Errors-To": "gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org"
    },
    "content": "This doesn't matter in practice, but strictly speaking the right value\nfor defining std::dynamic_string is 202603 not 202311 (which was the\nmacro value for the old name, std::runtime_format).\n\nlibstdc++-v3/ChangeLog:\n\n\t* include/std/format (dynamic_string): Check new value for\n\tfeature test macro.\n---\n\nTested x86_64-linux.\n\n libstdc++-v3/include/std/format | 2 +-\n 1 file changed, 1 insertion(+), 1 deletion(-)",
    "diff": "diff --git a/libstdc++-v3/include/std/format b/libstdc++-v3/include/std/format\nindex 2bcd06822b75..eca5bd213aa0 100644\n--- a/libstdc++-v3/include/std/format\n+++ b/libstdc++-v3/include/std/format\n@@ -195,7 +195,7 @@ namespace __format\n       = basic_format_string<wchar_t, type_identity_t<_Args>...>;\n #endif\n \n-#if __cpp_lib_format >= 202311L // >= C++26\n+#if __cpp_lib_format >= 202603L // >= C++26\n   [[__gnu__::__always_inline__]]\n   inline __format::_Dynamic_format_string<char>\n   dynamic_format(string_view __fmt) noexcept\n",
    "prefixes": []
}