GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Add `_socket` constants from CPython 3.10 by fanninpm · Pull Request #3840 · RustPython/RustPython

Conversation

@fanninpm

@fanninpm fanninpm commented Jul 4, 2022

Copy link
Copy Markdown
Contributor

The following constants may be missing from either rust's libc or the winapi crate (as of 4 July 2022):

  • AF_AAL5
  • NETLINK_SKIP
  • NETLINK_W1
  • NETLINK_TCPDIAG
  • NETLINK_ARPD
  • NETLINK_ROUTE6
  • NETLINK_TAPBASE
  • AF_QIPCRTR
  • BLUETOOTH_PROTO_L2CAP
  • BLUETOOTH_PROTO_HCI
  • SOL_HCI_RAW
  • SO_HCI_RAW_FILTER
  • HCI_TIME_STAMP
  • HCI_DATA_DIR
  • BLUETOOTH_PROTO_RFCOMM
  • BTPROTO_SCO
  • PACKET_HOST
  • PACKET_BROADCAST
  • PACKET_MULTICAST
  • PACKET_OTHERHOST
  • PACKET_OUTGOING
  • PACKET_LOOPBACK
  • PACKET_FASTROUTE
  • TIPC_ADDR_NAMESEQ
  • TIPC_ADDR_NAME
  • TIPC_ADDR_ID
  • TIPC_ZONE_SCOPE
  • TIPC_CLUSTER_SCOPE
  • TIPC_NODE_SCOPE
  • TIPC_IMPORTANCE
  • TIPC_SRC_DROPPABLE
  • TIPC_DEST_DROPPABLE
  • TIPC_CONN_TIMEOUT
  • TIPC_LOW_IMPORTANCE
  • TIPC_MEDIUM_IMPORTANCE
  • TIPC_HIGH_IMPORTANCE
  • TIPC_CRITICAL_IMPORTANCE
  • TIPC_SUB_PORTS
  • TIPC_SUB_SERVICE
  • TIPC_SUB_CANCEL
  • TIPC_WAIT_FOREVER
  • TIPC_PUBLISHED
  • TIPC_WITHDRAWN
  • TIPC_SUBSCR_TIMEOUT
  • TIPC_CFG_SRV
  • TIPC_TOP_SRV
  • ALG_SET_PUBKEY
  • ALG_OP_SIGN
  • ALG_OP_VERIFY
  • MSG_BTAG
  • MSG_ETAG
  • TX_SETUP
  • TX_DELETE
  • TX_READ
  • TX_SEND
  • RX_SETUP
  • RX_DELETE
  • RX_READ
  • TX_STATUS
  • TX_EXPIRED
  • RX_STATUS
  • RX_TIMEOUT
  • RX_CHANGED
  • SETTIMER
  • STARTTIMER
  • TX_COUNTEVT
  • TX_ANNOUNCE
  • TX_CP_CAN_ID
  • RX_FILTER_ID
  • RX_CHECK_DLC
  • RX_NO_AUTOTIMER
  • RX_ANNOUNCE_RESUME
  • TX_RESET_MULTI_IDX
  • RX_RTR_FRAME
  • CAN_FD_FRAME
  • J1939_EE_INFO_NONE
  • J1939_EE_INFO_TX_ABORT
  • J1939_FILTER_MAX
  • RDS_CANCEL_SENT_TO
  • RDS_GET_MR
  • RDS_FREE_MR
  • RDS_RECVERR
  • RDS_CONG_MONITOR
  • RDS_GET_MR_FOR_DEST
  • IPPROTO_IPV4
  • IPPROTO_BIP
  • IPPORT_USERRESERVED
  • INADDR_UNSPEC_GROUP
  • INADDR_ALLHOSTS_GROUP
  • INADDR_MAX_LOCAL_GROUP
  • IP_RECVRETOPTS
  • IP_MAX_MEMBERSHIPS
  • IPV6_RTHDR_TYPE_0
  • IPV6_USE_MIN_MTU
  • TCP_NOTSENT_LOWAT
  • IPX_TYPE
  • RDS_CMSG_RDMA_ARGS
  • RDS_CMSG_RDMA_DEST
  • RDS_CMSG_RDMA_MAP
  • RDS_CMSG_RDMA_STATUS
  • RDS_CMSG_RDMA_UPDATE
  • RDS_RDMA_READWRITE
  • RDS_RDMA_FENCE
  • RDS_RDMA_INVALIDATE
  • RDS_RDMA_USE_ONCE
  • RDS_RDMA_DONTWAIT
  • RDS_RDMA_NOTIFY_ME
  • RDS_RDMA_SILENT
  • EAI_ADDRFAMILY
  • EAI_BADHINTS
  • EAI_PROTOCOL
  • EAI_MAX
  • RCVALL_MAX

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

All reactions
fanninpm added 6 commits July 4, 2022 18:34
@fanninpm
Add _socket constants from CPython 3.10
ca90bf3
@fanninpm
Fix compilation errors on macOS and Windows
4e87250
@fanninpm
Resolve ambiguous imports on Windows
97db885
@fanninpm
Mark erroring/failing tests
92f790e
@fanninpm
Mark erroring test on Windows
b39263d
@fanninpm
Unmark passing test on macOS and Windows
0b1a542
@fanninpm
fanninpm marked this pull request as ready for review July 5, 2022 01:22
@youknowone

youknowone commented Jul 6, 2022

Copy link
Copy Markdown
Member

I think we can close #1176

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@youknowone youknowone linked an issue Jul 6, 2022 that may be closed by this pull request
Extend the socket module #1176
Closed
youknowone
youknowone approved these changes Jul 6, 2022
View reviewed changes
@youknowone
youknowone merged commit 0aca6a8 into RustPython:main Jul 6, 2022
@fanninpm
fanninpm deleted the socket-constants branch July 9, 2022 00:07
@fanninpm fanninpm mentioned this pull request Feb 24, 2023
Add localeconv function to locale module #4558
Merged
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@youknowone youknowone youknowone approved these changes

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Extend the socket module

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@fanninpm @youknowone
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.