Home
last modified time | relevance | path

Searched refs:NEWOBJ (Results 1 – 7 of 7) sorted by relevance

/external/python/cpython2/Lib/
Dpickle.py150 NEWOBJ = '\x81' # build object by applying cls.__new__ to argtuple variable
398 write(NEWOBJ)
1091 dispatch[NEWOBJ] = load_newobj
/external/python/cpython3/Lib/
Dpickle.py159 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/
Dpickletester.py1400 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/
DcPickle.c76 #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/
Dpickletester.py2117 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.c81 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/
D3.5.0a1.rst1177 Pickling now uses the NEWOBJ opcode instead of the NEWOBJ_EX opcode if