]> granicus.if.org Git - python/log
python
10 years agoadd Chris Foster
Benjamin Peterson [Tue, 24 Jun 2014 03:14:46 +0000 (20:14 -0700)]
add Chris Foster

10 years agoinspect: Validate that __signature__ is None or an instance of Signature.
Yury Selivanov [Mon, 23 Jun 2014 17:21:04 +0000 (10:21 -0700)]
inspect: Validate that __signature__ is None or an instance of Signature.

Closes #21801.

10 years agoasyncio: Fix BaseEventLoop._assert_is_current_event_loop(): get_event_loop()
Victor Stinner [Mon, 23 Jun 2014 13:14:13 +0000 (15:14 +0200)]
asyncio: Fix BaseEventLoop._assert_is_current_event_loop(): get_event_loop()
raises an exception if there is no current loop

10 years agoIssue #8343: Named group error msgs did not show the group name.
Raymond Hettinger [Mon, 23 Jun 2014 02:47:22 +0000 (19:47 -0700)]
Issue #8343: Named group error msgs did not show the group name.

10 years agoclarify that islink only really works if python knows about symlinks (closes #13143)
Benjamin Peterson [Mon, 23 Jun 2014 00:59:35 +0000 (17:59 -0700)]
clarify that islink only really works if python knows about symlinks (closes #13143)

Patch from Yayoi Ukai.

10 years agosome timezone doc improvements (closes #16667)
Benjamin Peterson [Sun, 22 Jun 2014 23:26:39 +0000 (16:26 -0700)]
some timezone doc improvements (closes #16667)

From the combined efforts of Berber Peksage, Andrew Svetlov, and Yayoi Ukai.

10 years agoasyncio, Tulip issue 171: BaseEventLoop.close() now raises an exception if the
Victor Stinner [Sun, 22 Jun 2014 23:02:37 +0000 (01:02 +0200)]
asyncio, Tulip issue 171: BaseEventLoop.close() now raises an exception if the
event loop is running. You must first stop the event loop and then wait until
it stopped, before closing it.

10 years agoasyncio: document the debug mode
Victor Stinner [Sun, 22 Jun 2014 22:36:11 +0000 (00:36 +0200)]
asyncio: document the debug mode

10 years agoasyncio, Tulip issue 172: only log selector timing in debug mode
Victor Stinner [Sun, 22 Jun 2014 22:31:08 +0000 (00:31 +0200)]
asyncio, Tulip issue 172: only log selector timing in debug mode

10 years agoasyncio: Add an unit test to check that setting the PYTHONASYNCIODEBUG env var
Victor Stinner [Sun, 22 Jun 2014 22:19:33 +0000 (00:19 +0200)]
asyncio: Add an unit test to check that setting the PYTHONASYNCIODEBUG env var
enables debug mode of the event loop.

10 years agoasyncio: Enable the debug mode of event loops when the PYTHONASYNCIODEBUG
Victor Stinner [Sun, 22 Jun 2014 22:12:14 +0000 (00:12 +0200)]
asyncio: Enable the debug mode of event loops when the PYTHONASYNCIODEBUG
environment variable is set

10 years agoasyncio: BaseEventLoop._assert_is_current_event_loop() now only raises an
Victor Stinner [Sun, 22 Jun 2014 22:03:43 +0000 (00:03 +0200)]
asyncio: BaseEventLoop._assert_is_current_event_loop() now only raises an
exception if the current loop is not None.

Guido van Rossum wrote:

"The behavior that you can set the loop to None (and keep track of it
explicitly) is part of the spec, and this should still be supported even in
debug mode. The behavior that we raise an error if you are caught having
multiple active loops per thread is just a debugging heuristic, and it
shouldn't break code that follows the spec."

10 years agoIssue #10747: Use versioned labels in the Windows start menu.
Martin v. Löwis [Sun, 22 Jun 2014 20:22:33 +0000 (22:22 +0200)]
Issue #10747: Use versioned labels in the Windows start menu.
Patch by Olive Kilburn.

10 years agoIssue #21812: Trigger immediate transformation in turtle.shapetransform().
Raymond Hettinger [Sun, 22 Jun 2014 08:21:51 +0000 (01:21 -0700)]
Issue #21812:  Trigger immediate transformation in turtle.shapetransform().

10 years agoIssue #21823: Catch turtle.Terminator exceptions in turtledemo.
Terry Jan Reedy [Sun, 22 Jun 2014 05:18:54 +0000 (01:18 -0400)]
Issue #21823: Catch turtle.Terminator exceptions in turtledemo.
Add note to demohelp.txt about doing so.

10 years agoIssue 21635: Fix caching in difflib.SequenceMatcher.get_matching_blocks().
Raymond Hettinger [Sat, 21 Jun 2014 18:57:36 +0000 (11:57 -0700)]
Issue 21635:  Fix caching in difflib.SequenceMatcher.get_matching_blocks().

10 years agoMerge.
Charles-François Natali [Fri, 20 Jun 2014 21:59:32 +0000 (22:59 +0100)]
Merge.

10 years agoFix test_pydoc failure introduced by 7aa72075d440. Patch by Berker Peksag.
Charles-François Natali [Fri, 20 Jun 2014 21:59:12 +0000 (22:59 +0100)]
Fix test_pydoc failure introduced by 7aa72075d440. Patch by Berker Peksag.

10 years agoIssue #21770: Call function instead of module. Patch by Claudiu Popa.
Terry Jan Reedy [Fri, 20 Jun 2014 21:49:10 +0000 (17:49 -0400)]
Issue #21770: Call function instead of module. Patch by Claudiu Popa.

10 years agoIssue #21491: socketserver: Fix a race condition in child processes reaping.
Charles-François Natali [Fri, 20 Jun 2014 21:37:35 +0000 (22:37 +0100)]
Issue #21491: socketserver: Fix a race condition in child processes reaping.

10 years agoIssue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa.
Terry Jan Reedy [Fri, 20 Jun 2014 19:16:35 +0000 (15:16 -0400)]
Issue #21768: fix NameError in test_pydescr. Patch by Claudiu Popa.

10 years agoIssue #21768: fix type in test_pydoc, patch by Claudiu Popa.
Terry Jan Reedy [Fri, 20 Jun 2014 18:59:11 +0000 (14:59 -0400)]
Issue #21768: fix type in test_pydoc, patch by Claudiu Popa.

10 years agoasyncio, Tulip issue 105: in debug mode, log callbacks taking more than 100 ms
Victor Stinner [Fri, 20 Jun 2014 15:34:15 +0000 (17:34 +0200)]
asyncio, Tulip issue 105: in debug mode, log callbacks taking more than 100 ms
to be executed.

10 years agoissue 20091 - index entry for __main__ in runpy docs.
Senthil Kumaran [Fri, 20 Jun 2014 08:37:53 +0000 (01:37 -0700)]
issue 20091 - index entry for __main__ in runpy docs.

10 years ago#21690: fix a couple of links in the docs of the re module. Noticed by Julian Gilbey.
Ezio Melotti [Thu, 19 Jun 2014 21:52:11 +0000 (00:52 +0300)]
#21690: fix a couple of links in the docs of the re module.  Noticed by Julian Gilbey.

10 years agoTulip issue 83: document more asyncio functions in docstrings
Victor Stinner [Thu, 19 Jun 2014 15:11:49 +0000 (17:11 +0200)]
Tulip issue 83: document more asyncio functions in docstrings

10 years agoCloses #21595: asyncio.BaseSelectorEventLoop._read_from_self() now reads all
Victor Stinner [Thu, 19 Jun 2014 10:59:15 +0000 (12:59 +0200)]
Closes #21595: asyncio.BaseSelectorEventLoop._read_from_self() now reads all
available bytes from the "self pipe", not only a single byte. This change
reduces the risk of having the pipe full and so getting the innocuous
"BlockingIOError: [Errno 11] Resource temporarily unavailable" message.

10 years agoCloses #21758: asyncio doc: mention explicitly that subprocess parameters are
Victor Stinner [Thu, 19 Jun 2014 10:50:27 +0000 (12:50 +0200)]
Closes #21758: asyncio doc: mention explicitly that subprocess parameters are
bytes or character strings

10 years agoIssue #21722: The distutils "upload" command now exits with a non-zero return code...
Antoine Pitrou [Thu, 19 Jun 2014 03:07:46 +0000 (23:07 -0400)]
Issue #21722: The distutils "upload" command now exits with a non-zero return code when uploading fails.
Patch by Martin Dengler.

10 years agoIssue #3485: remove misleading comment
Ned Deily [Wed, 18 Jun 2014 20:09:40 +0000 (13:09 -0700)]
Issue #3485: remove misleading comment

10 years agoFix typo pointed out by cocoatomo on docs@
Zachary Ware [Wed, 18 Jun 2014 03:26:59 +0000 (22:26 -0500)]
Fix typo pointed out by cocoatomo on docs@

10 years agoasyncio: Fix pyflakes errors
Victor Stinner [Wed, 18 Jun 2014 01:25:23 +0000 (03:25 +0200)]
asyncio: Fix pyflakes errors

- Add a missing import
- Remove an unused import
- Remove unused variables

10 years agoasyncio: Refactor tests: add a base TestCase class
Victor Stinner [Tue, 17 Jun 2014 23:36:32 +0000 (01:36 +0200)]
asyncio: Refactor tests: add a base TestCase class

10 years agoasyncio: Refactor test__run_once_logging() to not rely on the exact number of
Victor Stinner [Tue, 17 Jun 2014 23:22:15 +0000 (01:22 +0200)]
asyncio: Refactor test__run_once_logging() to not rely on the exact number of
calls to time.monotonic(). Use a "fast select" and a "slow select" instead.

10 years agoasyncio: Set __qualname__ attribute of CoroWrapper in @coroutine decorator on
Victor Stinner [Tue, 17 Jun 2014 23:14:59 +0000 (01:14 +0200)]
asyncio: Set __qualname__ attribute of CoroWrapper in @coroutine decorator on
Python 3.5

- Drop __slots__ optimization of CoroWrapper to be able to set the __qualname__
  attribute.
- Add tests on __name__, __qualname__ and __module__ of a coroutine function
  and coroutine object.
- Fix test_tasks when run in debug mode (PYTHONASYNCIODEBUG env var set) on
  Python 3.3 or 3.4

10 years agoIssue #21723: asyncio.Queue: support any type of number (ex: float) for the
Victor Stinner [Tue, 17 Jun 2014 21:36:21 +0000 (23:36 +0200)]
Issue #21723: asyncio.Queue: support any type of number (ex: float) for the
maximum size. Patch written by Vajrasky Kok.

10 years agoIssue #21694: Add unittest for ParenMatch. Patch by Saimadhav Heblikar.
Terry Jan Reedy [Tue, 17 Jun 2014 20:35:20 +0000 (16:35 -0400)]
Issue #21694: Add unittest for ParenMatch. Patch by Saimadhav Heblikar.

10 years agoadd Ammar Brohi for running ssllab's test on python.org and reporting a problem
Benjamin Peterson [Tue, 17 Jun 2014 16:44:55 +0000 (09:44 -0700)]
add Ammar Brohi for running ssllab's test on python.org and reporting a problem

10 years agorevert tstate_delete_common, since it's pretty much wrong
Benjamin Peterson [Tue, 17 Jun 2014 07:34:46 +0000 (00:34 -0700)]
revert tstate_delete_common, since it's pretty much wrong

10 years agoremove extra call to tstate_delete_common (merge artifact)
Benjamin Peterson [Tue, 17 Jun 2014 06:49:02 +0000 (23:49 -0700)]
remove extra call to tstate_delete_common (merge artifact)

10 years agomerge 3.3
Benjamin Peterson [Tue, 17 Jun 2014 06:16:31 +0000 (23:16 -0700)]
merge 3.3

10 years agomerge 3.2
Benjamin Peterson [Tue, 17 Jun 2014 06:16:06 +0000 (23:16 -0700)]
merge 3.2

10 years agoexpect the correct platform-dependent linesep
Benjamin Peterson [Tue, 17 Jun 2014 06:15:50 +0000 (23:15 -0700)]
expect the correct platform-dependent linesep

10 years agoavoid a deadlock with the interpreter head lock and the GIL during finalization
Benjamin Peterson [Tue, 17 Jun 2014 06:07:49 +0000 (23:07 -0700)]
avoid a deadlock with the interpreter head lock and the GIL during finalization

10 years agocheck if the thread is finalizing after retaking the GIL
Benjamin Peterson [Tue, 17 Jun 2014 05:59:07 +0000 (22:59 -0700)]
check if the thread is finalizing after retaking the GIL

10 years agoAdd Idle news entries.
Terry Jan Reedy [Mon, 16 Jun 2014 23:24:29 +0000 (19:24 -0400)]
Add Idle news entries.

10 years agoIssue #21686: add unittest for idlelib.HyperParser. Original patch by Saimadhav
Terry Jan Reedy [Mon, 16 Jun 2014 23:01:01 +0000 (19:01 -0400)]
Issue #21686: add unittest for idlelib.HyperParser.  Original patch by Saimadhav
Heblikar. Correct a minor 3.x bug in HyperParser discovered by testing.

10 years agoasyncio: Task.__repr__() now also handles CoroWrapper
Victor Stinner [Mon, 16 Jun 2014 22:26:36 +0000 (00:26 +0200)]
asyncio: Task.__repr__() now also handles CoroWrapper

10 years agoIssue #21773: Fix TestStdLib.test_pydoc() of test_enum. Patch written by
Victor Stinner [Mon, 16 Jun 2014 20:48:43 +0000 (22:48 +0200)]
Issue #21773: Fix TestStdLib.test_pydoc() of test_enum. Patch written by
Claudiu Popa.

The print_diffs() function was not defined, using the assertEqual() is more
reliable.

10 years agoFix typo reported by Jesse W on docs@
Zachary Ware [Mon, 16 Jun 2014 16:13:01 +0000 (11:13 -0500)]
Fix typo reported by Jesse W on docs@

10 years agoSync asyncio with Tulip: Fix test_tasks for Python 3.5
Victor Stinner [Mon, 16 Jun 2014 15:11:05 +0000 (17:11 +0200)]
Sync asyncio with Tulip: Fix test_tasks for Python 3.5

On Python 3.5, generator now gets their name from the function, no more from
the code. So we get the expected "notmuch" name instead of the generic "coro"
name.

10 years agoIssue #21669: Special case print & exec syntax errors
Nick Coghlan [Mon, 16 Jun 2014 09:48:02 +0000 (19:48 +1000)]
Issue #21669: Special case print & exec syntax errors

10 years agoIssue #21559: Add alternative (historical) reason for OverflowError.
Terry Jan Reedy [Mon, 16 Jun 2014 07:31:00 +0000 (03:31 -0400)]
Issue #21559: Add alternative (historical) reason for OverflowError.

10 years agoIssue #19362: Tweek len() doc and docstring to expand the indicated range of
Terry Jan Reedy [Mon, 16 Jun 2014 07:05:37 +0000 (03:05 -0400)]
Issue #19362: Tweek len() doc and docstring to expand the indicated range of
arguments. Original patch by Gareth Rees.

10 years agowhitespace
Terry Jan Reedy [Mon, 16 Jun 2014 06:40:24 +0000 (02:40 -0400)]
whitespace

10 years agoIssue #21686: idlelib/HyperParser.py - Update docstrings and comments and
Terry Jan Reedy [Mon, 16 Jun 2014 06:33:35 +0000 (02:33 -0400)]
Issue #21686: idlelib/HyperParser.py - Update docstrings and comments and
replace \ line contiuation. Tested against nearly done test_hyperparser.py.

10 years agoclarify when the list of subdirectories is read (closes #13779)
Benjamin Peterson [Mon, 16 Jun 2014 03:51:12 +0000 (20:51 -0700)]
clarify when the list of subdirectories is read (closes #13779)

10 years agofix a BytesWarning in my previous commit.
Gregory P. Smith [Mon, 16 Jun 2014 03:16:01 +0000 (20:16 -0700)]
fix a BytesWarning in my previous commit.

10 years agoIsolate the subprocess test_close_fds_when_max_fd_is_lowered test so
Gregory P. Smith [Mon, 16 Jun 2014 00:51:04 +0000 (17:51 -0700)]
Isolate the subprocess test_close_fds_when_max_fd_is_lowered test so
that the rlimit calls happens in a child process rather than the
TestCase process to attempt to fix the gentoo buildbot's "Too many
open files" error.

10 years agoIssue #21774: Fix incorrect variable in xml.dom.minidom
Raymond Hettinger [Sun, 15 Jun 2014 21:48:19 +0000 (14:48 -0700)]
Issue #21774: Fix incorrect variable in xml.dom.minidom

10 years agodocument IOBase.__del__'s behavior (closes #21764)
Benjamin Peterson [Sun, 15 Jun 2014 01:51:34 +0000 (18:51 -0700)]
document IOBase.__del__'s behavior (closes #21764)

Patch from Nikolaus Rath.

10 years agomerge 3.3 (#21766)
Benjamin Peterson [Sun, 15 Jun 2014 01:41:13 +0000 (18:41 -0700)]
merge 3.3 (#21766)

10 years agomerge 3.2 (#21766)
Benjamin Peterson [Sun, 15 Jun 2014 01:40:10 +0000 (18:40 -0700)]
merge 3.2 (#21766)

10 years agourl unquote the path before checking if it refers to a CGI script (closes #21766)
Benjamin Peterson [Sun, 15 Jun 2014 01:36:29 +0000 (18:36 -0700)]
url unquote the path before checking if it refers to a CGI script (closes #21766)

10 years agoIssue #21742: Set stream to None after closing.
Vinay Sajip [Sat, 14 Jun 2014 09:22:05 +0000 (10:22 +0100)]
Issue #21742: Set stream to None after closing.

10 years agoIssue #21752: Documented change to behaviour of logging.getLevelName().
Vinay Sajip [Sat, 14 Jun 2014 08:26:26 +0000 (09:26 +0100)]
Issue #21752: Documented change to behaviour of logging.getLevelName().

10 years agoIssue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag.
Terry Jan Reedy [Fri, 13 Jun 2014 19:20:45 +0000 (15:20 -0400)]
Issue #21730: Add no-thread skip in test_socket. Patch by Berker Peksag.

10 years agoIssue #21726: Remove unnecessary and contextually wrong line.
Terry Jan Reedy [Fri, 13 Jun 2014 18:57:51 +0000 (14:57 -0400)]
Issue #21726: Remove unnecessary and contextually wrong line.

10 years agoIssue #19493: Refactor ctypes test package.
Zachary Ware [Fri, 13 Jun 2014 18:44:39 +0000 (13:44 -0500)]
Issue #19493: Refactor ctypes test package.

Skipped tests are now marked as skipped, formerly commented-out or
renamed-so-it-doesn't-look-like-a-test tests are uncommented, properly named,
and unconditionally skipped, some tests that simply didn't run before
are now able to run, and a few are split into multiple methods instead of
skipping via 'return' in the middle of a method.  Also, a couple of unused
files are removed completely.

10 years agoIssue #20043: Add direct test for _thread.
Terry Jan Reedy [Fri, 13 Jun 2014 18:23:43 +0000 (14:23 -0400)]
Issue #20043: Add direct test for _thread.

10 years agoPer Martin [1], PGO is no longer used for official releases.
Zachary Ware [Fri, 13 Jun 2014 14:43:15 +0000 (09:43 -0500)]
Per Martin [1], PGO is no longer used for official releases.

[1] https://mail.python.org/pipermail/python-dev/2014-June/135018.html

10 years agoIssue #21745: Mention VS2010 SP1 as a solution for LNK1123 errors
Zachary Ware [Fri, 13 Jun 2014 14:38:50 +0000 (09:38 -0500)]
Issue #21745: Mention VS2010 SP1 as a solution for LNK1123 errors

10 years agoIssue #16136: VMSError is done, bye bye VMS
Victor Stinner [Fri, 13 Jun 2014 12:58:48 +0000 (14:58 +0200)]
Issue #16136: VMSError is done, bye bye VMS

10 years agoIssue #21709: Improved implementation to cover the frozen module case.
Vinay Sajip [Thu, 12 Jun 2014 22:36:33 +0000 (23:36 +0100)]
Issue #21709: Improved implementation to cover the frozen module case.

10 years agoasyncio: Tulip issue 173: Enhance repr(Handle) and repr(Task)
Victor Stinner [Thu, 12 Jun 2014 16:39:26 +0000 (18:39 +0200)]
asyncio: Tulip issue 173: Enhance repr(Handle) and repr(Task)

repr(Handle) is shorter for function: "foo" instead of "<function foo at
0x...>". It now also includes the source of the callback, filename and line
number where it was defined, if available.

repr(Task) now also includes the current position in the code, filename and
line number, if available. If the coroutine (generator) is done, the line
number is omitted and "done" is added.

10 years agoIssue #12387: Add missing upper(lower)case versions of default Windows key
Terry Jan Reedy [Thu, 12 Jun 2014 05:03:08 +0000 (01:03 -0400)]
Issue #12387: Add missing upper(lower)case versions of default Windows key
bindings for Idle so Caps Lock does not disable them. Patch by Roger Serwy.

10 years agoIssue #21713: Fix typo in a comment. Found by Joseph Shen.
Zachary Ware [Wed, 11 Jun 2014 20:27:04 +0000 (15:27 -0500)]
Issue #21713: Fix typo in a comment.  Found by Joseph Shen.

10 years ago#21693 - Fix the broken link for pylons project.
Senthil Kumaran [Wed, 11 Jun 2014 13:19:21 +0000 (06:19 -0700)]
#21693 - Fix the broken link for pylons project.

10 years agoIssue #21629: Fix Argument Clinic's "--converters" feature.
Larry Hastings [Wed, 11 Jun 2014 11:31:29 +0000 (04:31 -0700)]
Issue #21629: Fix Argument Clinic's "--converters" feature.

10 years agoIssue #21709: Remove references to __file__ when part of a frozen application.
Vinay Sajip [Wed, 11 Jun 2014 07:01:32 +0000 (08:01 +0100)]
Issue #21709: Remove references to __file__ when part of a frozen application.

10 years agoPyErr_NormalizeException doesn't like being called with an exception set
Serhiy Storchaka [Wed, 11 Jun 2014 04:18:53 +0000 (07:18 +0300)]
PyErr_NormalizeException doesn't like being called with an exception set
(issues #21677, #21310).

10 years agoIssue #21688: Give informative error message when hhc.exe cannot be found.
Zachary Ware [Tue, 10 Jun 2014 17:07:45 +0000 (12:07 -0500)]
Issue #21688: Give informative error message when hhc.exe cannot be found.

Initial patch by Olive Kilburn.

10 years agoIssue #21596: asyncio.wait(): mention that the sequence of futures must not
Victor Stinner [Tue, 10 Jun 2014 09:16:05 +0000 (11:16 +0200)]
Issue #21596: asyncio.wait(): mention that the sequence of futures must not
be empty.

10 years agoIssue #21326: Add a new is_closed() method to asyncio.BaseEventLoop
Victor Stinner [Tue, 10 Jun 2014 08:23:10 +0000 (10:23 +0200)]
Issue #21326: Add a new is_closed() method to asyncio.BaseEventLoop

Add BaseEventLoop._closed attribute and use it to check if the event loop was
closed or not, instead of checking different attributes in each subclass of
BaseEventLoop.

run_forever() and run_until_complete() methods now raise a RuntimeError('Event loop is
closed') exception if the event loop was closed.

BaseProactorEventLoop.close() now also cancels "accept futures".

10 years agoIssue #21700: Fix asyncio doc, add DatagramProtocol
Victor Stinner [Tue, 10 Jun 2014 07:19:26 +0000 (09:19 +0200)]
Issue #21700: Fix asyncio doc, add DatagramProtocol

10 years agoIssue #21695: Catch AttributeError created when user closes grep output window
Terry Jan Reedy [Tue, 10 Jun 2014 06:49:35 +0000 (02:49 -0400)]
Issue #21695: Catch AttributeError created when user closes grep output window
while still being written to. With no console, this closed Idle.
Also add missing import and a few other changes.

10 years ago#20903: clarify what happens when an smtp connection timeout occurs.
R David Murray [Mon, 9 Jun 2014 20:41:06 +0000 (16:41 -0400)]
#20903: clarify what happens when an smtp connection timeout occurs.

Patch by Milan Oberkirch.

10 years agoIssue #21310: Fixed possible resource leak in failed open().
Serhiy Storchaka [Mon, 9 Jun 2014 10:32:34 +0000 (13:32 +0300)]
Issue #21310: Fixed possible resource leak in failed open().

10 years agoIssue #21677: Fixed chaining nonnormalized exceptions in io close() methods.
Serhiy Storchaka [Mon, 9 Jun 2014 06:13:04 +0000 (09:13 +0300)]
Issue #21677: Fixed chaining nonnormalized exceptions in io close() methods.

10 years agoIssue #21569: Fix incorrect cross reference
Nick Coghlan [Mon, 9 Jun 2014 03:14:54 +0000 (13:14 +1000)]
Issue #21569: Fix incorrect cross reference

10 years agoIssue #21683: Add Tix build to the Windows buildbot scripts.
Zachary Ware [Sun, 8 Jun 2014 19:28:13 +0000 (14:28 -0500)]
Issue #21683: Add Tix build to the Windows buildbot scripts.

10 years agowhitespace
Terry Jan Reedy [Sun, 8 Jun 2014 18:57:24 +0000 (14:57 -0400)]
whitespace

10 years agoIssue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Terry Jan Reedy [Sun, 8 Jun 2014 18:47:26 +0000 (14:47 -0400)]
Issue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Patch by Saimadhav Heblikar. (2 head merge)

10 years agomake sure the builtin help function doesn't fail when sys.stdin is not a valid file...
Benjamin Peterson [Sun, 8 Jun 2014 03:14:26 +0000 (20:14 -0700)]
make sure the builtin help function doesn't fail when sys.stdin is not a valid file (closes #11709)

Original patch by Amaury Forgeot d'Arc with a test by bdettmer.

10 years agodocument TokenError and unclosed expression behavior (closes #12063)
Benjamin Peterson [Sun, 8 Jun 2014 00:47:41 +0000 (17:47 -0700)]
document TokenError and unclosed expression behavior (closes #12063)

Patch by Amandine Lee.

10 years agodon't remove self from example code in the HTML output (closes #13223)
Benjamin Peterson [Sat, 7 Jun 2014 23:44:00 +0000 (16:44 -0700)]
don't remove self from example code in the HTML output (closes #13223)

Patch by Víctor Terrón.

10 years agoin ftp cache pruning, avoid changing the size of a dict while iterating over it ...
Benjamin Peterson [Sat, 7 Jun 2014 22:08:04 +0000 (15:08 -0700)]
in ftp cache pruning, avoid changing the size of a dict while iterating over it (closes #21463)

Patch by Skyler Leigh Amador.

10 years agospecify that getuid() returns the real uid (closes #10503)
Benjamin Peterson [Sat, 7 Jun 2014 20:50:34 +0000 (13:50 -0700)]
specify that getuid() returns the real uid (closes #10503)

Patch by εσχατοκυριος.

10 years agodocument the compress_level argument to tarfile.open (closes #21404)
Benjamin Peterson [Sat, 7 Jun 2014 19:45:37 +0000 (12:45 -0700)]
document the compress_level argument to tarfile.open (closes #21404)

Patch by Katherine Busch.

10 years agoallow the keyword else immediately after (no space) an integer (closes #21642)
Benjamin Peterson [Sat, 7 Jun 2014 19:36:39 +0000 (12:36 -0700)]
allow the keyword else immediately after (no space) an integer (closes #21642)