Skip to content

Async comprehension - #2023

Draft
slozier wants to merge 63 commits into
IronLanguages:3.6from
slozier:async_comp
Draft

slozier wants to merge 63 commits into
IronLanguages:3.6from
slozier:async_comp

Conversation

@slozier

@slozier slozier commented Mar 14, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@slozier slozier changed the title Async comp Async comprehension Mar 14, 2026
slozier and others added 28 commits June 18, 2026 16:18
* Remove IronPython.StdLib

* Add IronPython.StdLib submodule

* Pick up CurrentVersion.props from stdlib
* Reorganize stdlib test overrides

* Rename test_sqlite3.py to test_sqlite.py

* Fix test_tokenize
* Add __round__ for .NET integer types

* Add rounding test
* Improve struct.unpack_from performance with mmap

* Add test to cover unpack_from negative offset
* Fix traceback in threads when SetTrace used.
* Fix regression

---------

Co-authored-by: Stéphane Lozier <slozier@users.noreply.github.com>
* Use WeakReference<PythonType> instead of WeakReference

* Enable test_memory

* Set IsolationLevel PROCESS

* Don't run on Mono

* Only clean up on Capacity change

* Disable test on macOS
* Refactor argument parsing

* Don't quote on Windows
* Add custom syntax error messages for print/exec

* Ignore trailing blank line indent in exec mode
…#2090)

* Remove finalizer from ArrayData<T>

* Replace io.BytesIO backing buffer with ArrayData<byte>
…ronLanguages#2092)

* Fix time.localtime and datetime.fromtimestamp around DST transitions

* Fix failing test
* Run 3.6 tests during CI

* Increase timeout on test_source_encoding

* Output version information
IronLanguages#2096)

* Fix time.mktime() for zones whose standard UTC offset changes mid-year

time.timezone/time.altzone are computed once at process start from
TimeZoneInfo.Local.BaseUtcOffset, which models a zone as having at most
two offsets (standard/daylight) for all time. That breaks down when a
jurisdiction permanently abolishes DST mid-year (e.g. America/Vancouver
switching to a DST-less "PT" zone on 2026-11-01): mktime() computed UTC
using the stale, zone-wide offset instead of the offset actually in
effect on the given date, and produced timestamps off by up to an hour
around the transition.

* Extend the implementation to .NET Framework

* Add test for RemoveDst

* Fix RemoveDst

* Cache timezone adjustment rules

* Remove ints allocation

---------

Co-authored-by: Stéphane Lozier <slozier@users.noreply.github.com>
slozier and others added 29 commits October 18, 2026 09:07
* Use LightBind in place of BindDelegate

* Try to fix intermittent CI failure

* Try to fix intermittent Mono test failure

* Skip flaky test_weakset on Mono
* Fix use-after-free reading ctypes function pointer fields

* Catch RuntimeWarning during testing

* Detect BOM in bytes.decode

* Don't retry test_threadedtempfile
* Remove NullImporter

* Set ShowCls when clr is loaded by importlib

* zipimporter: stop on directory

* Bump DLR
* Use full name for .NET namespaces and add __path__

* Handle .NET types and namespaces in importlib._bootstrap
…es#2109)

* Trace the bodies of async functions and async generators

* Ignore test_asyncgen on .NET Fmwk and Mono only

* Clean up async tracing comments in FunctionCode
…nLanguages#2111)

* Don't give a class body a function's call target on sys.settrace

* Read FunctionCode.Target only once when running code
…ages#2117)

* Use '' on sys.path

* Add a sys.meta_path finder for .NET namespaces and types
* Fix locking in _imp

* Use System.Threading.Lock instead
* Give traced frames their caller's frame as f_back

* Undo test comment removal
* Test for jumps out of exception handler; update DLR

* Fix test failing on .NET Framework
* Use importlib for __import__

* Fix failing test

* Move Globals import to ClrImporter

* Remove invalid null check

* Re-enable test_import_hooks_import_precedence

* ValueError on import of empty name

* Move ModuleSpec to PythonContext

* Give .NET namespaces precedence over namespace packages

* Enable importlib tests

* Set RetryCount=2 for test_ssl
* Use Schubfach algorithm for float repr

* Update float_repr_style and fix tests

* Add test_float_repr
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants