Buffer with one or two arguments. The first argument is a buffer size and the second optional athument is a type indicator. The type indicator may also be an integer, in which case the buffer is a buffer of fixed-length strings of the given length. The default type indicator is c . They support item retrieval and assignment, but not item deletion.
Buffers support slicing only when a typecode of c is used.
Buffers are initialized to zeros. If threads are enabled in Python, then the DCOracle package uses Oracle in a thread-safe manner. The Python Database API is, however, somewhat inherently not thread safe. In particular, connection objects and cursors are rather state-full. Sharing objects between threads increases the danger.