Skip to content

Commit 2e724c4

Browse files
committed
Merge branch 'main' into dependabot/bun/astro-1e63406d53
2 parents 47bc3c2 + 667c822 commit 2e724c4

9 files changed

Lines changed: 158 additions & 46 deletions

File tree

‎.github/workflows/ci.yml‎

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ jobs:
2222
persist-credentials: false
2323

2424
- name: Setup Node.js
25-
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
25+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
2626
with:
2727
node-version: 26
2828

@@ -35,7 +35,7 @@ jobs:
3535
run: bun install --frozen-lockfile
3636

3737
- name: Run prek
38-
uses: j178/prek-action@4e14d07f9231acabce116ccfca13b13dd9755ece # v3.0.0
38+
uses: j178/prek-action@1382ad72dea72f9d53832f2bcb65b3e87a947204 # v3.0.1
3939

4040
build:
4141
name: Build
@@ -47,7 +47,7 @@ jobs:
4747
persist-credentials: false
4848

4949
- name: Setup Node.js
50-
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
50+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
5151
with:
5252
node-version: 26
5353

‎.github/workflows/deploy.yml‎

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ jobs:
2727
persist-credentials: false
2828

2929
- name: Setup Node.js
30-
uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
30+
uses: actions/setup-node@949feb2413d6458794dcd2491c4babbbce0c15c1 # v7.1.0
3131
with:
3232
node-version: 26
3333

@@ -49,7 +49,7 @@ jobs:
4949
run: bunx astro check
5050

5151
- name: Spell check
52-
uses: crate-ci/typos@00f422f3b19c57bc6338715ebfe3316d38768461 # v1.50.3
52+
uses: crate-ci/typos@7f9d0819ca1c008ade73f4b41fa9d258d48f605b # v1.51.1
5353

5454
- name: Build
5555
run: bun run build

‎bun.lock‎

