86648 Commits

Author SHA1 Message Date
Victor Stinner
3f18f10f39 Issue #25274: test_recursionlimit_recovery() of test_sys now checks
sys.gettrace() when the test is executed, not when the module is loaded.

sys.settrace() may be after after the test is loaded.
2015-10-01 08:55:33 +02:00
Andrew Svetlov
1c62b52c3f Reflect parameter name change in the doc 2015-10-01 09:48:08 +03:00
Victor Stinner
89719e1daf Issue #25182: Fix compilation on Windows
Restore also errno value before calling PyErr_SetFromErrno().
2015-09-30 15:01:34 +02:00
Serhiy Storchaka
a59018c7ab Issue #25182: The stdprinter (used as sys.stderr before the io module is
imported at startup) now uses the backslashreplace error handler.
2015-09-30 15:46:53 +03:00
Serhiy Storchaka
b5102e3550 Issue #22958: Constructor and update method of weakref.WeakValueDictionary
now accept the self and the dict keyword arguments.
2015-09-29 23:52:09 +03:00
Serhiy Storchaka
68f5ef226e Issue #22609: Constructor of collections.UserDict now accepts the self keyword
argument.
2015-09-29 23:36:06 +03:00
Serhiy Storchaka
e060619d4b Issue #25262. Added support for BINBYTES8 opcode in Python implementation of
unpickler.  Highest 32 bits of 64-bit size for BINUNICODE8 and BINBYTES8
opcodes no longer silently ignored on 32-bit platforms in C implementation.
2015-09-29 22:10:07 +03:00
Guido van Rossum
d455a50773 Also rewrote the guts of asyncio.Semaphore (patch by manipopopo). 2015-09-29 11:54:45 -07:00
Andrew Svetlov
d94c1b92ed Fix StreamReader.__repr__ 2015-09-29 18:36:00 +03:00
Eric V. Smith
85976b14dd Fixed issue #25034: Fix string.Formatter problem with auto-numbering
and nested format_specs. Patch by Anthon van der Neut.
2015-09-29 10:27:38 -04:00
Serhiy Storchaka
b8b951f6ee Added additional unpickling tests. 2015-09-29 15:49:58 +03:00
Serhiy Storchaka
c6b54b45ea Moved unpickling tests with prepickled data to separate class. 2015-09-29 15:33:24 +03:00
Terry Jan Reedy
37f81355b0 Issue #24028: Add subsection about Idle calltips. 2015-09-29 01:55:57 -04:00
Terry Jan Reedy
f38356adbb Remove indent in news item. Error when building 3.x docs. 2015-09-29 01:00:31 -04:00
Terry Jan Reedy
9af7fe76ff Add recent IDLE NEWS items. 2015-09-28 23:38:57 -04:00
Guido van Rossum
9af30ac669 Correct Misc/NEWS about asyncio.Queue rewrite. 2015-09-28 16:50:38 -07:00
Guido van Rossum
99f96c5451 Issue #25233: Rewrite the guts of Queue to be more understandable and correct. 2015-09-28 07:42:34 -07:00
Berker Peksag
16a1f28194 Issue #25249: Remove unneeded mkstemp helper in test_subprocess
The helper was added in 76641824cf05 11 years ago and it can be
removed now since all supported Python versions have tempfile.mkstemp().

