- 21 Jun, 2018 3 commits
-
-
-
Terry Jan Reedy authored
Every other menudef key is the lowercase version of the corresponding main menu entry (in this case, 'Window').
-
Terry Jan Reedy authored
Match Window on the main menu and remove last plural module name. Change imports, test, and attribute references to match new name.
-
- 20 Jun, 2018 8 commits
-
-
Terry Jan Reedy authored
The revised file compiles, runs, and tests OK. idle_test/README.txt explains how to use it to create new IDLE test files.
-
Xiang Zhang authored
-
Nick Coghlan authored
Initial What's New in Python 3.8 entry for `PYTHONPYCACHEPREFIX`.
-
Victor Stinner authored
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.
-
-
Terry Jan Reedy authored
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.
-
Signed-off-by: Srinivas Reddy Thatiparthy <thatiparthysreenivas@gmail.com>
-
Terry Jan Reedy authored
Improve consistency and appearance. Module idlelib.calltips is now calltip. Class idlelib.calltip_w.CallTip is now Calltip.
-
- 19 Jun, 2018 11 commits
-
-
Terry Jan Reedy authored
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).
-
Victor Stinner authored
* 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()
-
Victor Stinner authored
Add -g to LDFLAGS when compiling with LTO to get debug symbols.
-
Victor Stinner authored
Fix test_dbm_gnu.test_reorganize() on macOS with gdbm 1.15: add a larger value to make sure that the file size changes.
-
Giampaolo Rodola authored
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()
-
Marco Strigl authored
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.
-
Victor Stinner authored
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.
-
Serhiy Storchaka authored
This may help to investigate bpo-33901.
-
Bup authored
-
INADA Naoki authored
-
Pablo Galindo authored
-
- 18 Jun, 2018 4 commits
-
-
ValeriyaSinevich authored
-
INADA Naoki authored
-
Terry Jan Reedy authored
Part 2 of 3. Continues PR #7689, changeset ee5ef309. Edit and add tests for 18 modules, help_about to replace and run.
-
Andrés Delfino authored
-
- 16 Jun, 2018 8 commits
-
-
Stéphane Wirtel authored
Make it the same as when one runs 'python'.
-
Serhiy Storchaka authored
* Test exists(), lexists(), isdir(), isfile(), islink(), ismount() with bytes paths. * Remove unneeded silencing DeprecationWarning for ismount() with bytes path. * Test common functions with unencodable and undecodable paths. * Minor clean up and refactoring.
-
Xtreak authored
-
Carl Meyer authored
In some development setups it is inconvenient or impossible to write bytecode caches to the code tree, but the bytecode caches are still useful. The PYTHONPYCACHEPREFIX environment variable allows specifying an alternate location for cached bytecode files, within which a directory tree mirroring the code tree will be created. This cache tree is then used (for both reading and writing) instead of the local `__pycache__` subdirectory within each source directory. Exposed at runtime as sys.pycache_prefix (defaulting to None), and can be set from the CLI as "-X pycache_prefix=path". Patch by Carl Meyer.
-
Andrés Delfino authored
Mention that it can be triggered by triple quotes and after specifying decorators.
-
Noah Haasis authored
Update the the signature in the code example to make `_cache` a keyword-only parameter.
-
Andrés Delfino authored
-
Pablo Galindo authored
regrtest: Add warning when using less than 3 warmup runs like -R 1:3.
-
- 15 Jun, 2018 6 commits
-
-
Zackery Spytz authored
-
Terry Jan Reedy authored
Create a template for minimally testing a tkinter-using module by importing it and instantiating its class(es). Add a test file for all non-startup IDLE modules. Edit existing files and update coverage. This is part 1 of 3, covering the 21 autocomplete to help modules and touching 33 idlelib files.
-
Victor Stinner authored
Fix "LC_ALL=C python3.7 -V": reset properly the command line parser when the encoding changes after reading the Python configuration. Fix pymain_read_conf(): use memset(0) to reset properly cmdline.
-
Victor Stinner authored
Revert "bpo-32962: Fix test_gdb failure in debug build with -mcet -fcf-protection -O0 (GH-6754)" (#7723) This reverts commit 9b7c74ca.
-
Andrés Delfino authored
-
Andrés Delfino authored
-