Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bpo-29941: Add --with-assertions configure flag to enable C assertions. #980

Closed
wants to merge 243 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
243 commits
Select commit Hold shift + click to select a range
18003d7
Add --with-assertions configure flag to enable C assertions; defaults to
Yhg1s Apr 3, 2017
02e1213
bpo-29725: DOC: add text for arraysize in sqlite3.Cursor (#947)
csabella Apr 4, 2017
5de85a1
bpo-29972: Skip tests known to fail on AIX (#979)
vstinner Apr 4, 2017
f78b119
bpo-29649: Improve struct.pack_into() boundary error messages (#424)
andrewnester Apr 4, 2017
257b980
correct parse_qs and parse_qsl test case descriptions. (#968)
orsenthil Apr 5, 2017
43ba886
bpo-29549: Fixes docstring for str.index (#256)
lisroach Apr 5, 2017
5affd23
bpo-29762: More use "raise from None". (#569)
serhiy-storchaka Apr 5, 2017
bae6881
Update Argument Clinic generated code for bpo-29878. (#1001)
serhiy-storchaka Apr 5, 2017
a0157b5
Miscellaneous minor fixes of Misc/NEWS formatting. (#1002)
serhiy-storchaka Apr 5, 2017
a0ce375
bpo-29962: add math.remainder (#950)
mdickinson Apr 5, 2017
01fa9ae
Correct typo in configparser.rst (#1012)
strugee Apr 6, 2017
93b4b47
bpo-28837: Fix lib2to3 handling of map/zip/filter calls when followed…
stuarteberg Apr 6, 2017
fd0cd07
Remove Invalid comment in test_urllib2.py (#1020)
orsenthil Apr 7, 2017
150cd19
bpo-29958: Minor improvements to zipfile and tarfile CLI. (#944)
serhiy-storchaka Apr 7, 2017
dd9a0a1
Fix a minor typo. (#1032)
warsaw Apr 7, 2017
205e00c
bpo-29914: Fix default implementations of __reduce__ and __reduce_ex_…
serhiy-storchaka Apr 8, 2017
b879fe8
Expand the PySlice_GetIndicesEx macro. (#1023)
serhiy-storchaka Apr 8, 2017
b785396
bpo-29998: Pickling and copying ImportError now preserves name and pa…
serhiy-storchaka Apr 8, 2017
45d22c2
Improvements to typing documentation (#967)
JelleZijlstra Apr 8, 2017
a2a9ddd
Remove invalid comment in urllib.request. (#1054)
orsenthil Apr 9, 2017
64c8f70
bpo-29951: Include function name for some error messages in `PyArg_Pa…
MSeifert04 Apr 9, 2017
2abfdf5
Issue #29798: Handle git worktree in patchcheck (#1058)
ncoghlan Apr 9, 2017
0e6cb2e
bpo-26187: Test that set_trace_callback() is not called multiple time…
palaviv Apr 9, 2017
19e0494
bpo-29506: Clarify deep copy note in copy module
CuriousLearner Apr 9, 2017
6dfcc81
Remove OSError related comment in urllib.request. (#1070)
orsenthil Apr 10, 2017
6fab78e
Remove superfluous comment in urllib.error. (#1076)
orsenthil Apr 11, 2017
00c75e9
bpo-29692: contextlib.contextmanager may incorrectly unchain RuntimeE…
soolabettu Apr 11, 2017
e8a6bb4
bpo-29692: Add missing ACKS entry (#1079)
ncoghlan Apr 11, 2017
f50354a
Reimplement tempfile._RandomNameSequence using a generator function. …
serhiy-storchaka Apr 11, 2017
c7cc14a
Remove two legacy constants which hopefully have no consumers (#1087)
alex Apr 12, 2017
3e0f1fc
bpo-30047: Fix a typo in Doc/library/select.rst (#1086)
osamu0329nakamura Apr 12, 2017
4c0d9ea
bpo-30017: Allowed calling the close() method of the zip entry writer…
serhiy-storchaka Apr 12, 2017
a6902e6
bpo-26985: Add missing info of code object in inspect documentation (…
zhangyangyu Apr 13, 2017
2c134c3
convert from long long to PyLong loselessly (#1106)
benjaminp Apr 13, 2017
2c0b5c6
bpo-30055: add testcleanup to leave a fresh context (#1094)
marco-buttu Apr 13, 2017
61b9ac9
bpo-29791: Clarify that flush is keyword-only argument (#1093)
berkerpeksag Apr 13, 2017
d1dc65d
Blacklist myself from mention-bot (#1114)
berkerpeksag Apr 13, 2017
7b2491a
bpo-27200: Fix pathlib, ssl, turtle and weakref doctests (GH-616)
marco-buttu Apr 13, 2017
8fc7bc2
bpo-30021: Add examples for re.escape(). (#1048)
serhiy-storchaka Apr 13, 2017
873ef20
Fix a typo in Doc/library/functions.rst (GH-1117)
joshdiaddigo Apr 13, 2017
a6e395d
bpo-29869: Allow underscores in numeric literals in lib2to3. (GH-1119)
nevsan Apr 13, 2017
5908300
bpo-29995: re.escape() now escapes only special characters. (#1007)
serhiy-storchaka Apr 13, 2017
22a594a
bpo-29694: race condition in pathlib mkdir with flags parents=True (G…
arigo Apr 13, 2017
9476299
bpo-29869: Add Nevada Sanchez to Misc/ACKS (GH-1125)
Mariatta Apr 14, 2017
f9f87f0
bpo-11913: Add README.rst to the distutils standard READMEs list (#563)
kirbyfan64 Apr 14, 2017
685cdb9
Relax test timing (bpo-29861) to avoid sporadic failures (#1120)
pitrou Apr 14, 2017
ce040f6
Fix misplaced positional argument in OS X support library (#1134)
JackMc Apr 14, 2017
e4f961b
improve alignment autoconf test (#1129)
benjaminp Apr 14, 2017
0dc5c31
bpo-30059: Include Py_Ellipsis in C API documentation (#1018)
MSeifert04 Apr 14, 2017
2849cc3
bpo-29738: Fix memory leak in _get_crl_dp (GH-526)
olivielpeau Apr 15, 2017
39f5956
bpo-29738: Add Olivier Vielpeau to Misc/ACKS (GH-1146)
Mariatta Apr 15, 2017
eaeda64
bpo-19225: Remove duplicated description for standard warning categor…
cocoatomo Apr 15, 2017
026435c
bpo-30068: add missing iter(self) in _io._IOBase.readlines when hint …
zhangyangyu Apr 15, 2017
813f943
bpo-29838: Add asserts for checking results of sq_length and mq_lengt…
serhiy-storchaka Apr 16, 2017
baf9f29
bpo-29839: Raise ValueError rather than OverflowError in len() for ne…
serhiy-storchaka Apr 16, 2017
cd85d0b
bpo-28765: Use concrete types API in _sre.c. (#1009)
serhiy-storchaka Apr 16, 2017
fdbd011
bpo-10076: Compiled regular expression and match objects now are copy…
serhiy-storchaka Apr 16, 2017
55fe1ae
bpo-30022: Get rid of using EnvironmentError and IOError (except test…
serhiy-storchaka Apr 16, 2017
8e1ddbd
fix a refleak in slot_sq_length (#1162)
zhangyangyu Apr 16, 2017
d6d344d
bpo-29514: Check magic number for bugfix release (#54)
appeltel Apr 17, 2017
992ae64
Fix minor typos (GH-1173)
cocoatomo Apr 19, 2017
8312fba
Minor grammar fixes (GH-1174)
Mariatta Apr 19, 2017
c209b70
bpo-29925: Skip test_uuid1_safe() on OS X Tiger (#971)
vstinner Apr 19, 2017
bf623ae
bpo-30061: Check if PyObject_Size()/PySequence_Size()/PyMapping_Size(…
serhiy-storchaka Apr 19, 2017
d90045f
bpo-22352: Adjust widths in the output of dis.dis() for large line nu…
serhiy-storchaka Apr 19, 2017
a79f4c2
bpo-30070: Fixed leaks and crashes in errors handling in the parser m…
serhiy-storchaka Apr 19, 2017
66bffd1
bpo-30065: Fixed arguments validation in _posixsubprocess.fork_exec()…
serhiy-storchaka Apr 19, 2017
1e62bf1
bpo-30030: Revert f50354ad (tempfile) (#1187)
vstinner Apr 19, 2017
7b9619a
Fix/optimize test_asyncore.test_quick_connect() (#1188)
vstinner Apr 19, 2017
ec4b172
regrtest: always show before/after of modified env (#1192)
vstinner Apr 19, 2017
d13d547
bpo-29887: test_normalization handles PermissionError (#1196)
vstinner Apr 20, 2017
11470b6
bpo-30106: Fix tearDown() of test_asyncore (#1194)
vstinner Apr 20, 2017
f7e62cf
bpo-30078: Add an example of passing a path to unittest (#1178)
louisom Apr 20, 2017
8526fb7
Remove redundant comma in argparse HOWTO (#1141)
berkerpeksag Apr 20, 2017
6dbdedb
bpo-10379: Add %char examples to locale.format() docs (GH-1145)
berkerpeksag Apr 20, 2017
58f3c9d
bpo-30109: Fix reindent.py (GH-1207)
Mariatta Apr 20, 2017
b4dc6af
bpo-12414: Update code_sizeof() to take in account co_extra memory. (…
corona10 Apr 20, 2017
b85c136
bpo-30108: Restore sys.path in test_site (#1197)
vstinner Apr 20, 2017
d20324a
support.threading_cleanup() log a warning on fail (#1195)
vstinner Apr 20, 2017
8f5cdfa
Only define get_zone() and get_gmtoff() if needed (#1193)
vstinner Apr 20, 2017
40db90c
bpo-29802: Fix reference counting in module-level struct functions (#…
serhiy-storchaka Apr 20, 2017
8e67528
Add missing .gitignore entries for VS2015 IntelliSense DB (#1223)
segevfiner Apr 20, 2017
f60c9e5
bpo-29191: Add liblzma.vcxproj to pcbuild.sln and other missing entri…
segevfiner Apr 20, 2017
791dc83
remove configure test for inline keyword (#1231)
benjaminp Apr 21, 2017
28205b2
bpo-30104: Use -fno-strict-aliasing on clang (#1221)
vstinner Apr 21, 2017
35f3d24
bpo-30104: configure now detects when cc is clang (#1233)
vstinner Apr 21, 2017
a2c877c
bpo-30106: Fix test_asyncore.test_quick_connect() (#1234)
vstinner Apr 21, 2017
2a1aed0
bpo-30107: don't dump core on expected test_io crash (#1235)
vstinner Apr 21, 2017
46c2b81
bpo-30125: Fix faulthandler.disable() on Windows (#1240)
vstinner Apr 21, 2017
d1ae24e
Correct the README link in Unix install docs (#1245)
roadsideseb Apr 21, 2017
ae5b326
bpo-30098: Clarify that run_coroutine_threadsafe expects asyncio.Futu…
crenwick Apr 21, 2017
a36e939
bpo-30125: disable faulthandler in ctypes test_SEH (#1237)
vstinner Apr 21, 2017
1a5856b
bpo-29867: Add asserts in PyTuple_GET_SIZE, PyList_GET_SIZE and PySet…
serhiy-storchaka Apr 21, 2017
9616a82
bpo-29960 _random.Random corrupted on exception in setstate(). (#1019)
bladebryan Apr 22, 2017
7bfd740
Remove unneeded Misc/NEWS entry for bpo-29802. (#1251)
serhiy-storchaka Apr 22, 2017
7fae81e
Fix trailing colon and newline in test.rst (#1250)
louisom Apr 22, 2017
997a4ad
Remove outdated note about constraining of the bit shift right operan…
serhiy-storchaka Apr 22, 2017
85157cd
bpo-15718: Document the upper bound constrain on the __len__ return v…
serhiy-storchaka Apr 23, 2017
26896f2
bpo-29751: Improve PyLong_FromString documentation (GH-915)
csabella Apr 24, 2017
9eb5ca0
bpo-29751: add Cheryl Sabella to Misc/ACKS (GH-1268)
Mariatta Apr 24, 2017
2e576f5
bpo-30144: Import collections ABC from collections.abc rather than co…
serhiy-storchaka Apr 24, 2017
fcfe80e
bpo-29822: Make inspect.isabstract() work during __init_subclass__. (…
Apr 24, 2017
4bcfa3a
bpo-30131: Cleanup threads in test_logging (#1275)
vstinner Apr 24, 2017
0d659e5
tmtotuple(): use time_t for gmtoff (#1276)
vstinner Apr 24, 2017
f6448e5
bpo-30132: distutils test_build_ext() uses temp_cwd() (#1278)
vstinner Apr 25, 2017
3e2ad8e
bpo-29617: Remove Python 3.3 support from asyncio (GH-232)
methane Apr 25, 2017
97bf722
bpo-28851: Improve namedtuple documentation (GH-1274)
csabella Apr 25, 2017
08c1601
bpo:29950: Rename SlotWrapperType to WrapperDescriptorType (GH-926)
DimitrisJim Apr 25, 2017
d819ad9
bpo-30107: Make SuppressCrashReport quiet on macOS (#1279)
vstinner Apr 25, 2017
c6db481
bpo-30052: Link `bytes` & `bytearray` to stdtypes not functions (GH-…
csabella Apr 26, 2017
0d637e2
bpo-28698: Fix c_wchar_p doc example (GH-1160)
louisom Apr 26, 2017
87c07fe
bpo-29974: Improve typing.TYPE_CHECKING example (GH-982)
Mortal Apr 26, 2017
6e67695
timemodule.c: Cast PyUnicode_AsUTF8() to char* (#1294)
vstinner Apr 26, 2017
8ca2f2f
bpo-30131: test_logging now joins queue threads (#1298)
vstinner Apr 26, 2017
ab7886b
bpo-30101: Add support for curses.A_ITALIC. (#1015)
Eijebong Apr 26, 2017
a90b990
bpo-30142: Remove "callable" from the 2to3fixer documentation. (GH-1296)
corona10 Apr 26, 2017
88c38b3
bpo-28415: Note 0 conversion different between Python and C (#885)
louisom Apr 27, 2017
6fde770
Use the correct name for ISO in Unicode HOWTO. (#1312)
jessegonzalez Apr 27, 2017
e65fcde
bpo-27200: Fix several doctests (GH-604)
marco-buttu Apr 27, 2017
5bccca5
bpo-30175: Skip client cert tests of test_imaplib (#1320)
vstinner Apr 27, 2017
5a4e3d8
bpo-30174: Remove duplicate definition from pickletools (#1301)
JelleZijlstra Apr 27, 2017
826f83f
bpo-30104: Only use -fno-strict-aliasing on dtoa.c (#1340)
vstinner Apr 28, 2017
80a3da4
Improve the grammar in windows.rst (GH-1330)
mineo Apr 28, 2017
d1a1def
bpo-30197: Enhance functions swap_attr() and swap_item() in test.supp…
serhiy-storchaka Apr 28, 2017
6c991bd
Check that Python is 64-bit before enabling BLAKE2_USE_SSE. (#1332)
nascheme Apr 28, 2017
3cc8259
bpo-30158: Fix deprecation warnings in test_importlib introduced by b…
serhiy-storchaka Apr 29, 2017
9dc2b38
bpo-30208: DOC: fix small typos in IDLE (#1354)
csabella Apr 29, 2017
2e62469
bpo-29679: Implement @contextlib.asynccontextmanager (#360)
JelleZijlstra May 1, 2017
1374dbb
restore *data* parameter of binascii.b2a_base64 to positional-only (#…
zhangyangyu May 1, 2017
5d7a8d0
bpo-30190: improved error msg for assertAlmostEqual(delta=...) (#1331)
giampaolo May 1, 2017
d4069de
Clean up some confusing text left by PROTOCOL_SSLv23 -> PROTOCOL_TLS …
njsmith May 2, 2017
92fd6c9
bpo-30132: distutils BuildExtTestCase use temp_cwd (#1380)
vstinner May 2, 2017
1dae745
bpo-30199: test_ssl closes all asyncore channels (#1381)
vstinner May 2, 2017
9997073
bpo-30228: FileIO seek() and tell() set seekable (#1384)
vstinner May 2, 2017
b0d8203
Fix typo in selectors.rst (#1383)
funnycrab May 2, 2017
495b502
bpo-30205: Fix getsockname() for unbound AF_UNIX sockets on Linux (#1…
pitrou May 2, 2017
f06e021
bpo-28556: Routine updates to typing (#1366)
ilevkivskyi May 2, 2017
094909a
Remove outdated tests in test_isinstance (GH-1393)
DimitrisJim May 2, 2017
5facdbb
bpo-30232: Support Git worktree in configure.ac (#1391)
vstinner May 2, 2017
9ed34a8
bpo-30232: Regenerate configure (#1396)
vstinner May 2, 2017
0360a9d
Fix tests: getsockname() can return None on OS X on unbound sockets (…
pitrou May 2, 2017
13f1f42
bpo-30103: Allow Uuencode in Python using backtick as zero instead of…
zhangyangyu May 3, 2017
a5c62a8
bpo-23404: make touch becomes make regen-all (#1405)
vstinner May 3, 2017
8856940
bpo-28315: Improve code examples in docs (GH-1372)
ultimatecoder May 3, 2017
7fdd309
Explicitly mention what should (not) be discussed on GitHub (GH-1437)
brettcannon May 3, 2017
feec3dc
Add myself to mention-bot's alwaysNotifyForPaths for ssl/hashlib (#1425)
tiran May 3, 2017
5f161fd
bpo-30184: Add tests for invalid use of PyArg_ParseTupleAndKeywords. …
serhiy-storchaka May 3, 2017
1c4670e
bpo-30225: Fix is_valid_fd() on macOS Tiger (#1443)
vstinner May 3, 2017
7e4db2f
bpo-30166: Import command-line parsing modules only when needed. (#1293)
serhiy-storchaka May 4, 2017
dbaf746
bpo-29956: Improve the math.exp() related documentation. (#1073)
serhiy-storchaka May 4, 2017
3d00568
bpo-30263: regrtest: log system load (#1452)
vstinner May 4, 2017
6dd4d73
bpo-30185: avoid KeyboardInterrupt tracebacks in forkserver (#1319)
pitrou May 4, 2017
b109a1d
bpo-30273: Update sysconfig (#1464)
vstinner May 4, 2017
647c3d3
Make code coverage less strict (GH-1438)
brettcannon May 4, 2017
898ff03
bpo-30215: Make re.compile() locale agnostic. (#1361)
serhiy-storchaka May 5, 2017
76a3e51
bpo-30243: Fixed the possibility of a crash in _json. (#1420)
serhiy-storchaka May 5, 2017
7186cc2
bpo-30277: Replace _sre.getlower() with _sre.ascii_tolower() and _sre…
serhiy-storchaka May 5, 2017
ef9c0e7
bpo-30264: ExpatParser closes the source on error (#1451)
vstinner May 5, 2017
fdaeea6
bpo-30279: Remove unused Python/thread_foobar.h (#1473)
ma8ma May 5, 2017
c07b3a1
bpo-29920: Document cgitb.text() and cgitb.html() functions (GH-849)
masklinn May 5, 2017
a1054c3
bpo-29243: Fix Makefile with respect to --enable-optimizations (#1478)
torsava May 5, 2017
a12df7b
bpo-30218: support path-like objects in shutil.unpack_archive() (GH-1…
JelleZijlstra May 5, 2017
3763ea8
Revert bpo-26293 for zipfile breakage. See also bpo-29094. (#1484)
serhiy-storchaka May 6, 2017
55ace65
Closes bpo-30168: indent methods in Logger Class (#1295)
DimitrisJim May 7, 2017
f34c685
Fix a trivial typo in global section (#1497)
DimitrisJim May 8, 2017
cc3fa20
bpo-29979: Rewrite cgi.parse_multipart to make it consistent with Fie…
PierreQuentel May 8, 2017
fa5abac
bpo-30289: remove Misc/python-config.sh when make distclean (#1498)
zhangyangyu May 9, 2017
9da408d
bpo-29990: Fix range checking in GB18030 decoder (#1495)
zhangyangyu May 9, 2017
74683fc
bpo-30258: regrtest: Fix run_tests_multiprocess() (#1479)
vstinner May 9, 2017
dbdea62
bpo-30273: update distutils.sysconfig for venv's created from Python …
jkloth May 9, 2017
f93234b
bpo-30024: Circular imports involving absolute imports with binding (…
serhiy-storchaka May 9, 2017
6d336a0
bpo-30285: Optimize case-insensitive matching and searching (#1482)
serhiy-storchaka May 9, 2017
291557e
PCbuild/build.bat: pass command line parameters when building PGO (#1…
char101 May 9, 2017
211a392
bpo-30320: test_eintr now uses pthread_sigmask() (#1523)
vstinner May 10, 2017
305ccbe
bpo-30298: Weaken the condition of deprecation warnings for inline mo…
serhiy-storchaka May 10, 2017
2ddf5a1
bpo-30281: Fix the default value for stop in PySlice_Unpack() (#1480)
zhangyangyu May 10, 2017
f6eae5b
bpo-28787: Fix out of tree --with-dtrace builds (#135)
stratakis May 10, 2017
c475095
#30190: fix invalid escape sequence warnings (#1534)
giampaolo May 10, 2017
991adca
bpo-30048: asyncio: fix Task.cancel() was ignored. (GH-1097)
methane May 11, 2017
f111fd2
bpo-30308: Code coverage for argument in random.shuffle (#1504)
csabella May 11, 2017
31b3901
Comment as to why docs are built against Python 3.6 (#1550)
brettcannon May 11, 2017
82a6384
Indented Handler sections for improved clarity. (#1554)
vsajip May 12, 2017
870f6a1
bpo-30291 Changes to launcher so as to allow py -3-32, -2.7-64, 3.10,…
GadgetSteve May 12, 2017
8619c54
PCbuild/build.bat: Add note about using msbuild response file. (#1551)
char101 May 12, 2017
a66f9c6
bpo-30341: Improve _PyTrash_thread_destroy_chain() a little bit (#1545)
zhangyangyu May 13, 2017
7e19dbc
bpo-28974: `object.__format__(x, '')` is now equivalent to `str(x)` (…
serhiy-storchaka May 13, 2017
c711680
bpo-30178: Indent methods and attributes of MimeType class (GH-1306)
DimitrisJim May 13, 2017
600c5ad
bpo-30178: Add Jim Fasarakis-Hilliard to Misc/ACKS (GH-1572)
Mariatta May 13, 2017
cbddf58
Move Codecov's configuration file under .github (GH-1494)
morrme May 13, 2017
821a9d1
bpo-30340: Enhanced regular expressions optimization. (#1542)
serhiy-storchaka May 14, 2017
4ab6abf
bpo-30299: Display a bytecode when compile a regex in debug mode. (#1…
serhiy-storchaka May 14, 2017
9977629
bpo-30358: Document sort argument of profile.runctx() (GH-1566)
csabella May 14, 2017
d48214f
bpo-29763: Clean up _pth tests (GH-954)
zware May 14, 2017
12b1c18
bpo-30354: Update data model documentation for super() (GH-1561)
csabella May 15, 2017
96f5028
bpo-30224: remove outdated checks in struct (#1374)
zhangyangyu May 15, 2017
7c278a5
bpo-30110: fix resource leak in test_asyncio.test_events (#1413)
zhangyangyu May 15, 2017
981096f
bpo-30242: resolve some undefined behaviours in struct (#1418)
zhangyangyu May 15, 2017
89a1c93
bpo-9850: Deprecate the macpath module (#1540)
vstinner May 15, 2017
d812eb7
bpo-9850: Document macpath deprecation in Misc/NEWS (#1590)
vstinner May 15, 2017
edef358
bpo-29196: Removed old-deprecated classes Plist, Dict and _InternalDi…
serhiy-storchaka May 15, 2017
83a2c28
bpo-30329: Catch Windows error 10022 on shutdown() (#1538)
vstinner May 15, 2017
79ef7f8
bpo-30357: test_thread now uses threading_cleanup() (#1592)
vstinner May 15, 2017
7d6320b
bpo-30339: test_multiprocessing_main_handling timeout (#1593)
vstinner May 15, 2017
f6e863d
bpo-29651 - Cover edge case of square brackets in urllib docs (#1128)
howinator May 16, 2017
1bd7d29
Remove unused variable in test_urllibnet. (#1598)
orsenthil May 16, 2017
87fa8a7
bpo-29898: Fix incorrect env variable name (GH-1576)
berkerpeksag May 16, 2017
c7ac728
bpo-30375: Correct the stacklevel of regex compiling warnings. (#1595)
serhiy-storchaka May 16, 2017
af34e0a
Fix ModuleNotFoundError typo in import reference (#1606)
miedzinski May 16, 2017
d97b7dc
bpo-30380: Fix Sphinx 1.6.1 warnings. (#1613)
serhiy-storchaka May 16, 2017
fca224f
bpo-30380: Pin the version of Sphinx used to build the documentation …
Mariatta May 16, 2017
4ae0149
bpo-30038: fix race condition in signal delivery + wakeup fd (#1082)
njsmith May 16, 2017
0774e79
bpo-30211: bdb: add docstrings (#1350)
csabella May 16, 2017
6f75bc0
bpo-30301: Fix AttributeError when using SimpleQueue.empty() (#1601)
zhangyangyu May 17, 2017
f8d05b3
bpo-30387: Fix warning in test_threading (#1634)
vstinner May 17, 2017
378d706
bpo-30149: Fix partialmethod without explicit self parameter (#1308)
corona10 May 17, 2017
78e25ab
Adds lib.pyproj file to solution (#1633)
zooba May 17, 2017
4486a09
Fixes encodings in vcxproj files and adds script to automatically do …
zooba May 17, 2017
ab4413a
bpo-30039: Don't run signal handlers while resuming a yield from stac…
njsmith May 17, 2017
ba365da
bpo-30303: IDLE: Add _utest argument to textview (#1499)
louisom May 17, 2017
295304d
IDLE test_textview: add comments and test, increase coverage to 100% …
terryjreedy May 18, 2017
906f533
bpo-29976: urllib.parse clarify '' in scheme values. (GH-984)
orsenthil May 18, 2017
3972628
bpo-30296 Remove unnecessary tuples, lists, sets, and dicts (#1489)
jdufresne May 18, 2017
fcdd9b6
bpo-27103: regrtest disables -W if -R is used (#1651)
vstinner May 18, 2017
c7b3f0f
Remove trailing semicolon in datetime doc example (GH-1653)
delirious-lettuce May 19, 2017
a632d00
Remove duplicate line in Lib/http/client.py (#1665)
remitamine May 19, 2017
3378b20
Fix typos in multiple `.rst` files (#1668)
delirious-lettuce May 19, 2017
d896985
bpo-25794: Fix `type.__setattr__()` for non-interned attribute names.…
serhiy-storchaka May 20, 2017
763557e
bpo-17188: DOC: Document 'from None' in raise statement (#1671)
csabella May 20, 2017
753bca3
bpo-27945: Fixed various segfaults with dict. (#1657)
serhiy-storchaka May 20, 2017
62c7d90
#30014: refactor poll-related classes (#1035)
giampaolo May 20, 2017
8175547
bpo-30415: Add new tests for the fnmatch module. (#1684)
serhiy-storchaka May 21, 2017
054e091
bpo-30290: IDLE: Add more tests for help_about dialog (#1697)
mlouielu May 21, 2017
50e8603
bpo-29619: Do not use HAVE_LARGEFILE_SUPPORT for type conversions (GH…
xdegaye May 22, 2017
15033d1
Corrected grammar mistake in documentation (#1713)
shobute May 22, 2017
89a5e03
bpo-30003: Fix handling escape characters in HZ codec (#1556)
zhangyangyu May 22, 2017
128641d
Fix spelling mistakes in tkinter.py (#1716)
bravegnu May 22, 2017
43c8a9e
bpo-30372: Clarify that '__builtins__' is a CPython Implementation de…
nceder May 22, 2017
7bac69d
Remove .bzrignore (GH-1661)
matrixise May 22, 2017
a5bbccd
Add NEWS entry.
Yhg1s May 22, 2017
5f665dc
Add --with-assertions configure flag to enable C assertions; defaults to
Yhg1s Apr 3, 2017
c598acd
Add NEWS entry.
Yhg1s May 22, 2017
ce8372b
Merge branch 'with-asserts' of github.com:Yhg1s/cpython into with-ass…
Yhg1s May 22, 2017
a3d8bd4
Address reviewer comments wrt. wording.
Yhg1s May 22, 2017
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
42 changes: 0 additions & 42 deletions .bzrignore

This file was deleted.

3 changes: 3 additions & 0 deletions .github/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,9 @@ also suggestions on how you can most effectively help the project.
Please be aware that our workflow does deviate slightly from the typical GitHub
project. Details on how to properly submit a pull request are covered in
`Lifecycle of a Pull Request <https://cpython-devguide.readthedocs.io/pullrequest.html>`_.
One key point is to keep comments on GitHub to only those related to the reviewing
the code in the pull request. All other discussions -- e.g. about the issue being
fixed -- should happen on bugs.python.org.

If you are making a code contribution or large documentation contribution,
please feel free to add yourself to the ``Misc/ACKS`` file alphabetically.
Expand Down
10 changes: 2 additions & 8 deletions .codecov.yml → .github/codecov.yml
Original file line number Diff line number Diff line change
Expand Up @@ -12,18 +12,12 @@ ignore:
- "Grammar/*"
coverage:
precision: 2
range:
- 70.0
- 100.0
range: 70...90
round: down
status:
changes: off
project: off
patch:
default:
target: 100%
only_pulls: true
threshold: 0.05
patch: off
parsers:
gcov:
branch_detection:
Expand Down
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,8 @@ PCbuild/*.suo
PCbuild/*.*sdf
PCbuild/*-pgi
PCbuild/*-pgo
PCbuild/*.VC.db
PCbuild/*.VC.opendb
PCbuild/.vs/
PCbuild/amd64/
PCbuild/obj/
Expand Down
17 changes: 0 additions & 17 deletions .hgtouch

This file was deleted.

11 changes: 10 additions & 1 deletion .mention-bot
Original file line number Diff line number Diff line change
Expand Up @@ -7,5 +7,14 @@
"Doc/whatsnew/*.rst"
],
"userBlacklist": ["gvanrossum", "skrah", "haypo"],
"userBlacklistForPR": ["benjaminp", "skrah"]
"userBlacklistForPR": ["benjaminp", "skrah", "berkerpeksag"],
"alwaysNotifyForPaths": [
{"name": "tiran",
"files": [
"Doc/library/hashlib.rst", "Doc/library/ssl.rst", "Lib/hashlib.py",
"Lib/ssl.py", "Lib/test/test_hashlib.py", "Lib/test/test_ssl.py",
"Modules/_hashopenssl.c", "Modules/_ssl*", "Modules/hashlib.h",
"Python/pyhash.c", "Include/pyhash.h"]
}
]
}
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,14 +32,17 @@ matrix:
include:
- os: linux
language: python
# Build the docs against a stable version of Python so code bugs don't hold up doc-related PRs.
python: 3.6
env:
- TESTING=docs
before_script:
- cd Doc
- make venv
# Sphinx is pinned so that new versions that introduce new warnings won't suddenly cause build failures.
# (Updating the version is fine as long as no warnings are raised by doing so.)
- python -m pip install sphinx~=1.6.1
script:
- make check suspicious html PYTHON="./venv/bin/python" SPHINXBUILD="./venv/bin/python -m sphinx" SPHINXOPTS="-q -W"
- make check suspicious html SPHINXOPTS="-q -W"
- os: linux
language: c
compiler: gcc
Expand Down
35 changes: 19 additions & 16 deletions Doc/c-api/bytes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -72,29 +72,29 @@ called with a non-bytes parameter.
| :attr:`%c` | int | A single byte, |
| | | represented as a C int. |
+-------------------+---------------+--------------------------------+
| :attr:`%d` | int | Exactly equivalent to |
| | | ``printf("%d")``. |
| :attr:`%d` | int | Equivalent to |
| | | ``printf("%d")``. [1]_ |
+-------------------+---------------+--------------------------------+
| :attr:`%u` | unsigned int | Exactly equivalent to |
| | | ``printf("%u")``. |
| :attr:`%u` | unsigned int | Equivalent to |
| | | ``printf("%u")``. [1]_ |
+-------------------+---------------+--------------------------------+
| :attr:`%ld` | long | Exactly equivalent to |
| | | ``printf("%ld")``. |
| :attr:`%ld` | long | Equivalent to |
| | | ``printf("%ld")``. [1]_ |
+-------------------+---------------+--------------------------------+
| :attr:`%lu` | unsigned long | Exactly equivalent to |
| | | ``printf("%lu")``. |
| :attr:`%lu` | unsigned long | Equivalent to |
| | | ``printf("%lu")``. [1]_ |
+-------------------+---------------+--------------------------------+
| :attr:`%zd` | Py_ssize_t | Exactly equivalent to |
| | | ``printf("%zd")``. |
| :attr:`%zd` | Py_ssize_t | Equivalent to |
| | | ``printf("%zd")``. [1]_ |
+-------------------+---------------+--------------------------------+
| :attr:`%zu` | size_t | Exactly equivalent to |
| | | ``printf("%zu")``. |
| :attr:`%zu` | size_t | Equivalent to |
| | | ``printf("%zu")``. [1]_ |
+-------------------+---------------+--------------------------------+
| :attr:`%i` | int | Exactly equivalent to |
| | | ``printf("%i")``. |
| :attr:`%i` | int | Equivalent to |
| | | ``printf("%i")``. [1]_ |
+-------------------+---------------+--------------------------------+
| :attr:`%x` | int | Exactly equivalent to |
| | | ``printf("%x")``. |
| :attr:`%x` | int | Equivalent to |
| | | ``printf("%x")``. [1]_ |
+-------------------+---------------+--------------------------------+
| :attr:`%s` | const char\* | A null-terminated C character |
| | | array. |
Expand All @@ -111,6 +111,9 @@ called with a non-bytes parameter.
An unrecognized format character causes all the rest of the format string to be
copied as-is to the result object, and any extra arguments discarded.

.. [1] For integer specifiers (d, u, ld, lu, zd, zu, i, x): the 0-conversion
flag has effect even when a precision is given.


.. c:function:: PyObject* PyBytes_FromFormatV(const char *format, va_list vargs)

Expand Down
25 changes: 11 additions & 14 deletions Doc/c-api/exceptions.rst
Original file line number Diff line number Diff line change
Expand Up @@ -291,16 +291,11 @@ an error value).
is the function calling :c:func:`PyErr_WarnEx`, 2 is the function above that,
and so forth.

Warning categories must be subclasses of :c:data:`Warning`; the default warning
category is :c:data:`RuntimeWarning`. The standard Python warning categories are
available as global variables whose names are ``PyExc_`` followed by the Python
exception name. These have the type :c:type:`PyObject\*`; they are all class
objects. Their names are :c:data:`PyExc_Warning`, :c:data:`PyExc_UserWarning`,
:c:data:`PyExc_UnicodeWarning`, :c:data:`PyExc_DeprecationWarning`,
:c:data:`PyExc_SyntaxWarning`, :c:data:`PyExc_RuntimeWarning`, and
:c:data:`PyExc_FutureWarning`. :c:data:`PyExc_Warning` is a subclass of
:c:data:`PyExc_Exception`; the other warning categories are subclasses of
:c:data:`PyExc_Warning`.
Warning categories must be subclasses of :c:data:`PyExc_Warning`;
:c:data:`PyExc_Warning` is a subclass of :c:data:`PyExc_Exception`;
the default warning category is :c:data:`PyExc_RuntimeWarning`. The standard
Python warning categories are available as global variables whose names are
enumerated at :ref:`standardwarningcategories`.

For information about warning control, see the documentation for the
:mod:`warnings` module and the :option:`-W` option in the command line
Expand Down Expand Up @@ -963,8 +958,10 @@ Notes:
Only defined on Windows; protect code that uses this by testing that the
preprocessor macro ``MS_WINDOWS`` is defined.

Standard Warnings
=================
.. _standardwarningcategories:

Standard Warning Categories
===========================

All standard Python warning categories are available as global variables whose
names are ``PyExc_`` followed by the Python exception name. These have the type
Expand All @@ -974,7 +971,7 @@ the variables:
.. index::
single: PyExc_Warning
single: PyExc_BytesWarning
single: PyExc_DepricationWarning
single: PyExc_DeprecationWarning
single: PyExc_FutureWarning
single: PyExc_ImportWarning
single: PyExc_PendingDeprecationWarning
Expand All @@ -997,7 +994,7 @@ the variables:
+------------------------------------------+---------------------------------+----------+
| :c:data:`PyExc_ImportWarning` | :exc:`ImportWarning` | |
+------------------------------------------+---------------------------------+----------+
| :c:data:`PyExc_PendingDepricationWarning`| :exc:`PendingDeprecationWarning`| |
| :c:data:`PyExc_PendingDeprecationWarning`| :exc:`PendingDeprecationWarning`| |
+------------------------------------------+---------------------------------+----------+
| :c:data:`PyExc_ResourceWarning` | :exc:`ResourceWarning` | |
+------------------------------------------+---------------------------------+----------+
Expand Down
13 changes: 6 additions & 7 deletions Doc/c-api/long.rst
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,12 @@ All integers are implemented as "long" integer objects of arbitrary size.
Return a new :c:type:`PyLongObject` based on the string value in *str*, which
is interpreted according to the radix in *base*. If *pend* is non-*NULL*,
*\*pend* will point to the first character in *str* which follows the
representation of the number. If *base* is ``0``, the radix will be
determined based on the leading characters of *str*: if *str* starts with
``'0x'`` or ``'0X'``, radix 16 will be used; if *str* starts with ``'0o'`` or
``'0O'``, radix 8 will be used; if *str* starts with ``'0b'`` or ``'0B'``,
radix 2 will be used; otherwise radix 10 will be used. If *base* is not
``0``, it must be between ``2`` and ``36``, inclusive. Leading spaces are
ignored. If there are no digits, :exc:`ValueError` will be raised.
representation of the number. If *base* is ``0``, *str* is interpreted using
the :ref:`integers` definition; in this case, leading zeros in a
non-zero decimal number raises a :exc:`ValueError`. If *base* is not ``0``,
it must be between ``2`` and ``36``, inclusive. Leading spaces and single
underscores after a base specifier and between digits are ignored. If there
are no digits, :exc:`ValueError` will be raised.


.. c:function:: PyObject* PyLong_FromUnicode(Py_UNICODE *u, Py_ssize_t length, int base)
Expand Down
13 changes: 12 additions & 1 deletion Doc/c-api/slice.rst
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ Slice Objects
Extract the start, stop and step data members from a slice object as
C integers. Silently reduce values larger than ``PY_SSIZE_T_MAX`` to
``PY_SSIZE_T_MAX``, silently boost the start and stop values less than
``-PY_SSIZE_T_MAX-1`` to ``-PY_SSIZE_T_MAX-1``, and silently boost the step
``PY_SSIZE_T_MIN`` to ``PY_SSIZE_T_MIN``, and silently boost the step
values less than ``-PY_SSIZE_T_MAX`` to ``-PY_SSIZE_T_MAX``.

Return ``-1`` on error, ``0`` on success.
Expand All @@ -93,3 +93,14 @@ Slice Objects
code.

.. versionadded:: 3.6.1


Ellipsis Object
---------------


.. c:var:: PyObject *Py_Ellipsis

The Python ``Ellipsis`` object. This object has no methods. It needs to be
treated just like any other object with respect to reference counts. Like
:c:data:`Py_None` it is a singleton object.
55 changes: 29 additions & 26 deletions Doc/c-api/unicode.rst
Original file line number Diff line number Diff line change
Expand Up @@ -451,44 +451,44 @@ APIs:
| :attr:`%c` | int | A single character, |
| | | represented as a C int. |
+-------------------+---------------------+--------------------------------+
| :attr:`%d` | int | Exactly equivalent to |
| | | ``printf("%d")``. |
| :attr:`%d` | int | Equivalent to |
| | | ``printf("%d")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%u` | unsigned int | Exactly equivalent to |
| | | ``printf("%u")``. |
| :attr:`%u` | unsigned int | Equivalent to |
| | | ``printf("%u")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%ld` | long | Exactly equivalent to |
| | | ``printf("%ld")``. |
| :attr:`%ld` | long | Equivalent to |
| | | ``printf("%ld")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%li` | long | Exactly equivalent to |
| | | ``printf("%li")``. |
| :attr:`%li` | long | Equivalent to |
| | | ``printf("%li")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%lu` | unsigned long | Exactly equivalent to |
| | | ``printf("%lu")``. |
| :attr:`%lu` | unsigned long | Equivalent to |
| | | ``printf("%lu")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%lld` | long long | Exactly equivalent to |
| | | ``printf("%lld")``. |
| :attr:`%lld` | long long | Equivalent to |
| | | ``printf("%lld")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%lli` | long long | Exactly equivalent to |
| | | ``printf("%lli")``. |
| :attr:`%lli` | long long | Equivalent to |
| | | ``printf("%lli")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%llu` | unsigned long long | Exactly equivalent to |
| | | ``printf("%llu")``. |
| :attr:`%llu` | unsigned long long | Equivalent to |
| | | ``printf("%llu")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%zd` | Py_ssize_t | Exactly equivalent to |
| | | ``printf("%zd")``. |
| :attr:`%zd` | Py_ssize_t | Equivalent to |
| | | ``printf("%zd")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%zi` | Py_ssize_t | Exactly equivalent to |
| | | ``printf("%zi")``. |
| :attr:`%zi` | Py_ssize_t | Equivalent to |
| | | ``printf("%zi")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%zu` | size_t | Exactly equivalent to |
| | | ``printf("%zu")``. |
| :attr:`%zu` | size_t | Equivalent to |
| | | ``printf("%zu")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%i` | int | Exactly equivalent to |
| | | ``printf("%i")``. |
| :attr:`%i` | int | Equivalent to |
| | | ``printf("%i")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%x` | int | Exactly equivalent to |
| | | ``printf("%x")``. |
| :attr:`%x` | int | Equivalent to |
| | | ``printf("%x")``. [1]_ |
+-------------------+---------------------+--------------------------------+
| :attr:`%s` | const char\* | A null-terminated C character |
| | | array. |
Expand Down Expand Up @@ -530,6 +530,9 @@ APIs:
characters for ``"%A"``, ``"%U"``, ``"%S"``, ``"%R"`` and ``"%V"``
(if the ``PyObject*`` argument is not NULL).

.. [1] For integer specifiers (d, u, ld, li, lu, lld, lli, llu, zd, zi,
zu, i, x): the 0-conversion flag has effect even when a precision is given.

.. versionchanged:: 3.2
Support for ``"%lld"`` and ``"%llu"`` added.

Expand Down
Loading