summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096)Serhiy Storchaka2017-04-1914-48/+108
| | | | | | raised an error. Replace them with using concrete types API that never fails if appropriate.
* bpo-29925: Skip test_uuid1_safe() on OS X Tiger (#971)Victor Stinner2017-04-191-0/+3
|
* Minor grammar fixes (GH-1174)Mariatta2017-04-191-3/+4
|
* Fix minor typos (GH-1173)cocoatomo2017-04-192-2/+2
|
* bpo-29514: Check magic number for bugfix release (#54)Eric Appelt2017-04-171-0/+44
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * bpo-29514: Check magic number for micro release Add a dict importlib.util.EXPECTED_MAGIC_NUMBERS which details the initial and expected pyc magic number for each minor release. This gives a mechanism for users to check if the magic number has changed within a release and for a test to ensure procedure is followed if a change is necessary. Add a test to check the current MAGIC_NUMBER against the expected number for the release if the current release is at candidate or final level. On test failure, describe to the developer the procedure for changing the magic number. * Simplify magic number release test Simplify the magic number release test by removing EXPECTED_MAGIC_NUMBERS table and making the expected magic number self-contained within the test. BPO: 29514 * Improve magic number test execution and message Improve the execution of the magic number test by using skipUnless for alpha and beta releases, and directly inheriting from unittest.TestCase rather than using the machinery for the other tests. Also improve the error message to explain the reason for caution in changing the magic number. BPO: 29514
* fix a refleak in slot_sq_length (#1162)Xiang Zhang2017-04-161-0/+1
|
* bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051)Serhiy Storchaka2017-04-1636-1530/+1530
|
* bpo-10076: Compiled regular expression and match objects now are copyable. ↵Serhiy Storchaka2017-04-165-164/+41
| | | | (#1000)
* bpo-28765: Use concrete types API in _sre.c. (#1009)Serhiy Storchaka2017-04-161-37/+37
|
* bpo-29839: Raise ValueError rather than OverflowError in len() for negative ↵Serhiy Storchaka2017-04-163-6/+24
| | | | values. (#701)
* bpo-29838: Add asserts for checking results of sq_length and mq_length ↵Serhiy Storchaka2017-04-163-11/+29
| | | | | | slots. (#700) Negative result should be returned only when an error is set.
* bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is ↵Xiang Zhang2017-04-153-10/+22
| | | | present (#1130)
* bpo-19225: Remove duplicated description for standard warning categories ↵cocoatomo2017-04-151-12/+9
| | | | (GH-1068)
* bpo-29738: Add Olivier Vielpeau to Misc/ACKS (GH-1146)Mariatta2017-04-151-0/+1
|
* bpo-29738: Fix memory leak in _get_crl_dp (GH-526)Olivier Vielpeau2017-04-151-7/+1
| | | | | | | | | * Remove conditional on free of `dps`, since `dps` is now allocated for all versions of OpenSSL * Remove call to `x509_check_ca` since it was only used to cache the `crldp` field of the certificate CRL_DIST_POINTS_free is available in all supported versions of OpenSSL (recent 0.9.8+) and LibreSSL.
* bpo-30059: Include Py_Ellipsis in C API documentation (#1018)Michael Seifert2017-04-141-0/+11
|
* improve alignment autoconf test (#1129)Benjamin Peterson2017-04-143-22/+36
| | | | Replace the deprecated AC_TRY_RUN with AC_RUN_IFELSE. Also, standardize the variable name and allow for caching of the result.
* Fix misplaced positional argument in OS X support library (#1134)Jack McCracken2017-04-141-1/+1
|
* Relax test timing (bpo-29861) to avoid sporadic failures (#1120)Antoine Pitrou2017-04-141-0/+1
|
* bpo-11913: Add README.rst to the distutils standard READMEs list (#563)Ryan Gonzalez2017-04-144-5/+19
|
* bpo-29869: Add Nevada Sanchez to Misc/ACKS (GH-1125)Mariatta2017-04-141-1/+2
|
* bpo-29694: race condition in pathlib mkdir with flags parents=True (GH-1089)Armin Rigo2017-04-133-2/+36
|
* bpo-29995: re.escape() now escapes only special characters. (#1007)Serhiy Storchaka2017-04-136-51/+40
|
* bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-1119)Nevada Sanchez2017-04-132-8/+30
| | | | | * Allow underscores in numeric literals in lib2to3. * Stricter literal parsing for Python 3.6 in lib2to3.pgen2.tokenize. * Add test case for underscores in literals in Python 3.
* Fix a typo in Doc/library/functions.rst (GH-1117)Joshua Diaddigo2017-04-131-1/+1
| | | Replace `For object's ... ` with `For objects ...`
* bpo-30021: Add examples for re.escape(). (#1048)Serhiy Storchaka2017-04-132-3/+16
| | | | And fix the parameter name.
* bpo-27200: Fix pathlib, ssl, turtle and weakref doctests (GH-616)Marco Buttu2017-04-134-9/+25
|
* Blacklist myself from mention-bot (#1114)Berker Peksag2017-04-131-1/+1
|
* bpo-29791: Clarify that flush is keyword-only argument (#1093)Berker Peksag2017-04-131-1/+1
| | | Reported by Lucio Ricardo Montero Valenzuela.
* bpo-30055: add testcleanup to leave a fresh context (#1094)Marco Buttu2017-04-131-0/+5
|
* convert from long long to PyLong loselessly (#1106)Benjamin Peterson2017-04-131-1/+1
|
* bpo-26985: Add missing info of code object in inspect documentation (GH-1090)Xiang Zhang2017-04-133-191/+220
|
* bpo-30017: Allowed calling the close() method of the zip entry writer object ↵Serhiy Storchaka2017-04-123-0/+49
| | | | | | (#1041) multiple times. Writing to closed zip entry writer object now always produce a ValueError.
* bpo-30047: Fix a typo in Doc/library/select.rst (#1086)NAKAMURA Osamu2017-04-121-1/+1
|
* Remove two legacy constants which hopefully have no consumers (#1087)Alex Gaynor2017-04-121-2/+0
| | | The data contained in them is nonsensical
* Reimplement tempfile._RandomNameSequence using a generator function. (#1075)Serhiy Storchaka2017-04-112-25/+15
|
* bpo-29692: Add missing ACKS entry (#1079)Nick Coghlan2017-04-111-0/+1
|
* bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError ↵svelankar2017-04-113-6/+32
| | | | | | | | | | (GH-949) contextlib._GeneratorContextManager.__exit__ includes a special case to deal with PEP 479 RuntimeErrors created when `StopIteration` is thrown into the context manager body. Previously this check was too permissive, and undid one level of chaining on *all* RuntimeError instances, not just those that wrapped a StopIteration instance.
* Remove superfluous comment in urllib.error. (#1076)Senthil Kumaran2017-04-111-4/+0
|
* Remove OSError related comment in urllib.request. (#1070)Senthil Kumaran2017-04-101-1/+0
|
* bpo-29506: Clarify deep copy note in copy moduleSanyam Khurana2017-04-092-2/+3
| | | | | | The reference to administrative data was confusing to readers, so this simplifies the note to explain that deep copying may copy more then you intended, such as data that you expected to be shared between copies.
* bpo-26187: Test that set_trace_callback() is not called multiple times (GH-461)Aviv Palivoda2017-04-092-0/+24
| | | | | | conn.set_trace_callback() shouldn't be called multiple times when the schema is changing. This has indirectly been fixed by using sqlite3_prepare_v2() in bpo-9303.
* Issue #29798: Handle git worktree in patchcheck (#1058)Nick Coghlan2017-04-091-1/+1
| | | | The original attempted fix missed an `isdir()` call in `get_base_branch()`.
* bpo-29951: Include function name for some error messages in ↵Michael Seifert2017-04-094-33/+54
| | | | | | | `PyArg_ParseTuple*` (#916) Also changed format specifier for function name from "%s" to "%.200s" and exception messages should start with lowercase letter.
* Remove invalid comment in urllib.request. (#1054)Senthil Kumaran2017-04-091-6/+2
|
* Improvements to typing documentation (#967)Jelle Zijlstra2017-04-081-7/+43
| | | | Documents a few omitted classes and adds NamedTuple methods.
* bpo-29998: Pickling and copying ImportError now preserves name and path (#1010)Serhiy Storchaka2017-04-083-0/+71
| | | attributes.
* Expand the PySlice_GetIndicesEx macro. (#1023)Serhiy Storchaka2017-04-0811-45/+47
|
* bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). (#843)Serhiy Storchaka2017-04-084-39/+34
| | | | object.__reduce__() no longer takes arguments, object.__reduce_ex__() now requires one argument.
* Fix a minor typo. (#1032)Barry Warsaw2017-04-071-1/+1
|