Skip to content
Draft
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: 2 additions & 0 deletions .cspell.dict/cpython.txt
Original file line number Diff line number Diff line change
Expand Up @@ -195,6 +195,7 @@ uncollectable
Unhandle
unparse
unparser
untracking
VARKEYWORDS
varkwarg
venvlauncher
Expand All @@ -209,5 +210,6 @@ webpki
winconsoleio
withitem
withs
worklist
xstat
XXPRIME
3 changes: 3 additions & 0 deletions .cspell.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@
"emscripten",
"excs",
"finalizer",
"finalizers",
"GetSet",
"groupref",
"internable",
Expand Down Expand Up @@ -122,12 +123,14 @@
"tracebacks",
"typealiases",
"typevartuples",
"uncollectable",
"unhashable",
"uninit",
"unraisable",
"unresizable",
"varint",
"wasi",
"weaked",
"zelf",
// unix
"posixshmem",
Expand Down
1 change: 1 addition & 0 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ winresource = "0.1"
rustpython-compiler = { workspace = true }
rustpython-pylib = { workspace = true, optional = true }
rustpython-stdlib = { workspace = true, optional = true, features = ["compiler"] }
rustpython-vm = { workspace = true, features = ["compiler"] }
rustpython-vm = { workspace = true, features = ["compiler", "gc"] }
ruff_python_parser = { workspace = true }

cfg-if = { workspace = true }
Expand Down
7 changes: 0 additions & 7 deletions Lib/test/support/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -883,13 +883,6 @@ def disable_gc():

@contextlib.contextmanager
def gc_threshold(*args):
# TODO: RUSTPYTHON; GC is not supported yet
try:
yield
finally:
pass
return

import gc
old_threshold = gc.get_threshold()
gc.set_threshold(*args)
Expand Down
1 change: 0 additions & 1 deletion Lib/test/test_asyncio/test_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1649,7 +1649,6 @@ async def test(ctx):
# SSLProtocol should be DECREF to 0
self.assertIsNone(ctx())

@unittest.expectedFailure # TODO: RUSTPYTHON; - gc.collect() doesn't release SSLContext properly
def test_shutdown_timeout_handler_leak(self):
loop = self.loop

Expand Down
Loading
Loading