Commit Graph

26326 Commits

Author SHA1 Message Date
Serhiy Storchaka 186c5f07e6 Issue #22775: Fixed unpickling of Cookie.SimpleCookie with protocol 2.
Patch by Tim Graham.
2014-11-02 22:35:47 +02:00
Ezio Melotti 009352aefd #22751: fix test___all__ warning about modified environment in the tests. Patch by Michael Cetrulo. 2014-11-02 19:08:35 +02:00
Zachary Ware 21a2350a83 Issue #17896: Move Windows external lib sources from .. to externals. 2014-11-01 22:34:09 -05:00
Ned Deily 33db23f53c Issue #22770: Prevent some Tk segfaults on OS X when running gui tests.
When running tests in subprocesses with the regrtest -j option, a bug
in Cocoa Tk can result in a Tcl segfault.  Avoid the problem by forcing
Tk to fully initialize as an OS X gui process before destroying the
Tcl instance and creating another. (Original patch by Serhiy Storchaka)
2014-11-01 19:26:45 -07:00
Vinay Sajip a79d6f40df Brought excluded code into the scope of a try block in SysLogHandler.emit(). 2014-11-01 19:56:13 +00:00
Serhiy Storchaka e9e54ae222 Issue #17381: Fixed ranges handling in case-insensitive regular expressions. 2014-10-31 13:53:21 +02:00
Serhiy Storchaka c04fcd40bd Backported the optimization of compiling charsets in regular expressions
(issue #19329).  This is needed to apply the patch from issue #17381.
2014-10-31 13:34:06 +02:00
Serhiy Storchaka e969b1b80e Fixed compile error in issue #22410. The _locale module is optional. 2014-10-31 01:31:33 +02:00
Serhiy Storchaka d4c7290368 Issue #22410: Module level functions in the re module now cache compiled
locale-dependent regular expressions taking into account the locale.
2014-10-31 00:53:19 +02:00
Antoine Pitrou 78be2f4e01 Issue #8876: distutils now falls back to copying files when hard linking doesn't work.
This allows use with special filesystems such as VirtualBox shared folders.
2014-10-30 19:37:07 +01:00
Terry Jan Reedy 7a16207ce1 Issue #3068: Add Idle extension configuration dialog to Options menu.
Original patch by Tal Einat.
2014-10-22 20:15:12 -04:00
Terry Jan Reedy 0daddbdb7a Issue #20155: Fix non-buildbot test failure on Windows. Patch by Claudiu Popa,
revised by R. David Murray.
2014-10-18 17:10:02 -04:00
R David Murray af26c15110 #9351: set_defaults on subparser is no longer ignored if set on parent.
Before, if a default was set on the parent parser, any default for that
variable set via set_defaults on a subparser would be ignored.  Now
the subparser set_defaults is honored.

Patch by Jyrki Pullianinen.
2014-10-17 20:07:08 -04:00
Vinay Sajip 0746b00288 Issue #22646: Accept list as well as tuple to support initialisation via dictConfig(). 2014-10-17 08:42:57 +01:00
Terry Jan Reedy cf834769e4 Issue #22629: Revise idle_test.htest, mostly docstring. Start revision of
htests to add # htest # marker for coveragepy and stop tcl errors.
2014-10-17 01:31:29 -04:00
Terry Jan Reedy 833dfadc07 Issue #22628: Increase Treewidge line spacing so lines do not overlap.
Move test lines up with respect to icons.
2014-10-16 23:12:41 -04:00
Terry Jan Reedy 0234fd1c44 Issue #16233: When the module browser is not invoked in an editor window with
a filename, pop up the Open Module box. If a module is opened, open a
corresponding browser.
2014-10-15 22:01:23 -04:00
Terry Jan Reedy cca5b69f93 Issue #3068: Change 0/1 to False/True so that extension configure dialog can
easily recognize and display boolean values as such and recognize changes.
Also reformat comments and alphabetize extensions included with Idle.
2014-10-14 18:55:13 -04:00
Terry Jan Reedy 26e825273c Issue #22632: replace dead link with version-specific doc link. 2014-10-14 16:56:36 -04:00
Serhiy Storchaka 20c049df37 Issue #21855: Fixed the decimal module in unicode disabled build. 2014-10-14 21:10:56 +03:00
Charles-François Natali b29ab4a379 Merge. 2014-10-13 18:42:49 +01:00
Charles-François Natali 977c424ef6 Issue #22435: Fix a file descriptor leak when SocketServer bind fails. 2014-10-13 18:39:34 +01:00
Serhiy Storchaka fbddffad2f Fixed the test of issue #13664 on platforms without unicode filenames support. 2014-10-13 10:33:32 +03:00
Terry Jan Reedy 08da46e10f Issue #22614: Don't try to update deleted text. Patch by Serhiy Storchaka. 2014-10-12 22:58:42 -04:00
Terry Jan Reedy c0dc65ef8d Change deprecated Exception.message to Exception.args-[0] where the use of
.message is not an essential part of the test.
2014-10-12 22:00:10 -04:00
Serhiy Storchaka 54edfb3eef Issue #13664: GzipFile now supports non-ascii Unicode filenames. 2014-10-12 22:23:28 +03:00
R David Murray 55bf20ad6e #13096: Fix segfault in CTypes POINTER handling of large values.
Patch by Meador Inge.
2014-10-12 14:26:30 -04:00
Serhiy Storchaka e73b8c64b8 Always handle non-handled events before destoying root widget in tests.
This gets rid of  Tcl warnings when they are handled later when the root is
already destroyed.
2014-10-12 20:32:05 +03:00
R David Murray d7f44e2370 #11973: add test for previously fixed kevent signed/unsigned bug.
Patch by David Naylor.
2014-10-12 12:42:58 -04:00
Serhiy Storchaka 80f0c824ba Fixed and optimized a test of issue #22526. 2014-10-12 17:13:06 +03:00
Terry Jan Reedy 987a02b5cf Issue #14105: Change comment to reflect fix. Patch by Saimadhav Heblikar. 2014-10-12 01:10:58 -04:00
Antoine Pitrou d0a5e9bb4a Issue #22604: Fix assertion error in debug mode when dividing a complex number by (nan+0j). 2014-10-10 23:49:32 +02:00
Petri Lehtinen f85a856fb0 Issue #11694: Raise ConversionError in xdrlib as documented 2014-10-10 21:11:34 +03:00
R David Murray a68109a248 #0712: 2to3 has a new "asserts" fixer that replaces deprecated names of unittest methods.
Patch by Ezio Melotti, docs by Berker Peksag.
2014-10-09 23:13:42 -04:00
Terry Jan Reedy 1375538b1a De-'colour'ize stdlib except for idlelib.configDialog.
Tweak docstrigs and comments in affected functions in idlelib.configHandler.
2014-10-09 18:44:26 -04:00
Terry Jan Reedy 23030dbfe2 Issue 3068: Move idlelib.configDialog action button creation into a separate
method so it can be reused by the new extension dialog.
2014-10-08 20:29:05 -04:00
Terry Jan Reedy 163d7fb842 idlelib.configHandler: revise docstrings, add spaces, use False/True, add some
TODOs (mostly to do after add tests), and make a few other changes.
2014-10-06 23:26:17 -04:00
Benjamin Peterson 3d1f2d3b52 make _socket.socket weakrefable (closes #22569)
Patch from Alex Gaynor.
2014-10-06 14:38:20 -04:00
Terry Jan Reedy ae4108612c PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
a, b in arg lists, and hanging indents for long arg lists.
2014-08-03 23:02:53 -04:00
Serhiy Storchaka 04fa704161 Issue #21580: Now Tkinter correctly handles binary "data" and "maskdata"
configure options of tkinter.PhotoImage.

Added private Tkapp method _createbytearray().
2014-07-31 07:48:14 +03:00
Terry Jan Reedy 19b7a75abf Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog.
In 2.7, these become leaks and cause test_gc to fail.
2014-07-30 19:24:26 -04:00
Serhiy Storchaka 77149a1c61 Issue #21951: Temporary skip crashing test_user_command on AIX. 2014-07-30 10:58:34 +03:00
Victor Stinner 2af8d2f698 Issue #22023: Fix %S, %R and %V formats of PyUnicode_FromFormat(). 2014-07-30 00:39:05 +02:00
Robert Jordens af09c774e5 Issue #21591: add test for qualified exec in tuple form. 2014-07-29 17:24:24 +02:00
Victor Stinner c382807559 Issue #19612: subprocess.communicate() now also ignores EINVAL when using at
least two pipes.
2014-07-29 00:04:54 +02:00
Terry Jan Reedy 110796fb15 Reduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.
Only change 2.7 version.
Remove ".keys()" from "x in y.keys()" (leave .keys() elsewhere alone).
Change "string.join" to "' '.join" (and string.join(s, ';') to ';'.join(s)).
Change spacing to match 3.4 (will later make spacing changes to both).
2014-07-27 04:07:18 -04:00
Victor Stinner 0a649c7bb1 Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
on closed socket.
2014-07-26 14:52:55 +02:00
Charles-François Natali 5a1427c8a3 Issue #19875: Fix random test_getsockaddrarg() failure. 2014-07-26 13:44:50 +01:00
Raymond Hettinger 1b5f58d167 Issue #21990: Cleanup unnecessary inner class definition in saxutils. 2014-07-25 10:26:36 -07:00
Serhiy Storchaka 2ce9ddd041 Issue #22061: Add deprecation warnings in empty obsolete methods. 2014-07-25 12:23:08 +03:00