Assorted Python changes based on a code review.
Many changes were based on conventions in the Python socketmodule. Changed many of the docstrings to match the Python socket library conventions and enhancing them. I can either remove the prototype part or add it to other docstrings in the library, depending on feedback I get. Changed setblocking to use the flag argument instead of always just setting NONBLOCK. Added enable/disable threading around more lwip calls. Implementing optional backlog on listen(). Removing a few seemingly unneeded Py_INCREF(Py_None) calls. Moved getblocking function based on alpha sorting of names.
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
# This file was automatically generated by SWIG (http://www.swig.org).
|
||||
# Version 4.0.2
|
||||
# Version 4.0.1
|
||||
#
|
||||
# Do not make changes to this file unless you know what you are doing--modify
|
||||
# the SWIG interface file instead.
|
||||
|
||||
Reference in New Issue
Block a user