Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/copilot-instructions.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ cargo run --release -- -m test test_unicode -k test_unicode_escape

### Determining What to Implement

Run `./whats_left.py` to get a list of unimplemented methods, which is helpful when looking for contribution opportunities.
Run `./scripts/whats_left.py` to get a list of unimplemented methods, which is helpful when looking for contribution opportunities.

## Coding Guidelines

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -412,7 +412,7 @@ jobs:
target/release/rustpython -m venv testvenv
testvenv/bin/rustpython -m pip install wheel
- name: Check whats_left is not broken
run: python -I whats_left.py
run: python -I scripts/whats_left.py

lint:
name: Check Rust code with clippy
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/cron-ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -94,8 +94,8 @@ jobs:
run: cargo build --release --verbose
- name: Collect what is left data
run: |
chmod +x ./whats_left.py
./whats_left.py --features "ssl,sqlite" > whats_left.temp
chmod +x ./scripts/whats_left.py
./scripts/whats_left.py --features "ssl,sqlite" > whats_left.temp
env:
RUSTPYTHONPATH: ${{ github.workspace }}/Lib
- name: Upload data to the website
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ To enhance CPython compatibility, try to increase unittest coverage by checking
Another approach is to checkout the source code: builtin functions and object
methods are often the simplest and easiest way to contribute.

You can also simply run `python -I whats_left.py` to assist in finding any unimplemented
You can also simply run `python -I scripts/whats_left.py` to assist in finding any unimplemented
method.

## Compiling to WebAssembly
Expand Down
12 changes: 0 additions & 12 deletions demo_closures.py

This file was deleted.

File renamed without changes.
4 changes: 2 additions & 2 deletions whats_left.py → scripts/whats_left.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@

if not sys.flags.isolated:
print("running without -I option.")
print("python -I whats_left.py")
print("python -I scripts/whats_left.py")
exit(1)

GENERATED_FILE = "extra_tests/not_impl.py"
Expand All @@ -39,7 +39,7 @@
sys.exit(f"whats_left.py must be run under CPython, got {implementation} instead")
if sys.version_info[:2] < (3, 14):
sys.exit(
f"whats_left.py must be run under CPython 3.14 or newer, got {implementation} {sys.version} instead. If you have uv, try `uv run python -I whats_left.py` to select a proper Python interpreter easier."
f"whats_left.py must be run under CPython 3.14 or newer, got {implementation} {sys.version} instead. If you have uv, try `uv run python -I scripts/whats_left.py` to select a proper Python interpreter easier."
)


Expand Down
Loading