Skip to content

Commit 08bc655

Browse files
antonsyndclaude
andcommitted
Merge branch 'stdlib-p0' into dev
Merge stdlib P0 implementation: string methods, file I/O, os module, pathlib, json, re, argparse, math completion, itertools completion, collections additions (OrderedDict, ChainMap), random additions. Resolved conflicts with dev's independent module implementations by keeping dev versions and adapting stdlib-p0 tests. Fixed Accumulate value-type initial parameter bug, OsPath.Normpath to preserve relative paths, and made all Itertools partial classes public. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2 parents 89ea42f + 2c90c90 commit 08bc655

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

53 files changed

+6481
-4353
lines changed

src/Sharpy.Compiler.Tests/Discovery/Caching/OverloadIndexBuilderTypeTests.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -129,8 +129,9 @@ public void DiscoverPublicTypes_ExceptionTypes_HaveCorrectBaseTypeName()
129129
// Assert
130130
var builtins = index.Modules["builtins"];
131131
var exceptionTypes = builtins.Types.Where(t => t.IsException).ToList();
132-
// Most exception types directly extend Exception, but some (IOError, FileNotFoundError)
133-
// extend intermediate .NET exception types (IOException, FileNotFoundException)
132+
// Most exception types directly extend Exception, but some (IOError, FileNotFoundError,
133+
// FileExistsError, IsADirectoryError) extend IOException, FileNotFoundException,
134+
// UnauthorizedAccessException, or ValueError (JSONDecodeError)
134135
var allowedBaseTypes = new HashSet<string?>
135136
{
136137
"Exception", "IOException", "FileNotFoundException", "UnauthorizedAccessException", "ValueError"

0 commit comments

Comments
 (0)