Skip to content

Commit 34da68d

Browse files
committed
Update README links.
1 parent abb475c commit 34da68d

File tree

1 file changed

+6
-10
lines changed

1 file changed

+6
-10
lines changed

README.md

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ This repository contains full implementations of the code examples described in
44

55
## Running This Code
66

7-
This repo has a [devcontainer](https://containers.dev) definition that makes it easy to run the examples. The devcontainer includes a [fork of cpython 3.14](https://github.com/davepeck/tagstr-cpython/tree/dave/ts-iter-fix) that provides a prototype implementation of PEP 750.
7+
This repo has a [devcontainer](https://containers.dev) definition that makes it easy to run the examples. The devcontainer includes a [fork of cpython 3.14a7+](https://github.com/lysnikolaou/cpython/tree/tstrings) that provides a prototype implementation of PEP 750.
88

99
It's easy to run this code yourself:
1010

@@ -16,20 +16,16 @@ After the container is initialized, make sure that everything works by opening u
1616

1717
```
1818
/workspaces/pep750-examples# python --version
19-
Python 3.14.0a1
19+
Python 3.14.0a7+
2020
/workspaces/pep750-examples# pytest
2121
... (hopefully, all tests pass!) ...
2222
```
2323

2424
Congrats; you're good to go!
2525

26-
> **Quick Try**: Want to experiment with just the template string syntax? Try the [browser-based Python console](https://koxudaxi.github.io/pyodide/tstrings/console.html) (powered by [@koxudaxi's Pyodide with template strings support](https://github.com/koxudaxi/pyodide/tree/support-tstrings)).
27-
2826
## A Word About the Code
2927

30-
This repository builds on top of the @lysnikolaou's [cpython fork implementing t-strings](https://github.com/davepeck/tagstr-cpython/tree/dave/ts-iter-fix).
31-
32-
It uses @koxudaxi's [dockerfiles](https://github.com/pauleveritt/tagstr-site/actions/workflows/docker.yml) that package up that fork.
28+
This repository builds on top of the @lysnikolaou's [cpython branch implementing t-strings](https://github.com/lysnikolaou/cpython/tree/tstrings).
3329

3430
### Linting, formatting, etc.
3531

@@ -54,7 +50,7 @@ assert f(templated) == formatted
5450
```
5551
See also [the tests](./pep/test_fstring.py).
5652

57-
This [example is described in detail](https://pep-previews--4062.org.readthedocs.build/pep-0750/#example-implementing-f-strings-with-t-strings) in PEP 750.
53+
This [example is described in detail](https://peps.python.org/pep-0750/#example-implementing-f-strings-with-t-strings) in PEP 750.
5854

5955
### Structured Logging
6056

@@ -87,7 +83,7 @@ logger.info(t"User {action}: {amount:.2f} {item}")
8783

8884
See the tests in [`test_logging.py`](./pep/test_logging.py).
8985

90-
This [example is described in detail](https://pep-previews--4062.org.readthedocs.build/pep-0750/#example-structured-logging) in PEP 750.
86+
This [example is described in detail](https://peps.python.org/pep-0750/#example-structured-logging) in PEP 750.
9187

9288

9389
### Working with old-style format strings
@@ -108,7 +104,7 @@ The `from_format()` function supports essentially all the features of old-style
108104

109105
### HTML Templating
110106

111-
There are several short "HTML templating" examples in [PEP 750](https://pep-previews--4062.org.readthedocs.build/pep-0750/).
107+
There are several short "HTML templating" examples in [PEP 750](https://peps.python.org/pep-0750/).
112108

113109
They all use a hypothetical `html()` function that parses template strings to an intermediate type, `Element`, and supports context-dependent processing of interpolations.
114110

0 commit comments

Comments
 (0)