logging: various fixes (#4196)

* logging.disable: update for py37

* RootLogger: fix __init__

* shutdown: add undocumented parameter

* MemoryHandler: add flushOnClose in py36

* NTEventLogHandler: fix dllname type

* makeSocket: add undocumented parameter

* SysLogHandler: fix socktype type

Co-authored-by: hauntsaninja <>
This commit is contained in:
Shantanu
2020-06-07 14:05:29 -07:00
committed by GitHub
parent 4ab1d6f0ae
commit df6136c4ac
7 changed files with 15 additions and 19 deletions

View File

@@ -29,7 +29,6 @@ importlib.resources
io.StringIO.readline
ipaddress._BaseNetwork.__init__
json.loads
logging.handlers.MemoryHandler.__init__
mmap.ACCESS_DEFAULT
multiprocessing.shared_memory
nntplib._NNTPBase.starttls

View File

@@ -40,7 +40,6 @@ http.server.SimpleHTTPRequestHandler.__init__
importlib.metadata
ipaddress._BaseNetwork.__init__
json.loads
logging.handlers.MemoryHandler.__init__
macurl2path # removed in 3.7
multiprocessing.shared_memory
nntplib._NNTPBase.starttls

View File

@@ -60,7 +60,6 @@ ipaddress.IPv4Interface.hostmask
ipaddress.IPv6Interface.hostmask
ipaddress._BaseNetwork.broadcast_address
ipaddress._BaseNetwork.hostmask
logging.handlers.MemoryHandler.__init__
macpath
macurl2path # removed in 3.7
mmap.MADV_[A-Z_]+

View File

@@ -113,7 +113,6 @@ ipaddress._BaseNetwork.hostmask
itertools.tee
logging.FileHandler.__init__
logging.handlers.BaseRotatingHandler.__init__
logging.handlers.MemoryHandler.__init__
logging.handlers.RotatingFileHandler.__init__
logging.handlers.TimedRotatingFileHandler.__init__
logging.handlers.WatchedFileHandler.__init__

View File

@@ -292,12 +292,6 @@ lib2to3.pytree.BasePattern.__new__
lib2to3.pytree.BasePattern.type
lib2to3.pytree.NegatedPattern.match
lib2to3.pytree.NegatedPattern.match_seq
logging.RootLogger.__init__
logging.disable
logging.handlers.NTEventLogHandler.__init__
logging.handlers.SocketHandler.makeSocket
logging.handlers.SysLogHandler.__init__
logging.shutdown
mailbox.Babyl.__init__
mailbox.MH.__init__
mailbox.MMDF.__init__