Commit 4611bcdd by Ivan Smirnov

Fix rebasing problems in example-python-types

parent 61e3b0bd
...@@ -66,14 +66,14 @@ print("__module__(example.ExamplePythonTypes) = %s" % ExamplePythonTypes.__modul ...@@ -66,14 +66,14 @@ print("__module__(example.ExamplePythonTypes) = %s" % ExamplePythonTypes.__modul
print("__name__(example.ExamplePythonTypes.get_set) = %s" % ExamplePythonTypes.get_set.__name__) print("__name__(example.ExamplePythonTypes.get_set) = %s" % ExamplePythonTypes.get_set.__name__)
print("__module__(example.ExamplePythonTypes.get_set) = %s" % ExamplePythonTypes.get_set.__module__) print("__module__(example.ExamplePythonTypes.get_set) = %s" % ExamplePythonTypes.get_set.__module__)
print(instance.get_bytes_from_string().decode())
print(instance.get_bytes_from_str().decode())
print(instance.get_str_from_string())
print(instance.get_str_from_bytes())
from example import ConstructorStats from example import ConstructorStats
cstats = ConstructorStats.get(ExamplePythonTypes) cstats = ConstructorStats.get(ExamplePythonTypes)
print("Instances not destroyed:", cstats.alive()) print("Instances not destroyed:", cstats.alive())
instance = None instance = None
print("Instances not destroyed:", cstats.alive()) print("Instances not destroyed:", cstats.alive())
print(instance.get_bytes_from_string().decode())
print(instance.get_bytes_from_str().decode())
print(instance.get_str_from_string())
print(instance.get_str_from_bytes())
...@@ -135,11 +135,10 @@ __name__(example.ExamplePythonTypes) = ExamplePythonTypes ...@@ -135,11 +135,10 @@ __name__(example.ExamplePythonTypes) = ExamplePythonTypes
__module__(example.ExamplePythonTypes) = example __module__(example.ExamplePythonTypes) = example
__name__(example.ExamplePythonTypes.get_set) = get_set __name__(example.ExamplePythonTypes.get_set) = get_set
__module__(example.ExamplePythonTypes.get_set) = example __module__(example.ExamplePythonTypes.get_set) = example
Instances not destroyed: 1
### ExamplePythonTypes @ 0x1045b80 destroyed
Instances not destroyed: 0
Destructing ExamplePythonTypes
foo foo
bar bar
baz baz
boo boo
Instances not destroyed: 1
### ExamplePythonTypes @ 0x1045b80 destroyed
Instances not destroyed: 0
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment