Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
866c168a5f
bpo-33957: Doc: Use better wording (GH-7912)
2018-06-26 17:27:05 +09:00
Mark Roseman
42397731d7
bpo-33924: Add missed mac-specific 'windows' to 'window' changes (GH-7920)
...
These should have been included in PR 7836.
2018-06-25 21:19:40 -04:00
Victor Stinner
937ee9e745
Revert "bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)" (GH-7919)
...
This reverts commit 8fbbdf0c31
.
2018-06-26 02:11:06 +02:00
Tal Einat
fdd6e0bf18
bpo-33573: docs to suggest median() alternatives for non-numeric data (GH-7587)
2018-06-25 14:04:01 +03:00
Andrés Delfino
4a6e746079
bpo-33952: Fix typo in str.upper() documentation (GH-7898)
2018-06-25 13:34:22 +03:00
Andrés Delfino
a8ddf85a84
bpo-33943: Add references in the docs for logging.basicConfig (GH-7858)
...
Adds references to info about file modes, `time.strftime()`, string formatting
syntaxes, and logging levels.
2018-06-25 09:06:10 +03:00
Dong-hee Na
cf67d6a934
bpo-33897: Add a 'force' keyword argument to logging.basicConfig(). (GH-7873)
2018-06-25 05:11:09 +01:00
Tal Einat
2af9f5d334
bpo-33951: IDLE test_configdialog: call page.update in setUpClass (GH-7892)
...
This avoids a failure in at least one case when running only a single
test method rather than all tests in the module.
The issue came up when testing the following on Windows 10 Pro 64-bit:
HighPageTest.test_highlight_target_text_mouse
2018-06-24 16:35:59 -04:00
Zachary Ware
3f197f94d6
Enable GUI tests in VSTS Linux builds via xvfb-run (GH-7890)
2018-06-24 10:20:34 -05:00
Zackery Spytz
ea737751b1
bpo-33451: Close pyc files before calling PyEval_EvalCode() (GH-7884)
...
Directly executed pyc files were being kept open longer than necessary.
2018-06-24 13:15:24 +10:00
Andrés Delfino
0ba9a0b7d1
[master] bpo-33885: Replace "hook function" with "callable" (GH-7765) ( #7886 )
...
(cherry picked from commit c45cb47907
)
Co-authored-by: Andrés Delfino <adelfino@gmail.com>
2018-06-23 19:23:50 -07:00
Terry Jan Reedy
5ae70f66ff
bpo-33950: Remove IDLE htest spec for a deleted file. (GH-7881)
...
In configdialog, the custom tabbedpages widget was replaced
by ttk.notebook several months ago.
2018-06-23 17:33:27 -04:00
Andrés Delfino
38cf49bf69
bpo-33887: Add TOC to Design and History FAQ(GH-7766)
2018-06-23 11:27:16 -07:00
Dong-hee Na
3d70f7aef6
bpo-33805: Improve error message of dataclasses.replace() (GH-7580)
2018-06-23 10:46:32 -04:00
jdemeyer
66ecefcfe7
Remove tp_print implementation (GH-7857)
2018-06-23 21:08:43 +09:00
Victor Stinner
9b7cf75721
bpo-33916: Fix bz2 and lzma init when called twice (GH-7843)
...
bz2, lzma: When Decompressor.__init__() is called twice, free the old
lock to not leak memory.
2018-06-23 10:35:23 +02:00
Xiang Zhang
44742e94c8
suppress compiler warnings in _cursesmodule.c ( #7860 )
2018-06-23 12:29:30 +08:00
Andrés Delfino
c9d43c702a
bpo-33877: Remove UNIX qualification for running complete programs (GH-7744)
...
The statement is true for Windows (and macOS) also.
2018-06-22 17:31:03 -04:00
Ammar Askar
d7da836c74
Add test coverage reporting for C files (GH-7773)
2018-06-22 14:29:02 -07:00
Victor Stinner
8fbbdf0c31
bpo-33671: Add support.MS_WINDOWS and support.MACOS (GH-7800)
...
* Add support.MS_WINDOWS: True if Python is running on Microsoft Windows.
* Add support.MACOS: True if Python is running on Apple macOS.
* Replace support.is_android with support.ANDROID
* Replace support.is_jython with support.JYTHON
* Cleanup code to initialize unix_shell
2018-06-22 19:25:44 +02:00
Victor Stinner
209abf7469
bpo-33932: Calling Py_Initialize() twice does nothing (GH-7845)
...
Calling Py_Initialize() twice does nothing, instead of failing with a
fatal error: restore the Python 3.6 behaviour.
2018-06-22 19:14:51 +02:00
Terry Jan Reedy
bcd3a1a18d
bpo-33905: Add test for idlelib.stackview.StackBrowser. (GH-7852)
...
Increases coverage by 44%.
2018-06-21 22:19:56 -04:00
Christopher Frederickson
419e88d18c
bpo-33912: Fix test_warnings when run with -Werror (GH-7839)
...
Add missing warning filter to test_exec_filename().
2018-06-21 18:12:56 +02:00
Pablo Galindo
3ad8decd76
bpo-33716, test_concurrent_futures: increase timeout (GH-7828)
...
Increase the timeout from 1 min to 5 min.
Replace also time.time() with time.monotonic() for timeouts.
2018-06-21 12:30:37 +01:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
940ae60856
Clarified the tempfile.tempdir documentation (GH-7829)
2018-06-21 03:52:43 -04:00
Terry Jan Reedy
33c7420e7d
bpo-33924: Change IDLE mainmenu.menudefs key 'windows' to 'window' (GH-7836)
...
Every other menudef key is the lowercase version of the
corresponding main menu entry (in this case, 'Window').
2018-06-20 22:49:55 -04:00
Terry Jan Reedy
a361e89d5a
bpo-33906: Rename idlelib.windows as window ( #7833 )
...
Match Window on the main menu and remove last plural module name.
Change imports, test, and attribute references to match new name.
2018-06-20 21:25:59 -04:00
Terry Jan Reedy
87a927325e
bpo-33917: Fix and document idlelib/idle_test/template.py (GH-7830)
...
The revised file compiles, runs, and tests OK. idle_test/README.txt
explains how to use it to create new IDLE test files.
2018-06-20 17:08:31 -04:00
Xiang Zhang
b248e957a8
Fix compiling error when missing gdbm version macros (GH-7823)
2018-06-20 21:23:30 +08:00
Nick Coghlan
16eb3bcdb2
bpo-33499: PYTHONPYCACHEPREFIX What's New entry (GH-7749)
...
Initial What's New in Python 3.8 entry for `PYTHONPYCACHEPREFIX`.
2018-06-20 21:25:01 +10:00
Victor Stinner
fd8fbce495
bpo-33746: Fix test_unittest.testRegisterResult() in verbose mode (GH-7799)
...
Only make sure that the result is in unittest.signals._results, don't
check the full content of unittest.signals._results.
support._run_suite() uses TextTestRunner in verbose mode, but
TextTestRunner.run() calls registerResult(result) which made the test
fail with "odd object in result set".
Call also removeResult() to restore unittest.signals._results to
avoid test side effect.
2018-06-20 11:29:33 +02:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
9bb92235f6
bpo-33904: In IDLE's rstrip, rename class RstripExtension as Rstrip (GH-7811)
2018-06-20 03:42:13 -04:00
Terry Jan Reedy
9af1836664
bpo-33907: Rename an IDLE module and classes. (GH-7810)
...
Fix-up class name duplication in PR #7807 . Combined effect is that
module calltips and its class CallTips are now calltip and Calltip.
In module calltip_w class CallTip is now CalltipWindow.
2018-06-20 02:18:49 -04:00
Srinivas Reddy Thatiparthy (శ్రీనివాస్ రెడ్డి తాటిపర్తి)
acdc660efc
bpo-33908: Remove two superfluous assignments (GH-7116)
...
Signed-off-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>
2018-06-20 13:07:31 +08:00
Terry Jan Reedy
06e2029dfa
bpo-33907: Rename an IDLE module and class. (GH-7807)
...
Improve consistency and appearance. Module idlelib.calltips is now calltip.
Class idlelib.calltip_w.CallTip is now Calltip.
2018-06-19 23:00:35 -04:00
Terry Jan Reedy
4d92158f4c
bpo-33855: Still more edits and minimal tests for IDLE (GH-7784)
...
Part 3 of 3, continuing PR #7689 . This covers 14 idlelib modules and their tests,
rpc to zoomheight except for run (already done) and tooltip (being done separately).
2018-06-19 19:12:52 -04:00
Victor Stinner
00f9edb98d
bpo-33901: Add _gdbm._GDBM_VERSION (GH-7794)
...
* Fix also PyInit__gdbm() to catch errors.
* test.pythoninfo: add gdbm.version
* test_dbm_gnu now logs GDBM_VERSION when run in verbose mode.
* pythoninfo: rename function to collect_gdbm()
2018-06-19 23:29:22 +02:00
Victor Stinner
06fe77a84b
bpo-30345: Add -g to LDFLAGS for LTO (GH-7709)
...
Add -g to LDFLAGS when compiling with LTO to get debug symbols.
2018-06-19 18:24:58 +02:00
Victor Stinner
c44d8e5db6
bpo-33901: Better test_dbm_gnu.test_reorganize() fix (GH-7795)
...
Fix test_dbm_gnu.test_reorganize() on macOS with gdbm 1.15: add a
larger value to make sure that the file size changes.
2018-06-19 17:37:07 +02:00
Giampaolo Rodola
c7f02a9659
bpo-33671 / shutil.copyfile: use memoryview() with dynamic size on Windows ( #7681 )
...
bpo-33671
* use memoryview() with size == file size on Windows, see https://github.com/python/cpython/pull/7160#discussion_r195405230
* release intermediate (sliced) memoryview immediately
* replace "OSX" occurrences with "macOS"
* add some unittests for copyfileobj()
2018-06-19 08:27:29 -07:00
Marco Strigl
936f03e7fa
bpo-33365: print the header values beside the keys (GH-6611)
...
with debuglevel=1 only the header keys got printed. With
this change the header values get printed as well and the single
header entries get '\n' as a separator.
2018-06-19 16:20:58 +03:00
Victor Stinner
1261bfa83d
bpo-33901: Fix test_dbm_gnu for gdbm 1.15 (GH-7791)
...
Using gdbm 1.15, creating a database creates a file of 16 MiB. Adding
a small entry and then modifying the small entry doesn't change the
file size. Modify test_dbm_gnu to be less strict: allow that the file
size doesn't change.
2018-06-19 14:19:54 +02:00
Serhiy Storchaka
22525de737
Use more specific asserts in dbm tests. (GH-7786)
...
This may help to investigate bpo-33901.
2018-06-19 13:31:48 +03:00
Bup
fc93bd467e
Change tp_size to tp_basicsize in comment and realign the comments (GH-6775)
2018-06-19 16:59:55 +08:00
INADA Naoki
698865dcbb
bpo-33843: Remove deprecated stuff in cgi module (GH-7662)
2018-06-19 17:28:50 +09:00
Pablo Galindo
cb970730e3
bpo-33630: Fix using of freed memory in old versions of glicb for posix_spawn(). (GH-7685)
2018-06-19 11:19:50 +03:00
ValeriyaSinevich
b36b0a3765
bpo-33663: Convert content length to string before putting to header (GH-7754)
2018-06-18 14:17:53 -07:00
INADA Naoki
e57f91a0f0
bpo-33866: enum: Stop using OrderedDict (GH-7698)
2018-06-19 01:14:26 +09:00
Terry Jan Reedy
ea3dc8029a
bpo-33855: More edits and new minimal tests for IDLE (GH-7761)
...
Part 2 of 3. Continues PR #7689 , changeset ee5ef30
.
Edit and add tests for 18 modules, help_about to replace and run.
2018-06-18 04:47:59 -04:00
Andrés Delfino
5092439c2c
bpo-33892: Doc: Use gender neutral words (GH-7770)
2018-06-18 13:34:30 +09:00