Patch by Nir Soffer.
2015-09-28 13:33:14 +03:00
Terry Jan Reedy
d351706950 Issue #24972: New option is only valid in tk 8.5+. 2015-09-28 04:52:49 -04:00
Terry Jan Reedy
507a5c4b4e Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
2015-09-28 04:16:32 -04:00
Terry Jan Reedy
2122b62c2a Backed out changeset: 70c01dd35100 2015-09-27 22:50:54 -04:00
Terry Jan Reedy
7082cbce64 Issue #24972: Inactive selection background now matches active selection
background, as selected by user, on all systems.  This also fixes a problem
with found items not highlighted on Windows.  Initial patch by Mark Roseman.
Fix replaces workaround with obscure but proper configuration option.
2015-09-27 22:46:17 -04:00
Alexander Belopolsky
672be19bf3 merge 2015-09-27 22:34:07 -04:00
Alexander Belopolsky
edc6885b3f Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 22:31:45 -04:00
Alexander Belopolsky
c79447b267 Closes issue #23600: Wrong results from tzinfo.fromutc(). 2015-09-27 21:41:55 -04:00
Serhiy Storchaka
1138439376 Issue #25203: Failed readline.set_completer_delims() no longer left the
module in inconsistent state.
2015-09-27 22:34:59 +03:00
R David Murray
87d0066f1a Fix English phrasing. 2015-09-27 12:36:19 -04:00
Benjamin Peterson
3c0769d478 fix spacing 2015-09-27 02:13:40 -07:00
Benjamin Peterson
c76b1c95a7 merge heads 2015-09-27 02:07:19 -07:00
Benjamin Peterson
1dd72e6bc5 make wikipedia link https 2015-09-27 02:05:01 -07:00
Terry Jan Reedy
28670d1ffa Issue #25198: When using the Idle dov TOC menu, put the section title at the
top of the window, unless it is too near the bottom to do do.
2015-09-27 04:40:08 -04:00
Benjamin Peterson
c402d8dcea shorten and fix casing of title 2015-09-27 01:23:10 -07:00
Benjamin Peterson
6aa1564e9c initialize return value to NULL to avoid compiler compliants (closes #25245) 2015-09-27 01:16:03 -07:00
Terry Jan Reedy
d2134c71a1 Issue #24570: Idle: make calltip and completion boxes appear on Macs
affected by a tk regression.  Initial patch by Mark Roseman.
2015-09-26 20:03:57 -04:00
Terry Jan Reedy
00e4ce3a36 Issue #24988: Idle ScrolledList context menus (used in debugger)
now work on Mac Aqua.  Patch by Mark Roseman.
2015-09-26 18:50:26 -04:00
Benjamin Peterson
e48cf7e729 prevent overflow in _Unpickler_Read 2015-09-26 00:08:34 -07:00
Terry Jan Reedy
3be2e54adc Issue #25173: Replace 'master' with 'parent' in tkinter.messagebox calls.
This associates the message box with the widget and is better for Mac OSX.
Patch by Mark Roseman.
2015-09-25 22:22:55 -04:00
Martin Panter
cbe16aefb8 Issue #25211: Eliminate lazy error message class by using subTest
Some of the calls to the Frm class were buggy anyway.
2015-09-25 23:50:47 +00:00
Terry Jan Reedy
52736ddc9c Issue #25198: Idle doc viewer now uses user width and height setting.
The height is reduced by 3/4 to account for extra spacing between lines,
relative to an Idle editor, and extra tall header lines.
2015-09-25 00:49:18 -04:00
Terry Jan Reedy
ce021dbb25 Issue #25225: add revised .html. 2015-09-24 23:18:57 -04:00
Terry Jan Reedy
f660ce2363 Issue #25225: Condense and rewrite Idle doc section on text colors. 2015-09-24 23:13:49 -04:00
Terry Jan Reedy
974a271105 Issue #25198: In Idle doc viewer, fix indent of fixed-pitch <pre> text
by adding a new tag.  Patch by Mark Roseman. Also give <pre> text a very
light blueish-gray background similar to that used by Sphinx html.
2015-09-24 17:32:01 -04:00
Andrew Svetlov
74edd3580e Add Benjamin Hodgson to Misc/ACK 2015-09-24 14:34:07 +03:00
Andrew Svetlov
4919907774 Fix #25208: Improve "Develop with asyncio" doc page.
Patch by Benjamin Hodgson.
2015-09-24 14:32:39 +03:00
Terry Jan Reedy
0053c47785 Issue 21995: Explain some differences between IDLE and console Python. 2015-09-24 03:09:43 -04:00
Victor Stinner
bfd9767e0f Issue #24894: Document the codec iso8859_11
Patch written by Prashant Tyagi.
2015-09-24 09:04:05 +02:00
Terry Jan Reedy
8b5a981e02 Issue #22820: Explain need for *print* when running file from Idle editor. 2015-09-24 01:39:30 -04:00
Terry Jan Reedy
6e10ec5367 Issue 25224: Augment Idle doc feature list and no-subprocess section
to finish making current README.txt obsolete.
2015-09-23 20:00:33 -04:00
Terry Jan Reedy
968e285a8c Issue #25219: Update doc for Idle command line options.
Some were missing and notes were not correct.
2015-09-23 03:52:23 -04:00
Terry Jan Reedy
6f5cdfefa1 Idlelib.help: add 'b' prefix needed for bytes + bytes. 2015-09-23 03:45:13 -04:00