Skip to content

cpython2: gopy shouldn't display package name in tp_name #119

@sbinet

Description

@sbinet

regular python classes don't display the module name they are in:

class Foo(object): pass

>>> import pkg
>>> f = pkg.Foo()
>>> f.bar
caught error: 'Foo' object has no attribute 'bar'

gopy (and its CPython2 backend) should do the same.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions