@@ -1113,7 +1113,7 @@ func (t *Type) Alloc() *Type {
1113
1113
1114
1114
// Create a new type
1115
1115
func TypeNew (metatype * Type , args Tuple , kwargs StringDict ) Object {
1116
- fmt .Printf ("TypeNew(type=%q, args=%v, kwargs=%v\n " , metatype .Name , args , kwargs )
1116
+ // fmt.Printf("TypeNew(type=%q, args=%v, kwargs=%v\n", metatype.Name, args, kwargs)
1117
1117
var nameObj , basesObj , orig_dictObj Object
1118
1118
var new_type , base , winner * Type
1119
1119
// PyHeapTypeObject et;
@@ -1321,7 +1321,7 @@ func TypeNew(metatype *Type, args Tuple, kwargs StringDict) Object {
1321
1321
1322
1322
// Initialize tp_dict from passed-in dict
1323
1323
new_type .Dict = dict
1324
- fmt .Printf ("New type dict is %v\n " , dict )
1324
+ // fmt.Printf("New type dict is %v\n", dict)
1325
1325
1326
1326
// Set __module__ in the dict
1327
1327
if _ , ok := dict ["__module__" ]; ! ok {
@@ -1530,7 +1530,7 @@ func ObjectInit(self Object, args Tuple, kwargs StringDict) {
1530
1530
// Only do this for non built in types
1531
1531
if _ , ok := self .(* Type ); ok {
1532
1532
init := t .GetAttrOrNil ("__init__" )
1533
- fmt .Printf ("init = %v\n " , init )
1533
+ // fmt.Printf("init = %v\n", init)
1534
1534
if init != nil {
1535
1535
newArgs := make (Tuple , len (args )+ 1 )
1536
1536
newArgs [0 ] = self
0 commit comments