Python 3.5.4rc1 and 3.4.7rc1 released

Release candidates for two versions of Python programming language released
07 August 2017   769
Python

Is a multi-paradigm programming language with easy-to-use syntax

Great news for Python developers. Two release candidates for versions 3.5.4 and 3.4.7 has been released. Let's see what's inside for each version.

Python 3.5.4rc1

Python 3.5.4 will be the last "bugfixes" release of 3.5. After 3.5.4 final is released, 3.5 will enter "security fixes only" mode, and as such the only improvements made in the 3.5 branch will be security fixes.

Features and changes:

  • improved Python zip application support
  • additional unpacking generalizations
  • "%-formatting" for bytes and bytearray objects
  • a new operator (@) for matrix multiplication
  • os.scandir(), a fast new directory traversal function
  • adding support for automatic retries of interrupted system calls
  • change StopIteration handling inside generators
  • the typing module, a new standard for type annotations
  • math.isclose(), a function for testing approximate equality
  • making the Windows Python launcher aware of virtual environments
  • eliminating .pyo files
  •  a new and improved mechanism for loading extension modules
  • coroutines with async and await syntax

Python 3.4.7rc1

Python 3.4 has now entered "security fixes only" mode, and as such the only improvements between Python 3.4.6 and Python 3.4.7 are security fixes. Also, Python 3.4.7 has only been released in source code form; no more official binary installers will be produced.

Features and changes:

Python 3.4 includes a range of improvements of the 3.x series, including hundreds of small improvements and bug fixes. Among the new major new features and changes in the 3.4 release series are:

  • "pathlib" module providing object-oriented filesystem paths
  • a standardized "enum" module
  • a build enhancement that will help generate introspection information for builtins
  • improved semantics for object finalization
  • adding single-dispatch generic functions to the standard library
  • a new C API for implementing custom memory allocators
  • changing file descriptors to not be inherited by default in subprocesses
  • a new "statistics" module
  • standardizing module metadata for Python's module import system
  • a bundled installer for the pip package manager
  • a new "tracemalloc" module for tracing Python memory allocations
  • a new hash algorithm for Python strings and binary data
  • a new and improved protocol for pickled objects
  • a new "asyncio" module, a new framework for asynchronous I/O

You can learn more about 3.4.7rc1 and 3.5.4rc1.

 

NGINX to Release Unit 1.3 Beta

Developers expanded the ability to run web applications in Python, PHP, Perl, Ruby and Go
16 July 2018   95

In open access, a beta version of the NGINX Unit 1.3 application server was released. Developers continued to expand the ability to run web applications in Python, PHP, Perl, Ruby and Go. The project code is written in C and is distributed under the Apache 2.0 license.

Features

Version 1.3 eliminates the problems with handling errors when installing HTTP connections.

Among other changes:

  • parameter max_body_size to limit the size of the body of the request;
  • new parameters for setting timeouts when setting up an HTTP connection:
         "settings": {
              "http": {
                  "header_read_timeout": 30,
                  "body_read_timeout": 30,
                  "send_timeout": 30,
                  "idle_timeout": 180,
                  "max_body_size": 8388608
              }
          },
  • automatic use of the Bundler where possible in the Ruby module;
  • http.Flusher interface in the module for the Go language;
  • The possibility of using characters in the UTF-8 encoding in the request headers.

The first version of the NGINX 1.1 application server was released in mid-April 2018. Under the control of NGINX Unit, several applications can be executed simultaneously in different programming languages, the startup parameters of which can be changed dynamically without the need to edit the configuration files and restart.