summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-33336, imaplib: Legalize MOVE command (GH-6569)Matěj Cepl2018-07-232-0/+4
| | | | | 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-25094: Fix test_tools.test_sundry() on Windows (GH-8406)Victor Stinner2018-07-231-4/+14
| | | | | | | | | | When Python is installed on Windows, python -m test test_tools failed because it tried to run Tools\scripts\2to3.py which requires an argument. Skip this script. On other platforms or on Windows but when run from source code (not installed), the script is called "2to3" instead of "2to.py" and so was already skipped. Modify also the unit test to unload all modules which have been loaded by the test.
* AppVeyor: build Python in 64-bit mode (GH-8363)Victor Stinner2018-07-231-3/+3
| | | | Previously, Python was built in 32-bit mode and so issues specific to 64-bit mode like compiler warnings could be missed.
* bpo-21446: Update reload fixer to use importlib (GH-8391)Berker Peksag2018-07-234-10/+12
|
* bpo-940286: Fix pydoc to show cross refs correctly (GH-8390)Berker Peksag2018-07-232-2/+5
|
* bpo-34127: Fix grammar in error message with respect to argument count (GH-8395)Xtreak2018-07-223-4/+22
|
* bpo-34189: Fix checking for bugfix Tcl version. (GH-8397)Serhiy Storchaka2018-07-222-4/+14
|
* bpo-34189: Add simple tests for new Tk widget options. (GH-8396)Serhiy Storchaka2018-07-221-2/+25
|
* Fix versionchanged indentation in popitem documentation (GH-8387)Andrés Delfino2018-07-211-3/+2
|
* bpo-34181: Fix running Lib/test/test_typing.py as a script. (GH-8380)Serhiy Storchaka2018-07-211-2/+2
|
* bpo-34179: Make sure decimal context doesn't affect other tests. (#8376)Bo Bayles2018-07-211-13/+13
|
* bpo-34126: Fix crashes while profiling invalid calls. (GH-8300)jdemeyer2018-07-213-4/+28
|
* bpo-34166: Fix warnings in Tools/msgfmt.py. (GH-8367)Xtreak2018-07-211-3/+5
|
* bpo-34136: Make test_do_not_recreate_annotations more reliable. (GH-8364)Serhiy Storchaka2018-07-211-5/+9
|
* bpo-34170: _PyCoreConfig_Read() leaves Py_IsolatedFlag unchanged (GH-8361)Victor Stinner2018-07-216-41/+44
| | | | | | | | | | * _PyCoreConfig_Read() no longer directly modifies Py_IsolatedFlag and Py_NoSiteFlag global configuration flags. The function now requires two pointers to integer, so these flags can be set later, to avoid side effets in _PyCoreConfig_Read(). * pathconfig_global_init() now leaves Py_IsolatedFlag and Py_NoSiteFlag unchanged. * Fix pathconfig_global_init(): avoid computing the path configuration twice, use _PyCoreConfig_SetPathConfig().
* Fix Windows compiler warning in tokenize.c (GH-8359)Victor Stinner2018-07-211-1/+1
| | | | | | Fix the following warning on Windows: parser\tokenizer.c(1297): warning C4244: 'function': conversion from '__int64' to 'int', possible loss of data.
* bpo-33723: Fix test_time.test_process_time() (GH-8358)Victor Stinner2018-07-211-4/+9
| | | | | | The test failed on my laptop because the busy loop took 15.9 ms whereas the test expects at least 20 ms. Modify test_process_time() as test_thread_time() has been modified recently: only require 15 ms instead of 20 ms.
* bpo-34170: Rework _PyCoreConfig_Read() to avoid side effect (GH-8353)Victor Stinner2018-07-218-146/+358
| | | | | | | | | | | | | | | | | | | | | | | | | Rework _PyCoreConfig_Read() function which *reads* core configuration to not *modify* the path configuration. A new _PyCoreConfig_SetPathConfig() function now recreates the path configuration from the core configuration. This function is now called very late in _Py_InitializeCore(), just before calling initimport(). Changes: * Add _PyCoreConfig.dll_path * Py_SetPath() now fails with a fatal python error on memory allocation failure. * Rename _PyPathConfig_Calculate() to _PyPathConfig_Calculate_impl() * Replace _PyPathConfig_Init() with _PyPathConfig_Calculate(): the function now requires a _PyPathConfig * Add _PyPathConfig_SetGlobal() to set the _Py_path_config global variable. * Add _PyCoreConfig_InitPathConfig(): compute the path configuration * Add _PyCoreConfig_SetPathConfig(): set path configuration from core configuration * Rename wstrlist_append() to _Py_wstrlist_append() * _Py_wstrlist_append() now handles integer overflow.
* bpo-34011: Update code copying DLLs and init.tcl into venvs. (GH-8253)Vinay Sajip2018-07-202-1/+9
|
* Remove extra parentheses in output formatting tutorial (GH-8350)Aaqa Ishtyaq2018-07-201-2/+2
| | | The parentheses were incorrect.
* bpo-34008: Allow to call Py_Main() after Py_Initialize() (GH-8043)Victor Stinner2018-07-205-6/+52
| | | | | 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-34162: idlelib/NEWS.txt entries to 2018-7-20 (GH-8345)Terry Jan Reedy2018-07-201-2/+34
|
* bpo-30237: Output error when ReadConsole is canceled by CancelSynchronousIo. ↵ValeriyaSinevich2018-07-193-2/+11
| | | | (GH-7911)
* bpo-32692: Fix test_threading.test_set_and_clear() (GH-8331)Victor Stinner2018-07-191-2/+3
| | | | | Increase the timeout: give timeout x 4 instead of timeout x 2 to threads to wait until the Event is set, but reduce the sleep from 500 ms to 250 ms. So the test should be more reliable and faster!
* bpo-34130: Fix test_signal.test_warn_on_full_buffer() (GH-8327)Victor Stinner2018-07-181-15/+41
| | | | | | | | | | | | | | | | | On Windows, sometimes test_signal.test_warn_on_full_buffer() fails to fill the socketpair buffer. In that case, the C signal handler succeed to write into the socket, it doesn't log the expected send error, and so the test fail. On Windows, the test now uses a timeout of 50 ms to fill the socketpair buffer to fix this race condition. Other changes: * Begin with large chunk size to fill the buffer to speed up the test. * Add error messages to assertion errors to more easily identify which assertion failed. * Don't set the read end of the socketpair as non-blocking.
* bpo-34130: Fix test_signal.test_socket() (GH-8326)Victor Stinner2018-07-181-1/+0
| | | | | | | | test_signal.test_socket(): On Windows, sometimes even if the C signal handler succeed to write the signal number into the write end of the socketpair, the test fails with a BlockingIOError on the non-blocking read.recv(1) because the read end of the socketpair didn't receive the byte yet. Fix the race condition on Windows by setting the read end as blocking.
* bpo-34141: Optimized pickling simple non-recursive values. (GH-8318)Serhiy Storchaka2018-07-182-20/+17
|
* Clarify ValueError's broad applicability (GH-8313)Raymond Hettinger2018-07-171-1/+1
|
* bpo-34068: _io__IOBase_close_impl could call _PyObject_SetAttrId with an ↵Zackery Spytz2018-07-173-5/+20
| | | | exception set (GH-8282)
* bpo-33967: Fix wrong use of assertRaises (GH-8306)INADA Naoki2018-07-171-1/+1
|
* bpo-34123: Fix missed documentation update for dict.popitem(). (GH-8292)Raymond Hettinger2018-07-171-1/+7
|
* bpo-34124: Fix markup of message_from_binary_file() signature (GH-8297)Jon Ribbens2018-07-161-1/+1
|
* bpo-32430: Rename Modules/Setup.dist to Modules/Setup (GH-8229)Antoine Pitrou2018-07-1611-43/+32
| | | | | bpo-32430: Rename Modules/Setup.dist to Modules/Setup Remove the necessity to copy the former manually to the latter when updating the local source tree.
* bpo-33911: Fixed deprecation warning in xmlrpc.server (GH-7847)Nicolas Noé2018-07-161-19/+3
| | | Replace deprecated inspect.getfullargspec() with inspect.signature().
* bpo-24618: Add a check in the code constructor. (GH-8283)Serhiy Storchaka2018-07-162-3/+17
| | | Check that the size of the varnames tuple is enough at least for all arguments.
* bpo-34121: Fix detection of C11 atomic support on clang. (GH-8288)Benjamin Peterson2018-07-165-13/+24
|
* bpo-34087: Fix buffer overflow in int(s) and similar functions (GH-8274)INADA Naoki2018-07-146-0/+15
| | | | | | `_PyUnicode_TransformDecimalAndSpaceToASCII()` missed trailing NUL char. It caused buffer overflow in `_Py_string_to_number_with_underscores()`. This bug is introduced in 9b6c60cb.
* bpo-34108: Fix double carriage return in 2to3 on Windows (#8271)Jason R. Coombs2018-07-133-1/+3
| | | | | * Add test capturing failure. * Honor newlines as present in the original file.
* bpo-4260: Document that ctypes.xFUNCTYPE are decorators (GH-7924)Andrés Delfino2018-07-131-1/+19
|
* bpo-33723: Fix test_time.test_thread_time() (GH-8267)Victor Stinner2018-07-121-4/+9
| | | | | | The test failed on AMD64 Debian root 3.x buildbot because the busy loop of 100 ms only increased time.thread_time() by 19.9 ms which is smaller than 20 ms. Modify the test to tolerate a delta of at least 15 ms instead of 20 ms.
* bpo-33967: Remove use of deprecated assertRaisesRegexp() (GH-8261)Zackery Spytz2018-07-121-1/+1
| | | It was added in test_functools at 445f1b3.
* bpo-34080: Fix a memory leak in the compiler. (GH-8222)Serhiy Storchaka2018-07-112-1/+3
|
* Enable GUI testing on Travis Linux builds via Xvfb (GH-7887)Zachary Ware2018-07-111-2/+7
|
* bpo-23927: Make getargs.c skipitem() skipping 'w*'. (GH-8192)Serhiy Storchaka2018-07-113-1/+37
|
* bpo-33648: Remove PY_WARN_ON_C_LOCALE (GH-7114)Eitan Adler2018-07-115-47/+3
| | | | This code does not appear to be used anywhere in the python code base. The use was removed in eb81795d7d3a8c898fa89.
* bpo-34092, test_logging: increase SMTPHandlerTest timeout (GH-8245)Victor Stinner2018-07-111-2/+3
| | | | | Change test_logging.SMTPHandlerTest timeout from 8 seconds to 1 minute. The test failed randomly on the slow x86 Gentoo Refleaks 3.7 buildbot.
* Simplify __all__ in multiprocessing (GH-6856)Derek B. Kim2018-07-113-7/+10
|
* bpo-34083: Update dict order in Functional HOWTO (GH-8230)Stig Johan Berggren2018-07-111-11/+12
|
* Doc: Point to Simple statements section instead of PEP (GH-8238)Andrés Delfino2018-07-111-2/+2
|
* bpo-29442: Replace optparse with argparse in setup.py (GH-139)Chih-Hsuan Yen2018-07-112-19/+5
|