[
 {
  "dataType": "post",
  "id": "1xt65ah",
  "url": "https://www.reddit.com/r/Python/comments/1xt65ah/tim_peters_has_passed_away/",
  "title": "Tim Peters has passed away",
  "body": "Tim died July 15, at his home in Ashland, Wisconsin.  He was 74.  We don't know any specifics yet.\n\nIn case you don't know who Tim Peters is, he was an early pioneer in helping shape the Python language and its runtime.  He invented a new sorting algorithm (\"Timsort\"); a descende…",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><p>Tim died July 15, at his home in Ashland, Wisconsin.  He was 74.  We don&#39;t know any specifics yet.</p>\n\n<p>In case you don&#39;t know who Tim Peters is, he was an early pioneer in helping shape the Python language and its runtime.  He invente…",
  "author": "ExoticMandibles",
  "authorId": "3p9ti",
  "authorFlair": "Core Contributor",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": "News",
  "score": 2516,
  "upvoteRatio": 0.99,
  "numComments": 77,
  "numCrossposts": 3,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1xt65ah/tim_peters_has_passed_away/",
  "thumbnail": "",
  "imageUrls": [],
  "videoUrls": [],
  "createdAt": "2026-11-11T02:33:08Z",
  "createdUtc": 1794364388,
  "comments": [
   {
    "id": "19sge004udu2o",
    "parentId": "t3_1xt65ah",
    "depth": 0,
    "author": "ForgottenMyPwdAgain",
    "authorId": "",
    "body": "python scripting\nhas saved me from hundreds of hours of doing mundane tasks and greatly improved my quality of life\nI feel sad now I never appreciated the founders more",
    "score": 415,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-11-11T02:52:44Z",
    "createdUtc": 1794365564,
    "url": "https://www.reddit.com/r/Python/comments/1xt65ah/comment/19sge004udu2o/"
   },
   {
    "id": "19sgns357aikg",
    "parentId": "t1_19sge004udu2o",
    "depth": 1,
    "author": "[deleted]",
    "authorId": "",
    "body": "",
    "score": -30,
    "numReplies": 2,
    "isOp": false,
    "createdAt": "2026-11-11T06:32:01Z",
    "createdUtc": 1794378721,
    "url": "https://www.reddit.com/r/Python/comments/1xt65ah/comment/19sgns357aikg/"
   },
   {
    "id": "19sgoeffgbh4y",
    "parentId": "t1_19sgns357aikg",
    "depth": 2,
    "author": "Chucklay",
    "authorId": "",
    "body": "These shit-ass marketing bots really don't understand \"time and a place.\"",
    "score": 39,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-11-11T06:45:56Z",
    "createdUtc": 1794379556,
    "url": "https://www.reddit.com/r/Python/comments/1xt65ah/comment/19sgoeffgbh4y/"
   },
   {
    "id": "19sgpblq4uyrk",
    "parentId": "t1_19sgns357aikg",
    "depth": 2,
    "author": "IAmASquidInSpace",
    "authorId": "",
    "body": "Read the fucking room, dude.",
    "score": 19,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-11-11T07:06:35Z",
    "createdUtc": 1794380795,
    "url": "https://www.reddit.com/r/Python/comments/1xt65ah/comment/19sgpblq4uyrk/"
   },
   {
    "id": "19sgglxw03gqq",
    "parentId": "t3_1xt65ah",
    "depth": 0,
    "author": "edward_jazzhands",
    "authorId": "",
    "body": "Everyone should also be aware that he was kicked off the python steering council and humiliated by accusations that he was \"too conservative\" and thus not welcome. Which is unfounded slander, for the record. This information should not be buried and forgotten. The python council…",
    "score": 196,
    "numReplies": 7,
    "isOp": false,
    "createdAt": "2026-11-11T03:51:15Z",
    "createdUtc": 1794369075,
    "url": "https://www.reddit.com/r/Python/comments/1xt65ah/comment/19sgglxw03gqq/"
   },
   {
    "id": "19sgn6r88jkox",
    "parentId": "t1_19sgglxw03gqq",
    "depth": 1,
    "author": "zurtex",
    "authorId": "",
    "body": "This is an... interesting take/remembering of what happened.\nFor those interested, I would personally recommend that people read Tim's own writing on the topic: https://tim-one.github.io/\nI had some private communications with Tim over email during \"the ban\n\", and he was always m…",
    "score": 73,
    "numReplies": 2,
    "isOp": false,
    "createdAt": "2026-11-11T06:18:44Z",
    "createdUtc": 1794377924,
    "url": "https://www.reddit.com/r/Python/comments/1xt65ah/comment/19sgn6r88jkox/"
   },
   {
    "id": "19sguekqxjtz5",
    "parentId": "t1_19sgn6r88jkox",
    "depth": 2,
    "author": "runawayasfastasucan",
    "authorId": "",
    "body": "From that link, this seems like a nice overview https://lwn.net/Articles/988894/\nThis thread started by him struck a cord with me: https://discuss.python.org/t/how-can-we-better-support-neurodivergent-newcomers-to-the-community/58724\nIt takes something to speak for those that are…",
    "score": 13,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-11-11T09:00:32Z",
    "createdUtc": 1794387632,
    "url": "https://www.reddit.com/r/Python/comments/1xt65ah/comment/19sguekqxjtz5/"
   },
   {
    "id": "19sgrzt53kjnk",
    "parentId": "t1_19sgn6r88jkox",
    "depth": 2,
    "author": "Classic_Department42",
    "authorId": "",
    "body": "I red now some of this, and I still dont understand what has happened",
    "score": 8,
    "numReplies": 3,
    "isOp": false,
    "createdAt": "2026-11-11T08:06:30Z",
    "createdUtc": 1794384390,
    "url": "https://www.reddit.com/r/Python/comments/1xt65ah/comment/19sgrzt53kjnk/"
   }
  ],
  "commentsScraped": 75,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=month",
  "scrapedAt": "2026-11-23T17:36:06Z"
 },
 {
  "dataType": "post",
  "id": "1xz4v1j",
  "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/microsoft_agentframework_on_pypi_was_compromised/",
  "title": "microsoft agent-framework on PyPI was compromised twice in 33 minutes last night",
  "body": "1.26.1 and 1.26.2 both ship a credential stealer. It runs from a `.pth` file, so it executes at interpreter startup. Nothing has to import the package, a `pip install` in CI is enough. 1.26.1 got pulled, then 1.26.2 went up 33 minutes later with the same payload under different f…",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><p>1.26.1 and 1.26.2 both ship a credential stealer. It runs from a <code>.pth</code> file, so it executes at interpreter startup. Nothing has to import the package, a <code>pip install</code> in CI is enough. 1.26.1 got pulled, then 1.26.2 went up…",
  "author": "BattleRemote3157",
  "authorId": "ewn6cu80w",
  "authorFlair": "",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": "News",
  "score": 452,
  "upvoteRatio": 0.98,
  "numComments": 57,
  "numCrossposts": 0,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1xz4v1j/microsoft_agentframework_on_pypi_was_compromised/",
  "thumbnail": "",
  "imageUrls": [
   "https://external-preview.redd.it/VAcYVxUWGx0ZZmI018e-FOdm-vH_FBseJ_UbhKjYpKY.jpeg?auto=webp&s=3dc2d78fd792d1b5c3e77a28dce844b1c4edad2e"
  ],
  "videoUrls": [],
  "createdAt": "2026-11-18T03:28:24Z",
  "createdUtc": 1794972504,
  "comments": [
   {
    "id": "19st2qm9rgicg",
    "parentId": "t3_1xz4v1j",
    "depth": 0,
    "author": "pingveno",
    "authorId": "",
    "body": "Time to set dependency cooldowns!\npip --uploaded-prior-to\nuv, set it in [tool.uv] under exclude-newer. I use 7 days.\nRust also just added it to Cargo in the 1.100.0 release, for pyo3 extensions.",
    "score": 220,
    "numReplies": 4,
    "isOp": false,
    "createdAt": "2026-11-18T05:32:55Z",
    "createdUtc": 1794979975,
    "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/comment/19st2qm9rgicg/"
   },
   {
    "id": "19stcht15257k",
    "parentId": "t1_19st2qm9rgicg",
    "depth": 1,
    "author": "HexDecimal",
    "authorId": "",
    "body": "Can also set environment variables globally, for example PIP_UPLOADED_PRIOR_TO=P3D, to make cooldowns the default for pip.\nuv also has UV_EXCLUDE_NEWER=7 days, etc.",
    "score": 25,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-11-18T09:11:38Z",
    "createdUtc": 1794993098,
    "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/comment/19stcht15257k/"
   },
   {
    "id": "19su1gs3edwip",
    "parentId": "t1_19stcht15257k",
    "depth": 2,
    "author": "zurtex",
    "authorId": "",
    "body": "FYI uv and pip (26.1+) both accept the same PnD syntax, so you can use P3D or P7D for both.",
    "score": 1,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-11-18T18:31:29Z",
    "createdUtc": 1795026689,
    "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/comment/19su1gs3edwip/"
   },
   {
    "id": "19st35u1avco2",
    "parentId": "t1_19st2qm9rgicg",
    "depth": 1,
    "author": "Rotcod",
    "authorId": "",
    "body": "Legend",
    "score": 8,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-11-18T05:42:23Z",
    "createdUtc": 1794980543,
    "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/comment/19st35u1avco2/"
   },
   {
    "id": "19stf5axiuyg2",
    "parentId": "t1_19st2qm9rgicg",
    "depth": 1,
    "author": "russellvt",
    "authorId": "",
    "body": "Thanks for this ... it should likely be pinned to the top of this subreddit, likely in the wiki.",
    "score": 6,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-11-18T10:11:06Z",
    "createdUtc": 1794996666,
    "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/comment/19stf5axiuyg2/"
   },
   {
    "id": "19stzlkaeq7s2",
    "parentId": "t1_19stf5axiuyg2",
    "depth": 2,
    "author": "pingveno",
    "authorId": "",
    "body": "Your comment made me think of making a website, but of course someone already did that.",
    "score": 3,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-11-18T17:49:38Z",
    "createdUtc": 1795024178,
    "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/comment/19stzlkaeq7s2/"
   },
   {
    "id": "19su40s8hyuhs",
    "parentId": "t1_19st2qm9rgicg",
    "depth": 1,
    "author": "UloPe",
    "authorId": "",
    "body": "And then you get hit with a zero day.\nDamned if you don’t, damned if you do…",
    "score": 2,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-11-18T19:28:47Z",
    "createdUtc": 1795030127,
    "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/comment/19su40s8hyuhs/"
   },
   {
    "id": "19st1txej5tk4",
    "parentId": "t3_1xz4v1j",
    "depth": 0,
    "author": "russellvt",
    "authorId": "",
    "body": "And they laughed when I said \"CI/CD without enforced code review\" would be an issue someday.",
    "score": 69,
    "numReplies": 2,
    "isOp": false,
    "createdAt": "2026-11-18T05:12:33Z",
    "createdUtc": 1794978753,
    "url": "https://www.reddit.com/r/Python/comments/1xz4v1j/comment/19st1txej5tk4/"
   }
  ],
  "commentsScraped": 37,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=month",
  "scrapedAt": "2026-11-23T17:36:06Z"
 },
 {
  "dataType": "post",
  "id": "1xzzjn8",
  "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/microsofts_pypi_package_got_compromised_without_a/",
  "title": "Microsoft's PyPI package got compromised without a GitHub code change. How is this even possible?",
  "body": "I was reading about yesterday's Microsoft Agent Framework security incident, and something caught my attention.\n\nApparently, attackers published two malicious versions (1.26.1 and 1.26.2) of Microsoft's official Python package on PyPI. These versions could steal cloud credentials…",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><p>I was reading about yesterday&#39;s Microsoft Agent Framework security incident, and something caught my attention.</p>\n\n<p>Apparently, attackers published two malicious versions (1.26.1 and 1.26.2) of Microsoft&#39;s official Python package on P…",
  "author": "enterthearena44",
  "authorId": "7bc3925k",
  "authorFlair": "",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": "Discussion",
  "score": 249,
  "upvoteRatio": 0.93,
  "numComments": 54,
  "numCrossposts": 0,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1xzzjn8/microsofts_pypi_package_got_compromised_without_a/",
  "thumbnail": "",
  "imageUrls": [],
  "videoUrls": [],
  "createdAt": "2026-11-19T03:43:29Z",
  "createdUtc": 1795059809,
  "comments": [
   {
    "id": "19suqfpato8ao",
    "parentId": "t3_1xzzjn8",
    "depth": 0,
    "author": "Deto",
    "authorId": "",
    "body": "It's always worked like that.  You don't have to publish directly from GitHub.  You can just publish from your source directory on your machine. \nYes if the publishing key is compromised this means you're in trouble. \nThey probably don't want to require a GH commit because that w…",
    "score": 218,
    "numReplies": 3,
    "isOp": false,
    "createdAt": "2026-11-19T03:51:19Z",
    "createdUtc": 1795060279,
    "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/comment/19suqfpato8ao/"
   },
   {
    "id": "19suu94fgwcud",
    "parentId": "t1_19suqfpato8ao",
    "depth": 1,
    "author": "Atmosck",
    "authorId": "",
    "body": "Your last point is important, and should be standard practice for anything using third-party packages from pypi. It's easy to configure with uv in pyproject.toml:\n[tool.uv]\nexclude-newer = \"7 days\"",
    "score": 108,
    "numReplies": 3,
    "isOp": false,
    "createdAt": "2026-11-19T05:16:54Z",
    "createdUtc": 1795065414,
    "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/comment/19suu94fgwcud/"
   },
   {
    "id": "19suy3w7vwz5w",
    "parentId": "t1_19suu94fgwcud",
    "depth": 2,
    "author": "morsmordr",
    "authorId": "",
    "body": "wouldn't that also prevent you from getting security patches asap too though?",
    "score": 19,
    "numReplies": 2,
    "isOp": false,
    "createdAt": "2026-11-19T06:43:20Z",
    "createdUtc": 1795070600,
    "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/comment/19suy3w7vwz5w/"
   },
   {
    "id": "19svaud5h70uc",
    "parentId": "t1_19suu94fgwcud",
    "depth": 2,
    "author": "Black_Magic100",
    "authorId": "",
    "body": "azure devops artifacts does not support this. Fuck microsoft",
    "score": 5,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-11-19T11:28:52Z",
    "createdUtc": 1795087732,
    "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/comment/19svaud5h70uc/"
   },
   {
    "id": "19svwjvolgrno",
    "parentId": "t1_19suu94fgwcud",
    "depth": 2,
    "author": "RedEyed__",
    "authorId": "",
    "body": "And attackers will just delay for 7 days..",
    "score": -5,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-11-19T19:35:34Z",
    "createdUtc": 1795116934,
    "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/comment/19svwjvolgrno/"
   },
   {
    "id": "19suxrvqmjpc3",
    "parentId": "t1_19suqfpato8ao",
    "depth": 1,
    "author": "RoadsideCookie",
    "authorId": "",
    "body": "Microsoft is absolutely not following best practices here. It hasn't always worked like that because there's a better way now. \nYou can link the pypi lib to a GitHub project and there is no key to steal, the project itself is trusted, so only a push can trigger a new release. \nIf…",
    "score": 20,
    "numReplies": 2,
    "isOp": false,
    "createdAt": "2026-11-19T06:35:51Z",
    "createdUtc": 1795070151,
    "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/comment/19suxrvqmjpc3/"
   },
   {
    "id": "19sv5o1qc6xvl",
    "parentId": "t1_19suxrvqmjpc3",
    "depth": 2,
    "author": "Individual-Flow9158",
    "authorId": "",
    "body": "Enabling Trusted Publishers, doesn't revoke all your API keys, certainly not a user's master one (used to create new projects).\nCan Trusted Publishers revoke project specific API keys?",
    "score": 9,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-11-19T09:32:49Z",
    "createdUtc": 1795080769,
    "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/comment/19sv5o1qc6xvl/"
   },
   {
    "id": "19swe94hu454w",
    "parentId": "t1_19suxrvqmjpc3",
    "depth": 2,
    "author": "berndverst",
    "authorId": "",
    "body": "You are not totally correct here. We have seen GitHub token credential stealers use maintainer tokens (sometimes freshly minted via GitHub CLI) to temporarily alter branches, trigger CI, exfiltrate credentials or trigger release pipelines.\nYou also have to ensure that no single p…",
    "score": 2,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-11-20T02:12:26Z",
    "createdUtc": 1795140746,
    "url": "https://www.reddit.com/r/Python/comments/1xzzjn8/comment/19swe94hu454w/"
   }
  ],
  "commentsScraped": 47,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=month",
  "scrapedAt": "2026-11-23T17:36:06Z"
 },
 {
  "dataType": "post",
  "id": "1xgcu6d",
  "url": "https://www.reddit.com/r/Python/comments/1xgcu6d/python_3152_31410_31318_31216_and_31118_are_out/",
  "title": "Python 3.15.2, 3.14.10, 3.13.18, 3.12.16 and 3.11.18 are out",
  "body": "See [https://blog.python.org/2026/10/python-315•••/](https://blog.python.org/2026/10/python-315•••/) .  This is another security update that addresses the [compromised eMudhra intermediate Certificate Authority keys](https://discuss.python.org/t/information-for-python-users-regar…",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><p>See <a href=\"https://blog.python.org/2026/10/python-315•••/\">https://blog.python.org/2026/10/python-315•••/</a> .  This is another security update that addresses the <a href=\"https://discuss.python.org/t/information-for-python-users-regarding-emu…",
  "author": "japaget",
  "authorId": "1z05",
  "authorFlair": "",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": "News",
  "score": 233,
  "upvoteRatio": 0.96,
  "numComments": 33,
  "numCrossposts": 0,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1xgcu6d/python_3152_31410_31318_31216_and_31118_are_out/",
  "thumbnail": "",
  "imageUrls": [
   "https://external-preview.redd.it/jo_taLBpL8KctIyrekKwKwNQmqG7Jnqc0zvyiwBwffE.png?auto=webp&s=1ec991a52359a89239485c53abe8369ecbbcb6d3"
  ],
  "videoUrls": [],
  "createdAt": "2026-10-26T23:34:42Z",
  "createdUtc": 1793057682,
  "comments": [
   {
    "id": "19rpoz4b4hoir",
    "parentId": "t3_1xgcu6d",
    "depth": 0,
    "author": "zurtex",
    "authorId": "",
    "body": "FYI, this release isn't fixing a bug, it's adding an extra layer of defense.\nThis release distrusts the compromised certificates at the SSL module level, so even if you have a certificate store that hasn't been updated, this Python release will still not trust the compromised cer…",
    "score": 81,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-10-27T03:46:25Z",
    "createdUtc": 1793072785,
    "url": "https://www.reddit.com/r/Python/comments/1xgcu6d/comment/19rpoz4b4hoir/"
   },
   {
    "id": "19rpvlvye1xlt",
    "parentId": "t1_19rpoz4b4hoir",
    "depth": 1,
    "author": "Cycloctane",
    "authorId": "",
    "body": "This actually fixed the issue that newly created venvs are still using old pip by default. If you use stdlib venv, you should probably consider upgrading to those releases (or remember pasting that pip upgrade command every time after creating a new venv).",
    "score": 21,
    "numReplies": 2,
    "isOp": false,
    "createdAt": "2026-10-27T06:15:07Z",
    "createdUtc": 1793081707,
    "url": "https://www.reddit.com/r/Python/comments/1xgcu6d/comment/19rpvlvye1xlt/"
   },
   {
    "id": "19rpw6976jfc2",
    "parentId": "t1_19rpvlvye1xlt",
    "depth": 2,
    "author": "zurtex",
    "authorId": "",
    "body": "Ah thanks, I missed that that was an issue",
    "score": 4,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-10-27T06:27:48Z",
    "createdUtc": 1793082468,
    "url": "https://www.reddit.com/r/Python/comments/1xgcu6d/comment/19rpw6976jfc2/"
   },
   {
    "id": "19rq31q4pwajm",
    "parentId": "t1_19rpvlvye1xlt",
    "depth": 2,
    "author": "agoose77",
    "authorId": "",
    "body": "Only if your venv is linked rather than a copy unfortunately",
    "score": 4,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-10-27T09:01:55Z",
    "createdUtc": 1793091715,
    "url": "https://www.reddit.com/r/Python/comments/1xgcu6d/comment/19rq31q4pwajm/"
   },
   {
    "id": "19rpphxdc6yxu",
    "parentId": "t3_1xgcu6d",
    "depth": 0,
    "author": "sylfy",
    "authorId": "",
    "body": "I don’t seem to see similar updates being pushed out in other languages. Do they not have similar vulnerabilities, or is this something additional being implemented in Python?",
    "score": 44,
    "numReplies": 2,
    "isOp": false,
    "createdAt": "2026-10-27T03:58:07Z",
    "createdUtc": 1793073487,
    "url": "https://www.reddit.com/r/Python/comments/1xgcu6d/comment/19rpphxdc6yxu/"
   },
   {
    "id": "19rptf9f8xzky",
    "parentId": "t1_19rpphxdc6yxu",
    "depth": 1,
    "author": "Darsstar",
    "authorId": "",
    "body": "This seems to be inspired by new Go releases. https://discuss.python.org/t/information-for-python-users-regarding-emudhra-emsign-ca-certificate-security-incident/109576/16 So there is at least Go.",
    "score": 18,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-10-27T05:26:09Z",
    "createdUtc": 1793078769,
    "url": "https://www.reddit.com/r/Python/comments/1xgcu6d/comment/19rptf9f8xzky/"
   },
   {
    "id": "19rqfpfhi59pg",
    "parentId": "t1_19rpphxdc6yxu",
    "depth": 1,
    "author": "jayroger",
    "authorId": "",
    "body": "This is something additional: Python now actively rejects the affected keys, even if the local cert store was not updated.",
    "score": 3,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-10-27T13:45:43Z",
    "createdUtc": 1793108743,
    "url": "https://www.reddit.com/r/Python/comments/1xgcu6d/comment/19rqfpfhi59pg/"
   },
   {
    "id": "19rpeepnqpaas",
    "parentId": "t3_1xgcu6d",
    "depth": 0,
    "author": "[deleted]",
    "authorId": "",
    "body": "",
    "score": 39,
    "numReplies": 4,
    "isOp": false,
    "createdAt": "2026-10-26T23:49:30Z",
    "createdUtc": 1793058570,
    "url": "https://www.reddit.com/r/Python/comments/1xgcu6d/comment/19rpeepnqpaas/"
   }
  ],
  "commentsScraped": 33,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=month",
  "scrapedAt": "2026-11-23T17:36:06Z"
 },
 {
  "dataType": "post",
  "id": "1xj9fse",
  "url": "https://www.reddit.com/r/Python/comments/1xj9fse/pep_851_add_listdiscard/",
  "title": "PEP 851 – Add list.discard()",
  "body": "# PEP 851 – Add list.discard()\n\n[https://peps.python.org/pep-0851/](https://peps.python.org/pep-0851/)\n\nDiscussions-To: [Discourse thread](https://discuss.python.org/t/pep-851-add-list-discard/109701)\n\n## Abstract\n\nAdd `list.discard(x)`, which removes the first item equal to *x*…",
  "bodyHtml": "<!-- SC_OFF --><div class=\"md\"><h1>PEP 851 – Add list.discard()</h1>\n\n<p><a href=\"https://peps.python.org/pep-0851/\">https://peps.python.org/pep-0851/</a></p>\n\n<p>Discussions-To: <a href=\"https://discuss.python.org/t/pep-851-add-list-discard/109701\">Discourse thread</a></p>\n\n<h2>…",
  "author": "kirara0048",
  "authorId": "4uu8u9p7",
  "authorFlair": "",
  "subreddit": "Python",
  "subredditId": "2qh0y",
  "flair": "News",
  "score": 216,
  "upvoteRatio": 0.97,
  "numComments": 56,
  "numCrossposts": 0,
  "totalAwards": 0,
  "isVideo": false,
  "isSelf": true,
  "isNsfw": false,
  "isSpoiler": false,
  "isPinned": false,
  "isLocked": false,
  "domain": "self.Python",
  "linkUrl": "https://www.reddit.com/r/Python/comments/1xj9fse/pep_851_add_listdiscard/",
  "thumbnail": "",
  "imageUrls": [
   "https://external-preview.redd.it/qsyApzksUdlxqY7z2ubJCNmhQilhXIOl25dSHcQQLB4.png?auto=webp&s=27a02802773c2029773e648b90e365e61d2cb309"
  ],
  "videoUrls": [],
  "createdAt": "2026-10-30T08:05:21Z",
  "createdUtc": 1793347521,
  "comments": [
   {
    "id": "19rve4jkai9b4",
    "parentId": "t3_1xj9fse",
    "depth": 0,
    "author": "Brilliant_Cut_8780",
    "authorId": "",
    "body": "I like the proposal and checked the full pep and wondered about remove(x, missing_ok=True), but the PEP covers it under Rejected Ideas. After reading it, I think the separate method is the better choice, mostly because of the return value. discard() returns whether something was…",
    "score": 96,
    "numReplies": 4,
    "isOp": false,
    "createdAt": "2026-10-30T08:25:55Z",
    "createdUtc": 1793348755,
    "url": "https://www.reddit.com/r/Python/comments/1xj9fse/comment/19rve4jkai9b4/"
   },
   {
    "id": "19rvhm63rkdr4",
    "parentId": "t1_19rve4jkai9b4",
    "depth": 1,
    "author": "JambaJuiceIsAverage",
    "authorId": "",
    "body": "\"A flag that's always passed as a literal is usually a sign it should be its own method\" is a wonderful rule to code by. I love that.",
    "score": 48,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-10-30T09:44:10Z",
    "createdUtc": 1793353450,
    "url": "https://www.reddit.com/r/Python/comments/1xj9fse/comment/19rvhm63rkdr4/"
   },
   {
    "id": "19rvsnkrf97l0",
    "parentId": "t1_19rvhm63rkdr4",
    "depth": 2,
    "author": "EgZvor",
    "authorId": "",
    "body": "A.k.a. boolean parameters are a smell",
    "score": 11,
    "numReplies": 2,
    "isOp": false,
    "createdAt": "2026-10-30T13:51:39Z",
    "createdUtc": 1793368299,
    "url": "https://www.reddit.com/r/Python/comments/1xj9fse/comment/19rvsnkrf97l0/"
   },
   {
    "id": "19rvgzq5zvvs3",
    "parentId": "t1_19rve4jkai9b4",
    "depth": 1,
    "author": "Oddly_Energy",
    "authorId": "",
    "body": "I didn't read the full pep, but what would be wrong with:\nif not mylist.discard(x):\ndo whatever action you want done if x was missing\nWouldn't a missing_ok flag just make this call more complicated?\n(Sorry for the missing code formatting. I am on the IOS app and the editor ignore…",
    "score": 3,
    "numReplies": 2,
    "isOp": false,
    "createdAt": "2026-10-30T09:30:11Z",
    "createdUtc": 1793352611,
    "url": "https://www.reddit.com/r/Python/comments/1xj9fse/comment/19rvgzq5zvvs3/"
   },
   {
    "id": "19rvz4m28j3qa",
    "parentId": "t1_19rvgzq5zvvs3",
    "depth": 2,
    "author": "jasonkohles",
    "authorId": "",
    "body": "The discussion was about adding either a discard method or adding a missing_ok flag to remove, not having the flag for discard",
    "score": 3,
    "numReplies": 0,
    "isOp": false,
    "createdAt": "2026-10-30T16:16:47Z",
    "createdUtc": 1793377007,
    "url": "https://www.reddit.com/r/Python/comments/1xj9fse/comment/19rvz4m28j3qa/"
   },
   {
    "id": "19rvhdczp4ext",
    "parentId": "t1_19rve4jkai9b4",
    "depth": 1,
    "author": "billsil",
    "authorId": "",
    "body": "Seems cleaner to change remove to return a value . None is not returned. It’s no return.\nJust pass an argument and always return if a value was removed.",
    "score": 3,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-10-30T09:38:40Z",
    "createdUtc": 1793353120,
    "url": "https://www.reddit.com/r/Python/comments/1xj9fse/comment/19rvhdczp4ext/"
   },
   {
    "id": "19rvq7931bu01",
    "parentId": "t1_19rvhdczp4ext",
    "depth": 2,
    "author": "Vaxivop",
    "authorId": "",
    "body": "Changing the existing remove method is generally not a good sign as there's too many cases where existing code relies on its return value",
    "score": 9,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-10-30T12:56:39Z",
    "createdUtc": 1793364999,
    "url": "https://www.reddit.com/r/Python/comments/1xj9fse/comment/19rvq7931bu01/"
   },
   {
    "id": "19rvzi4gfi205",
    "parentId": "t1_19rve4jkai9b4",
    "depth": 1,
    "author": "Henry_the_Butler",
    "authorId": "",
    "body": "a flag that's always passed as a literal is usually a sign it should be its own method\nI think I agree, but can you share an example here? I'm wondering how you'd refactor the missing_ok argument to be its own method.",
    "score": 2,
    "numReplies": 1,
    "isOp": false,
    "createdAt": "2026-10-30T16:25:12Z",
    "createdUtc": 1793377512,
    "url": "https://www.reddit.com/r/Python/comments/1xj9fse/comment/19rvzi4gfi205/"
   }
  ],
  "commentsScraped": 49,
  "sourceInput": "https://www.reddit.com/r/Python/top/?t=month",
  "scrapedAt": "2026-11-23T17:36:06Z"
 }
]