summaryrefslogtreecommitdiffstats
path: root/Misc
Commit message (Collapse)AuthorAgeFilesLines
* bpo-34151: Improve performance of some list operations (GH-8332)Sergey Fedoseev2018-08-111-0/+2
|
* closes bpo-34377: Update Valgrind suppressions. (GH-8729)Paul Price2018-08-112-11/+14
| | | Valgrind isn't seeing PyObject_Free/PyObject_Realloc, but using _PyObject_Free/_PyObject_Realloc works.
* bpo-9372: Deprecate several __getitem__ methods (GH-8609)Berker Peksag2018-08-111-0/+3
| | | | | | The __getitem__ methods of DOMEventStream, FileInput, and FileWrapper classes ignore their 'index' parameters and return the next item instead.
* bpo-34333: Fix %-formatting in Path.with_suffix() (GH-8663)Berker Peksag2018-08-111-0/+2
|
* bpo-34047: IDLE: fix mousewheel scrolling direction on macOS (GH-8678)Tal Einat2018-08-101-0/+1
|
* closes bpo-34353: Add sockets to stat.filemode fallback python ↵GPery2018-08-101-0/+2
| | | | | | implementation. (GH-8703)
* bpo-34270: Make it possible to name asyncio tasks (GH-8547)Alex Grönholm2018-08-082-0/+10
| | | Co-authored-by: Antti Haapala <antti.haapala@anttipatterns.com>
* bpo-18540: Fix EAI_NONAME in imaplib.IMAP4*() (GH-8634)Berker Peksag2018-08-071-0/+3
|
* bpo-19891: Ignore error while writing history file (GH-8483)Anthony Sottile2018-08-061-0/+2
|
* bpo-33839: refactor IDLE's tooltips & calltips, add docstrings and tests ↵Tal Einat2018-08-051-0/+1
| | | | | | | | (GH-7683) * make CallTip and ToolTip sub-classes of a common abstract base class * remove ListboxToolTip (unused and ugly) * greatly increase test coverage * tested on Windows, Linux and macOS
* bpo-34275: Make IDLE calltips always visible on Mac. (GH-8639)Terry Jan Reedy2018-08-031-0/+2
| | | | | | Some MacOS-tk combinations need .update_idletasks(). The call is both unneeded and innocuous on Linux and Windows. Patch by Kevin Waltzer.
* bpo-34097: Add support for zipping files older than 1980-01-01 (GH-8270)Marcel Plch2018-08-021-0/+3
| | | | | ZipFile can zip files older than 1980-01-01 and newer than 2107-12-31 using a new strict_timestamps parameter at the cost of setting the timestamp to the limit.
* bpo-34120: fix IDLE freezing after closing dialogs (GH-8603)Tal Einat2018-08-021-0/+1
| | | | Added missing .grab_release() calls to all places where we call .grab_set().
* bpo-34113: Fix a crash when using LLTRACE is on (GH-8517)costypetrisor2018-07-311-0/+2
| | | Fix a crash on negative STACKADJ() when Low-Level trace (LLTRACE) is enabled.
* bpo-34263 Cap timeout submitted to epoll/select etc. to one day. (GH-8532)MartinAltmayer2018-07-311-0/+2
|
* bpo-33089: Add math.dist() for computing the Euclidean distance between two ↵Raymond Hettinger2018-07-311-0/+1
| | | | points (GH-8561)
* bpo-33871: Fix os.sendfile(), os.writev(), os.readv(), etc. (GH-7931)Serhiy Storchaka2018-07-312-0/+6
| | | | | | | | | | | | * Fix integer overflow in os.readv(), os.writev(), os.preadv() and os.pwritev() and in os.sendfile() with headers or trailers arguments (on BSD-based OSes and MacOS). * Fix sending the part of the file in os.sendfile() on MacOS. Using the trailers argument could cause sending more bytes from the input file than was specified. Thanks Ned Deily for testing on 32-bit MacOS.
* bpo-33729: Fix issues with arguments parsing in hashlib. (GH-8346)Serhiy Storchaka2018-07-311-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | * help(hashlib) didn't work because of incorrect module name in blake2b and blake2s classes. * Constructors blake2*(), sha3_*(), shake_*() and keccak_*() incorrectly accepted keyword argument "string" for binary data, but documented as accepting the "data" keyword argument. Now this parameter is positional-only. * Keyword-only parameters in blake2b() and blake2s() were not documented as keyword-only. * Default value for some parameters of blake2b() and blake2s() was None, which is not acceptable value. * The length argument for shake_*.digest() was wrapped out to 32 bits. * The argument for shake_128.digest() and shake_128.hexdigest() was not positional-only as intended. * TypeError messages for incorrect arguments in all constructors sha3_*(), shake_*() and keccak_*() incorrectly referred to sha3_224. Also made the following enhancements: * More accurately specified input and result types for strings, bytes and bytes-like objects. * Unified positional parameter names for update() and constructors. * Improved formatting.
* Revert "closes bpo-27494: Fix 2to3 handling of trailing comma after a ↵Serhiy Storchaka2018-07-311-0/+2
| | | | | | | | generator expression (GH-3771)" (#8241) This reverts commit af810b35b494ef1d255d4bf340b92a9dad446995. This is not valid syntax (see bpo-32012).
* bpo-1617161: Make the hash and equality of methods not depending on the ↵Serhiy Storchaka2018-07-311-0/+7
| | | | | | | | | | | value of self. (GH-7848) * The hash of BuiltinMethodType instances no longer depends on the hash of __self__. It depends now on the hash of id(__self__). * The hash and equality of ModuleType and MethodWrapperType instances no longer depend on the hash and equality of __self__. They depend now on the hash and equality of id(__self__). * MethodWrapperType instances no longer support ordering.
* bpo-33833: Fix ProactorSocketTransport AssertionError (#7893)twisteroid ambassador2018-07-301-0/+2
|
* Add docstrings to public methods from context.c (GH-8531)Peter Lamut2018-07-301-0/+1
|
* bpo-34075: Deprecate non-ThreadPoolExecutor in loop.set_default_executor() ↵Elvis Pranskevichus2018-07-301-0/+2
| | | | | | | (GH-8533) Various asyncio internals expect that the default executor is a `ThreadPoolExecutor`, so deprecate passing anything else to `loop.set_default_executor()`.
* bpo-34035: Fix several AttributeError in zipfile seek() methods. (GH-8527)Mickaël Schoentgen2018-07-292-0/+2
|
* bpo-31047: Fix ntpath.abspath for invalid paths (GH-8544)Franz Wöllert2018-07-291-0/+2
|
* bpo-34231: PYTHONBREAKPOINT is not documented on python --help (GH-8475)Stéphane Wirtel2018-07-291-0/+3
|
* bpo-34251: Restore msilib.Win64 to preserve compatibility (GH-8510)Berker Peksag2018-07-281-0/+2
|
* bpo-33089: Multidimensional math.hypot() (GH-8474)Raymond Hettinger2018-07-281-0/+1
|
* bpo-33476: Fix _header_value_parser when address group is missing final ';' ↵Dong-hee Na2018-07-281-0/+2
| | | | (GH-7484)
* bpo-30722: Fix NEWS entries (GH-8501)Berker Peksag2018-07-272-6/+0
|
* bpo-34225: Ensure INCLUDE and LIB directories do not end with a backslash. ↵Steve Dower2018-07-261-0/+1
| | | | (GH-8464)
* bpo-20260: Implement non-bitwise unsigned int converters for Argument ↵Serhiy Storchaka2018-07-261-0/+1
| | | | Clinic. (GH-8434)
* bpo-34197: Make _csv.Dialect attributes booleans. (GH-8440)Serhiy Storchaka2018-07-261-0/+3
| | | | Attributes skipinitialspace, doublequote and strict are now booleans instead of integers 0 or 1.
* bpo-34170: Enhance _PyCoreConfig_Read() (GH-8468)Victor Stinner2018-07-261-0/+2
| | | | | | | | | | | | * Inline cmdline_get_env_flags() into config_read_env_vars(): _PyCoreConfig_Read() now reads much more environment variables like PYTHONVERBOSE. * Allow to override faulthandler and allocator even if dev_mode=1. PYTHONMALLOC is now the priority over PYTHONDEVMODE. * Fix _PyCoreConfig_Copy(): copy also install_signal_handlers, coerce_c_locale and coerce_c_locale_warn * _PyCoreConfig.install_signal_handlers default is now 1: install signals by default * Fix also a compiler warning: don't define _PyPathConfig type twice.
* bpo-32663 Make SMTPUTF8SimTests run (#5314)chason2018-07-251-0/+2
| | | | | | | | | | | Enable and fix SMTPUTF8SimTests in test_smtplib. The tests for SMTPUTF8SimTests in test_smtplib.py were not actually being run because test_smtplib was still using the 'test_main' pattern, and the class was never added to test_main. Additionally, one of the tests needed to be moved to the non-UTF8 server class because it relies on the server not being UTF-8 compatible (and it had a bug in in).
* bpo-34228: Allow PYTHONTRACEMALLOC=0 (GH-8467)Victor Stinner2018-07-251-0/+3
| | | | | PYTHONTRACEMALLOC=0 environment variable and -X tracemalloc=0 command line option are now allowed to disable explicitly tracemalloc at startup.
* bpo-29097: Forego fold detection on windows for low timestamp values (GH-2385)Ammar Askar2018-07-251-0/+3
| | | On Windows, passing a negative value to local results in an OSError because localtime_s on Windows does not support negative timestamps. Unfortunately this means that fold detection for timestamps between 0 and max_fold_seconds will result in this OSError since we subtract max_fold_seconds from the timestamp to detect a fold. However, since we know there haven't been any folds in the interval [0, max_fold_seconds) in any timezone, we can hackily just forego fold detection for this time range on Windows.
* bpo-13041: Use shutil.get_terminal_size() in argparse.HelpFormatter (GH-8459)Berker Peksag2018-07-251-0/+3
|
* bpo-34164: Fix handling of incorrect padding in base64.b32decode(). (GH-8351)Serhiy Storchaka2018-07-241-0/+2
| | | | | Now base64.Error is always raised instead of UnboundLocalError or OverflowError.
* bpo-29209: Remove old-deprecated features in ElementTree. (GH-6769)Serhiy Storchaka2018-07-241-0/+6
| | | | | Also make getchildren() and getiterator() emitting a DeprecationWarning instead of PendingDeprecationWarning.
* bpo-34149: Behavior of the min/max with key=None (GH-8328)Alexander Marshalov2018-07-241-0/+1
| | | Improve consistency with the signature for sorted(), heapq.nsmallest(), heapq.nlargest(), and itertools.groupby().
* bpo-32500: Fix error messages for sequence and mapping C API. (GH-7846)Serhiy Storchaka2018-07-231-0/+4
| | | | | Fix error messages for PySequence_Size(), PySequence_GetItem(), PySequence_SetItem() and PySequence_DelItem() called with a mapping and PyMapping_Size() called with a sequence.
* bpo-33336, imaplib: Legalize MOVE command (GH-6569)Matěj Cepl2018-07-231-0/+3
| | | | | imaplib now allows MOVE command in IMAP4.uid() (RFC 6851: IMAP MOVE Extension) and potentially as a name of supported method of IMAP4 object.
* bpo-21446: Update reload fixer to use importlib (GH-8391)Berker Peksag2018-07-231-0/+2
|
* bpo-940286: Fix pydoc to show cross refs correctly (GH-8390)Berker Peksag2018-07-231-0/+2
|
* bpo-34127: Fix grammar in error message with respect to argument count (GH-8395)Xtreak2018-07-221-0/+2
|
* bpo-34126: Fix crashes while profiling invalid calls. (GH-8300)jdemeyer2018-07-211-0/+2
|
* bpo-34011: Update code copying DLLs and init.tcl into venvs. (GH-8253)Vinay Sajip2018-07-201-0/+4
|
* bpo-34008: Allow to call Py_Main() after Py_Initialize() (GH-8043)Victor Stinner2018-07-201-0/+1
| | | | | Py_Main() can again be called after Py_Initialize(), as in Python 3.6. The new configuration is ignored, except of _PyMainInterpreterConfig.argv which is used to update sys.argv.
* bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. ↵ValeriyaSinevich2018-07-191-0/+2
| | | | (GH-7911)