mirror of https://github.com/swig/swig.git
A generated stub class with no wrapped members had an empty suite, which is invalid Python syntax. Stubs could also refer to base classes from %imported modules without importing the corresponding Python proxy module, leaving those names unresolved. Track whether each stub class emits a member and use an ellipsis when its body would otherwise be empty. Collect modules referenced through %import and emit them before declarations, using the same package and relative import rules as the generated Python proxy. Keep annotation tests active with -pyi by parsing annotations from the generated stub instead of expecting them on runtime objects. Include each generated .pyi file in multi-module Pyrefly checks. Add Python 3.14 Linux CI configurations for -pyi -typehints with and without -builtin. See #3473. Assisted-by: Codex (GPT-5.6 Sol) |
||
|---|---|---|
| .. | ||
| README | ||
| allocate.cxx | ||
| c.cxx | ||
| contract.cxx | ||
| csharp.cxx | ||
| d.cxx | ||
| directors.cxx | ||
| emit.cxx | ||
| go.cxx | ||
| guile.cxx | ||
| interface.cxx | ||
| java.cxx | ||
| javascript.cxx | ||
| lang.cxx | ||
| lua.cxx | ||
| main.cxx | ||
| nested.cxx | ||
| ocaml.cxx | ||
| octave.cxx | ||
| overload.cxx | ||
| perl5.cxx | ||
| php.cxx | ||
| python.cxx | ||
| r.cxx | ||
| ruby.cxx | ||
| scilab.cxx | ||
| swigmain.cxx | ||
| swigmod.h | ||
| tcl8.cxx | ||
| typepass.cxx | ||
| utils.cxx | ||
| xml.cxx | ||
README
06/25/2002 This directory contains all of the SWIG language modules. Many of these modules contain code that dates back to SWIG1.0. The module API has changed a lot in the development releases so this is fairly messy. We're working on cleaning it up, but you'll have to bear with us until it's done. -- Dave