Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
724 commits
Select commit Hold shift + click to select a range
bfebfd8
bpo-31649: Make IDLE's _htest, _utest parameters keyword-only. (#3839)
terryjreedy Sep 30, 2017
d6bb65f
bpo-31460: Simplify the API of IDLE's Module Browser. (#3842)
terryjreedy Sep 30, 2017
2102c78
bpo-31336: Speed up type creation. (#3279)
scoder Oct 1, 2017
5961e7c
IDLE: make filetypes a tuple constant. (#3847)
terryjreedy Oct 1, 2017
edc05c5
remove comment about long-gone SGI modules (#3850)
benjaminp Oct 2, 2017
b75a228
bpo-31659: Use simple slicing to format PEM cert (GH-3849)
methane Oct 2, 2017
e6f62f6
bpo-31158: Fix nondeterministic read in test_pty (#3808)
diekmann Oct 2, 2017
1023dbb
bpo-31516: current_thread() should not return a dummy thread at shutd…
pitrou Oct 2, 2017
4337a0d
bpo-11063: Fix _uuid module on macOS (#3855)
vstinner Oct 2, 2017
e6cfdef
bpo-31510: Fix multiprocessing test_many_processes() on macOS (#3857)
vstinner Oct 2, 2017
efb560e
bpo-31662: Fix typos in uploadrelease.bat script
Oct 2, 2017
e8c368d
bpo-31540: Allow passing multiprocessing context to ProcessPoolExecut…
tomMoral Oct 3, 2017
1a87de7
bpo-31415: Add `-X importtime` option (GH-3490)
methane Oct 3, 2017
85c0b89
bpo-31619: Fixed a ValueError when convert a string with large number…
serhiy-storchaka Oct 3, 2017
543386b
bpo-31657: Add test coverage for the __debug__ case (GH-3450)
dianaclarke Oct 3, 2017
929b40a
bpo-31673: Fixed typo in the name of Tkinter's method adderrorinfo().…
serhiy-storchaka Oct 3, 2017
27c623c
bpo-31675: Fix memory leaks in Tkinter's methods splitlist() and spli…
serhiy-storchaka Oct 3, 2017
e2d0dd2
Remove retired and security branches from active docs (#3879)
ned-deily Oct 4, 2017
bf477a9
bpo-31677: email: Remove re.IGNORECASE flag (GH-3868)
methane Oct 4, 2017
8d5a3aa
bpo-31683: Py_FatalError() now supports long error messages (#3878)
vstinner Oct 4, 2017
0b5e61d
bpo-30397: Add re.Pattern and re.Match. (#1646)
serhiy-storchaka Oct 4, 2017
77732be
bpo-30404: The -u option now makes the stdout and stderr streams tota…
serhiy-storchaka Oct 4, 2017
c02a1f4
bpo-31667: Fix gettext related links. (#3860)
serhiy-storchaka Oct 4, 2017
db12ef7
Refactor multiplication and division of timedelta and float. (#3656)
serhiy-storchaka Oct 4, 2017
300dd55
bpo-30872: Update the curses docs to Python 3. (#2620)
serhiy-storchaka Oct 4, 2017
55fd066
Add self and idlelib to CODEOWNERS file. (#3889)
terryjreedy Oct 5, 2017
e14679c
closes bpo-31596: Add an interface for pthread_getcpuclockid(3) (#3756)
Oct 5, 2017
a8ed117
remove tabs from getcompiler.c (#3892)
benjaminp Oct 5, 2017
af810b3
closes bpo-27494: Fix 2to3 handling of trailing comma after a generat…
jstasiak Oct 5, 2017
c1c47c1
bpo-31671: re: Convert RegexFlag to int before compile (GH-3862)
methane Oct 5, 2017
11045c9
bpo-31178: Mock os.waitpid() in test_subprocess (#3896)
vstinner Oct 5, 2017
4d07189
bpo-31556: asyncio.wait_for can cancel futures faster with timeout <=…
hellysmile Oct 5, 2017
36c1d1f
PEP 553 built-in breakpoint() function (bpo-31353) (#3355)
warsaw Oct 5, 2017
2084b30
bpo-31523: Reliability improvements to the Windows build files (#3900)
zooba Oct 5, 2017
ac31770
bpo-30406: Make async and await proper keywords (#1669)
JelleZijlstra Oct 6, 2017
7faf7e5
closes bpo-31696: don't mention GCC in sys.version when building with…
benjaminp Oct 6, 2017
8656670
weaken pthread_getcpuclockid test (more bpo-31596) (#3904)
benjaminp Oct 6, 2017
faa135a
bpo-31709: Drop support for asynchronous __aiter__. (#3903)
1st1 Oct 6, 2017
b8ab9d3
bpo-31708: Allow async generator expressions in synchronous functions…
1st1 Oct 6, 2017
731e189
bpo-25658: Implement PEP 539 for Thread Specific Storage (TSS) API (G…
ma8ma Oct 6, 2017
a51b90a
Document Py_GETENV() (#3890)
warsaw Oct 6, 2017
02e82a0
bpo-31709: Update importlib magic (#3906)
1st1 Oct 6, 2017
28f7136
bpo-31720: msilib documentation, change MsiError into MSIError (GH-3914)
uranusjr Oct 7, 2017
79ba471
bpo-31655: Validate keyword names in SimpleNamespace constructor. (#3…
serhiy-storchaka Oct 7, 2017
73ffd3f
bpo-31724: Skip test_xmlrpc_net (GH-3921)
zware Oct 8, 2017
f07e2b6
bpo-31642: Restore blocking "from" import by setting None in sys.modu…
serhiy-storchaka Oct 8, 2017
0ccc0f6
bpo-28280: Make PyMapping_Keys(), PyMapping_Values() and PyMapping_It…
orenmn Oct 8, 2017
4d3f084
bpo-27867: Add a porting guide for PySlice_GetIndicesEx(). (#1973)
serhiy-storchaka Oct 8, 2017
c0cabc2
bpo-31723: Fix refleaks when zipimporter.__init__() is called more th…
orenmn Oct 9, 2017
6e3d6b5
bpo-31701: faulthandler: ignore MSC and COM Windows exception (#3929)
vstinner Oct 9, 2017
14aa00b
Allow configure to handle PATH elements with spaces (#3935)
ned-deily Oct 9, 2017
a997c7b
bpo-31415: Add _PyTime_GetPerfCounter() and use it for -X importtime …
vstinner Oct 10, 2017
93c5a5d
bpo-31740: Prevent refleaks when sqlite3.Connection.__init__() is cal…
orenmn Oct 10, 2017
39ecb9c
bpo-31728: Prevent crashes in _elementtree due to unsafe cleanup of E…
orenmn Oct 10, 2017
eeb5ffd
bpo-31537: Update readline documentation example. (GH-3925)
infinitewarp Oct 10, 2017
703ff38
bpo-28157: Improvements for the time module documentation (GH-928)
csabella Oct 11, 2017
277c840
Cleanup pytime.c (#3955)
vstinner Oct 11, 2017
0e61e67
bpo-31567: add or fix decorator markup in docs (#3959)
dmiyakawa Oct 12, 2017
cba9a0c
bpo-31773: time.perf_counter() uses again double (GH-3964)
vstinner Oct 12, 2017
03b9537
bpo-31567: more decorator markup fixes in docs (GH-3959) (#3966)
merwok Oct 12, 2017
b7cbfe4
bpo-31766: restore 3.5 to docs version switchers (#3969)
ned-deily Oct 12, 2017
de07210
bpo-30058: Fixed buffer overflow in select.kqueue.control(). (#1095)
serhiy-storchaka Oct 12, 2017
6129250
Exclude non-default VENVDIR in Doc builds (#3974)
ned-deily Oct 12, 2017
9255104
Improve test suite customization example (GH-3967)
berkerpeksag Oct 13, 2017
b22273e
bpo-31672: Fix string.Template accidentally matched non-ASCII identif…
methane Oct 13, 2017
7f58097
bpo-28647: Update -u documentation after bpo-30404 (GH-3961)
berkerpeksag Oct 13, 2017
ccef823
bpo-25588: Fix regrtest when run inside IDLE (#3962)
vstinner Oct 13, 2017
a991215
os.startfile(): add a C comment on security (#3877)
vstinner Oct 13, 2017
a505ecd
bpo-31676: Fix test_imp.test_load_source() side effect (#3871)
vstinner Oct 13, 2017
ef611c9
bpo-30807: signal.setitimer() now uses _PyTime API (GH-3865)
vstinner Oct 13, 2017
cd195e2
bpo-31714: Improved regular expression documentation. (#3907)
serhiy-storchaka Oct 14, 2017
073150d
bpo-31672: doc: Remove one sentence from library/string.rst (GH-3990)
methane Oct 14, 2017
8c26a34
bpo-31757: Make Fibonacci examples consistent (#3991)
rhettinger Oct 14, 2017
620f70e
bpo-25588: Document autotest in idle_test/README.txt. (#4000)
terryjreedy Oct 15, 2017
28773ca
bpo-31780: Fix incorrect error message for ',x', ',b', ',o' specs (#4…
pablogsal Oct 15, 2017
1b9e76e
bpo-31754: Fix type of 'itemsize' in PyBuffer_FillContiguousStrides (…
vyas45 Oct 15, 2017
1295e11
completly -> completely (#3999) (closes bpo-31788)
ss18 Oct 15, 2017
676db4b
bpo-31792: Restore os.environ in test_buffer when import numpy. (#4007)
serhiy-storchaka Oct 16, 2017
0df1905
bpo-31776: Missing "raise from None" in Lib/xml/etree/ElementPath.py …
pablogsal Oct 16, 2017
bdaeb7d
bpo-31773: _PyTime_GetPerfCounter() uses _PyTime_t (GH-3983)
vstinner Oct 16, 2017
c75edab
bpo-31558: Add gc.freeze() (#3705)
zekun000 Oct 16, 2017
c30b55b
bpo-31558: Update NEWS and ACKS (#4013)
ambv Oct 16, 2017
c730223
Update NEWS and topics for 3.7.0a2
ned-deily Oct 17, 2017
f7ac4fe
Bump to 3.7.0a2
ned-deily Oct 17, 2017
2bd37c2
post 3.7.0a2 development
ned-deily Oct 17, 2017
552be9d
bpo-30541: Add new method to seal mocks (GH61923)
mariocj89 Oct 17, 2017
2c15b29
bpo-31786: Make functions in the select module blocking when timeout …
pablogsal Oct 17, 2017
6cfa927
bpo-31334: Fix timeout in select.poll.poll() (GH-3277)
volans- Oct 17, 2017
191e313
bpo-31799: Make module.__spec__ more discoverable (#4010)
warsaw Oct 17, 2017
de86073
bpo-28603: Fix formatting tracebacks for unhashable exceptions (#4014)
zaneb Oct 17, 2017
884d13a
time.clock() now emits a DeprecationWarning (GH-4020)
vstinner Oct 17, 2017
e2e4227
bpo-13802: Use non-Latin characters in IDLE's Font settings sample. (…
terryjreedy Oct 17, 2017
27288de
bpo-30928: Update idlelib/NEWS.txt to 2017 Oct 17. (#4025)
terryjreedy Oct 17, 2017
ec12df1
Add Code of Conduct to .github folder. (GH-4029)
Mariatta Oct 18, 2017
59af94f
bpo-31806: Use _PyTime_ROUND_TIMEOUT for the timeout argument parsing…
pablogsal Oct 18, 2017
032a648
Update TestCase.assertAlmostEqual and assertNotAlmostEqual docstrings…
selotape Oct 18, 2017
0b6a118
bpo-31457: Make the `LoggerAdapter.manager` property settable (#4042)
ambv Oct 19, 2017
20faa68
Move opcode tracing to occur after the possible update to f_lineno. (…
gwk Oct 19, 2017
24c4d04
drop unused configure check for pthread_atfork (#4046)
benjaminp Oct 19, 2017
05a634b
Add NEWS entry for opcode tracing change. (GH-4045)
gwk Oct 19, 2017
ce9e625
bpo-31457: Don't omit inner ``process()`` calls with nested LogAdapte…
ambv Oct 19, 2017
ea2ef5d
bpo-31632: fix set_protocol() in _SSLProtocolTransport (#3817) (#3817)
jlacoline Oct 19, 2017
525f40d
bpo-31819: Add AbstractEventLoop.sock_recv_into() (#4051)
pitrou Oct 19, 2017
56cb465
bpo-31825: Fixed OverflowError in the 'unicode-escape' codec (#4058)
serhiy-storchaka Oct 20, 2017
db60a5b
bpo-31781: Prevent crashes when calling methods of an uninitialized z…
orenmn Oct 20, 2017
73c4708
Fix bytes warnings in test_struct (added in bpo-29802). (#4068)
serhiy-storchaka Oct 21, 2017
daeefd2
bpo-28326: Fix multiprocessing.Process when stdout and/or stderr is c…
pitrou Oct 22, 2017
bcbdd2f
bpo-28286: Add tests for the mode argument of GzipFile. (#4074)
serhiy-storchaka Oct 22, 2017
c872d39
bpo-31653: Don't release the GIL if we can acquire a multiprocessing …
pitrou Oct 22, 2017
04e36af
bpo-31572: Get rid of using _PyObject_HasAttrId() in pickle. (#3729)
serhiy-storchaka Oct 22, 2017
91dc64b
bpo-20825: Containment test for ip_network in ip_network.
csabella Oct 22, 2017
ae3087c
Move exc state to generator. Fixes bpo-25612 (#1773)
markshannon Oct 22, 2017
7fed7bd
bpo-31756: subprocess.run should alias universal_newlines to text (#4…
andyclegg Oct 23, 2017
4ffd465
bpo-31752: Fix possible crash in timedelta constructor called with cu…
serhiy-storchaka Oct 23, 2017
66caacf
bpo-30817: Fix PyErr_PrintEx() when no memory (#2526)
xdegaye Oct 23, 2017
62adc55
bpo-30722: Make redemo work with Python 3.6+ (GH-2311)
csarn Oct 23, 2017
828ca59
bpo-31653: Remove deadcode in semlock_acquire() (#4091)
vstinner Oct 23, 2017
3b66ebe
bpo-31847: Fix commented out tests in test_syntax. (#4084)
serhiy-storchaka Oct 23, 2017
1aa00ff
fixes bpo-31834: Use optimized code for BLAKE2 only with SSSE3+ (#4066)
mgorny Oct 24, 2017
87d332d
bpo-31810: Add smelly.py to check exported symbols (#4057)
vstinner Oct 24, 2017
01b5aab
bpo-31827: Remove os.stat_float_times() (GH-4061)
vstinner Oct 24, 2017
809d173
bpo-31812: Add documentation translations to What's New in Python 3.7…
JulienPalard Oct 24, 2017
8e482be
bpo-31174: Fix test_tools.test_unparse (#4102)
vstinner Oct 24, 2017
e968bc7
bpo-30639: Lazily compute repr for error (#2132)
takluyver Oct 24, 2017
831d61d
Fix wording about Py_tss_NEEDS_INIT in docs (GH-4096)
ma8ma Oct 24, 2017
eab3ff7
bpo-31664: Add support for the Blowfish method in crypt. (#3854)
serhiy-storchaka Oct 24, 2017
fdd9b21
Closes bpo-28292: Implemented Calendar.itermonthdays3() and itermonth…
abalkin Oct 24, 2017
3557b05
bpo-31690: Allow the inline flags "a", "L", and "u" to be used as gro…
serhiy-storchaka Oct 24, 2017
850a18e
bpo-30768: Recompute timeout on interrupted lock (GH-4103)
vstinner Oct 24, 2017
d7ac061
bpo-31845: Fix reading flags from environment (GH-4105)
ncoghlan Oct 25, 2017
95f1a7b
remove support for splitting the ceval switch into multiple switches …
benjaminp Oct 25, 2017
086c3ae
bpo-31835: Optimize also FASTCALL using __future__ (#4087)
vstinner Oct 25, 2017
0f26158
bpo-31664: Fix test_crypt for the openwall implementation of crypt. (…
serhiy-storchaka Oct 25, 2017
3231893
Closes bpo-31800: Support for colon when parsing time offsets (#4015)
mariocj89 Oct 26, 2017
1896793
bpo-31857: Make the behavior of USE_STACKCHECK deterministic (#4098)
Oct 26, 2017
4eaf7f9
fixes bpo-31866: remove code pertaining to AtheOS support (#4115)
benjaminp Oct 26, 2017
41c5694
bpo-21720: Restore the Python 2.7 logic in handling a fromlist. (#4118)
serhiy-storchaka Oct 26, 2017
275d2d9
bpo-30937: Make usage of newline='' consistent in csv docs (GH-2730)
ammaraskar Oct 26, 2017
56d1f5c
bpo-30697: Fix PyErr_NormalizeException() when no memory (GH-2327)
xdegaye Oct 26, 2017
bdf4298
Fix trailing whitespaces in C files. (#4130)
serhiy-storchaka Oct 26, 2017
52ad72d
bpo-30553: Add status code 421 to http.HTTPStatus (GH-2589)
vmsp Oct 26, 2017
66c88ce
Closes bpo-28281: Remove year (1-9999) limits on the weekday() functi…
abalkin Oct 26, 2017
8c83c23
bpo-28936: Detect lexically first syntax error first (#4097)
ilevkivskyi Oct 26, 2017
d609b0c
bpo-31053: Remove redundant 'venv' argument in venv example (GH-2907)
cocoatomo Oct 27, 2017
afad147
bpo-30989: Sort in TimedRotatingFileHandler only when needed. (GH-2812)
lovesh Oct 27, 2017
2f3d699
Fixed sorting order of the LogRecord attributes in the documentation.…
arthurdarcet Oct 27, 2017
031c4bf
bpo-31877: Add _Py_LegacyLocaleDetected and _PyCoerceLegacyLocale to …
embray Oct 27, 2017
63ae044
Fix _socket module compilation on Cygwin. (#4137)
embray Oct 27, 2017
843ea47
bpo-31545: Update documentation containing timedelta repr. (GH-3687)
musically-ut Oct 27, 2017
03eb11f
bpo-16135: Cleanup: Code rot left over from OS/2 support (GH-4147)
embray Oct 27, 2017
7351f9e
bpo-31174: Improve the code of test_tools.test_unparse. (#4146)
serhiy-storchaka Oct 27, 2017
93fd478
faulthandler: use _PyTime_t rather than double for timeout (#4139)
vstinner Oct 27, 2017
ed6554c
bpo-31860: Make the font sample in the IDLE font configuration dialog…
serhiy-storchaka Oct 28, 2017
e86172d
IDLE -- Restrict shell prompt manipulaton to the shell. (#4143)
terryjreedy Oct 28, 2017
5a4bbcd
bpo-31836: Test_code_module now passes with sys.ps1, ps2 set (#4070)
terryjreedy Oct 28, 2017
a231428
bpo-20047: Make bytearray methods partition() and rpartition() reject…
serhiy-storchaka Oct 28, 2017
fe4ea9c
bpo-31245: Asyncio unix socket datagram (#3164)
ovv Oct 30, 2017
1122575
bpo-31304: Update starmap_async documentation. (GH-4168)
pablogsal Oct 30, 2017
f0f62cc
Remove tiny bit of deadcode from wsgiref.validate (#3996)
alex Oct 31, 2017
19f6830
bpo-31629: Add support.SaveSignals (#4183)
vstinner Oct 31, 2017
baac01e
bpo-31891: Fix building the curses module on NetBSD. (#4165)
serhiy-storchaka Oct 31, 2017
b9052a0
bpo-31893: Fixed select.kqueue(). (#4166)
serhiy-storchaka Oct 31, 2017
b484d56
bpo-31626: Fixed a bug in debug memory allocator. (#3844)
serhiy-storchaka Oct 31, 2017
db91e0f
bpo-31897: Convert unexpected errors when read bogus binary plists in…
serhiy-storchaka Oct 31, 2017
e1a470b
test_capi.test__testcapi() becomes more verbose (#4197)
vstinner Oct 31, 2017
afd055a
pythoninfo: add Py_DEBUG (#4198)
vstinner Oct 31, 2017
2298fad
bpo-31893: Fix errors in b9052a0f91d2e83bbc27267247a5920c82b242a3. (#…
serhiy-storchaka Oct 31, 2017
ec2cbdd
bpo-20064: Document PyObject_Malloc() (#4199)
vstinner Oct 31, 2017
9ed83c4
bpo-18835: Cleanup pymalloc (#4200)
vstinner Oct 31, 2017
280c22a
Fix test_socket.test_create_connection() (#4206)
vstinner Nov 1, 2017
8bc7d63
bpo-25720: Fix the method for checking pad state of curses WINDOW (#4…
ma8ma Nov 1, 2017
388cd85
Remove nested comments in blake2 (#4173)
zao Nov 1, 2017
894ebd0
bpo-31919: Fix building the curses module on OpenIndiana. (#4211)
serhiy-storchaka Nov 1, 2017
d1e3403
[asyncio] bpo-30423: add regression test for orphan future causes "Ru…
Nov 1, 2017
7e68790
bpo-15037: Add a workaround for getkey() in curses for ncurses 5.7 an…
serhiy-storchaka Nov 1, 2017
4f469c0
bpo-27666: Fixed stack corruption in curses.box() and curses.ungetmou…
serhiy-storchaka Nov 1, 2017
e8b1965
bpo-23699: Use a macro to reduce boilerplate code in rich comparison …
stratakis Nov 2, 2017
a64ce97
bpo-31917: Add 3 new clock identifiers (#4207)
vstinner Nov 2, 2017
e314853
bpo-31307: Make ConfigParser.read() accept bytes objects (GH-3420)
vxgmichel Nov 2, 2017
c29b585
bpo-31784: Implement PEP 564: add time.time_ns() (#3989)
vstinner Nov 2, 2017
ac03c03
Returning 1 from the set_progress_handler handler cancels query (GH-4…
Nov 2, 2017
0d2c645
Update multissltests: 1.0.2m, 1.1.0g (#4232)
tiran Nov 2, 2017
4e38d71
bpo-28643: Record profile-opt build progress with stamp files (#4223)
nascheme Nov 2, 2017
9e33973
bpo-31890: define METH_STACKLESS (#4159)
Nov 2, 2017
700d2e4
bpo-31415: Support PYTHONPROFILEIMPORTTIME envvar equivalent to -X im…
warsaw Nov 2, 2017
4f57409
bpo-31926: fix missing *_METHODDEF statements by argument clinic (#4230)
taleinat Nov 3, 2017
fc6b348
bpo-31308: If multiprocessing's forkserver dies, launch it again when…
pitrou Nov 3, 2017
cbe1756
bpo-31310: multiprocessing's semaphore tracker should be launched aga…
pitrou Nov 3, 2017
a7723d8
bpo-31924: Fix test_curses on NetBSD 8. (#4228)
serhiy-storchaka Nov 3, 2017
f6f90ff
bpo-30057: Fix potential missed signal in signal.signal(). (#4258)
pitrou Nov 3, 2017
dcfb0e3
bpo-31933: fix blake2 multi-byte params on big endian platforms (#4250)
oconnor663 Nov 3, 2017
93952f8
Fix a grammatical problem and reword for clarity. (#4257)
warsaw Nov 3, 2017
ee1a9a2
bpo-9678: Fix determining the MAC address in the uuid module. (#4264)
serhiy-storchaka Nov 4, 2017
b838cc3
bpo-18699: Corrected documentation for window.chgat in curses module …
ChillarAnand Nov 4, 2017
63ff413
bpo-21423: Add an initializer argument to {Process,Thread}PoolExecuto…
pitrou Nov 4, 2017
82cd3ce
bpo-31678: Fix typo in PyDateTime_DELTA_GET_MICROSECONDS (GH-3869)
Phobosmir Nov 4, 2017
d4d79bc
bpo-28564: Use os.scandir() in shutil.rmtree(). (#4085)
serhiy-storchaka Nov 4, 2017
12d6056
Add version{changed,added} markers and make minor style changes (GH-4…
berkerpeksag Nov 4, 2017
aafece7
bpo-31923: Fix spelling in sqlite3 docs (GH-4227)
wybiral Nov 4, 2017
0d2a908
bpo-31944: Fixes build and Modify button (#4278)
zooba Nov 4, 2017
aed0856
bpo-31609: Fixes quotes in PCbuild/clean.bat (#4280)
zooba Nov 4, 2017
1b46131
bpo-22257: Mention startup refactoring in What's New (GH-4286)
ncoghlan Nov 5, 2017
cf29653
bpo-28994: PyErr_NormalizeException() no longer use C stack for recur…
serhiy-storchaka Nov 5, 2017
a5293b4
Fix miscellaneous typos (#4275)
luzpaz Nov 5, 2017
7e666ee
Remove outdated with_threads checks in configure.ac (GH-4294)
berkerpeksag Nov 6, 2017
30f4fa4
bpo-31957: Fixes version detection. (#4298)
zooba Nov 6, 2017
ad455cd
bpo-31945: Configurable blocksize in HTTP(S)Connection (#4279)
nirs Nov 6, 2017
e56ab74
bpo-31770: Prevent a crash and refleaks when calling sqlite3.Cursor._…
orenmn Nov 7, 2017
edb13ae
bpo-31764: Prevent a crash in sqlite3.Cursor.close() in case the Curs…
orenmn Nov 7, 2017
a22a127
bpo-31843: sqlite3.connect() now accepts PathLike objects as database…
Phaqui Nov 7, 2017
962e2a7
Fix a minor typo and hyphenate "multi-threading" (#4237)
warsaw Nov 7, 2017
31af650
bpo-28791: Update Windows builds to use SQLite 3.21.0. (GH-4246)
Mariatta Nov 7, 2017
088929c
bpo-31415: Improve error handling and caching of the importtime optio…
serhiy-storchaka Nov 7, 2017
69cfed1
Add asyncio.Handle.cancelled() method (#2388)
decaz Nov 7, 2017
4135c89
bpo-31950: Improve event loop policy doc (#4306)
pitrou Nov 7, 2017
cb04f75
Fix a memory leak in _msi.c (#4127)
ZackerySpytz Nov 7, 2017
3cc4c53
bpo-31626: Mark ends of the reallocated block in debug build. (#4210)
serhiy-storchaka Nov 7, 2017
a935654
bpo-20486: Implement Database.Close() method in msilib (GH-4141)
berkerpeksag Nov 7, 2017
39a156c
Fix the sizeof test for dicts with shared keys. (#4311)
serhiy-storchaka Nov 7, 2017
22b1128
bpo-31960: Fix asyncio.Future documentation for thread (un)safety. (#…
pitrou Nov 7, 2017
1e5d54c
bpo-31965: fix doc for multiprocessing.connection.Client and Listener…
JelleZijlstra Nov 7, 2017
921e943
bpo-31970: Reduce performance overhead of asyncio debug mode. (#4314)
pitrou Nov 7, 2017
5a66c8a
bpo-31793: Doc: Specialize smart-quotes for Japanese (GH-4006)
JulienPalard Nov 7, 2017
c060c7e
Fix a typo (#4323)
warsaw Nov 7, 2017
c62f0cb
bpo-31620: have asyncio/queues not leak memory when you've exceptions…
SurenNihalani Nov 7, 2017
5a8a84b
Added :const:`mmap.ACCESS_DEFAULT` constant. (#4093)
jusjusjus Nov 7, 2017
4fc4def
Remove unused var from CheckCancelOperation test (GH-4317)
Nov 7, 2017
7973e27
bpo-21862: Add -m option to cProfile for profiling modules (#4297)
CuriousLearner Nov 8, 2017
8bf288e
Docs: Mention that Py_UNREACHABLE was added in 3.7 (#4337)
encukou Nov 8, 2017
28ab3ce
Fix broken link in Doc/whatsnew/3.7.rst (GH-4335)
berkerpeksag Nov 8, 2017
54cc0c0
bpo-31338: C API intro: add missing versionadded (#4339)
vstinner Nov 8, 2017
b5d9e08
bpo-31884 subprocess: add Windows constants for process priority (#4150)
JamesGKent Nov 8, 2017
0de9285
bpo-31934: Abort when building out of a not clean source tree (GH-4255)
xdegaye Nov 8, 2017
2138163
bpo-29179: Document the Py_UNUSED macro (#4341)
encukou Nov 8, 2017
bf9d317
bpo-31810: added missing keywords to docs. (#4140)
Nov 8, 2017
9a10ff4
bpo-11063: Add a configure check for uuid_generate_time_safe (GH-4287)
berkerpeksag Nov 8, 2017
0e163d2
bpo-11063: Use more reliable way to check if uuid function exists (GH…
berkerpeksag Nov 8, 2017
8c663fd
Replace KB unit with KiB (#4293)
vstinner Nov 8, 2017
e0405c2
Remove venv from .PHONY to avoid unnecessary venv creation attempts
cjrh May 22, 2017
90ba95c
Update docs to mention that Sphinx dependency handling is automatic
cjrh May 23, 2017
f740066
Remove invalid comment, since Makefile already specifies "python3"
cjrh May 23, 2017
b9b75f3
Updated PR from review comments.
cjrh May 26, 2017
9e730c9
Update docs to mention that Sphinx dependency handling is automatic
cjrh May 23, 2017
a3daba7
Fix merge conflict comments from a previous merge
cjrh May 26, 2017
06f0523
Remove extraneous backtick spotted by @csabella
cjrh Jun 4, 2017
935195a
Only create a venv if SPHINXBUILD option matches the default.
cjrh Jun 24, 2017
d737281
Make travis doc test use the sphinx already installed.
cjrh Jun 24, 2017
968c471
Remove bad merge artifacts.
cjrh Nov 9, 2017
3715329
Fix README for recent addition of blurb.
cjrh Nov 9, 2017
d77c676
Merge branch 'auto-venv-docbuilder' of github.com:cjrh/cpython into a…
cjrh Nov 9, 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
  •  
  •  
  •  
3 changes: 0 additions & 3 deletions .gitattributes
Original file line number Diff line number Diff line change
Expand Up @@ -27,9 +27,6 @@ Lib/test/test_email/data/*.txt -text
Lib/test/xmltestdata/* -text
Lib/test/coding20731.py -text

# Special files in third party code
Modules/zlib/zlib.map -text

# CRLF files
*.bat text eol=crlf
*.ps1 text eol=crlf
Expand Down
53 changes: 53 additions & 0 deletions .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
# See https://help.github.com/articles/about-codeowners/
# for more info about CODEOWNERS file

# It uses the same pattern rule for gitignore file
# https://git-scm.com/docs/gitignore#_pattern_format

# asyncio
**/*asyncio* @1st1

# Core
**/*genobject* @1st1

# Hashing
**/*hashlib* @python/crypto-team
**/*pyhash* @python/crypto-team

# Import (including importlib)
**/*import* @python/import-team

# SSL
**/*ssl* @python/crypto-team

# CSPRNG
Python/bootstrap_hash.c @python/crypto-team

# Email and related
**/*mail* @python/email-team
**/*smtp* @python/email-team
**/*mime* @python/email-team
**/*imap* @python/email-team
**/*poplib* @python/email-team

# subprocess
**/*subprocess* @gpshead

# Windows
/PC/ @python/windows-team
/PCbuild/ @python/windows-team

# Windows installer packages
/Tools/msi/ @python/windows-team
/Tools/nuget/ @python/windows-team

**/*itertools* @rhettinger
**/*collections* @rhettinger
**/*random* @rhettinger
**/*queue* @rhettinger
**/*bisect* @rhettinger
**/*heapq* @rhettinger
**/*functools* @ncoghlan @rhettinger
**/*decimal* @rhettinger @skrah

**/*idlelib* @terryjreedy
14 changes: 14 additions & 0 deletions .github/CODE_OF_CONDUCT.rst
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
Code of Conduct
===============

Please note that all interactions on
`Python Software Foundation <https://www.python.org/psf-landing/>`__-supported
infrastructure is `covered
<https://www.python.org/psf/records/board/minutes/2014-01-06/#management-of-the-psfs-web-properties>`__
by the `PSF Code of Conduct <https://www.python.org/psf/codeofconduct/>`__,
which includes all infrastructure used in the development of Python itself
(e.g. mailing lists, issue trackers, GitHub, etc.).

In general this means everyone is expected to be open, considerate, and
respectful of others no matter what their position is within the project.

40 changes: 28 additions & 12 deletions .github/CONTRIBUTING.rst
Original file line number Diff line number Diff line change
Expand Up @@ -12,31 +12,47 @@ Build Status

+ `Stable buildbots <http://buildbot.python.org/3.6.stable/>`_

- 3.5

+ `Stable buildbots <http://buildbot.python.org/3.5.stable/>`_

- 2.7

+ `Stable buildbots <http://buildbot.python.org/2.7.stable/>`_


Thank You
---------
First off, thanks for contributing to the maintenance of the Python programming
language and the CPython interpreter! Even if your contribution is not
ultimately accepted, the fact you put time and effort into helping out is
greatly appreciated.


Contribution Guidelines
-----------------------
Please read the `devguide <https://cpython-devguide.readthedocs.io/>`_ for
Please read the `devguide <https://devguide.python.org/>`_ for
guidance on how to contribute to this project. The documentation covers
everything from how to build the code to submitting a pull request. There are
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.
`Lifecycle of a Pull Request <https://devguide.python.org/pullrequest/>`_.
We utilize various bots and status checks to help with this, so do follow the
comments they leave and their "Details" links, respectively. The key points of
our workflow that are not covered by a bot or status check are:

- All discussions that are not directly related to the code in the pull request
should happen on bugs.python.org
- Upon your first non-trivial pull request (which includes documentation changes),
feel free to add yourself to ``Misc/ACKS``


Setting Expectations
--------------------
Due to the fact that this project is entirely volunteer-run (i.e. no one is paid
to work on Python full-time), we unfortunately can make no guarantees as to if
or when a core developer will get around to reviewing your pull request.
If no core developer has done a review or responded to changes made because of a
"changes requested" review, please feel free to email python-dev to ask if
someone could take a look at your pull request.


Code of Conduct
Expand Down
10 changes: 10 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
!!! If this is a backport PR (PR made against branches other than `master`),
please ensure that the PR title is in the following format:
```
[X.Y] <title from the original PR> (GH-NNNN)
```
Where: [X.Y] is the branch name, e.g. [3.6].

GH-NNNN refers to the PR number from `master`.

PLEASE: Remove this headline!!!
7 changes: 6 additions & 1 deletion .github/appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,17 @@ branches:
- master
- /\d\.\d/
- buildbot-custom
cache:
- externals -> PCbuild\*
build_script:
- cmd: PCbuild\build.bat -e
- cmd: PCbuild\win32\python.exe -m test.pythoninfo
test_script:
- cmd: PCbuild\rt.bat -q -uall -u-cpu -rwW --slowest --timeout=1200 --fail-env-changed -j0
environment:
HOST_PYTHON: C:\Python36\python.exe
image:
- Visual Studio 2017

# Only trigger AppVeyor if actual code or its configuration changes
only_commits:
Expand All @@ -23,7 +28,7 @@ only_commits:
- Modules/
- Objects/
- PC/
- PCBuild/
- PCbuild/
- Parser/
- Programs/
- Python/
Expand Down
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@
.gdb_history
Doc/build/
Doc/venv/
Doc/.venv/
Doc/env/
Doc/.env/
Include/pydtrace_probes.h
Lib/distutils/command/*.pdb
Lib/lib2to3/*.pickle
Expand Down
20 changes: 0 additions & 20 deletions .mention-bot

This file was deleted.

25 changes: 11 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,10 @@ dist: trusty
sudo: false
group: beta

# To cache doc-building dependencies.
cache: pip
# To cache doc-building dependencies and C compiler output.
cache:
- pip
- ccache

branches:
only:
Expand All @@ -23,15 +25,6 @@ matrix:
# compiler here and the other to run the coverage build. Clang is preferred
# in this instance for its better error messages.
env: TESTING=cpython
- os: osx
language: c
compiler: clang
# Testing under macOS is optional until testing stability has been demonstrated.
env: OPTIONAL=true
before_install:
- brew install openssl xz
- export CPPFLAGS="-I$(brew --prefix openssl)/include"
- export LDFLAGS="-L$(brew --prefix openssl)/lib"
- os: linux
language: python
# Build the docs against a stable version of Python so code bugs don't hold up doc-related PRs.
Expand All @@ -41,9 +34,9 @@ matrix:
- cd Doc
# 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
- python -m pip install sphinx~=1.6.1 blurb
script:
- make check suspicious html SPHINXOPTS="-q -W -j4"
- make check suspicious html SPHINXBUILD="sphinx-build" SPHINXOPTS="-q -W -j4"
- os: linux
language: c
compiler: gcc
Expand All @@ -60,9 +53,10 @@ matrix:
# Need a venv that can parse covered code.
./python -m venv venv
./venv/bin/python -m pip install -U coverage
./venv/bin/python -m test.pythoninfo
script:
# Skip tests that re-run the entire test suite.
- ./venv/bin/python -m coverage run --pylib -m test -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn
- ./venv/bin/python -m coverage run --pylib -m test --fail-env-changed -uall,-cpu -x test_multiprocessing_fork -x test_multiprocessing_forkserver -x test_multiprocessing_spawn -x test_concurrent_futures
after_script: # Probably should be after_success once test suite updated to run under coverage.py.
# Make the `coverage` command available to Codecov w/ a version of Python that can parse all source files.
- source ./venv/bin/activate
Expand All @@ -87,6 +81,7 @@ before_script:
echo "$changes"
exit 1
fi
make pythoninfo

script:
# Using the built Python as patchcheck.py is built around the idea of using
Expand All @@ -96,6 +91,8 @@ script:
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then ./python Tools/scripts/patchcheck.py --travis $TRAVIS_PULL_REQUEST; fi
# `-r -w` implicitly provided through `make buildbottest`.
- make buildbottest TESTOPTS="-j4 -uall,-cpu"
# Check that all symbols exported by libpython start with "Py" or "_Py"
- make smelly

notifications:
email: false
Expand Down
46 changes: 39 additions & 7 deletions Doc/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,15 @@

# You can set these variables from the command line.
PYTHON = python3
<<<<<<< HEAD
VENVDIR = ./venv
SPHINXBUILD = PATH=$(VENVDIR)/bin:$$PATH sphinx-build
BLURB = PATH=$(VENVDIR)/bin:$$PATH blurb
||||||| merged common ancestors
SPHINXBUILD = sphinx-build
=======
SPHINXBUILD = ./venv/bin/sphinx-build
>>>>>>> 9a3d158180169c92aea2f781194869098e8b1f25
PAPER =
SOURCES =
DISTVERSION = $(shell $(PYTHON) tools/extensions/patchlevel.py)
Expand All @@ -15,7 +23,7 @@ ALLSPHINXOPTS = -b $(BUILDER) -d build/doctrees -D latex_elements.papersize=$(PA

.PHONY: help build html htmlhelp latex text changes linkcheck \
suspicious coverage doctest pydoc-topics htmlview clean dist check serve \
autobuild-dev autobuild-stable venv
autobuild-dev autobuild-stable

help:
@echo "Please use \`make <target>' where <target> is one of"
Expand All @@ -37,7 +45,28 @@ help:
@echo " check to run a check for frequent markup errors"
@echo " serve to serve the documentation on the localhost (8000)"

<<<<<<< HEAD
build:
venv
-mkdir -p build
# Look first for a Misc/NEWS file (building from a source release tarball
# or old repo) and use that, otherwise look for a Misc/NEWS.d directory
# (building from a newer repo) and use blurb to generate the NEWS file.
@if [ -f ../Misc/NEWS ] ; then \
echo "Using existing Misc/NEWS file"; \
cp ../Misc/NEWS build/NEWS; \
elif [ -d ../Misc/NEWS.d ]; then \
echo "Building NEWS from Misc/NEWS.d with blurb"; \
$(BLURB) merge -f build/NEWS; \
else \
echo "Neither Misc/NEWS.d nor Misc/NEWS found; cannot build docs"; \
exit 1; \
fi
||||||| merged common ancestors
build:
=======
build: venv
>>>>>>> 9a3d158180169c92aea2f781194869098e8b1f25
$(SPHINXBUILD) $(ALLSPHINXOPTS)
@echo

Expand Down Expand Up @@ -103,11 +132,14 @@ htmlview: html
$(PYTHON) -c "import webbrowser; webbrowser.open('build/html/index.html')"

clean:
-rm -rf build/* venv/*
-rm -rf build/* $(VENVDIR)/*

venv:
$(PYTHON) -m venv venv
./venv/bin/python3 -m pip install -U Sphinx
@if [ "$(SPHINXBUILD)" == "$(VENVDIR)/bin/sphinx-build" ]; then \
@echo "The venv has been created in the $(VENVDIR) directory"
$(PYTHON) -m venv $(VENVDIR); \
$(VENVDIR)/bin/python3 -m pip install -U Sphinx blurb; \
fi

dist:
rm -rf dist
Expand Down Expand Up @@ -153,7 +185,7 @@ dist:
cp -pPR build/epub/Python.epub dist/python-$(DISTVERSION)-docs.epub

check:
$(PYTHON) tools/rstlint.py -i tools -i venv -i README.rst
$(PYTHON) tools/rstlint.py -i tools -i $(VENVDIR) -i README.rst

serve:
../Tools/scripts/serve.py build/html
Expand All @@ -167,12 +199,12 @@ serve:

# for development releases: always build
autobuild-dev:
make dist SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A versionswitcher=1'
make dist SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A switchers=1'
-make suspicious

# for quick rebuilds (HTML only)
autobuild-dev-html:
make html SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A versionswitcher=1'
make html SPHINXOPTS='$(SPHINXOPTS) -Ea -A daily=1 -A switchers=1'

# for stable releases: only build if not in pre-release stage (alpha, beta)
# release candidate downloads are okay, since the stable tree can be in that stage
Expand Down
Loading