Module Expr Str ImportFrom alias Assign NameStore Str Import alias Import alias Import alias Import alias Import alias Import alias If BoolOpAnd CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num CompareEq SubscriptLoad AttributeLoad NameLoad attr Index Num Num body ImportFrom alias ImportFrom alias TryExcept body Import alias handlers ExceptHandler type NameLoad body Assign NameStore NameLoad Import alias Import alias ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Expr Str Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TryFinally body Return AttributeLoad AttributeLoad NameLoad attr attr finalbody Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list FunctionDef arguments args NameParam defaults body If Call AttributeLoad AttributeLoad NameLoad attr attr Str body Assert UnaryOpNot Call NameLoad NameLoad Str Return Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListLoad For NameStore Call NameLoad Num body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr If CompareEq Call AttributeLoad NameLoad attr Num body Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Str Assign NameStore ListLoad Assign NameStore Dict For NameStore NameLoad body Assign NameStore Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Assign SubscriptStore NameLoad Index NameLoad Num Expr Call AttributeLoad NameLoad attr If CompareNotEq Call NameLoad NameLoad Call NameLoad Call AttributeLoad NameLoad attr body Raise Call NameLoad BinOpMod Str Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Num Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Num Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad decorator_list ClassDef bases AttributeLoad NameLoad attr body FunctionDef arguments args NameParam defaults body Assign NameStore Num Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore ListComp Call AttributeLoad NameLoad attr Num comprehension NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Num Assign NameStore Call AttributeLoad NameLoad attr keyword NameLoad keyword AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Num comprehension NameStore Call NameLoad NameLoad Assign NameStore ListComp Call AttributeLoad SubscriptLoad NameLoad Index NameLoad attr Num comprehension NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad Call NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Num Expr Call AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr If BoolOpOr CompareNotEq Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad CompareNotEq Call NameLoad Call NameLoad NameLoad Call NameLoad NameLoad body Raise Call NameLoad BinOpMod Str TupleLoad Call AttributeLoad NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults Dict body Assign NameStore ListLoad AugAssignAdd NameStore ListLoad Call NameLoad If CompareIsNot NameLoad NameLoad body AugAssignAdd NameStore ListLoad Call NameLoad Return NameLoad decorator_list If CompareEq NameLoad Str body Assign NameStore Lambda arguments args defaults Call AttributeLoad NameLoad attr Call NameLoad Expr Call AttributeLoad NameLoad attr keyword Str
N/A N/A Self-test suite for generic Crypto.Random stuff  __future__ nested_scopes N/A __revision__ $Id$ N/A binascii N/A pprint N/A unittest N/A os N/A time N/A sys N/A N/A N/A N/A N/A sys version_info N/A 0 2 N/A N/A N/A sys version_info N/A 1 1 N/A Crypto.Util.py21compat * Crypto.Util.py3compat * N/A N/A N/A multiprocessing N/A N/A N/A ImportError N/A N/A multiprocessing None N/A Crypto.Random._UserFriendlyRNG N/A Crypto.Random.random RNGForkTest N/A N/A unittest TestCase N/A _get_reseed_count N/A N/A self N/A N/A N/A 
        Get `FortunaAccumulator.reseed_count`, the global count of the
        number of times that the PRNG has been reseeded.
         N/A rng_singleton N/A N/A N/A N/A Crypto Random _UserFriendlyRNG _get_singleton N/A N/A N/A N/A rng_singleton _lock acquire N/A N/A N/A N/A N/A rng_singleton _fa reseed_count N/A N/A N/A N/A N/A rng_singleton _lock release N/A runTest N/A N/A self N/A N/A N/A N/A N/A N/A sys platform startswith win N/A N/A N/A N/A hasattr os fork N/A N/A N/A N/A time sleep 0.15 N/A reseed_count_before N/A N/A self _get_reseed_count N/A N/A N/A N/A N/A N/A N/A Crypto Random _UserFriendlyRNG _get_singleton reinit N/A N/A N/A N/A Crypto Random get_random_bytes 1 N/A reseed_count_after N/A N/A self _get_reseed_count N/A N/A N/A self assertNotEqual reseed_count_before reseed_count_after N/A rfiles N/A N/A i N/A range 10 N/A N/A N/A rfd wfd N/A N/A os pipe N/A N/A N/A N/A os fork 0 N/A N/A N/A N/A os close rfd N/A f N/A N/A os fdopen wfd wb N/A N/A N/A N/A Crypto Random atfork N/A data N/A N/A N/A Crypto Random get_random_bytes 16 N/A N/A N/A f write data N/A N/A N/A f close N/A N/A N/A os _exit 0 N/A N/A N/A os close wfd N/A N/A N/A rfiles append N/A N/A os fdopen rfd rb N/A results N/A N/A results_dict N/A N/A f rfiles N/A N/A data N/A N/A binascii hexlify N/A N/A f read N/A N/A N/A results append data N/A N/A results_dict N/A data 1 N/A N/A N/A f close N/A N/A N/A len results N/A len N/A N/A results_dict keys N/A N/A N/A AssertionError N/A RNG output duplicated across fork():
%s N/A N/A pprint pformat results N/A N/A _task_main N/A N/A q N/A N/A N/A a N/A N/A N/A Crypto Random get_random_bytes 16 N/A N/A N/A time sleep 0.1 N/A b N/A N/A N/A Crypto Random get_random_bytes 16 N/A N/A N/A q put N/A N/A binascii b2a_hex a N/A N/A N/A q put N/A N/A binascii b2a_hex b N/A N/A N/A q put None N/A RNGMultiprocessingForkTest N/A N/A unittest TestCase N/A runTest N/A N/A self N/A N/A N/A n_procs 5 N/A manager N/A N/A multiprocessing Manager N/A queues N/A N/A N/A manager Queue 1 N/A i N/A range n_procs N/A N/A N/A time sleep 0.15 N/A N/A N/A N/A N/A N/A N/A Crypto Random _UserFriendlyRNG _get_singleton reinit N/A N/A N/A N/A Crypto Random get_random_bytes 1 N/A pool N/A N/A multiprocessing Pool processes n_procs initializer N/A N/A Crypto Random atfork N/A map_result N/A N/A pool map_async _task_main queues N/A aa N/A N/A N/A N/A queues N/A i get 30 N/A i N/A range n_procs N/A bb N/A N/A N/A N/A queues N/A i get 30 N/A i N/A range n_procs N/A res N/A list N/A zip aa bb N/A N/A N/A map_result get 30 N/A N/A N/A pool close N/A N/A N/A pool join N/A N/A N/A N/A len N/A set aa N/A len aa N/A N/A len N/A set res N/A len res N/A N/A N/A AssertionError N/A RNG output duplicated across fork():
%s N/A N/A N/A pprint pformat res N/A N/A get_tests N/A N/A config N/A N/A N/A N/A tests N/A N/A tests N/A N/A RNGForkTest N/A N/A multiprocessing None N/A N/A tests N/A N/A RNGMultiprocessingForkTest N/A tests N/A N/A N/A __name__ __main__ N/A N/A suite N/A N/A N/A N/A N/A N/A unittest TestSuite N/A get_tests N/A N/A N/A unittest main defaultTest suite