设为首页收藏本站

LUPA开源社区

 找回密码
 注册
文章 帖子 博客
LUPA开源社区 首页 业界资讯 软件追踪 查看内容

MicroPython 1.8.5发布,轻量级 Python 3实现

2016-10-23 15:24| 发布者: joejoe0332| 查看: 843| 评论: 0|原作者: oschina|来自: oschina

摘要: MicroPython 1.8.5 发布,该版本主要是加入了对Zephyr Project的支持(Zephyr Project是一个开源的RTOS)。pycore: -asmthumb:flushD-cache,andinvalidateI-cacheonSTM32F7 -makeqstrdefs.py:usepython2.6syntaxfors ...

MicroPython 1.8.5 发布,该版本主要是加入了对Zephyr Project的支持(Zephyr Project是一个开源的RTOS)。

 py core:
    - asmthumb: flush D-cache, and invalidate I-cache on STM32F7
    - makeqstrdefs.py: use python 2.6 syntax for set creation
    - objnone: remove unnecessary handling of MP_UNARY_OP_BOOL
    - move frozen modules rules from esp8266 port for reuse across ports
    - combine 3 comprehension emit functions (list/dict/set) into 1
    - combine 3 comprehension opcodes (list/dict/set) into 1
    - vstr: remove vstr.had_error flag and inline basic vstr functions
    - objnone: use mp_generic_unary_op instead of custom one
    - showbc: make printf's go to the platform print stream
    - remove 'name' member from mp_obj_module_t struct
    - builtinimport: fix nanbox build after change to better handle -m modules
    - stream: remove unnecessary check for NULL return from vstr_extend
    - py.mk: suppress some compiler warnings when building berkeley-db
    - shrink mp_arg_t struct by using reduced-size integer members
    - update opcode format table because 3 opcodes were removed, 1 added
    - parse: only replace constants that are standalone identifiers
    - py.mk: add support for building modussl_mbedtls
    - only store the exception instance on Py stack in bytecode try block
    - vm: use MP_OBJ_FROM_PTR to cast a type to an object
    - modmicropython: add micropython.const, alias for identity function
    - objstr: remove unreachable function used only for terse error msgs
    - emitbc: remove/refactor unreachable code, to improve coverage
    - objfun: remove unnecessary check for viper fun with 5 or more args
    - objfun: use if instead of switch to check return value of VM execute
    - objset: use mp_check_self() to check args of set/frozenset methods
    - objset: ensure that use of frozenset.update raises an exception
    - compile: fix async-for/async-with to work with simpler exc on stack
    - scope: use lookup-table to determine a scope's simple name
    - scope: shrink scope_t struct by 1 machine word
    - scope: factor common code to find locals and close over them
    - compile: fix typo when checking for parse-node kind
    - argcheck: simplify if-chain so that the last one is the default
    - objbool: defer bool's unary op implementation to small int
    - objbool: make a slight simplification of bool constructor
    - modstruct: remove unreachable code, and add comment about CPy diff
    - add mp_raise_OSError(errno) helper function
    - objstringio: add readinto() method
    - modmicropython: add micropython.opt_level([value]) function
    - compile: remove unreachable code
    - mpz: in divmod, replace check for rhs!=0 with assert
    - mpz: use assert to verify mpz does not have a fixed digit buffer
    - factor duplicated function to calculate size of formatted int
    - objint: use size_t for arguments that measure bytes/sizes
    - compile: remove debugging code for compiler dispatch
    - lexer: remove unnecessary code, and unreachable code
    - vstr: combine vstr_new_size with vstr_new since they are rarely used
    - objdict: fix optimisation for allocating result in fromkeys
    - objdict: actually provide the key that failed in KeyError exception
    - use mp_raise_msg helper function where appropriate
    - add the module specified by -m to sys.modules as '__main__'

更多内容请查看官方完整版更新日志

下载地址:


酷毙

雷人

鲜花

鸡蛋

漂亮
  • 快毕业了,没工作经验,
    找份工作好难啊?
    赶紧去人才芯片公司磨练吧!!

最新评论

关于LUPA|人才芯片工程|人才招聘|LUPA认证|LUPA教育|LUPA开源社区 ( 浙B2-20090187 浙公网安备 33010602006705号   

返回顶部