Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

gh-104773: PEP 594: Remove the nis module#104897

Merged
vstinner merged 3 commits intopython:mainpython/cpython:mainfrom
vstinner:remove_nisvstinner/cpython:remove_nisCopy head branch name to clipboard
May 24, 2023
Merged

gh-104773: PEP 594: Remove the nis module#104897
vstinner merged 3 commits intopython:mainpython/cpython:mainfrom
vstinner:remove_nisvstinner/cpython:remove_nisCopy head branch name to clipboard

Conversation

@vstinner
Copy link
Member

@vstinner vstinner commented May 24, 2023

@hugovk
Copy link
Member

hugovk commented May 24, 2023

Some extra nismodule / libnsl bits to remove?

Tools/c-analyzer/cpython/ignored.tsv
285:Modules/nismodule.c  -       TIMEOUT -
286:Modules/nismodule.c  -       aliases -

Tools/c-analyzer/cpython/_parser.py
123:Modules/nismodule.c  /usr/include/tirpc

Tools/c-analyzer/cpython/globals-to-fix.tsv
458:Modules/nismodule.c  nisproc_maplist_2       res     -

PC/pyconfig.h
679:#define HAVE_LIBNSL 1

@vstinner vstinner requested a review from a team as a code owner May 24, 2023 21:31
@vstinner
Copy link
Member Author

Some extra nismodule / libnsl bits to remove?

Well spotted: removed as well.

For now, I prefer to keep this code in configure.ac, since I don't know its purpose and I cannot test a change on Solaris:

$ git grep -B1 -A1 '\<nsl\>'
configure.ac-# Most SVR4 platforms (e.g. Solaris) need -lsocket and -lnsl.
configure.ac:AC_CHECK_LIB(nsl, t_open, [LIBS="-lnsl $LIBS"]) # SVR4
configure.ac-AC_CHECK_LIB(socket, socket, [LIBS="-lsocket $LIBS"], [], $LIBS) # SVR4 sockets

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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.