]> granicus.if.org Git - python/log
python
11 years agoIssue #18258: Fix test discovery for test_codecmaps_*.
Zachary Ware [Wed, 2 Jul 2014 01:06:19 +0000 (20:06 -0500)]
Issue #18258: Fix test discovery for test_codecmaps_*.

11 years agoIssue #18258: Fix test discovery for test_codecmaps_*.
Zachary Ware [Wed, 2 Jul 2014 00:55:04 +0000 (19:55 -0500)]
Issue #18258: Fix test discovery for test_codecmaps_*.

11 years agoMerge with 3.4
Terry Jan Reedy [Tue, 1 Jul 2014 22:52:53 +0000 (18:52 -0400)]
Merge with 3.4

11 years agoDelete a few unused names suggested by pyflakes.
Terry Jan Reedy [Tue, 1 Jul 2014 22:52:37 +0000 (18:52 -0400)]
Delete a few unused names suggested by pyflakes.

11 years ago(Merge 3.4) Issue #8677: make the zlib module "ssize_t clean" for parsing
Victor Stinner [Tue, 1 Jul 2014 14:48:42 +0000 (16:48 +0200)]
(Merge 3.4) Issue #8677: make the zlib module "ssize_t clean" for parsing
parameters

11 years agoIssue #8677: make the zlib module "ssize_t clean" for parsing parameters
Victor Stinner [Tue, 1 Jul 2014 14:48:12 +0000 (16:48 +0200)]
Issue #8677: make the zlib module "ssize_t clean" for parsing parameters

11 years ago(Merge 3.4) Closes #21780: make the unicodedata module "ssize_t clean" for
Victor Stinner [Tue, 1 Jul 2014 14:46:12 +0000 (16:46 +0200)]
(Merge 3.4) Closes #21780: make the unicodedata module "ssize_t clean" for
parsing parameters

11 years agoCloses #21780: make the unicodedata module "ssize_t clean" for parsing parameters
Victor Stinner [Tue, 1 Jul 2014 14:45:52 +0000 (16:45 +0200)]
Closes #21780: make the unicodedata module "ssize_t clean" for parsing parameters

11 years ago(Merge 3.4) Issue #21781: Make the ssl module "ssize_t clean" for parsing
Victor Stinner [Tue, 1 Jul 2014 14:39:23 +0000 (16:39 +0200)]
(Merge 3.4) Issue #21781: Make the ssl module "ssize_t clean" for parsing
parameters.  ssl.RAND_add() now supports strings longer than 2 GB.

11 years agoIssue #21781: Make the ssl module "ssize_t clean" for parsing parameters.
Victor Stinner [Tue, 1 Jul 2014 14:37:17 +0000 (16:37 +0200)]
Issue #21781: Make the ssl module "ssize_t clean" for parsing parameters.
ssl.RAND_add() now supports strings longer than 2 GB.

11 years ago(Merge 3.4) asyncio: Fix test_sleep_cancel(): call_later() mock has no self parameter
Victor Stinner [Tue, 1 Jul 2014 10:39:26 +0000 (12:39 +0200)]
(Merge 3.4) asyncio: Fix test_sleep_cancel(): call_later() mock has no self parameter

11 years agoasyncio: Fix test_sleep_cancel(): call_later() mock has no self parameter
Victor Stinner [Tue, 1 Jul 2014 10:38:51 +0000 (12:38 +0200)]
asyncio: Fix test_sleep_cancel(): call_later() mock has no self parameter

11 years ago(Merge 3.4) Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu
Victor Stinner [Tue, 1 Jul 2014 06:57:54 +0000 (08:57 +0200)]
(Merge 3.4) Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu
to format C size_t, because %zi/%u is not supported on all platforms.

11 years agoCloses #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C
Victor Stinner [Tue, 1 Jul 2014 06:57:10 +0000 (08:57 +0200)]
Closes #21892, #21893: Use PY_FORMAT_SIZE_T instead of %zi or %zu to format C
size_t, because %zi/%u is not supported on all platforms.

11 years agoIssue #21891: remove extraneous semicolon.
Ned Deily [Tue, 1 Jul 2014 06:31:33 +0000 (23:31 -0700)]
Issue #21891: remove extraneous semicolon.

