summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Clean up some confusing text left by PROTOCOL_SSLv23 -> PROTOCOL_TLS ↵Nathaniel J. Smith2017-05-021-3/+3
| | | | transition (#1355)
* bpo-30190: improved error msg for assertAlmostEqual(delta=...) (#1331)Giampaolo Rodola2017-05-013-18/+31
| | | | | | | | | | | | * #30190 / unittest / assertAlmostEqual(delta=...) / error msg: show the difference between the 2 numbers in case of failure * safe_repr() diff * also show difference when passing 'places' argument * refactoring * update Misc/NEWS
* restore *data* parameter of binascii.b2a_base64 to positional-only (#1352)Xiang Zhang2017-05-012-4/+5
|
* bpo-29679: Implement @contextlib.asynccontextmanager (#360)Jelle Zijlstra2017-05-015-6/+343
|
* bpo-30208: DOC: fix small typos in IDLE (#1354)csabella2017-04-291-8/+8
|
* bpo-30158: Fix deprecation warnings in test_importlib introduced by ↵Serhiy Storchaka2017-04-291-13/+16
| | | | bpo-29576. (#1285)
* Check that Python is 64-bit before enabling BLAKE2_USE_SSE. (#1332)Neil Schemenauer2017-04-281-2/+5
|
* bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. ↵Serhiy Storchaka2017-04-284-13/+43
| | | | | | | | | | | | | (#1341) * bpo-30197: Enhance functions swap_attr() and swap_item() in test.support. They now work when delete replaced attribute or item inside the with statement. The old value of the attribute or item (or None if it doesn't exist) now will be assigned to the target of the "as" clause, if there is one. * Update docstrings.
* Improve the grammar in windows.rst (GH-1330)Wieland Hoffmann2017-04-281-3/+3
|
* bpo-30104: Only use -fno-strict-aliasing on dtoa.c (#1340)Victor Stinner2017-04-283-16/+17
| | | | On clang, only compile dtoa.c with -fno-strict-aliasing, use strict aliasing to compile all other C files.
* bpo-30174: Remove duplicate definition from pickletools (#1301)Jelle Zijlstra2017-04-271-29/+0
| | | | There were two almost identical definitions of bytes1.
* bpo-30175: Skip client cert tests of test_imaplib (#1320)Victor Stinner2017-04-272-1/+12
| | | | | | | | | | | | | * bpo-30175: Skip client cert tests of test_imaplib The IMAP server cyrus.andrew.cmu.edu doesn't accept our randomly generated client x509 certificate anymore. * bpo-30188: Catch EOFError in NetworkedNNTPTests test_nntplib fails randomly with EOFError in NetworkedNNTPTests.setUpClass(). Catch EOFError to skip tests in that case.
* bpo-27200: Fix several doctests (GH-604)Marco Buttu2017-04-277-24/+39
|
* Use the correct name for ISO in Unicode HOWTO. (#1312)Jesse Gonzalez2017-04-271-3/+3
|
* bpo-28415: Note 0 conversion different between Python and C (#885)Louie Lu2017-04-272-42/+48
|
* bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1296)Dong-hee Na2017-04-261-7/+0
|
* bpo-30101: Add support for curses.A_ITALIC. (#1015)Eijebong2017-04-264-0/+11
|
* bpo-30131: test_logging now joins queue threads (#1298)Victor Stinner2017-04-261-0/+8
| | | | | | | | QueueListenerTest of test_logging now closes the multiprocessing Queue and joins its thread to prevent leaking dangling threads to following tests. Add also @support.reap_threads to detect earlier if a test leaks threads (and try to "cleanup" these threads).
* timemodule.c: Cast PyUnicode_AsUTF8() to char* (#1294)Victor Stinner2017-04-261-1/+1
| | | | | | | | | | bpo-28769 changed PyUnicode_AsUTF8() return type from const char* to char* in Python 3.7, but tm_zone field type of the tm structure is char* on FreeBSD. Cast PyUnicode_AsUTF8() to char* in gettmarg() to fix the warning: Modules/timemodule.c:443:20: warning: assigning to 'char *' from 'const char *' discards qualifiers
* bpo-29974: Improve typing.TYPE_CHECKING example (GH-982)Mathias Rav2017-04-261-2/+7
| | | | | | | | * Fix PEP 8 (SomeType instead of some_type) * Add a function parameter annotation * Explain, using wording from PEP 484 and PEP 526, why one annotation is in quotes and another is not. Suggested by Ivan Levkevskyi.
* bpo-28698: Fix c_wchar_p doc example (GH-1160)Louie Lu2017-04-261-5/+9
|
* bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-1271)csabella2017-04-263-89/+98
| | | | | | | | | | Builtin container types have two potential link targets in the docs: - their entry in the list of builtin callables - their type documentation This change brings `bytes` and `bytearray` into line with other container types by having cross-references default to linking to their type documentation, rather than their builtin callable entry.
* bpo-30107: Make SuppressCrashReport quiet on macOS (#1279)Victor Stinner2017-04-251-4/+9
| | | | | | | | | On macOS, SuppressCrashReport now redirects /usr/bin/defaults command stderr into a pipe to not pollute stderr. It fixes a test_io.test_daemon_threads_shutdown_stderr_deadlock() failure when the CrashReporter domain doesn't exists. Message logged into stderr: 2017-04-24 16:57:21.432 defaults[41046:2462851] The domain/default pair of (com.apple.CrashReporter, DialogType) does not exist
* bpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926)Jim Fasarakis-Hilliard2017-04-254-7/+7
|
* bpo-28851: Improve namedtuple documentation (GH-1274)csabella2017-04-251-3/+3
| | | Clarify that a sequence of strings is the preferred value for 'field_names'.
* bpo-29617: Remove Python 3.3 support from asyncio (GH-232)INADA Naoki2017-04-2512-223/+65
|
* bpo-30132: distutils test_build_ext() uses temp_cwd() (#1278)Victor Stinner2017-04-251-0/+7
| | | | | test_build_ext() of test_distutils now uses support.temp_cwd() to prevent the creation of a pdb file in the current working directory on Windows.
* tmtotuple(): use time_t for gmtoff (#1276)Victor Stinner2017-04-241-3/+3
| | | | | | | timegm() return type is time_t, not int. Use time_t to prevent the following compiler warning on Windows: timemodule.c: warning C4244: '=': conversion from 'time_t' to 'int', possible loss of data
* bpo-30131: Cleanup threads in test_logging (#1275)Victor Stinner2017-04-241-0/+15
| | | | * Use @support.reap_threads on unit tests creating threads * Call TestCase.fail() on thread.join(timeout) failure
* bpo-29822: Make inspect.isabstract() work during __init_subclass__. (#678)Nate2017-04-243-1/+49
| | | | | | | At the time when an abstract base class' __init_subclass__ runs, ABCMeta.__new__ has not yet finished running, so in the presence of __init_subclass__, inspect.isabstract() can no longer depend only on TPFLAGS_IS_ABSTRACT.
* bpo-30144: Import collections ABC from collections.abc rather than ↵Serhiy Storchaka2017-04-2422-87/+92
| | | | collections. (#1263)
* bpo-29751: add Cheryl Sabella to Misc/ACKS (GH-1268)Mariatta2017-04-241-0/+1
|
* bpo-29751: Improve PyLong_FromString documentation (GH-915)csabella2017-04-241-7/+6
|
* bpo-15718: Document the upper bound constrain on the __len__ return value. ↵Serhiy Storchaka2017-04-231-0/+9
| | | | (#1256)
* Remove outdated note about constraining of the bit shift right operand. (#1258)Serhiy Storchaka2017-04-221-5/+0
| | | The constrain was removed in bpo-29816.
* Fix trailing colon and newline in test.rst (#1250)Louie Lu2017-04-221-1/+2
|
* Remove unneeded Misc/NEWS entry for bpo-29802. (#1251)Serhiy Storchaka2017-04-221-3/+0
| | | The bug was added in still not released version.
* bpo-29960 _random.Random corrupted on exception in setstate(). (#1019)bladebryan2017-04-224-1/+13
|
* bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and ↵Serhiy Storchaka2017-04-214-4/+4
| | | | PySet_GET_SIZE. (#751)
* bpo-30125: disable faulthandler in ctypes test_SEH (#1237)Victor Stinner2017-04-212-4/+24
| | | | | | | | Disable faulthandler to run test_SEH() of test_ctypes to prevent the following log with a traceback: Windows fatal exception: access violation Add support.disable_faulthandler() context manager.
* bpo-30098: Clarify that run_coroutine_threadsafe expects asyncio.Future ↵Charles Renwick2017-04-211-1/+2
| | | | (GH-1170)
* Correct the README link in Unix install docs (#1245)Sebastian Vetter2017-04-211-1/+1
|
* bpo-30125: Fix faulthandler.disable() on Windows (#1240)Victor Stinner2017-04-212-24/+31
| | | | | | | | | | | | * bpo-30125: Cleanup faulthandler.c * Use size_t type for iterators * Add { ... } * bpo-30125: Fix faulthandler.disable() on Windows On Windows, faulthandler.disable() now removes the exception handler installed by faulthandler.enable().
* bpo-30107: don't dump core on expected test_io crash (#1235)Victor Stinner2017-04-211-0/+5
| | | | | | | | | | | | | | test_io has two unit tests which trigger a deadlock: * test_daemon_threads_shutdown_stdout_deadlock() * test_daemon_threads_shutdown_stderr_deadlock() These tests call Py_FatalError() if the expected bug is triggered which calls abort(). Use test.support.SuppressCrashReport to prevent the creation on a core dump, to fix the warning: Warning -- files was modified by test_io Before: [] After: ['python.core']
* bpo-30106: Fix test_asyncore.test_quick_connect() (#1234)Victor Stinner2017-04-211-1/+2
| | | | | | | | | | test_quick_connect() runs a thread up to 50 seconds, whereas the socket is connected in 0.2 second and then the thread is expected to end in less than 3 second. On Linux, the thread ends quickly because select() seems to always return quickly. On FreeBSD, sometimes select() fails with timeout and so the thread runs much longer than expected. Fix the thread timeout to fix a race condition in the test.
* bpo-30104: configure now detects when cc is clang (#1233)Victor Stinner2017-04-212-16/+42
| | | | | Detect when the "cc" compiler (and the $CC variable) is the Clang compiler. The test is needed to add the -fno-strict-aliasing option on FreeBSD where cc is clang.
* bpo-30104: Use -fno-strict-aliasing on clang (#1221)Victor Stinner2017-04-212-12/+32
| | | | | | | | Python/dtoa.c is not compiled correctly with clang 4.0 and optimization level -O2 or higher, because of an aliasing issue on the double/ULong[2] union. LLVM bug report: https://bugs.llvm.org//show_bug.cgi?id=31928
* remove configure test for inline keyword (#1231)Benjamin Peterson2017-04-215-74/+2
| | | We require C99, so a configure test for this standard feature is not needed.
* bpo-29191: Add liblzma.vcxproj to pcbuild.sln and other missing entries (#1222)Segev Finer2017-04-201-0/+34
| | | liblzma is missing from pcbuild.sln. This causes the build of _lzma to fail when building the solution and not using build.bat.
* Add missing .gitignore entries for VS2015 IntelliSense DB (#1223)Segev Finer2017-04-201-0/+2
|