26762 Commits

Author SHA1 Message Date
Benjamin Peterson
5323ed3424 Issue #25624: ZipFile now always writes a ZIP_STORED header for directory entries. Patch by Dingyuan Wang. 2015-11-22 19:04:56 -08:00
Benjamin Peterson
241282bac6 update pydoc-topics 2015-11-21 13:35:41 -08:00
Terry Jan Reedy
e4679e40f5 Update idlelib/NEWS.txt. 2015-11-21 13:31:00 -05:00
Serhiy Storchaka
1a31cba464 Issue #25686: test_shutil no longer uses the distutils package for running
external archivers.
2015-11-21 14:11:57 +02:00
Terry Jan Reedy
76ced99721 Issue 15348: Stop debugger engine (normally in user process)
before closing debugger window in IDLE process.
This prevents one-per-line RuntimeErrors.
2015-11-21 00:04:58 -05:00
Terry Jan Reedy
89bdf373c4 Issue #24455: Prevent IDLE from hanging when a) closing the shell while the
debugger is active (15347); b) closing the debugger with the [X] button
(15348); and c) activating the debugger when already active (24455).
The patch by Mark Roseman does this by making two changes.
1. To suspend and resume the gui.interaction method, use the tcl vwait
mechanism interded for this purpose instead of root.mainloop & .quit.
2. In gui.run, allow any existing interaction to terminate first.
2015-11-20 19:36:38 -05:00
Serhiy Storchaka
6156560e4b Issue #25678: Copy buffer objects to null-terminated strings.
Avoid buffer overreads when int(), long(), float(), and compile()
are passed buffer objects.  Similar code is removed from the
complex() constructor, where it was not reachable.

Patch backported from issue #24802 by Eryk Sun.
2015-11-20 21:56:21 +02:00
Terry Jan Reedy
815ab14030 Make it slightly clearer that IDLE close message is referring to user program,
not to IDLE itself.
2015-11-20 12:21:40 -05:00
Nick Coghlan
2a6c2c9baa Close #10128: don't rerun __main__.py in multiprocessing
- backports issue #10845's mitigation of incompatibilities between
  the multiprocessing module and directory and zipfile execution
- Multiprocessing on Windows will now automatically skip rerunning top
  level __main__.py modules in spawned processes, rather than failing
  with AssertionError
2015-11-19 12:59:39 +10:00
Terry Jan Reedy
f7999fc23f Issue #24750: whitespace 2015-11-16 07:36:12 -05:00
Terry Jan Reedy
3d0962222c Issue #24750: Improve appearance of IDLE editor window status bar.
Patch by Mark Roseman.
2015-11-16 07:32:19 -05:00
Serhiy Storchaka
5d7d26c403 Issue #25388: Fixed tokenizer hang when processing undecodable source code
with a null byte.
2015-11-14 15:14:29 +02:00
Martin Panter
ef2b2f437e Issue #25590: Make rlcompleter only call getattr() once per attribute
Previously it was called another time via hasattr(), and both calls were
made once for dir(f) and again for dir(f.__class__).  This includes a
backport of changing from a list to a set from revision 4dbb315fe667.
2015-11-13 22:47:00 +00:00
Terry Jan Reedy
4b4f0b997c Indent 2015-11-12 15:24:22 -05:00
Terry Jan Reedy
55ee13da90 Whitespace 2015-11-12 15:06:02 -05:00
Terry Jan Reedy
35aa5d07a2 Issue #25313: Change the handling of new built-in text color themes to better
address the compatibility problem introduced by the addition of IDLE Dark.
Consistently use the revised idleConf.CurrentTheme everywhere in idlelib.
2015-11-12 15:02:50 -05:00
Serhiy Storchaka
0d649406ae Issue #25607: Restore old distutils logging threshold after running tests that
parse command line arguments.
2015-11-12 19:46:23 +02:00
Serhiy Storchaka
76e6cc15b2 Issue #22995: Backported additional tests for non-pickleable types. 2015-11-12 11:36:42 +02:00
Benjamin Peterson
10aaca9941 always set OP_NO_SSLv3 by default (closes #25530) 2015-11-11 22:38:41 -08:00
Serhiy Storchaka
c54b8ceb91 Issue #7759: Fixed the mhlib module on filesystems that doesn't support
link counting for directories.
2015-11-11 17:33:12 +02:00
Serhiy Storchaka
9665cca16d Issue #6598: Avoid clock wrapping around in test_make_msgid_collisions.
Use time.time instead of time.clock.
2015-11-10 19:53:37 +02:00
Serhiy Storchaka
f64ccb9acf Issue #25263: Fixed the tkinter.test.test_tkinter.test_font.FontTest test
failure when the test is ran the second time.

The root attribute was set in parent class in setUpClass and then
overridded in child class in tearDownClass.
2015-11-10 15:32:54 +02:00
Serhiy Storchaka
bab1f851cc Issue #25582: Fixed 100 MB memory leak in test_ctypes. 2015-11-09 22:31:10 +02:00
Victor Stinner
e192d0bbb9 Issue #7267: format(int, 'c') now raises OverflowError when the argument is not
in range(0, 256).
2015-11-09 12:21:09 +01:00
Serhiy Storchaka
8d0a94df33 Issue #892902: Disable newly added tests in test_xpickle. 2015-11-07 20:04:46 +02:00