11 years agoIssue #21891: remove extraneous semicolon.
Ned Deily [Tue, 1 Jul 2014 06:31:14 +0000 (23:31 -0700)]
Issue #21891: remove extraneous semicolon.

11 years agoMerge with 3.4
Terry Jan Reedy [Tue, 1 Jul 2014 03:52:32 +0000 (23:52 -0400)]
Merge with 3.4

11 years agoIssue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
Terry Jan Reedy [Tue, 1 Jul 2014 03:52:20 +0000 (23:52 -0400)]
Issue #18592: Refactor 2 SearchDialogBase.create_(option/other)_buttons methods
to remove duplication and return info for tests.  Rewrite corresponding tests.
Test_create_option_buttons was not testing anything because of buggy
comparisons.  Use Python subscripting to get widget options.

11 years agoIssue #13689: Merge from 3.4.
Berker Peksag [Tue, 1 Jul 2014 03:03:24 +0000 (06:03 +0300)]
Issue #13689: Merge from 3.4.

11 years agoIssue #13689: Remove a dead link from howto/urllib.
Berker Peksag [Tue, 1 Jul 2014 03:02:42 +0000 (06:02 +0300)]
Issue #13689: Remove a dead link from howto/urllib.

11 years agoMerge with 3.4
Terry Jan Reedy [Tue, 1 Jul 2014 00:00:16 +0000 (20:00 -0400)]
Merge with 3.4

11 years agoIssue #18592: Add unittests for SearchDialogBase. Patch by Phil Webster.
Terry Jan Reedy [Tue, 1 Jul 2014 00:00:03 +0000 (20:00 -0400)]
Issue #18592: Add unittests for SearchDialogBase. Patch by Phil Webster.

11 years agoMerge with 3.4
Terry Jan Reedy [Mon, 30 Jun 2014 20:09:44 +0000 (16:09 -0400)]
Merge with 3.4

11 years agoIssue #21882: In turtle demos, remove module scope gui and sys calls by
Terry Jan Reedy [Mon, 30 Jun 2014 20:09:24 +0000 (16:09 -0400)]
Issue #21882: In turtle demos, remove module scope gui and sys calls by
either deleting or moving to the module's main function.

11 years ago(Merge 3.4) Issue #21163: BaseEventLoop.run_until_complete() and
Victor Stinner [Mon, 30 Jun 2014 12:51:24 +0000 (14:51 +0200)]
(Merge 3.4) Issue #21163: BaseEventLoop.run_until_complete() and
test_utils.run_briefly() don't log the "destroy pending task" message anymore.
The log is redundant for run_until_complete() and useless in run_briefly().

11 years agoIssue #21163: BaseEventLoop.run_until_complete() and test_utils.run_briefly()
Victor Stinner [Mon, 30 Jun 2014 12:51:04 +0000 (14:51 +0200)]
Issue #21163: BaseEventLoop.run_until_complete() and test_utils.run_briefly()
don't log the "destroy pending task" message anymore. The log is redundant for
run_until_complete() and useless in run_briefly().

11 years agoasyncio: sync with Tulip
Victor Stinner [Mon, 30 Jun 2014 12:39:47 +0000 (14:39 +0200)]
asyncio: sync with Tulip

- Sort imports
- Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it
  with isinstance(obj, types.GeneratorType)
- CoroWrapper: check at runtime if Python has the yield-from bug #21209.  If
  Python has the bug, check if CoroWrapper.send() was called by yield-from to
  decide if parameters must be unpacked or not.
- Fix "Task was destroyed but it is pending!" warning in
  test_task_source_traceback()

11 years agoasyncio: sync with Tulip
Victor Stinner [Mon, 30 Jun 2014 12:39:11 +0000 (14:39 +0200)]
asyncio: sync with Tulip

- Sort imports
- Simplify/optimize iscoroutine(). Inline inspect.isgenerator(obj): replace it
  with isinstance(obj, types.GeneratorType)
