diff options
author | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-09 22:14:38 (GMT) |
---|---|---|
committer | Serhiy Storchaka <storchaka@gmail.com> | 2016-09-09 22:14:38 (GMT) |
commit | 142aee3a8e49375d405d8696f15f538f104ab78d (patch) | |
tree | a1961d66e2a42db428c2b9502e681f480ee1288b /Doc/whatsnew | |
parent | be9a4e5c855188cf146962483e6de942bf154d95 (diff) | |
parent | d8fdffedaa71a260d59ff67400d49be4643b90f0 (diff) | |
download | cpython-142aee3a8e49375d405d8696f15f538f104ab78d.zip cpython-142aee3a8e49375d405d8696f15f538f104ab78d.tar.gz cpython-142aee3a8e49375d405d8696f15f538f104ab78d.tar.bz2 |
Merge heads
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/3.6.rst | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/Doc/whatsnew/3.6.rst b/Doc/whatsnew/3.6.rst index 8a57110..ac50137 100644 --- a/Doc/whatsnew/3.6.rst +++ b/Doc/whatsnew/3.6.rst @@ -101,6 +101,11 @@ Windows improvements: which means that when the 260 character path limit may no longer apply. See :ref:`removing the MAX_PATH limitation <max-path>` for details. +* A ``sys.path`` file can be added to force isolated mode and fully specify + all search paths to avoid registry and environment lookup. + +* A ``python36.zip`` file now works as a landmark to infer :envvar:`PYTHONHOME` + .. PEP-sized items next. .. _pep-4XX: @@ -124,6 +129,29 @@ Windows improvements: New Features ============ +.. _pep-515: + +PEP 515: Underscores in Numeric Literals +======================================== + +Prior to PEP 515, there was no support for writing long numeric +literals with some form of separator to improve readability. For +instance, how big is ``1000000000000000```? With :pep:`515`, though, +you can use underscores to separate digits as desired to make numeric +literals easier to read: ``1_000_000_000_000_000``. Underscores can be +used with other numeric literals beyond integers, e.g. +``0x_FF_FF_FF_FF``. + +Single underscores are allowed between digits and after any base +specifier. More than a single underscore in a row, leading, or +trailing underscores are not allowed. + +.. seealso:: + + :pep:`523` - Underscores in Numeric Literals + PEP written by Georg Brandl & Serhiy Storchaka. + + .. _pep-523: PEP 523: Adding a frame evaluation API to CPython |