Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(9)  |  Call(0)  |  Derive(0)  |  Import(9)

src/p/o/portalocker-HEAD/portalocker/__init__.py   portalocker(Download)
from .portalocker import lock, unlock, LOCK_EX, LOCK_SH, LOCK_NB, LockException
from .utils import Lock, AlreadyLocked
 
__all__ = [
    'lock',

src/p/o/portalocker-0.5/portalocker/__init__.py   portalocker(Download)
from .portalocker import lock, unlock, LOCK_EX, LOCK_SH, LOCK_NB, LockException
from .utils import Lock, AlreadyLocked
 
__all__ = [
    'lock',

src/s/c/scicloud-3.0.4/src/util/cloghandler/cloghandler.py   scicloud(Download)
# Fall back to regular rotating handler if we can't go concurrent
try:
    from portalocker import lock, unlock, LOCK_EX, LOCK_NB, LockException
    concurrent_error = None
except Exception, e: # on import failure; disable concurrent logging

src/s/c/sciscicloud-3.0.2/src/util/cloghandler/cloghandler.py   sciscicloud(Download)
# Fall back to regular rotating handler if we can't go concurrent
try:
    from portalocker import lock, unlock, LOCK_EX, LOCK_NB, LockException
    concurrent_error = None
except Exception, e: # on import failure; disable concurrent logging

src/c/l/cloud-2.8.5/src/util/cloghandler/cloghandler.py   cloud(Download)
# Fall back to regular rotating handler if we can't go concurrent
try:
    from portalocker import lock, unlock, LOCK_EX, LOCK_NB, LockException
    concurrent_error = None
except Exception, e: # on import failure; disable concurrent logging

src/n/i/nipype-0.9.2/nipype/external/cloghandler.py   nipype(Download)
 
# sibling  module than handles all the ugly platform-specific details of file locking
from .portalocker import lock, unlock, LOCK_EX, LOCK_NB, LockException
 
 

src/n/i/nipype-HEAD/nipype/external/cloghandler.py   nipype(Download)
 
# sibling  module than handles all the ugly platform-specific details of file locking
from .portalocker import lock, unlock, LOCK_EX, LOCK_NB, LockException
 
 

src/c/o/ConcurrentLogHandler-0.9.1/src/cloghandler.py   ConcurrentLogHandler(Download)
 
# sibling module than handles all the ugly platform-specific details of file locking
from portalocker import lock, unlock, LOCK_EX, LOCK_NB, LockException
 
 

src/c/o/ConcurrentLogHandler-HEAD/src/cloghandler.py   ConcurrentLogHandler(Download)
 
# sibling  module than handles all the ugly platform-specific details of file locking
from portalocker import lock, unlock, LOCK_EX, LOCK_NB, LockException