summaryrefslogtreecommitdiffstats
path: root/Misc/NEWS.d/next/Library
Commit message (Collapse)AuthorAgeFilesLines
* bpo-36326: Let inspect.getdoc() find docstrings for __slots__ (GH-12498)Raymond Hettinger2019-03-251-0/+2
|
* bpo-36401: Have help() show readonly properties separately (GH-12517)Raymond Hettinger2019-03-251-0/+2
|
* bpo-36298: Raise ModuleNotFoundError in pyclbr when a module can't be found ↵Brett Cannon2019-03-221-0/+2
| | | | | | | | (GH-12358) Before, an `AttributeError` was raised due to trying to access an attribute that exists on specs but having received `None` instead for a non-existent module. https://bugs.python.org/issue36298
* bpo-30670: Add pp function to the pprint module (GH-11769)Rémi Lapeyre2019-03-221-0/+4
|
* bpo-21269: Provide args and kwargs attributes on mock call objects GH11807Kumar Akshay2019-03-221-0/+1
|
* bpo-36268: Change default tar format to pax from GNU. (GH-12355)CAM Gerlach2019-03-211-0/+3
|
* bpo-36285: Fix integer overflow in the array module. (GH-12317)sth2019-03-201-0/+1
|
* bpo-36324: Add inv_cdf() to statistics.NormalDist() (GH-12377)Raymond Hettinger2019-03-191-0/+2
|
* bpo-36320: Switch typing.NamedTuple from OrderedDict to regular dict (GH-12396)Raymond Hettinger2019-03-181-0/+3
| | | | | | Also, deprecate the *_field_types* attributes which duplicated the information in *\__annotations__*. https://bugs.python.org/issue36320
* bpo-36321: Fix misspelled attribute in namedtuple() (GH-12375)Raymond Hettinger2019-03-181-0/+5
|
* bpo-36297: remove "unicode_internal" codec (GH-12342)Inada Naoki2019-03-181-0/+2
|
* bpo-34745: Fix asyncio sslproto memory issues (GH-12386)Fantix King2019-03-171-0/+1
| | | | | | | | | | | | | | * Fix handshake timeout leak in asyncio/sslproto Refs MagicStack/uvloop#222 * Break circular ref _SSLPipe <-> SSLProtocol * bpo-34745: Fix asyncio ssl memory leak * Break circular ref SSLProtocol <-> UserProtocol * Add NEWS entry
* bpo-35493: Use Process.sentinel instead of sleeping for polling worker ↵Pablo Galindo2019-03-161-0/+3
| | | | | | | | | | | | | | | | | | | | status in multiprocessing.Pool (#11488) * bpo-35493: Use Process.sentinel instead of sleeping for polling worker status in multiprocessing.Pool * Use self-pipe pattern to avoid polling for changes * Refactor some variable names and add comments * Restore timeout and poll * Use reader object only on wait() * Recompute worker sentinels every time * Remove timeout and use change notifier * Refactor some methods to be overloaded by the ThreadPool, document the cache class and fix typos
* bpo-35715: Liberate return value of _process_worker (GH-11514)Dave Chevell2019-03-161-0/+1
| | | | ProcessPoolExecutor workers will hold the return value of their last task in memory until the next task is received. Since the return value has already been propagated to the parent process's Future (or has been discarded by this point), the object can be safely released.
* bpo-36235: Fix CFLAGS in distutils customize_compiler() (GH-12236)Victor Stinner2019-03-151-0/+4
| | | | | | | | | Fix CFLAGS in customize_compiler() of distutils.sysconfig: when the CFLAGS environment variable is defined, don't override CFLAGS variable with the OPT variable anymore. Initial patch written by David Malcolm. Co-Authored-By: David Malcolm <dmalcolm@redhat.com>
* bpo-36272: Logging now propagates RecursionError (GH-12312)Rémi Lapeyre2019-03-151-0/+2
|
* bpo-36280: Add Constant.kind field (GH-12295)Guido van Rossum2019-03-131-0/+2
| | | | | | | | | | | | | | The value is a string for string and byte literals, None otherwise. It is 'u' for u"..." literals, 'b' for b"..." literals, '' for "..." literals. The 'r' (raw) prefix is ignored. Does not apply to f-strings. This appears sufficient to make mypy capable of using the stdlib ast module instead of typed_ast (assuming a mypy patch I'm working on). WIP: I need to make the tests pass. @ilevkivskyi @serhiy-storchaka https://bugs.python.org/issue36280
* bpo-31904: Adapt the _signal module to VxWorks RTOS (GH-12304)pxinwr2019-03-131-0/+1
| | | Limited signal fields in VxWorks.
* Fix stepping into a frame without a __name__ (GH-12064)Anthony Sottile2019-03-131-0/+2
|
* canonicalize "Inada Naoki" in ACKS and 3.8 News (GH-12286)Inada Naoki2019-03-121-1/+1
|
* bpo-35931: Gracefully handle any exception in pdb debug command (GH-12103)Daniel Hahler2019-03-121-0/+1
| | | | This is relevant for `debug doesnotexist()`, which would crash with a NameError otherwise.
* bpo-35647: Fix path check in cookiejar (#11436)Xtreak2019-03-101-0/+3
| | | | | | | | | | | | * Refactor cookie path check as per RFC 6265 * Add tests for prefix match of path * Add news entry * Fix set_ok_path and refactor tests * Use slice for last letter
* bpo-36251: Fix format strings used in match_repr() and stdprinter_repr(). ↵sth2019-03-101-0/+2
| | | | (GH-12252)
* bpo-35661: Store the venv prompt in pyvenv.cfg (GH-11440)Cheryl Sabella2019-03-081-0/+1
|
* bpo-35843: Implement __getitem__ for _NamespacePath (GH-11690)Anthony Sottile2019-03-081-0/+1
|
* bpo-36169 : Add overlap() method to statistics.NormalDist (GH-12149)Raymond Hettinger2019-03-071-0/+2
|
* closes bpo-36139: release GIL around munmap(). (GH-12073)Davide Rizzo2019-03-061-0/+1
|
* bpo-35807: Upgrade ensurepip bundled pip and setuptools (GH-12189)Pradyun Gedam2019-03-061-0/+1
| | | | | * Update pip to 19.0.3 * Update setuptools to 40.8.0
* bpo-36179: Fix ref leaks in _hashopenssl (GH-12158)Christian Heimes2019-03-041-0/+2
| | | | | | | | | | Fix two unlikely reference leaks in _hashopenssl. The leaks only occur in out-of-memory cases. Thanks to Charalampos Stratakis. Signed-off-by: Christian Heimes <christian@python.org> https://bugs.python.org/issue36179
* bpo-35198 Fix C++ extension compilation on AIX (GH-10437)Kevin Adler2019-03-041-0/+1
| | | | | | | | | | | | | | For C++ extensions, distutils tries to replace the C compiler with the C++ compiler, but it assumes that C compiler is the first element after any environment variables set. On AIX, linking goes through ld_so_aix, so it is the first element and the compiler is the next element. Thus the replacement is faulty: ld_so_aix gcc ... -> g++ gcc ... Also, it assumed that self.compiler_cxx had only 1 element or that there were the same number of elements as the linker has and in the same order. This might not be the case, so instead concatenate everything together.
* bpo-35899: Fix Enum handling of empty and weird strings (GH-11891)Brennan D Baraban2019-03-031-0/+1
| | | | | | | | | | Co-authored-by: Maxwell <maxwellpxt@gmail.com> Co-authored-by: Stéphane Wirtel <stephane@wirtel.be> https://bugs.python.org/issue35899
* bpo-36091: Remove reference to async generator in Lib/types.py. (GH-11996)Henry Chen2019-03-031-0/+1
|
* bpo-36103: change default buffer size of shutil.copyfileobj() (GH-12115)Inada Naoki2019-03-021-0/+3
| | | | | | | | | | | | | | | | It is changed from 16KiB to 64KiB. The previous default value is used since 1990. coreutils chose 128 KiB as minimum buffer size for block device I/O. But shutil.copyfileobj() can be used for non block devices. So I choose more conservative value. As my quick benchmark, performance difference between 64KiB and 128 KiB is up to ~5%. On the other hand, performance difference between 32 KiB and 64 KiB can be more than 10% when file is fully buffered. This is why 64 KiB is rational value.
* bpo-36043: FileCookieJar supports os.PathLike (GH-11945)Stéphane Wirtel2019-03-011-0/+1
| | | https://bugs.python.org/issue36043
* bpo-35178: Fix warnings._formatwarnmsg() (GH-12033)Xtreak2019-03-011-0/+2
| | | | | Ensure custom formatwarning function can receive line as positional argument. Co-Authored-By: Tashrif Billah <tashrifbillah@gmail.com>
* bpo-35652: shutil.copytree(copy_function=...) erroneously pass DirEntry ↵Giampaolo Rodola2019-02-261-0/+2
| | | | instead of path str (GH-11997)
* bpo-36106: Resolve sinpi name clash with libm (IEEE-754 violation). (GH-12027)Dima Pasechnik2019-02-261-0/+1
| | | | | | | | | The standard math library (libm) may follow IEEE-754 recommendation to include an implementation of sinPi(), i.e. sinPi(x):=sin(pi*x). And this triggers a name clash, found by FreeBSD developer Steve Kargl, who worken on putting sinpi into libm used on FreeBSD (it has to be named "sinpi", not "sinPi", cf. e.g. https://en.cppreference.com/w/c/experimental/fpext4).
* Clean up code which checked presence of os.{stat,lstat,chmod} (#11643)Anthony Sottile2019-02-251-0/+2
|
* Autospec functions should propagate mock calls to parent GH-11273Xtreak2019-02-251-0/+2
|
* v3.8.0a2v3.8.0a2Łukasz Langa2019-02-2517-45/+0
|
* bpo-35512: Resolve string target to patch.dict decorator during function ↵Xtreak2019-02-241-0/+3
| | | | | | | | | | | | | | call GH#12000 * Resolve string target to patch.dict during function call * Add NEWS entry * Remove unneeded call * Restore original value for support.target and refactor assertions * Add extra assertion to verify unpatched dict
* bpo-36018: Add the NormalDist class to the statistics module (GH-11973)Raymond Hettinger2019-02-231-0/+3
|
* bpo-35904: Add statistics.fmean() (GH-11892)Raymond Hettinger2019-02-211-0/+2
|
* bpo-35153: Add headers parameter to xmlrpc.client.ServerProxy (GH-10308)Cédric Krier2019-02-191-0/+3
| | | Allow to add HTTP headers to XML-RPC requests sent to the server.
* bpo-34572: change _pickle unpickling to use import rather than retrieving ↵tjb9002019-02-181-0/+3
| | | | | from sys.modules (GH-9047) Fix C implementation of pickle.loads to use importlib's locking mechanisms, and thereby avoid using partially-loaded modules.
* bpo-34294: re module, fix wrong capturing groups in rare cases. (GH-11546)animalize2019-02-181-0/+4
| | | | | | Need to reset capturing groups between two SRE(match) callings in loops, this fixes wrong capturing groups in rare cases. Also add a missing index in re.rst.
* bpo-35931: Gracefully handle SyntaxError in pdb debug command (GH-11782)Daniel Hahler2019-02-151-0/+1
| | | | | | | | Previously, `debug print(` would cause the interpreter to exit on a SyntaxError whereas `print(` would properly display the error and return to the pdb prompt. This patch fixes this by pre-compiling the code before passing it to `Pdb.run`. https://bugs.python.org/issue35931
* bpo-35500: align expected and actual calls on mock.assert_called_with error ↵Susan Su2019-02-141-0/+1
| | | | message. (GH-11804)
* bpo-18283: Add support for bytes to shutil.which (GH-11818)Cheryl Sabella2019-02-131-0/+1
|
* bpo-35960: Fix dataclasses.field throwing away empty metadata. (GH-11815)Christopher Hunt2019-02-121-0/+2
|