Critics have remarked that those four worthies were truly peerless throughout the ages; yet the present falls short of the pastβthe ancients favored unadorned simplicity, whereas the moderns prefer refined elegance. Styles of substance and ornament rise and fall in succession, shifting with the changing mores of the times; such evolution is simply the natural order of things. The ideal lies in honoring antiquity without clashing with the present, and embracing modernity without succumbing to its flawsβembodying that perfect balance of substance and refinement that defines the true gentleman. There is surely no need to abandon a carved palace in favor of a cave dwelling, or to trade a jade carriage for a primitive cart with solid wooden wheels.
Current path: lib64/python2.7/
β Cloned to:
β¬οΈ Go up: /lib64
οΏ½
zfc @ sοΏ½ d Z d d d d d d d g Z d d l Z d e f d
οΏ½ οΏ½ YZ i d οΏ½ Z d οΏ½ Z d
οΏ½ Z d οΏ½ Z d d οΏ½ Z d e f d οΏ½ οΏ½ YZ
e a e a d οΏ½ Z d S( s, Drop-in replacement for the thread module.
Meant to be used as a brain-dead substitute so that threaded code does
not need to be rewritten for when the thread module is not present.
Suggested usage is::
try:
import thread
except ImportError:
import dummy_thread as thread
t errort start_new_threadt exitt get_identt
allocate_lockt interrupt_maint LockTypeiοΏ½οΏ½οΏ½οΏ½Nc B s e Z d Z d οΏ½ Z RS( s% Dummy implementation of thread.error.c G s
| | _ d S( N( t args( t selfR ( ( s$ /usr/lib64/python2.7/dummy_thread.pyt __init__ s ( t __name__t
__module__t __doc__R ( ( ( s$ /usr/lib64/python2.7/dummy_thread.pyR s c C sοΏ½ t | οΏ½ t t οΏ½ οΏ½ k r* t d οΏ½ οΏ½ n t | οΏ½ t t οΏ½ οΏ½ k rT t d οΏ½ οΏ½ n t a y | | | οΏ½ Wn! t k
r~ n t j οΏ½ n Xt a t
rοΏ½ t a
t οΏ½ n d S( sοΏ½ Dummy implementation of thread.start_new_thread().
Compatibility is maintained by making sure that ``args`` is a
tuple and ``kwargs`` is a dictionary. If an exception is raised
and it is SystemExit (which can be done by thread.exit()) it is
caught and nothing is done; all other exceptions are printed out
by using traceback.print_exc().
If the executed function calls interrupt_main the KeyboardInterrupt will be
raised when the function returns.
s 2nd arg must be a tuples 3rd arg must be a dictN( t typet tuplet TypeErrort dictt Falset _maint
SystemExitt
_tracebackt print_exct Truet
_interruptt KeyboardInterrupt( t functionR t kwargs( ( s$ /usr/lib64/python2.7/dummy_thread.pyR s
c C s
t οΏ½ d S( s&