Skip to content

bpo-25780: Expose CAN_RAW_JOIN_FILTERS in the socket module#19190

Merged
pablogsal merged 3 commits intopython:masterfrom
ZackerySpytz:bpo-25780-CAN_RAW_JOIN_FILTERS-socket-module
Apr 9, 2020
Merged

bpo-25780: Expose CAN_RAW_JOIN_FILTERS in the socket module#19190
pablogsal merged 3 commits intopython:masterfrom
ZackerySpytz:bpo-25780-CAN_RAW_JOIN_FILTERS-socket-module

Conversation

@ZackerySpytz
Copy link
Copy Markdown
Contributor

@ZackerySpytz ZackerySpytz commented Mar 27, 2020

Co-Authored-By: Stefan Tatschner [email protected]

https://bugs.python.org/issue25780

Copy link
Copy Markdown
Member

@pablogsal pablogsal left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pablogsal
Copy link
Copy Markdown
Member

Not sure if it makes sense to add a test for this, given that is just a flag that is transparently passed down, so do as you wish.

@rumpelsepp
Copy link
Copy Markdown
Contributor

I completely forgot about this, thanks for bringing this up!

@ZackerySpytz
Copy link
Copy Markdown
Contributor Author

@pablogsal Hi, Pablo. Can you please merge this PR?

Comment thread configure Outdated
docdir
oldincludedir
includedir
runstatedir
Copy link
Copy Markdown
Member

@pablogsal pablogsal Apr 8, 2020

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can you re-run autoreconf? This runstatedir seems unrelated to this PR and running autoreconf locally indeed removes it:

diff --git a/configure b/configure
index bce16bc8e5..4ed45346eb 100755
--- a/configure
+++ b/configure
@@ -783,7 +783,6 @@ infodir
 docdir
 oldincludedir
 includedir
-runstatedir
 localstatedir
 sharedstatedir
 sysconfdir
@@ -899,7 +898,6 @@ datadir='${datarootdir}'
 sysconfdir='${prefix}/etc'
 sharedstatedir='${prefix}/com'
 localstatedir='${prefix}/var'
-runstatedir='${localstatedir}/run'
 includedir='${prefix}/include'
 oldincludedir='/usr/include'
 docdir='${datarootdir}/doc/${PACKAGE_TARNAME}'
@@ -1152,15 +1150,6 @@ do
   | -silent | --silent | --silen | --sile | --sil)
     silent=yes ;;

-  -runstatedir | --runstatedir | --runstatedi | --runstated \
-  | --runstate | --runstat | --runsta | --runst | --runs \
-  | --run | --ru | --r)
-    ac_prev=runstatedir ;;
-  -runstatedir=* | --runstatedir=* | --runstatedi=* | --runstated=* \
-  | --runstate=* | --runstat=* | --runsta=* | --runst=* | --runs=* \
-  | --run=* | --ru=* | --r=*)
-    runstatedir=$ac_optarg ;;
-
   -sbindir | --sbindir | --sbindi | --sbind | --sbin | --sbi | --sb)
     ac_prev=sbindir ;;
   -sbindir=* | --sbindir=* | --sbindi=* | --sbind=* | --sbin=* \
@@ -1298,7 +1287,7 @@ fi
 for ac_var in  exec_prefix prefix bindir sbindir libexecdir datarootdir \
                datadir sysconfdir sharedstatedir localstatedir includedir \
                oldincludedir docdir infodir htmldir dvidir pdfdir psdir \
-               libdir localedir mandir runstatedir
+               libdir localedir mandir
 do
   eval ac_val=\$$ac_var
   # Remove trailing slashes.
@@ -1451,7 +1440,6 @@ Fine tuning of the installation directories:
   --sysconfdir=DIR        read-only single-machine data [PREFIX/etc]
   --sharedstatedir=DIR    modifiable architecture-independent data [PREFIX/com]
   --localstatedir=DIR     modifiable single-machine data [PREFIX/var]
-  --runstatedir=DIR       modifiable per-process data [LOCALSTATEDIR/run]
   --libdir=DIR            object code libraries [EPREFIX/lib]
   --includedir=DIR        C header files [PREFIX/include]
   --oldincludedir=DIR     C header files for non-gcc [/usr/include]

@pablogsal pablogsal merged commit 97e0de0 into python:master Apr 9, 2020
@pablogsal
Copy link
Copy Markdown
Member

Thanks @ZackerySpytz for the PR!

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.

5 participants