I was trying to use python logging module in batch fashion and I came across
logging.handlers.BufferingHandler. I read through the code and found that the buffer is using
list as its type. However, if the capacity is large (say 1000), it’ll potentially block the program (since it needs to be constantly reallocated).
Do we have any way to get around this? (I thought of pre-allocated the list but the
array module only works with numeric datatypes)