- CoroWrapper: check at runtime if Python has the yield-from bug #21209.  If
  Python has the bug, check if CoroWrapper.send() was called by yield-from to
  decide if parameters must be unpacked or not.
- Fix "Task was destroyed but it is pending!" warning in
  test_task_source_traceback()

11 years agoIssue #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() for
Victor Stinner [Mon, 30 Jun 2014 10:32:59 +0000 (12:32 +0200)]
Issue #21645: asyncio: add a watchdog in test_read_all_from_pipe_reader() for
debug

11 years agoFix typo in socket.getaddrinfo() docstring.
Berker Peksag [Mon, 30 Jun 2014 08:30:00 +0000 (11:30 +0300)]
Fix typo in socket.getaddrinfo() docstring.

Reported by Krishna Kumar Thakur on docs@.

11 years agoFix typo in socket.getaddrinfo() docstring.
Berker Peksag [Mon, 30 Jun 2014 08:28:40 +0000 (11:28 +0300)]
Fix typo in socket.getaddrinfo() docstring.

Reported by Krishna Kumar Thakur on docs@.

11 years agoIssue #21811: Add Misc/NEWS entry.
Ned Deily [Mon, 30 Jun 2014 06:54:38 +0000 (23:54 -0700)]
Issue #21811: Add Misc/NEWS entry.

11 years agoIssue #21811: Add Misc/NEWS entry.
Ned Deily [Mon, 30 Jun 2014 06:51:55 +0000 (23:51 -0700)]
Issue #21811: Add Misc/NEWS entry.

11 years agoIssue #14235: Merge from 3.4.
Berker Peksag [Mon, 30 Jun 2014 01:05:54 +0000 (04:05 +0300)]
Issue #14235: Merge from 3.4.

11 years agoIssue #14235: Use importlib.reload() in test_cmd.test_coverage.
Berker Peksag [Mon, 30 Jun 2014 01:04:52 +0000 (04:04 +0300)]
Issue #14235: Use importlib.reload() in test_cmd.test_coverage.

11 years agoIssue #21679: Prevent extraneous fstat() calls during open(). Patch by Bohuslav...
Antoine Pitrou [Mon, 30 Jun 2014 00:07:28 +0000 (20:07 -0400)]
Issue #21679: Prevent extraneous fstat() calls during open().  Patch by Bohuslav Kabrda.

11 years agoMerge 3.4.
Stefan Krah [Sun, 29 Jun 2014 22:16:09 +0000 (00:16 +0200)]
Merge 3.4.

11 years agoIssue #21778: Clarify use of flags if PyBuffer_FillInfo() is used inside a
Stefan Krah [Sun, 29 Jun 2014 22:15:45 +0000 (00:15 +0200)]
Issue #21778:  Clarify use of flags if PyBuffer_FillInfo() is used inside a
getbufferproc().

11 years agoFixes #10541: regrtest -T is broken
Alexander Belopolsky [Sun, 29 Jun 2014 21:44:05 +0000 (17:44 -0400)]
Fixes #10541: regrtest -T is broken

 * makes test_trace tests restore the tracefunc after they run
 * write_results() in trace module will not terminate if lnotab
   cannot be found.

11 years agoIssue #20753: Merge with 3.4.
Berker Peksag [Sun, 29 Jun 2014 12:56:21 +0000 (15:56 +0300)]
Issue #20753: Merge with 3.4.

11 years agoIssue #20753: Skip PasswordProtectedSiteTestCase when Python is built without threads.
Berker Peksag [Sun, 29 Jun 2014 12:54:56 +0000 (15:54 +0300)]
Issue #20753: Skip PasswordProtectedSiteTestCase when Python is built without threads.

11 years ago(Merge 3.4) asyncio: sync with Tulip, add a new asyncio.coroutines module
Victor Stinner [Sat, 28 Jun 2014 22:47:28 +0000 (00:47 +0200)]
(Merge 3.4) asyncio: sync with Tulip, add a new asyncio.coroutines module

11 years agoasyncio: sync with Tulip, add a new asyncio.coroutines module
Victor Stinner [Sat, 28 Jun 2014 22:46:45 +0000 (00:46 +0200)]
asyncio: sync with Tulip, add a new asyncio.coroutines module

