FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

bpo-42212: smelly.py also checks the dynamic library by vstinner · Pull Request #23423 · python/cpython · GitHub

Repository navigation

bpo-42212: smelly.py also checks the dynamic library - #23423

Merged
vstinner merged 3 commits into
python:masterfrom
vstinner:smelly
Nov 24, 2020
Merged

vstinner merged 3 commits into
python:masterfrom
vstinner:smelly

Conversation

vstinner commented Nov 20, 2020 •
edited by bedevere-bot
Loading

Copy link
Copy Markdown
Member

The smelly.py script now also checks the Python dynamic library, not
only the Python static library. Make also the script more verbose:
explain what it does.

https://bugs.python.org/issue42212

Copy link
Copy Markdown
Member Author

I rebase my PR on top of d20b7ed to get the updated GHA action.

Tests / Check if generated files are up to date (pull_request)

https://github.com/python/cpython/pull/23423/checks?check_run_id=1431368524

/python Tools/scripts/smelly.py
Check that libpython3.10d.a only exports symbols starting with Py or _Py
+ nm -p libpython3.10d.a
Ignored symbol types: b, d, r, t

OK: no smelly symbol found

The smelly.py script now also checks the Python dynamic library and
extension modules, not only the Python static library. Make also the
script more verbose: explain what it does.

The GitHub Action job now builds Python with the libpython dynamic
library.

Copy link
Copy Markdown
Member Author

Hum, make smelly fails on Ubuntu (" Tests / Check if generated files are up to date" job):

Smelly symbol: _fini (type: T)
Smelly symbol: _init (type: T)

ERROR: Found 2 smelly symbols!

vstinner merged commit ac7d016 into python:master Nov 24, 2020
vstinner deleted the smelly branch November 24, 2020 12:38
adorilson pushed a commit to adorilson/cpython that referenced this pull request Mar 13, 2021
The smelly.py script now also checks the Python dynamic library and
extension modules, not only the Python static library. Make also the
script more verbose: explain what it does.

The GitHub Action job now builds Python with the libpython dynamic
library.
encukou added a commit to encukou/cpython that referenced this pull request Nov 11, 2025
encukou added a commit to encukou/cpython that referenced this pull request Nov 11, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
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.

3 participants


Back | FazBrowse Home | New Git URL