Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size() (#1096) | Serhiy Storchaka | 2017-04-19 | 14 | -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 Stinner | 2017-04-19 | 1 | -0/+3 |
| | |||||
* | Minor grammar fixes (GH-1174) | Mariatta | 2017-04-19 | 1 | -3/+4 |
| | |||||
* | Fix minor typos (GH-1173) | cocoatomo | 2017-04-19 | 2 | -2/+2 |
| | |||||
* | bpo-29514: Check magic number for bugfix release (#54) | Eric Appelt | 2017-04-17 | 1 | -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 Zhang | 2017-04-16 | 1 | -0/+1 |
| | |||||
* | bpo-30022: Get rid of using EnvironmentError and IOError (except test… (#1051) | Serhiy Storchaka | 2017-04-16 | 36 | -1530/+1530 |
| | |||||
* | bpo-10076: Compiled regular expression and match objects now are copyable. ↵ | Serhiy Storchaka | 2017-04-16 | 5 | -164/+41 |
| | | | | (#1000) | ||||
* | bpo-28765: Use concrete types API in _sre.c. (#1009) | Serhiy Storchaka | 2017-04-16 | 1 | -37/+37 |
| | |||||
* | bpo-29839: Raise ValueError rather than OverflowError in len() for negative ↵ | Serhiy Storchaka | 2017-04-16 | 3 | -6/+24 |
| | | | | values. (#701) | ||||
* | bpo-29838: Add asserts for checking results of sq_length and mq_length ↵ | Serhiy Storchaka | 2017-04-16 | 3 | -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 Zhang | 2017-04-15 | 3 | -10/+22 |
| | | | | present (#1130) | ||||
* | bpo-19225: Remove duplicated description for standard warning categories ↵ | cocoatomo | 2017-04-15 | 1 | -12/+9 |
| | | | | (GH-1068) | ||||
* | bpo-29738: Add Olivier Vielpeau to Misc/ACKS (GH-1146) | Mariatta | 2017-04-15 | 1 | -0/+1 |
| | |||||
* | bpo-29738: Fix memory leak in _get_crl_dp (GH-526) | Olivier Vielpeau | 2017-04-15 | 1 | -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 Seifert | 2017-04-14 | 1 | -0/+11 |
| | |||||
* | improve alignment autoconf test (#1129) | Benjamin Peterson | 2017-04-14 | 3 | -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 McCracken | 2017-04-14 | 1 | -1/+1 |
| | |||||
* | Relax test timing (bpo-29861) to avoid sporadic failures (#1120) | Antoine Pitrou | 2017-04-14 | 1 | -0/+1 |
| | |||||
* | bpo-11913: Add README.rst to the distutils standard READMEs list (#563) | Ryan Gonzalez | 2017-04-14 | 4 | -5/+19 |
| | |||||
* | bpo-29869: Add Nevada Sanchez to Misc/ACKS (GH-1125) | Mariatta | 2017-04-14 | 1 | -1/+2 |
| | |||||
* | bpo-29694: race condition in pathlib mkdir with flags parents=True (GH-1089) | Armin Rigo | 2017-04-13 | 3 | -2/+36 |
| | |||||
* | bpo-29995: re.escape() now escapes only special characters. (#1007) | Serhiy Storchaka | 2017-04-13 | 6 | -51/+40 |
| | |||||
* | bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-1119) | Nevada Sanchez | 2017-04-13 | 2 | -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 Diaddigo | 2017-04-13 | 1 | -1/+1 |
| | | | Replace `For object's ... ` with `For objects ...` | ||||
* | bpo-30021: Add examples for re.escape(). (#1048) | Serhiy Storchaka | 2017-04-13 | 2 | -3/+16 |
| | | | | And fix the parameter name. | ||||
* | bpo-27200: Fix pathlib, ssl, turtle and weakref doctests (GH-616) | Marco Buttu | 2017-04-13 | 4 | -9/+25 |
| | |||||
* | Blacklist myself from mention-bot (#1114) | Berker Peksag | 2017-04-13 | 1 | -1/+1 |
| | |||||
* | bpo-29791: Clarify that flush is keyword-only argument (#1093) | Berker Peksag | 2017-04-13 | 1 | -1/+1 |
| | | | Reported by Lucio Ricardo Montero Valenzuela. | ||||
* | bpo-30055: add testcleanup to leave a fresh context (#1094) | Marco Buttu | 2017-04-13 | 1 | -0/+5 |
| | |||||
* | convert from long long to PyLong loselessly (#1106) | Benjamin Peterson | 2017-04-13 | 1 | -1/+1 |
| | |||||
* | bpo-26985: Add missing info of code object in inspect documentation (GH-1090) | Xiang Zhang | 2017-04-13 | 3 | -191/+220 |
| | |||||
* | bpo-30017: Allowed calling the close() method of the zip entry writer object ↵ | Serhiy Storchaka | 2017-04-12 | 3 | -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 Osamu | 2017-04-12 | 1 | -1/+1 |
| | |||||
* | Remove two legacy constants which hopefully have no consumers (#1087) | Alex Gaynor | 2017-04-12 | 1 | -2/+0 |
| | | | The data contained in them is nonsensical | ||||
* | Reimplement tempfile._RandomNameSequence using a generator function. (#1075) | Serhiy Storchaka | 2017-04-11 | 2 | -25/+15 |
| | |||||
* | bpo-29692: Add missing ACKS entry (#1079) | Nick Coghlan | 2017-04-11 | 1 | -0/+1 |
| | |||||
* | bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError ↵ | svelankar | 2017-04-11 | 3 | -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 Kumaran | 2017-04-11 | 1 | -4/+0 |
| | |||||
* | Remove OSError related comment in urllib.request. (#1070) | Senthil Kumaran | 2017-04-10 | 1 | -1/+0 |
| | |||||
* | bpo-29506: Clarify deep copy note in copy module | Sanyam Khurana | 2017-04-09 | 2 | -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 Palivoda | 2017-04-09 | 2 | -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 Coghlan | 2017-04-09 | 1 | -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 Seifert | 2017-04-09 | 4 | -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 Kumaran | 2017-04-09 | 1 | -6/+2 |
| | |||||
* | Improvements to typing documentation (#967) | Jelle Zijlstra | 2017-04-08 | 1 | -7/+43 |
| | | | | Documents a few omitted classes and adds NamedTuple methods. | ||||
* | bpo-29998: Pickling and copying ImportError now preserves name and path (#1010) | Serhiy Storchaka | 2017-04-08 | 3 | -0/+71 |
| | | | attributes. | ||||
* | Expand the PySlice_GetIndicesEx macro. (#1023) | Serhiy Storchaka | 2017-04-08 | 11 | -45/+47 |
| | |||||
* | bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). (#843) | Serhiy Storchaka | 2017-04-08 | 4 | -39/+34 |
| | | | | object.__reduce__() no longer takes arguments, object.__reduce_ex__() now requires one argument. | ||||
* | Fix a minor typo. (#1032) | Barry Warsaw | 2017-04-07 | 1 | -1/+1 |
| |