| 445 | |
| 446 | |
| 447 | class InstanceProxy(object): |
| 448 | |
| 449 | def __init__(self, cl_name, attrdict, address): |
| 450 | self.cl_name = cl_name |
| 451 | self.attrdict = attrdict |
| 452 | self.address = address |
| 453 | |
| 454 | def __repr__(self): |
| 455 | if isinstance(self.attrdict, dict): |
| 456 | kwargs = ', '.join(["%s=%r" % (arg, val) |
| 457 | for arg, val in self.attrdict.items()]) |
| 458 | return '<%s(%s) at remote 0x%x>' % (self.cl_name, |
| 459 | kwargs, self.address) |
| 460 | else: |
| 461 | return '<%s at remote 0x%x>' % (self.cl_name, |
| 462 | self.address) |
| 463 | |
| 464 | def _PyObject_VAR_SIZE(typeobj, nitems): |
| 465 | if _PyObject_VAR_SIZE._type_size_t is None: |
no outgoing calls
no test coverage detected
searching dependent graphs…