Searched refs:NEWOBJ (Results 1 – 7 of 7) sorted by relevance
/external/python/cpython2/Lib/ |
D | pickle.py | 150 NEWOBJ = '\x81' # build object by applying cls.__new__ to argtuple variable 398 write(NEWOBJ) 1091 dispatch[NEWOBJ] = load_newobj
|
/external/python/cpython3/Lib/ |
D | pickle.py | 159 NEWOBJ = b'\x81' # build object by applying cls.__new__ to argtuple variable 689 write(NEWOBJ) 1515 dispatch[NEWOBJ[0]] = load_newobj
|
/external/python/cpython2/Lib/test/ |
D | pickletester.py | 1400 self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s), proto >= 2) 1416 self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s), proto >= 2)
|
/external/python/cpython2/Modules/ |
D | cPickle.c | 76 #define NEWOBJ '\x81' /* build object by applying cls.__new__ to argtuple */ macro 2411 static char newobj = NEWOBJ; in save_reduce() 4870 case NEWOBJ: in load() 5287 case NEWOBJ: in noload()
|
/external/python/cpython3/Lib/test/ |
D | pickletester.py | 2117 self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s), 2137 self.assertEqual(opcode_in_pickle(pickle.NEWOBJ, s), 2157 self.assertFalse(opcode_in_pickle(pickle.NEWOBJ, s))
|
/external/python/cpython3/Modules/ |
D | _pickle.c | 81 NEWOBJ = '\x81', enumerator 3954 const char newobj_op = NEWOBJ; in save_reduce() 6959 OP(NEWOBJ, load_newobj) in load()
|
/external/python/cpython3/Misc/NEWS.d/ |
D | 3.5.0a1.rst | 1177 Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX opcode if
|