SHARE
TWEET

Untitled

a guest Jun 25th, 2019 68 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. import bitbuffer
  2. bb = bitbuffer.BitBuffer(100)
  3. bitbuffer. # completion works for the module
  4. bitBuffer.BitBuffer. # completion works for the class
  5. bb. # completion does not work for the instance of the class
  6.      
  7. dbg: Start environment subprocess '/home/software/build-Debug/install/myApp-1.9/python/bin/python3'
  8.  
  9. speed: init 667.3612010478973
  10.  
  11. speed: parsed 667.3613803386688
  12. speed: completions start 1.33514404296875e-05
  13.  dbg: eval_node <Name: bb@12,0>@(12, 0)
  14.   dbg: finder.filter_name 'bb' in (<ModuleContext: @1-12>): [<TreeNameDefinition: bb@(8, 0)>]@(12, 0)
  15.    dbg: eval_expr_stmt <ExprStmt: bb = bitbuffer.BitBuffer(100)@8,0> (<Name: bb@8,0>)
  16.     dbg: eval_node PythonNode(atom_expr, [<Name: bitbuffer@8,5>, PythonNode(trailer, [<Operator: .>, <Name: BitBuffer@8,15>]), PythonNode(trailer, [<Operator: (>, <Number: 100>, <Operator: )>])])@(8, 5)
  17.      dbg: finder.filter_name 'bitbuffer' in (<ModuleContext: @1-12>): [<TreeNameDefinition: bitbuffer@(1, 7)>]@(8, 0)
  18.      speed: import (<Name: bitbuffer@1,7>,) 0.002373218536376953
  19.      dbg: global search_module 'bitbuffer' in None
  20.  
  21.      dbg: after import: ContextSet(<CompiledObject: <module 'bitbuffer' from '/home/software/build-Debug/install/myApp/python/lib/python3.6/site-packages/bitbuffer.so'>>)
  22.  
  23.      dbg: finder._names_to_types: [<TreeNameDefinition: bitbuffer@(1, 7)>] -> ContextSet(<CompiledObject: <module 'bitbuffer' from '/home/software/build-Debug/install/myApp/python/lib/python3.6/site-packages/bitbuffer.so'>>)
  24.     dbg: eval_trailer: PythonNode(trailer, [<Operator: .>, <Name: BitBuffer@8,15>]) in ContextSet(<CompiledObject: <module 'bitbuffer' from '/home/software/build-Debug/install/myApp/python/lib/python3.6/site-packages/bitbuffer.so'>>)
  25.      dbg: finder.filter_name 'BitBuffer' in (<CompiledObject: <module 'bitbuffer' from '/home/software/build-Debug/install/myApp/python/lib/python3.6/site-packages/bitbuffer.so'>>): [<CompiledName: (<CompiledContextName: bitbuffer>).BitBuffer>]@None
  26.  
  27.      dbg: finder._names_to_types: [<CompiledName: (<CompiledContextName: bitbuffer>).BitBuffer>] -> ContextSet(<CompiledObject: <pybind11_builtins.pybind11_type object at 0x56422173bab8>>)
  28.     dbg: eval_trailer: PythonNode(trailer, [<Operator: (>, <Number: 100>, <Operator: )>]) in ContextSet(<CompiledObject: <pybind11_builtins.pybind11_type object at 0x56422173bab8>>)
  29.      dbg: execute: <CompiledObject: <pybind11_builtins.pybind11_type object at 0x56422173bab8>> <TreeArguments: <Number: 100>>
  30.      dbg: execute result: ContextSet(<CompiledInstance of <CompiledObject: <pybind11_builtins.pybind11_type object at 0x56422173bab8>>(<TreeArguments: <Number: 100>>)>) in <CompiledObject: <pybind11_builtins.pybind11_type object at 0x56422173bab8>>
  31.    dbg: eval_expr_stmt result ContextSet(<CompiledInstance of <CompiledObject: <pybind11_builtins.pybind11_type object at 0x56422173bab8>>(<TreeArguments: <Number: 100>>)>)
  32.   dbg: finder._names_to_types: [<TreeNameDefinition: bb@(8, 0)>] -> ContextSet(<CompiledInstance of <CompiledObject: <pybind11_builtins.pybind11_type object at 0x56422173bab8>>(<TreeArguments: <Number: 100>>)>)
  33. dbg: trailer completion contexts: ContextSet(<CompiledInstance of <CompiledObject: <pybind11_builtins.pybind11_type object at 0x56422173bab8>>(<TreeArguments: <Number: 100>>)>)
  34.  
  35. speed: completions end 0.19382572174072266
  36.      
  37. ['__bool__', '__class__', '__delattr__', '__dir__', '__doc__', '__eq__', '__format__', '__ge__', '__getattribute__', '__getitem__', '__gt__', '__hash__', '__init__', '__init_subclass__', '__le__', '__len__', '__lt__', '__module__', '__ne__', '__new__', '__reduce__', '__reduce_ex__', '__repr__', '__setattr__', '__setitem__', '__sizeof__', '__str__', '__subclasshook__', 'capacity', 'clear', 'copy', 'data', 'desc', 'fill', 'from_int', 'marks', 'name', 'offset', 'pack', 'shadow', 'size', 'unpack']
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top