Lines changed: 33 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
---
2+
title: Python 3.16.0 alpha 2 is now available
3+
publishDate: '2026-11-10'
4+
author: Savannah Ostrowski
5+
description: The second developer preview of Python 3.16 is ready for testing.
6+
tags:
7+
- releases
8+
published: true
9+
---
10+
11+
**This is an early developer preview of Python 3.16**
12+
13+
[python.org/downloads/release/python-3160a2/](https://www.python.org/downloads/release/python-3160a2/)
14+
15+
## What’s new in Python 3.16?
16+
17+
Python 3.16.0a2 is ready to try! This is the second of seven planned alpha releases, with new features, bug fixes, and performance improvements to test.
18+
19+
Python 3.16 is still in development. Features can be added until beta 1 on May 4, 2027, and may be modified or removed until the first release candidate on July 27, 2027. The final release is planned for October 5, 2027. This preview is intended for testing and is not recommended for production use.
20+
21+
Here are a few highlights from Python 3.16 so far, compared with 3.15.
22+
23+
* [More expressive regular expressions](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-re-set-operations-and-unicode-properties). The `re` module now supports nested character sets, set operations such as intersection and difference, and matching characters by Unicode properties, such as uppercase letters.
24+
* [Faster startup](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-interpreter-startup). Python starts faster, and several common operations have been optimized, including garbage collection and the construction of built-in objects.
25+
* [Faster UUID generation](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-uuid-optimizations). `uuid4()` and `uuid7()` now have C implementations, making generation about 15-30x faster than the pure Python implementations in microbenchmarks.
26+
* [Improved error messages](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-improved-error-messages)
27+
* [Encrypted Client Hello](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-ssl-ech). The `ssl` module adds support for ECH when built with OpenSSL 4.0 or later.
28+
* [Build support for more Apple platforms](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-apple-platforms). CPython can now be built for tvOS, watchOS, and visionOS. These platforms are not yet part of the supported platform tiers in PEP 11.
29+
30+
See [What’s new in Python 3.16](https://docs.python.org/3.16/whatsnew/3.16.html) for more changes.
31+
32+
(Hey, **fellow core team member,** if there’s a feature you’d like highlighted in a future announcement, [let Savannah know](mailto:savannah@python.org).)
33+
34+
Please try this alpha with your libraries and applications and report Python bugs on the [CPython issue tracker](https://github.com/python/cpython/issues).
35+
36+
The next alpha, Python 3.16.0a3, is scheduled for December 15, 2026. The full schedule is in [PEP 826](https://peps.python.org/pep-0826/).
37+
38+
## More resources
39+
40+
* [Python 3.16 documentation](https://docs.python.org/3.16/)
41+
* [Changelog](https://docs.python.org/3.16/whatsnew/changelog.html)
42+
* [Support Python through the Python Software Foundation](https://www.python.org/psf/donations/)
43+
44+
## And now for something completely different
45+
46+
Next up in the Python 3.16 Film Festival is [*The Martian* (2015)](https://en.wikipedia.org/wiki/The_Martian_\(film\)). Stranded on Mars, Mark Watney has to keep himself alive with what he has on hand. The plan to bring him home takes shape much like CPython does, with people around the world bringing different skills to a shared effort.
47+
48+
> So we do this together or not at all.
49+
>
50+
> — Commander Melissa Lewis, *The Martian* (2015)
51+
52+
## Enjoy the new release
53+
54+
Thanks to everyone who contributed to this alpha and to everyone giving it a try. Please consider volunteering your time or asking your organisation to support the [Python Software Foundation](https://www.python.org/psf-landing/).
55+
56+
Happy testing!
57+
58+
Regards from Washington state,
59+
60+
Your release team,
61+
Savannah Ostrowski
62+
Ned Deily
63+
Steve Dower
64+
Julien Palard
Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: XTM Transifex sponsors Python’s documentation translations
3+
publishDate: 2026-11-16
4+
author: Stan Ulbrych
5+
description: >-
6+
XTM Transifex is supporting Python’s documentation translation teams with a year
7+
of free access to its Growth plan.
8+
tags:
9+
- docs
10+
published: true
11+
---
12+
13+
![XTM Transifex logo](xtm-transifex-logo-light.png)
14+
![XTM Transifex logo](xtm-transifex-logo-dark.png)
15+
16+
We’re pleased to announce that [XTM Transifex](https://hubs.la/Q04DqqXh0) is supporting Python’s
17+
documentation translations by providing its Growth plan, at no cost, for 12 months.
18+
19+
Python’s documentation translation teams help people learn and use Python in
20+
their own language. Several of these teams use XTM Transifex as their translation
21+
platform, working together through its web-based interface.
22+
23+
Following [last year’s paid trial](https://github.com/python/steering-council/issues/297),
24+
this sponsorship allows those teams to continue using features that help them
25+
reuse existing translations, maintain consistent terminology, and catch potential errors.
26+
27+
For developers interested in localizing their own Python applications, XTM Transifex
28+
has also prepared a tutorial on using [Transifex Native](https://hubs.la/Q04DqrCm0).
29+
30+
Interested in helping translate Python’s documentation? Visit the [translation](https://devguide.python.org/documentation/translations/translating/#translating)
31+
[section of the Python Developer’s Guide](https://devguide.python.org/documentation/translations/translating/#translating) and [translations.python.org](https://translations.python.org/)
32+
to find your language’s team and learn how to get involved.
33+
34+
Thank you to XTM Transifex for supporting this work, and to the translators,
35+
reviewers, and coordinators who make Python’s documentation accessible to more
36+
people around the world!
20.8 KB
Loading
26.3 KB
Loading

‎package.json‎

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,19 +22,19 @@
2222
"@resvg/resvg-js": "^2.6.2",
2323
"astro": "^7.4.0",
2424
"cmdk": "^1.1.1",
25-
"react": "^19.3.0",
26-
"react-dom": "^19.3.0",
27-
"satori": "^0.33.4",
25+
"react": "^19.3.1",
26+
"react-dom": "^19.3.1",
27+
"satori": "^0.62.0",
2828
"unist-util-visit": "^5.1.0"
2929
},
3030
"devDependencies": {
3131
"@astrojs/check": "^0.9.10",
3232
"@tailwindcss/vite": "^4.3.3",
33-
"@types/bun": "^1.4.2",
33+
"@types/bun": "^1.4.3",
3434
"@types/mdast": "^4.0.4",
3535
"@types/turndown": "^5.0.6",
36-
"fast-xml-parser": "^5.11.1",
37-
"oxlint": "^1.83.0",
36+
"fast-xml-parser": "^5.11.2",
37+
"oxlint": "^1.88.0",
3838
"tailwindcss": "^4.3.3",
3939
"turndown": "^7.2.4",
4040
"turndown-plugin-gfm": "^1.0.2",

‎src/assets/styles/global.css‎

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1597,3 +1597,17 @@ body {
15971597
margin-left: auto;
15981598
margin-right: auto;
15991599
}
1600+
1601+
/* ── Light/dark image variants ───────────────────── */
1602+
1603+
.prose img[src*="-dark."] {
1604+
display: none;
1605+
}
1606+
1607+
.dark .prose img[src*="-dark."] {
1608+
display: block;
1609+
}
1610+
1611+
.dark .prose img[src*="-light."] {
1612+
display: none;
1613+
}

0 commit comments

Comments
 (0)