kopia lustrzana https://github.com/micropython/micropython
py/persistentcode: Bump .mpy version number to version 3.
The binary and unary ops have changed bytecode encoding.pull/3351/head
rodzic
36f7952f76
commit
ff93fd4f50
Plik binarny nie jest wyświetlany.
|
@ -39,7 +39,7 @@
|
||||||
#include "py/smallint.h"
|
#include "py/smallint.h"
|
||||||
|
|
||||||
// The current version of .mpy files
|
// The current version of .mpy files
|
||||||
#define MPY_VERSION (2)
|
#define MPY_VERSION (3)
|
||||||
|
|
||||||
// The feature flags byte encodes the compile-time config options that
|
// The feature flags byte encodes the compile-time config options that
|
||||||
// affect the generate bytecode.
|
// affect the generate bytecode.
|
||||||
|
|
|
@ -57,7 +57,7 @@ class FreezeError(Exception):
|
||||||
return 'error while freezing %s: %s' % (self.rawcode.source_file, self.msg)
|
return 'error while freezing %s: %s' % (self.rawcode.source_file, self.msg)
|
||||||
|
|
||||||
class Config:
|
class Config:
|
||||||
MPY_VERSION = 2
|
MPY_VERSION = 3
|
||||||
MICROPY_LONGINT_IMPL_NONE = 0
|
MICROPY_LONGINT_IMPL_NONE = 0
|
||||||
MICROPY_LONGINT_IMPL_LONGLONG = 1
|
MICROPY_LONGINT_IMPL_LONGLONG = 1
|
||||||
MICROPY_LONGINT_IMPL_MPZ = 2
|
MICROPY_LONGINT_IMPL_MPZ = 2
|
||||||
|
|
Ładowanie…
Reference in New Issue