summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next
Commit message (Collapse)AuthorAgeFilesLines
...
* bpo-32394: Remove some TCP options on old version Windows. (GH-5523)animalize2018-02-261-0/+2
|
* bpo-32922: dbm.open() now encodes filename with the filesystem encoding. ↵Serhiy Storchaka2018-02-261-0/+2
| | | | (GH-5832)
* bpo-32929: Dataclasses: Change the tri-state hash parameter to the boolean ↵Eric V. Smith2018-02-261-0/+6
| | | | | unsafe_hash. (#5891) unsafe_hash=False is now the default. It is the same behavior as the old hash=None parameter. unsafe_hash=True will try to add __hash__. If it already exists, TypeError is raised.
* bpo-32622: Native sendfile on windows (#5565)Andrew Svetlov2018-02-251-0/+1
| | | * Support sendfile on Windows Proactor event loop naively.
* bpo-32647: Link ctypes extension with libdl. (#5550)Christian Heimes2018-02-251-0/+2
| | | | | | The ctypes module used to depend on indirect linking for dlopen. The shared extension is now explicitly linked against libdl on platforms with dl. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-31809: test secp ECDH curves (#4036)Christian Heimes2018-02-251-0/+1
| | | Add tests to verify connection with secp384r1 ECDH curves.
* bpo-17232: Clarify docs for -O and -OO command line options (#5839)Cheryl Sabella2018-02-251-0/+1
| | | The 'optimization' is for space in the executable file, not for run time.
* bpo-30622: Improve NPN support detection (#5859)Christian Heimes2018-02-241-0/+1
| | | | | | The ssl module now detects missing NPN support in LibreSSL. Co-Authored-By: Bernard Spil <brnrd@FreeBSD.org> Signed-off-by: Christian Heimes <christian@python.org>
* bpo-24334: Cleanup SSLSocket (#5252)Christian Heimes2018-02-241-0/+4
| | | | | | | | | | | | | * The SSLSocket is no longer implemented on top of SSLObject to avoid an extra level of indirection. * Owner and session are now handled in the internal constructor. * _ssl._SSLSocket now uses the same method names as SSLSocket and SSLObject. * Channel binding type check is now handled in C code. Channel binding is always available. The patch also changes the signature of SSLObject.__init__(). In my opinion it's fine. A SSLObject is not a user-constructable object. SSLContext.wrap_bio() is the only valid factory.
* bpo-31966: Fixed WindowsConsoleIO.write() for writing empty data. (GH-5754)Serhiy Storchaka2018-02-241-0/+1
|
* bpo-32819: Simplify and improve ssl.match_hostname (#5620)Christian Heimes2018-02-241-0/+3
| | | | | | | ssl.match_hostname() has been simplified and no longer depends on re and ipaddress module for wildcard and IP addresses. Error reporting for invalid wildcards has been improved. Signed-off-by: Christian Heimes <christian@python.org>
* bpo-32916: IDLE: Change `str` to `code` in pyparse (GH-5830)Cheryl Sabella2018-02-241-0/+1
| | | Adjust tests and user modules to match.
* [bpo-28414] Make all hostnames in SSL module IDN A-labels (GH-5128)Christian Heimes2018-02-241-0/+1
| | | | | | | | | | | | Previously, the ssl module stored international domain names (IDNs) as U-labels. This is problematic for a number of reasons -- for example, it made it impossible for users to use a different version of IDNA than the one built into Python. After this change, we always convert to A-labels as soon as possible, and use them for all internal processing. In particular, server_hostname attribute is now an A-label, and on the server side there's a new sni_callback that receives the SNI servername as an A-label rather than a U-label.
* bpo-32901: Update Tcl and Tk versions to 8.6.8 (GH-5823)Steve Dower2018-02-231-0/+1
|
* bpo-17611. Move unwinding of stack for "pseudo exceptions" from interpreter ↵Serhiy Storchaka2018-02-221-0/+10
| | | | | | | | | to compiler. (GH-5006) Co-authored-by: Mark Shannon <mark@hotpy.org> Co-authored-by: Antoine Pitrou <antoine@python.org>
* bpo-32457: Improves handling of denormalized executable path when launching ↵Steve Dower2018-02-221-0/+1
| | | | Python (GH-5756)
* bpo-32556: nt._getfinalpathname, nt._getvolumepathname and nt._getdiskusage ↵Steve Dower2018-02-221-0/+2
| | | | now correctly convert from bytes. (GH-5761)
* bpo-32905: IDLE - remove unused code in pyparse module (GH-5807)Terry Jan Reedy2018-02-221-0/+1
| | | dump is similar to print but less flexible. lastopenbracketpos is now always initialized in _study2, as was stmt_bracketing, so the class settings are not needed. get_last_open_bracket_pos is never called.
* closes bpo-32898: Fix debug build crash with COUNT_ALLOCS (GH-5800)Eddie Elizondo2018-02-221-0/+1
|
* bpo-32874: IDLE: add tests for pyparse (GH-5755)Cheryl Sabella2018-02-221-0/+1
| | | | There are no code changes other than comments and docstrings.
* bpo-32889: update valgrind suppressions (GH-5779)Paul Price2018-02-211-0/+2
| | | | | Py_ADDRESS_IN_RANGE was renamed address_in_range in 3.6 (commit 3924f93794fd740c547b44884f73303196475cd5).
* bpo-31848: Fix broken error handling in Aifc_read.initfp() when the SSND ↵Zackery Spytz2018-02-201-0/+2
| | | | | | | chunk is not found (#5240) Initialize self._ssnd_chunk so that aifc.Error is raised as intended, not AttributeError.
* closes bpo-32859: Don't retry dup3() if it is not available at runtime (GH-5708)Alexey Izbyshev2018-02-201-0/+2
| | | | | | | | os.dup2() tests for dup3() system call availability at runtime, but doesn't remember the result across calls, repeating the test on each call with inheritable=False. Since the caller of os.dup2() is expected to hold the GIL, fix this by making the variable holding the test result static.
* bpo-32409: Ensures activate.bat can handle Unicode contents (GH-5757)Steve Dower2018-02-201-0/+1
|
* bpo-31972: Improve docstrings for pathlib classes (#5310)chason2018-02-181-0/+1
|
* Improve error message for "setup.py upload" without dist files (#21060)Éric Araujo2018-02-181-0/+3
|
* bpo-31333: Re-implement ABCMeta in C (#5273)Ivan Levkivskyi2018-02-181-0/+10
| | | | This adds C versions of methods used by ABCMeta that improve performance of various ABC operations.
* bpo-32852: Fix trace changing sys.argv to tuple. (GH-5692)Kyle Altendorf2018-02-171-0/+1
|
* bpo-32436: Add docs for contextvars (#5685)Yury Selivanov2018-02-161-0/+1
|
* bpo-32841: Fix cancellation in awaiting asyncio.Condition (#5665)Bar Harel2018-02-141-0/+2
|
* bpo-31787: Prevent refleaks when calling __init__() more than once (GH-3995)Oren Milman2018-02-131-0/+2
|
* bpo-32370: Use the correct encoding for ipconfig output in the uuid module. ↵Segev Finer2018-02-131-0/+2
| | | | (GH-5608)
* bpo-32837: IDLE - require encoding argument for textview.view_file. (GH-5646)Terry Jan Reedy2018-02-121-0/+2
| | | | | Using the system and place-dependent default encoding for open() is a bad idea for IDLE's system and location-independent files.
* bpo-32826: Add "encoding=utf-8" to open() in idle_test/test_help_about. ↵Terry Jan Reedy2018-02-121-0/+5
| | | | | | | | (GH-5639) GUI test test_file_buttons() only looks at initial ascii-only lines, but failed on systems where open() defaults to 'ascii' because readline() internally reads and decodes far enough ahead to encounter a non-ascii character in CREDITS.txt.
* bpo-32221: makeipaddr(): remove interface part + speedup (GH-5449) (#5449)Коренберг Марк2018-02-121-0/+4
|
* bpo-29248: Fix os.readlink() on Windows (GH-5577)SSE42018-02-121-0/+3
| | | | The PrintNameOffset field of the reparse data buffer was treated as a number of characters instead of bytes.
* bpo-11015: Update test.support documentation (GH-5610)Cheryl Sabella2018-02-111-0/+1
|
* bpo-32792: Preserve mapping order in ChainMap() (GH-5586)Raymond Hettinger2018-02-111-0/+1
|
* bpo-32800: Update link to w3c doc for xml default namespaces (GH-5609)sblondon2018-02-101-0/+1
| | | The new link is given in a red box on the old page.
* bpo-30688: Support \N{name} escapes in re patterns. (GH-5588)Serhiy Storchaka2018-02-091-0/+2
| | | Co-authored-by: Jonathan Eunice <jonathan.eunice@gmail.com>
* bpo-30157: Fix csv.Sniffer.sniff() regex pattern. (GH-5601)Serhiy Storchaka2018-02-091-0/+2
| | | | Co-authored-by: Jake Davis <jcdavis@awedge.net>
* bpo-32775: Fix regular expression warnings in fnmatch. (#5583)Serhiy Storchaka2018-02-091-0/+5
| | | | | | | | | fnmatch.translate() no longer produces patterns which contain set operations. Sets starting with '[' or containing '--', '&&', '~~' or '||' will be interpreted differently in regular expressions in future versions. Currently they emit warnings. fnmatch.translate() now avoids producing patterns containing such sets by accident.
* bpo-32585: Add tkinter.ttk.Spinbox. (#5221)Alan D Moore2018-02-091-0/+1
|
* bpo-32777: Fix _Py_set_inheritable async-safety in subprocess (GH-5560)Alexey Izbyshev2018-02-061-0/+3
| | | | | | | Fix a rare but potential pre-exec child process deadlock in subprocess on POSIX systems when marking file descriptors inheritable on exec in the child process. This bug appears to have been introduced in 3.4 with the inheritable file descriptors support. This also changes Python/fileutils.c `set_inheritable` to use the "slow" two `fcntl` syscall path instead of the "fast" single `ioctl` syscall path when asked to be async signal safe (by way of being asked not to raise exceptions). `ioctl` is not a POSIX async-signal-safe approved function. ref: http://pubs.opengroup.org/onlinepubs/9699919799/functions/V2_chap02.html
* bpo-32749: Make dbm.dumb databases more cosistent with other dbm databases. ↵Serhiy Storchaka2018-02-051-0/+3
| | | | (#5497)
* bpo-8722: Document __getattr__ behavior with AttributeError in property ↵Cheryl Sabella2018-02-051-0/+2
| | | | | | | (GH-4754) When `__getattr__` is implemented, attribute lookup will always fall back to that, even if the initial failure comes from `__getattribute__` or a descriptor's `__get__` method (including property methods).
* bpo-32765: Update configdialog General tab create page docstring (GH-5529)Cheryl Sabella2018-02-041-0/+1
| | | Add new entries to the widget list.
* bpo-10544: Disallow "yield" in comprehensions and generator expressions. ↵Serhiy Storchaka2018-02-041-0/+2
| | | | (GH-4564)
* bpo-32691: Use mod_spec.parent when running modules with pdb (GH-5474)Mario Corchero2018-02-031-0/+1
| | | | Previously the module name was used, which broke relative imports when pdb was run against a plain module or submodule.
* bpo-32734: Fix asyncio.Lock multiple acquire safety issue (GH-5466)Bar Harel2018-02-021-0/+2
|