Skip to content
Merged
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
7 changes: 4 additions & 3 deletions sourcecode-parser/tools/generate_stdlib_registry.py
Original file line number Diff line number Diff line change
Expand Up @@ -472,9 +472,10 @@ def main():

print(f"{'='*60}\n")

# Platform-specific modules that are expected to fail on Linux/macOS
WINDOWS_ONLY_MODULES = {'msvcrt', 'nt', 'winreg', 'winsound', '_winapi'}
PLATFORM_SPECIFIC_MODULES = WINDOWS_ONLY_MODULES
# Platform-specific modules that are expected to fail on certain platforms
WINDOWS_ONLY_MODULES = {'msvcrt', 'nt', 'winreg', 'winsound', '_winapi', 'msilib'}
UNIX_SPECIFIC_MODULES = {'nis'} # Network Information Service (may not be available on all systems)
PLATFORM_SPECIFIC_MODULES = WINDOWS_ONLY_MODULES | UNIX_SPECIFIC_MODULES

# Check if any non-platform-specific modules failed
unexpected_failures = [m for m in failed if m not in PLATFORM_SPECIFIC_MODULES]
Expand Down
Loading