Serhiy Storchaka
cd85d0b90b
bpo-28765: Use concrete types API in _sre.c. ( #1009 )
2017-04-16 09:39:30 +03:00
Serhiy Storchaka
baf9f29811
bpo-29839: Raise ValueError rather than OverflowError in len() for negative values. ( #701 )
2017-04-16 09:37:18 +03:00
Serhiy Storchaka
813f943c59
bpo-29838: Add asserts for checking results of sq_length and mq_length slots. ( #700 )
...
Negative result should be returned only when an error is set.
2017-04-16 09:21:44 +03:00
Xiang Zhang
026435ce49
bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint is present ( #1130 )
2017-04-15 12:47:28 +08:00
cocoatomo
eaeda64c2f
bpo-19225: Remove duplicated description for standard warning categories (GH-1068)
2017-04-15 05:06:02 +03:00
Mariatta
39f5956ffb
bpo-29738: Add Olivier Vielpeau to Misc/ACKS (GH-1146)
2017-04-14 18:33:48 -07:00
Olivier Vielpeau
2849cc34a8
bpo-29738: Fix memory leak in _get_crl_dp (GH-526)
...
* 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.
2017-04-14 18:06:07 -07:00
Michael Seifert
0dc5c3169d
bpo-30059: Include Py_Ellipsis in C API documentation ( #1018 )
2017-04-14 22:18:35 +03:00
Benjamin Peterson
e4f961be09
improve alignment autoconf test ( #1129 )
...
Replace the deprecated AC_TRY_RUN with AC_RUN_IFELSE. Also, standardize the
variable name and allow for caching of the result.
2017-04-14 09:36:45 -07:00
Jack McCracken
ce040f6c1e
Fix misplaced positional argument in OS X support library ( #1134 )
2017-04-14 15:28:55 +03:00
Antoine Pitrou
685cdb9acc
Relax test timing (bpo-29861) to avoid sporadic failures ( #1120 )
2017-04-14 13:10:00 +02:00
Ryan Gonzalez
f9f87f0934
bpo-11913: Add README.rst to the distutils standard READMEs list ( #563 )
2017-04-14 11:00:25 +02:00
Mariatta
947629916a
bpo-29869: Add Nevada Sanchez to Misc/ACKS (GH-1125)
2017-04-13 18:30:42 -07:00
Armin Rigo
22a594a004
bpo-29694: race condition in pathlib mkdir with flags parents=True (GH-1089)
2017-04-13 11:08:15 -07:00
Serhiy Storchaka
5908300e4b
bpo-29995: re.escape() now escapes only special characters. ( #1007 )
2017-04-13 21:06:43 +03:00
Nevada Sanchez
a6e395dffa
bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-1119)
...
* 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.
2017-04-13 10:32:54 -07:00
Joshua Diaddigo
873ef20d00
Fix a typo in Doc/library/functions.rst (GH-1117)
...
Replace `For object's ... ` with `For objects ...`
2017-04-13 10:31:37 -07:00
Serhiy Storchaka
8fc7bc2b76
bpo-30021: Add examples for re.escape(). ( #1048 )
...
And fix the parameter name.
2017-04-13 19:17:36 +03:00
Marco Buttu
7b2491a6aa
bpo-27200: Fix pathlib, ssl, turtle and weakref doctests (GH-616)
2017-04-13 17:17:59 +03:00
Berker Peksag
d1dc65dc82
Blacklist myself from mention-bot ( #1114 )
2017-04-13 17:14:37 +03:00
Berker Peksag
61b9ac9371
bpo-29791: Clarify that flush is keyword-only argument ( #1093 )
...
Reported by Lucio Ricardo Montero Valenzuela.
2017-04-13 15:48:18 +03:00
Marco Buttu
2c0b5c664b
bpo-30055: add testcleanup to leave a fresh context ( #1094 )
2017-04-13 13:30:25 +02:00
Benjamin Peterson
2c134c3125
convert from long long to PyLong loselessly ( #1106 )
2017-04-13 10:44:54 +02:00
Xiang Zhang
a6902e662c
bpo-26985: Add missing info of code object in inspect documentation (GH-1090)
2017-04-13 10:38:28 +08:00
Serhiy Storchaka
4c0d9ea995
bpo-30017: Allowed calling the close() method of the zip entry writer object ( #1041 )
...
multiple times. Writing to closed zip entry writer object now always produce
a ValueError.
2017-04-12 16:03:23 +03:00
NAKAMURA Osamu
3e0f1fc4e0
bpo-30047: Fix a typo in Doc/library/select.rst ( #1086 )
2017-04-12 13:30:40 +03:00
Alex Gaynor
c7cc14a825
Remove two legacy constants which hopefully have no consumers ( #1087 )
...
The data contained in them is nonsensical
2017-04-11 22:41:42 -04:00
Serhiy Storchaka
f50354adaa
Reimplement tempfile._RandomNameSequence using a generator function. ( #1075 )
2017-04-11 22:45:59 +03:00
Nick Coghlan
e8a6bb4f39
bpo-29692: Add missing ACKS entry ( #1079 )
2017-04-11 19:47:39 +10:00
svelankar
00c75e9a45
bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeError (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.
2017-04-11 19:11:13 +10:00
Senthil Kumaran
6fab78e902
Remove superfluous comment in urllib.error. ( #1076 )
2017-04-10 21:08:35 -07:00
Senthil Kumaran
6dfcc81f6b
Remove OSError related comment in urllib.request. ( #1070 )
2017-04-09 19:49:34 -07:00
Sanyam Khurana
19e0494256
bpo-29506: Clarify deep copy note in copy module
...
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.
2017-04-09 20:22:30 +10:00
Aviv Palivoda
0e6cb2ea62
bpo-26187: Test that set_trace_callback() is not called multiple times (GH-461)
...
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.
2017-04-09 12:11:59 +03:00
Nick Coghlan
2abfdf5a81
Issue #29798 : Handle git worktree in patchcheck ( #1058 )
...
The original attempted fix missed an `isdir()` call in
`get_base_branch()`.
2017-04-09 18:33:03 +10:00
Michael Seifert
64c8f705c0
bpo-29951: Include function name for some error messages in `PyArg_ParseTuple*` ( #916 )
...
Also changed format specifier for function name from "%s" to "%.200s"
and exception messages should start with lowercase letter.
2017-04-09 10:47:12 +03:00
Senthil Kumaran
a2a9ddd923
Remove invalid comment in urllib.request. ( #1054 )
2017-04-08 23:27:25 -07:00
Jelle Zijlstra
45d22c256b
Improvements to typing documentation ( #967 )
...
Documents a few omitted classes and adds NamedTuple methods.
2017-04-08 19:09:14 +03:00
Serhiy Storchaka
b785396ab4
bpo-29998: Pickling and copying ImportError now preserves name and path ( #1010 )
...
attributes.
2017-04-08 09:55:07 +03:00
Serhiy Storchaka
b879fe82e7
Expand the PySlice_GetIndicesEx macro. ( #1023 )
2017-04-08 09:53:51 +03:00
Serhiy Storchaka
205e00c5cf
bpo-29914: Fix default implementations of __reduce__ and __reduce_ex__(). ( #843 )
...
object.__reduce__() no longer takes arguments, object.__reduce_ex__() now
requires one argument.
2017-04-08 09:52:59 +03:00
Barry Warsaw
dd9a0a14c8
Fix a minor typo. ( #1032 )
2017-04-07 14:18:14 -04:00
Serhiy Storchaka
150cd1916a
bpo-29958: Minor improvements to zipfile and tarfile CLI. ( #944 )
2017-04-07 18:56:12 +03:00
Senthil Kumaran
fd0cd07a5a
Remove Invalid comment in test_urllib2.py ( #1020 )
2017-04-07 00:19:08 -07:00
Stuart Berg
93b4b47e3a
bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed with a 'trailer', e.g. zip()[x] ( #24 )
2017-04-05 22:19:40 -07:00
Alex Jordan
01fa9ae546
Correct typo in configparser.rst ( #1012 )
2017-04-05 22:21:30 -04:00
Mark Dickinson
a0ce375e10
bpo-29962: add math.remainder ( #950 )
...
* Implement math.remainder.
* Fix markup for arguments; use double spaces after period.
* Mark up function reference in what's new entry.
* Add comment explaining the calculation in the final branch.
* Fix out-of-order entry in whatsnew.
* Add comment explaining why it's good enough to compare m with c, in spite of possible rounding error.
2017-04-05 18:34:27 +01:00
Serhiy Storchaka
a0157b5f11
Miscellaneous minor fixes of Misc/NEWS formatting. ( #1002 )
2017-04-05 12:07:22 +03:00
Serhiy Storchaka
bae6881b42
Update Argument Clinic generated code for bpo-29878. ( #1001 )
2017-04-05 12:00:42 +03:00
Serhiy Storchaka
5affd23e6f
bpo-29762: More use "raise from None". ( #569 )
...
This hides unwanted implementation details from tracebacks.
2017-04-05 09:37:24 +03:00