import os
from ctypeslib.dynamic_module import include
from ctypes import *
import logging
logging.basicConfig(level=logging.INFO)

if os.name == "nt":
    _libc = CDLL("msvcrt")
else:
    _libc = CDLL(None)

include("""\
#include <stdio.h>

#ifdef _MSC_VER
#  include <fcntl.h>
#else
#  include <sys/fcntl.h>
#endif
""",
        persist=False)

import os
from ctypeslib.dynamic_module import include
from ctypes import *

if os.name == "nt":
    _libc = CDLL("msvcrt")
else:
    _libc = CDLL(None)

include("""\
#include <stdio.h>

#ifdef _MSC_VER
#  include <fcntl.h>
#else
#  include <sys/fcntl.h>
#endif
""",
        persist=False)

Remove the logging setup call.
Remove the logging setup call.

git-svn-id: ac2c3632cb6543e7ab5fafd132c7fe15057a1882@52678 6015fed2-1504-0410-9fe1-9d1591cc4771

  import os
  from ctypeslib.dynamic_module import include
  from ctypes import *
- import logging
- logging.basicConfig(level=logging.INFO)
  
  if os.name == "nt":
      _libc = CDLL("msvcrt")
  else:
      _libc = CDLL(None)
  
  include("""\
  #include <stdio.h>
  
  #ifdef _MSC_VER
  #  include <fcntl.h>
  #else
  #  include <sys/fcntl.h>
  #endif
  """,
          persist=False)
  
Remove the logging setup call.
## Code Before:
import os
from ctypeslib.dynamic_module import include
from ctypes import *
import logging
logging.basicConfig(level=logging.INFO)

if os.name == "nt":
    _libc = CDLL("msvcrt")
else:
    _libc = CDLL(None)

include("""\
#include <stdio.h>

#ifdef _MSC_VER
#  include <fcntl.h>
#else
#  include <sys/fcntl.h>
#endif
""",
        persist=False)

## Instruction:
Remove the logging setup call.
## Code After:
import os
from ctypeslib.dynamic_module import include
from ctypes import *

if os.name == "nt":
    _libc = CDLL("msvcrt")
else:
    _libc = CDLL(None)

include("""\
#include <stdio.h>

#ifdef _MSC_VER
#  include <fcntl.h>
#else
#  include <sys/fcntl.h>
#endif
""",
        persist=False)
