### Navigation

- index
- modules |
- next |
- previous |
- Python »
- 3.6.0a0 Documentation »
- What’s New in Python »

# What’s New In Python 3.6

Release: | 3.6.0a0
Date: | August 23, 2015

This article explains the new features in Python 3.6, compared to 3.5.

For full details, see the Misc/NEWS file.

Note

Prerelease users should be aware that this document is currently in draft form. It will be updated substantially as Python 3.6 moves towards release, so it’s worth checking back even after reading earlier versions.

## Summary – Release highlights

- None yet.

## Other Language Changes

- None yet.

## New Modules

- None yet.

## Improved Modules

### operator

- New object `operator.subscript` makes it easier to create complex indexers. For example: `subscript[0:10:2] == slice(0, 10, 2)` (Contributed by Joe Jevnik in issue 24379.)

## Optimizations

- None yet.

## Build and C API Changes

- None yet.

## Deprecated

### New Keywords

`async` and `await` are not recommended to be used as variable, class, function or module names. Introduced by PEP 492 in Python 3.5, they will become proper keywords in Python 3.7.

### Deprecated Python modules, functions and methods

- None yet.

### Deprecated functions and types of the C API

- None yet.

### Deprecated features

- None yet.

## Removed

### API and Feature Removals

- `inspect.getargspec()` was removed (was deprecated since CPython 3.0). `inspect.getfullargspec()` is an almost drop in replacement.
- `inspect.getmoduleinfo()` was removed (was deprecated since CPython 3.3). `inspect.getmodulename()` should be used for obtaining the module name for a given path.

## Porting to Python 3.6

This section lists previously described changes and other bugfixes that may require changes to your code.

### Changes in the Python API

- Reading the `port` attribute of `urllib.parse.urlsplit()` and `urlparse()` results now raises `ValueError` for out-of-range values, rather than returning `None`. See issue 20059.

### Changes in the C API

- None yet.

### Navigation

- index
- modules |
- next |
- previous |
- Python »
- 3.6.0a0 Documentation »
- What’s New in Python »