diff options
| author | Gregory P. Smith <greg@krypto.org> | 2021-12-15 06:16:27 -0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2021-12-15 15:16:27 +0100 |
| commit | 665574122cb6302fa5342c6f3570c674fcaf0a44 (patch) | |
| tree | fc7f4c3d17b74a69e7d2f54f4dbd2fde0f3b0563 /ChangeLog | |
| parent | 8ce5987c88a578ab0f4f4a64aceff0577082f787 (diff) | |
| download | astroid-git-665574122cb6302fa5342c6f3570c674fcaf0a44.tar.gz | |
Prefer using the module loader to get source in builder. (#1207)
* Use loader.get_source() in builder.module_build()
Otherwise we fail to get the module source code when running in an
embedded hermetic interpreter environment where the source does not
live on a filesystem.
Co-authored-by: Pierre Sassoulas <pierre.sassoulas@gmail.com>
Diffstat (limited to 'ChangeLog')
| -rw-r--r-- | ChangeLog | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -12,6 +12,12 @@ What's New in astroid 2.9.1? ============================ Release date: TBA +* Prefer the module loader get_source() method in AstroidBuilder's + module_build() when possible to avoid assumptions about source + code being available on a filesystem. Otherwise the source cannot + be found and application behavior changes when running within an + embedded hermetic interpreter environment (pyoxidizer, etc.). + * Require Python 3.6.2 to use astroid. * Fix ``deque.insert()`` signature in ``collections`` brain. |