11 years agoMERGE: Closes #11279: test_posix and lack of "id -G" support - less noise required...
Jesus Cea [Sat, 28 Jun 2014 16:39:51 +0000 (18:39 +0200)]
MERGE: Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)

11 years agoCloses #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)
Jesus Cea [Sat, 28 Jun 2014 16:39:35 +0000 (18:39 +0200)]
Closes #11279: test_posix and lack of "id -G" support - less noise required? (Solaris)

11 years agoIssue #21863: cProfile now displays the module name of C extension functions, in...
Antoine Pitrou [Sat, 28 Jun 2014 03:49:29 +0000 (23:49 -0400)]
Issue #21863: cProfile now displays the module name of C extension functions, in addition to their own name.

11 years ago(Merge 3.4) asyncio: Fix two "Coroutine xxx was never yielded from" messages in
Victor Stinner [Fri, 27 Jun 2014 23:19:28 +0000 (01:19 +0200)]
(Merge 3.4) asyncio: Fix two "Coroutine xxx was never yielded from" messages in
tests

11 years agoasyncio: Fix two "Coroutine xxx was never yielded from" messages in tests
Victor Stinner [Fri, 27 Jun 2014 23:19:11 +0000 (01:19 +0200)]
asyncio: Fix two "Coroutine xxx was never yielded from" messages in tests

11 years ago(Merge 3.4) asyncio: Fix unit tests on Windows, escape filenames in regex
Victor Stinner [Fri, 27 Jun 2014 22:14:28 +0000 (00:14 +0200)]
(Merge 3.4) asyncio: Fix unit tests on Windows, escape filenames in regex

11 years agoasyncio: Fix unit tests on Windows, escape filenames in regex
Victor Stinner [Fri, 27 Jun 2014 22:12:02 +0000 (00:12 +0200)]
asyncio: Fix unit tests on Windows, escape filenames in regex

