Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.python.announce > #1821 > unrolled thread

ANN: MicroPython 1.4.5

Started byPaul Sokolovsky <pmiscml@gmail.com>
First post2015-08-20 00:03 +0300
Last post2015-08-20 00:03 +0300
Articles 1 — 1 participant

Back to article view | Back to comp.lang.python.announce


Contents

  ANN: MicroPython 1.4.5 Paul Sokolovsky <pmiscml@gmail.com> - 2015-08-20 00:03 +0300

#1821 — ANN: MicroPython 1.4.5

FromPaul Sokolovsky <pmiscml@gmail.com>
Date2015-08-20 00:03 +0300
SubjectANN: MicroPython 1.4.5
Message-ID<mailman.5.1440138058.13558.python-announce-list@python.org>
Hello,

MicroPython is an implementation of a subset of Python 3.5 which is
optimised for systems with minimal resources, including
microcontrollers and embedded/IoT systems.

https://github.com/micropython/micropython


Changes in this release include:

py core:
- use wrapper to check self argument of builtin methods, to prevent seg
faults
- catch case when relative import happens without active package
- fix running package submodule with -m
- add TimeoutError exception subclassed from OSError
- prevent many extra vstr allocations by preallocating room for null
byte
- modbuiltins: Implement round() to precision
- implement memoryview slice assignment, eg m1[0:3] = m2[2:5]
- viper: allow functions to take up to 4 arguments
- viper: issue an error when compiling functions with more than 4 args
- raise SyntaxError when str hex escape sequence is malformed
- fix handling of parsing empty input so it raises an exception
- viper: compile errors now have traceback with function and filename
- make list += accept all arguments and add test

extmod:
- ubinascii: add a2b_base64 and b2a_base64 functions
- machine: implement physical memory access using /dev/mem (Linux, etc)

lib:
- readline: add emacs control chars for cursor movement (disabled by
default)

tools:
- update upip to 0.5.4: recognize and handle "package not found" error

unix port:
- add O_WRONLY | O_CREAT to open call when opening file for append ("a")
- socket.getaddrinfo: accept family & socktype arguments
- socket.getaddrinfo: port is unsigned value
- modsocket: implement sendto(), recvfrom(), inet_pton()
- set MICROPY_PY_SYS_PLATFORM to "darwin" if compiled on OSX


Detailed changelog:
https://github.com/micropython/micropython/releases/tag/v1.4.5


-- 
Best regards,
 Paul                          mailto:pmiscml@gmail.com

[toc] | [standalone]


Back to top | Article view | comp.lang.python.announce


csiph-web