11 years ago(Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosed
Victor Stinner [Fri, 27 Jun 2014 21:57:19 +0000 (23:57 +0200)]
(Merge 3.4) Issue #11453: asyncore: emit a ResourceWarning when an unclosed
file_wrapper object is destroyed. The destructor now closes the file if needed.
The close() method can now be called twice: the second call does nothing.

11 years agoIssue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper
Victor Stinner [Fri, 27 Jun 2014 21:52:03 +0000 (23:52 +0200)]
Issue #11453: asyncore: emit a ResourceWarning when an unclosed file_wrapper
object is destroyed. The destructor now closes the file if needed. The close()
method can now be called twice: the second call does nothing.

11 years ago(Merge 3.4) Closes #21582: Cleanup test_asyncore. Patch written by diana.
Victor Stinner [Fri, 27 Jun 2014 20:47:41 +0000 (22:47 +0200)]
(Merge 3.4) Closes #21582: Cleanup test_asyncore. Patch written by diana.

- Use support.captured_stderr() where appropriate
- Removes some "from test.support import xxx" import and uses support.xxx
  instead.

11 years agoCloses #21582: Cleanup test_asyncore. Patch written by diana.
Victor Stinner [Fri, 27 Jun 2014 20:44:40 +0000 (22:44 +0200)]
Closes #21582: Cleanup test_asyncore. Patch written by diana.

- Use support.captured_stderr() where appropriate
- Removes some "from test.support import xxx" import and uses support.xxx
  instead.

11 years agoMerge socket howto fixes from 3.4.
Ezio Melotti [Fri, 27 Jun 2014 13:34:57 +0000 (16:34 +0300)]
Merge socket howto fixes from 3.4.

11 years agoFix indentation and class name in socket howto example.
Ezio Melotti [Fri, 27 Jun 2014 13:34:14 +0000 (16:34 +0300)]
Fix indentation and class name in socket howto example.

11 years ago(Merge 3.4) asyncio, Tulip issue 137: In debug mode, save traceback where
Victor Stinner [Fri, 27 Jun 2014 11:55:28 +0000 (13:55 +0200)]
(Merge 3.4) asyncio, Tulip issue 137: In debug mode, save traceback where
Future, Task and Handle objects are created. Pass the traceback to
call_exception_handler() in the 'source_traceback' key.

The traceback is truncated to hide internal calls in asyncio, show only the
traceback from user code.

Add tests for the new source_traceback, and a test for the 'Future/Task
exception was never retrieved' log.

11 years agoasyncio, Tulip issue 137: In debug mode, save traceback where Future, Task and
Victor Stinner [Fri, 27 Jun 2014 11:52:20 +0000 (13:52 +0200)]
asyncio, Tulip issue 137: In debug mode, save traceback where Future, Task and
Handle objects are created. Pass the traceback to call_exception_handler() in
the 'source_traceback' key.

The traceback is truncated to hide internal calls in asyncio, show only the
traceback from user code.

Add tests for the new source_traceback, and a test for the 'Future/Task
exception was never retrieved' log.

11 years ago(Merge 3.4) asyncio, Tulip issue 137: In debug mode, add the traceback where
Victor Stinner [Fri, 27 Jun 2014 10:29:30 +0000 (12:29 +0200)]
(Merge 3.4) asyncio, Tulip issue 137: In debug mode, add the traceback where
the coroutine object was created to the "coroutine ... was never yield from"
log

11 years agoasyncio, Tulip issue 137: In debug mode, add the traceback where the coroutine
Victor Stinner [Fri, 27 Jun 2014 10:28:41 +0000 (12:28 +0200)]
asyncio, Tulip issue 137: In debug mode, add the traceback where the coroutine
object was created to the "coroutine ... was never yield from" log

11 years ago(Merge 3.4) asyncio: Oops, restore a removed test
Victor Stinner [Fri, 27 Jun 2014 10:24:14 +0000 (12:24 +0200)]
(Merge 3.4) asyncio: Oops, restore a removed test

11 years agoasyncio: Oops, restore a removed test
Victor Stinner [Fri, 27 Jun 2014 10:23:41 +0000 (12:23 +0200)]
asyncio: Oops, restore a removed test

11 years agoIssue #21875: Remove vestigial references to Classic Mac OS in os module docs.
Ned Deily [Fri, 27 Jun 2014 06:42:38 +0000 (23:42 -0700)]
Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.

11 years agoIssue #21875: Remove vestigial references to Classic Mac OS in os module docs.
Ned Deily [Fri, 27 Jun 2014 06:40:06 +0000 (23:40 -0700)]
Issue #21875: Remove vestigial references to Classic Mac OS in os module docs.

11 years agomerge 3.4
Benjamin Peterson [Fri, 27 Jun 2014 06:29:19 +0000 (23:29 -0700)]
merge 3.4

11 years agouse NULL not 0
Benjamin Peterson [Fri, 27 Jun 2014 06:29:13 +0000 (23:29 -0700)]
use NULL not 0

11 years ago(Merge 3.4) Issue #21858: Better handling of Python exceptions in the sqlite3
Victor Stinner [Thu, 26 Jun 2014 21:33:34 +0000 (23:33 +0200)]
(Merge 3.4) Issue #21858: Better handling of Python exceptions in the sqlite3
module.

11 years agoIssue #21858: Better handling of Python exceptions in the sqlite3 module.
Victor Stinner [Thu, 26 Jun 2014 21:32:00 +0000 (23:32 +0200)]
Issue #21858: Better handling of Python exceptions in the sqlite3 module.

11 years agoIssue #21829: Merge with 3.4
Zachary Ware [Thu, 26 Jun 2014 20:22:16 +0000 (15:22 -0500)]
Issue #21829: Merge with 3.4

11 years agoIssue #21829: Fix running test_ctypes on Windows with -O or -OO
Zachary Ware [Thu, 26 Jun 2014 20:20:44 +0000 (15:20 -0500)]
Issue #21829: Fix running test_ctypes on Windows with -O or -OO

11 years agoMerge #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.
R David Murray [Thu, 26 Jun 2014 17:33:05 +0000 (13:33 -0400)]
Merge #21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.

11 years ago#21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.
R David Murray [Thu, 26 Jun 2014 17:31:43 +0000 (13:31 -0400)]
#21476: Unwrap fp in BytesParser so the file isn't unexpectedly closed.

This makes the behavior match that of Parser.  Patch by Vajrasky Kok.

11 years ago#20295: Teach imghdr to recognize OpenEXR format images.
R David Murray [Thu, 26 Jun 2014 16:27:57 +0000 (12:27 -0400)]
#20295: Teach imghdr to recognize OpenEXR format images.

Patch by Martin Vignali, test by Claudiu Popa.

11 years agomerge
Raymond Hettinger [Thu, 26 Jun 2014 16:25:41 +0000 (09:25 -0700)]
merge

11 years agoIssue #19145: Remove duplicate ACKS entry
Raymond Hettinger [Thu, 26 Jun 2014 16:25:18 +0000 (09:25 -0700)]
Issue #19145:  Remove duplicate ACKS entry

11 years agoMerge with 3.4
Terry Jan Reedy [Thu, 26 Jun 2014 05:41:06 +0000 (01:41 -0400)]
Merge with 3.4

11 years agoIssue #18592: For idlelib.SearchDialogBase, edit and add docstrings,
Terry Jan Reedy [Thu, 26 Jun 2014 05:40:51 +0000 (01:40 -0400)]
Issue #18592: For idlelib.SearchDialogBase, edit and add docstrings,
move two functions next to the functions that use them.

11 years ago(Merge 3.4) asyncio: Handle error handler: enhance formatting of the callback
Victor Stinner [Wed, 25 Jun 2014 23:36:47 +0000 (01:36 +0200)]
(Merge 3.4) asyncio: Handle error handler: enhance formatting of the callback

11 years agoasyncio: Handle error handler: enhance formatting of the callback
Victor Stinner [Wed, 25 Jun 2014 23:35:45 +0000 (01:35 +0200)]
asyncio: Handle error handler: enhance formatting of the callback

11 years ago(Merge 3.4) Issue #21163: Fix one more "Task was destroyed but it is pending!"
Victor Stinner [Wed, 25 Jun 2014 21:59:31 +0000 (23:59 +0200)]
(Merge 3.4) Issue #21163: Fix one more "Task was destroyed but it is pending!"
log in tests

11 years agoIssue #21163: Fix one more "Task was destroyed but it is pending!" log in tests
Victor Stinner [Wed, 25 Jun 2014 21:57:50 +0000 (23:57 +0200)]
Issue #21163: Fix one more "Task was destroyed but it is pending!" log in tests

11 years ago(Merge 3.4) asyncio: sync with Tulip
Victor Stinner [Wed, 25 Jun 2014 21:33:02 +0000 (23:33 +0200)]
(Merge 3.4) asyncio: sync with Tulip

- Python issue 21163: Fix more "Task was destroyed but it is pending!" logs in
  tests
- Add test to check that run_until_complete() checks the loop of the future

11 years agoasyncio: sync with Tulip
Victor Stinner [Wed, 25 Jun 2014 21:32:25 +0000 (23:32 +0200)]
asyncio: sync with Tulip

- Python issue 21163: Fix more "Task was destroyed but it is pending!" logs in
  tests
- Add test to check that run_until_complete() checks the loop of the future

11 years ago(Merge 3.4) Issue #21163, asyncio: Fix some "Task was destroyed but it is
Victor Stinner [Wed, 25 Jun 2014 21:12:58 +0000 (23:12 +0200)]
(Merge 3.4) Issue #21163, asyncio: Fix some "Task was destroyed but it is
pending!" logs in tests

11 years agoIssue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs in tests
Victor Stinner [Wed, 25 Jun 2014 21:11:21 +0000 (23:11 +0200)]
Issue #21163, asyncio: Fix some "Task was destroyed but it is pending!" logs in tests

11 years agoIssue #21811: Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
Ned Deily [Wed, 25 Jun 2014 20:46:33 +0000 (13:46 -0700)]
Issue #21811: Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.

11 years agoIssue #21811: Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.
Ned Deily [Wed, 25 Jun 2014 20:44:22 +0000 (13:44 -0700)]
Issue #21811: Anticipated fixes to 3.x configure for OS X 10.10 Yosemite.

11 years agoIssue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.
Ned Deily [Wed, 25 Jun 2014 20:42:22 +0000 (13:42 -0700)]
Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.

11 years agoIssue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.
Ned Deily [Wed, 25 Jun 2014 20:36:14 +0000 (13:36 -0700)]
Issue #21811: Anticipated fixes to 3.x and 2.7 for OS X 10.10 Yosemite.

11 years ago(Merge 3.4) asyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and
Victor Stinner [Wed, 25 Jun 2014 19:43:21 +0000 (21:43 +0200)]
(Merge 3.4) asyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and
TimerHandle

- Uniformize repr() output to format "<Class ...>"
- On Python 3.5+, repr(Task) uses the qualified name instead of the short name
  of the coroutine

11 years agoasyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and TimerHandle
Victor Stinner [Wed, 25 Jun 2014 19:41:58 +0000 (21:41 +0200)]
asyncio, Tulip issue 177: Rewite repr() of Future, Task, Handle and TimerHandle

- Uniformize repr() output to format "<Class ...>"
- On Python 3.5+, repr(Task) uses the qualified name instead of the short name
  of the coroutine

11 years agoIssue #21729: Used the "with" statement in the dbm.dumb module to ensure
Serhiy Storchaka [Wed, 25 Jun 2014 17:37:30 +0000 (20:37 +0300)]
Issue #21729: Used the "with" statement in the dbm.dumb module to ensure
files closing.  Patch by Claudiu Popa.

11 years agoIssue #21729: Used the "with" statement in the dbm.dumb module to ensure
Serhiy Storchaka [Wed, 25 Jun 2014 17:35:31 +0000 (20:35 +0300)]
Issue #21729: Used the "with" statement in the dbm.dumb module to ensure
files closing.  Patch by Claudiu Popa.

11 years agoMERGE: Closes #20872: dbm/gdbm/ndbm close methods are not documented
Jesus Cea [Wed, 25 Jun 2014 11:06:32 +0000 (13:06 +0200)]
MERGE: Closes #20872: dbm/gdbm/ndbm close methods are not documented

11 years agoMERGE: Closes #20872: dbm/gdbm/ndbm close methods are not documented
Jesus Cea [Wed, 25 Jun 2014 11:06:07 +0000 (13:06 +0200)]
MERGE: Closes #20872: dbm/gdbm/ndbm close methods are not documented

11 years agoCloses #20872: dbm/gdbm/ndbm close methods are not documented
Jesus Cea [Wed, 25 Jun 2014 11:05:31 +0000 (13:05 +0200)]
Closes #20872: dbm/gdbm/ndbm close methods are not documented

11 years agomerge from 3.4
Senthil Kumaran [Wed, 25 Jun 2014 09:58:53 +0000 (02:58 -0700)]
merge from 3.4

issue20753 - robotparser tests should not rely upon external resource when not required.

Specifically, it was relying a URL which gave HTTP 403 and used it to assert
it's methods, this changes undoes that and provides a local http server with
similar properties.

Patch contributed by Vajrasky Kok.

11 years agoissue20753 - robotparser tests should not rely upon external resource when not required.
Senthil Kumaran [Wed, 25 Jun 2014 09:58:15 +0000 (02:58 -0700)]
issue20753 - robotparser tests should not rely upon external resource when not required.

Specifically, it was relying a URL which gave HTTP 403 and used it to assert
it's methods, this changes undoes that and provides a local http server with
similar properties.

Patch contributed by Vajrasky Kok.

11 years agomerge from 3.4
Senthil Kumaran [Wed, 25 Jun 2014 08:13:19 +0000 (01:13 -0700)]
merge from 3.4

issue15588 - Correct the quopri module documentation. Mention the correct types
of the parameters on encodestring and decodestring.

Patch by Petri Lehtinen.

11 years agoCorrect the quopri module documentation. Mention the correct types of the
Senthil Kumaran [Wed, 25 Jun 2014 08:12:03 +0000 (01:12 -0700)]
Correct the quopri module documentation. Mention the correct types of the
parameters on encodestring and decodestring.

Patch by Petri Lehtinen.