]> granicus.if.org Git - python/log
python
10 years agoIssue #17923: glob() patterns ending with a slash no longer match non-dirs on
Serhiy Storchaka [Tue, 12 Aug 2014 09:55:12 +0000 (12:55 +0300)]
Issue #17923: glob() patterns ending with a slash no longer match non-dirs on
AIX.  Based on patch by Delhallt.

10 years agoIssue #20746: Fix test_pdb to run in refleak mode (-R). Patch by Xavier de Gaye.
Antoine Pitrou [Tue, 12 Aug 2014 01:40:38 +0000 (21:40 -0400)]
Issue #20746: Fix test_pdb to run in refleak mode (-R).  Patch by Xavier de Gaye.

10 years agoIssue #22178: Fix the date of the Windows epoch (Jan 1, 1601).
Zachary Ware [Mon, 11 Aug 2014 20:00:48 +0000 (15:00 -0500)]
Issue #22178: Fix the date of the Windows epoch (Jan 1, 1601).

10 years agoIssue #22112, asyncio doc: replace loop.create_task(coro) with
Victor Stinner [Sun, 10 Aug 2014 23:11:13 +0000 (01:11 +0200)]
Issue #22112, asyncio doc: replace loop.create_task(coro) with
asyncio.async(coro), mention that asyncio.async() can be used to scheduler a
coroutine, and make it clear that create_task() is only available in Python
3.4.2 and later.

10 years agoClose #22175: Improve test_faulthandler readability with dedent.
Victor Stinner [Sun, 10 Aug 2014 17:50:08 +0000 (19:50 +0200)]
Close #22175: Improve test_faulthandler readability with dedent.
Patch written by Xavier de Gaye.

10 years agoIssue #22174: Clean-up grammar and ambiguities in property() docs.
Raymond Hettinger [Sun, 10 Aug 2014 17:41:25 +0000 (10:41 -0700)]
Issue #22174:  Clean-up grammar and ambiguities in property() docs.

10 years agoIssue #22180: Remove weak example
Raymond Hettinger [Sun, 10 Aug 2014 17:33:03 +0000 (10:33 -0700)]
Issue #22180:  Remove weak example

10 years agoadd -Werror=declaration-after-statement only to stdlib extension modules (closes...
Benjamin Peterson [Sun, 10 Aug 2014 03:01:49 +0000 (20:01 -0700)]
add -Werror=declaration-after-statement only to stdlib extension modules (closes #21121)

Patch from Stefan Krah.

10 years ago - Issue #22176: Fix build failure on ARM with -Werror=declaration-after-statement
doko@ubuntu.com [Sat, 9 Aug 2014 22:01:04 +0000 (00:01 +0200)]
 - Issue #22176: Fix build failure on ARM with -Werror=declaration-after-statement

10 years ago - Issue #22176: Add src/x86/win32.S for x86 libffi builds.
doko@ubuntu.com [Sat, 9 Aug 2014 21:52:34 +0000 (23:52 +0200)]
 - Issue #22176: Add src/x86/win32.S for x86 libffi builds.

10 years ago- Issue #22176: Update the ctypes module's libffi to v3.1. This release
doko@ubuntu.com [Sat, 9 Aug 2014 20:36:35 +0000 (22:36 +0200)]
- Issue #22176: Update the ctypes module's libffi to v3.1.  This release
  adds support for the Linux AArch64 and POWERPC ELF ABIv2 little endian
  architectures.

10 years agoIssue #22161: Conformed arguments type checks in ctype to actually supported
Serhiy Storchaka [Sat, 9 Aug 2014 06:33:05 +0000 (09:33 +0300)]
Issue #22161: Conformed arguments type checks in ctype to actually supported
types.  Corrected error messages about bytes arguments.

10 years agoIssue #21777: separate docs for binary sequence methods
Nick Coghlan [Sat, 9 Aug 2014 06:14:04 +0000 (16:14 +1000)]
Issue #21777: separate docs for binary sequence methods

10 years agoIssue #14105: Stop removing breakpoints from Idle editors.
Terry Jan Reedy [Sat, 9 Aug 2014 03:33:16 +0000 (23:33 -0400)]
Issue #14105: Stop removing breakpoints from Idle editors.
Move BREAK tag configuration to PyShellEditorWindow.

10 years agoIssue #22060: Clean up/simplify test_ctypes, use test discovery
Zachary Ware [Fri, 8 Aug 2014 18:32:16 +0000 (13:32 -0500)]
Issue #22060: Clean up/simplify test_ctypes, use test discovery

10 years ago#22170: avoid printing newlines twice in tutorial example.
Ezio Melotti [Fri, 8 Aug 2014 14:23:32 +0000 (17:23 +0300)]
#22170: avoid printing newlines twice in tutorial example.

10 years agoIssue #20056: Fixed deprecation warning about bytes path in test_shutil on
Serhiy Storchaka [Thu, 7 Aug 2014 16:38:37 +0000 (19:38 +0300)]
Issue #20056: Fixed deprecation warning about bytes path in test_shutil on
Windows.  Path by Vajrasky Kok.

10 years agoIssue #22160: Update OpenSSL to 1.0.1i for the Windows build.
Zachary Ware [Thu, 7 Aug 2014 04:19:29 +0000 (23:19 -0500)]
Issue #22160: Update OpenSSL to 1.0.1i for the Windows build.

10 years ago#22092: use absolute imports in unittest tests. Patch by Vajrasky Kok.
Ezio Melotti [Thu, 7 Aug 2014 00:20:22 +0000 (03:20 +0300)]
#22092: use absolute imports in unittest tests.  Patch by Vajrasky Kok.

10 years agoIssue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular
Serhiy Storchaka [Wed, 6 Aug 2014 14:50:39 +0000 (17:50 +0300)]
Issue #21975: Fixed crash when using uninitialized sqlite3.Row (in particular
when unpickling pickled sqlite3.Row).  sqlite3.Row is now initialized in the
__new__() method.

10 years agoIssue #22146: Fix typo in __build_class__ error message
Zachary Ware [Tue, 5 Aug 2014 19:01:10 +0000 (14:01 -0500)]
Issue #22146: Fix typo in __build_class__ error message

10 years agoIssue #22130: Corrected fileConfig() documentation.
Vinay Sajip [Tue, 5 Aug 2014 09:34:16 +0000 (10:34 +0100)]
Issue #22130: Corrected fileConfig() documentation.

10 years ago#21928: clarify functools.wraps docs.
Ezio Melotti [Tue, 5 Aug 2014 05:14:28 +0000 (08:14 +0300)]
#21928: clarify functools.wraps docs.

10 years ago#11955: show the list of args in case of error in test_argparse.
Ezio Melotti [Mon, 4 Aug 2014 23:24:03 +0000 (02:24 +0300)]
#11955: show the list of args in case of error in test_argparse.

10 years ago#18034: update FAQ to suggest importlib.import_module instead of __import__. Patch...
Ezio Melotti [Mon, 4 Aug 2014 16:34:29 +0000 (19:34 +0300)]
#18034: update FAQ to suggest importlib.import_module instead of __import__.  Patch by Wouter van Heyst.

10 years agoIssue #22104: Don't hold a reference to the loaded TestSuite in runtest_inner
Zachary Ware [Mon, 4 Aug 2014 16:15:10 +0000 (11:15 -0500)]
Issue #22104: Don't hold a reference to the loaded TestSuite in runtest_inner

10 years ago#20977: fix undefined name in the email module. Patch by Rose Ames.
Ezio Melotti [Mon, 4 Aug 2014 14:16:49 +0000 (17:16 +0300)]
#20977: fix undefined name in the email module.  Patch by Rose Ames.

10 years ago#18588: update the timeit examples to be consistent.
Ezio Melotti [Mon, 4 Aug 2014 14:01:16 +0000 (17:01 +0300)]
#18588: update the timeit examples to be consistent.

10 years agoRemove unused leftover stray line
Raymond Hettinger [Mon, 4 Aug 2014 07:21:11 +0000 (00:21 -0700)]
Remove unused leftover stray line

10 years agoFix markup.
Raymond Hettinger [Mon, 4 Aug 2014 06:44:30 +0000 (23:44 -0700)]
Fix markup.

10 years agoImprove regex tokenizer example by using re.finditer().
Raymond Hettinger [Mon, 4 Aug 2014 06:38:54 +0000 (23:38 -0700)]
Improve regex tokenizer example by using re.finditer().

Also, improve variable names and fix column numbers
in the generated output.

10 years agoPEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
Terry Jan Reedy [Mon, 4 Aug 2014 03:02:58 +0000 (23:02 -0400)]
PEP 8 spacing in idlelib.configDialog: mostly a = b in assignments,
a, b in arg lists, and hanging indents for long arg lists.

10 years agoIssue #13540: Merge changes from 3.3
Jason R. Coombs [Sun, 3 Aug 2014 19:26:58 +0000 (15:26 -0400)]
Issue #13540: Merge changes from 3.3

10 years agoIssue #13540: Merge changes from 3.2
Jason R. Coombs [Sun, 3 Aug 2014 19:26:32 +0000 (15:26 -0400)]
Issue #13540: Merge changes from 3.2

10 years agoIssue #13540: Update references to Action class to match syntax used for other classe...
Jason R. Coombs [Sun, 3 Aug 2014 18:54:11 +0000 (14:54 -0400)]
Issue #13540: Update references to Action class to match syntax used for other classes in this file.

10 years agoFix whitespace in example.
Raymond Hettinger [Sun, 3 Aug 2014 05:32:10 +0000 (22:32 -0700)]
Fix whitespace in example.

10 years ago - update config.guess and config.sub to support openrisc.
doko@ubuntu.com [Fri, 1 Aug 2014 15:48:34 +0000 (17:48 +0200)]
 - update config.guess and config.sub to support openrisc.

10 years agoIssue #22068: Don't create self reference cycles in idlelib.ConfigDialog.
Terry Jan Reedy [Wed, 30 Jul 2014 23:24:32 +0000 (19:24 -0400)]
Issue #22068: Don't create self reference cycles in idlelib.ConfigDialog.

10 years agoIssue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.
Serhiy Storchaka [Wed, 30 Jul 2014 15:33:13 +0000 (18:33 +0300)]
Issue #21580: Now Tkinter correctly handles bytes arguments passed to Tk.
In particular this allows to initialize images from binary data.

10 years agoIssue #21951: Temporary skip crashing test_user_command on AIX.
Serhiy Storchaka [Wed, 30 Jul 2014 07:59:46 +0000 (10:59 +0300)]
Issue #21951: Temporary skip crashing test_user_command on AIX.

10 years agoIssue #22063: Mention in asyncio documentation that socket operations require
Victor Stinner [Tue, 29 Jul 2014 21:12:22 +0000 (23:12 +0200)]
Issue #22063: Mention in asyncio documentation that socket operations require
the socket to be non-blocking

10 years agoClose #22063: socket operations (socket,recv, sock_sendall, sock_connect,
Victor Stinner [Tue, 29 Jul 2014 21:08:17 +0000 (23:08 +0200)]
Close #22063: socket operations (socket,recv, sock_sendall, sock_connect,
sock_accept) now raise an exception in debug mode if sockets are in blocking
mode.

10 years agoasyncio: Use the new os.set_blocking() function of Python 3.5 if available
Victor Stinner [Tue, 29 Jul 2014 21:08:00 +0000 (23:08 +0200)]
asyncio: Use the new os.set_blocking() function of Python 3.5 if available

10 years agoEdit NEWS entry
Ned Deily [Tue, 29 Jul 2014 20:49:11 +0000 (13:49 -0700)]
Edit NEWS entry

10 years ago#21704: remove duplicate name in Misc/ACKS.
Ezio Melotti [Tue, 29 Jul 2014 14:35:46 +0000 (17:35 +0300)]
#21704: remove duplicate name in Misc/ACKS.

10 years agoasyncio: sync with Tulip
Victor Stinner [Tue, 29 Jul 2014 10:58:23 +0000 (12:58 +0200)]
asyncio: sync with Tulip

* _WaitHandleFuture.cancel() now notify IocpProactor through the overlapped
  object that the wait was cancelled.
* Optimize IocpProactor.wait_for_handle() gets the result if the wait is
  signaled immediatly.
* Enhance representation of Future and Future subclasses

  - Add "created at filename:lineno" in the representation
  - Add Future._repr_info() method which can be more easily overriden than
    Future.__repr__(). It should now be more easy to enhance Future
    representation without having to modify each subclass. For example,
    _OverlappedFuture and _WaitHandleFuture get the new "created at" information.
  - Use reprlib to format Future result, and function arguments when formatting a
    callback, to limit the length of the representation.

* Fix repr(_WaitHandleFuture)
* _WaitHandleFuture and _OverlappedFuture: hide frames of internal calls in the
  source traceback.
* Cleanup ProactorIocp._poll(): set the timeout to 0 after the first call to
  GetQueuedCompletionStatus()
* test_locks: close the temporary event loop and check the condition lock
* Remove workaround in test_futures, no more needed

10 years agoIssue #17172: add NEWS
Terry Jan Reedy [Tue, 29 Jul 2014 02:38:19 +0000 (22:38 -0400)]
Issue #17172: add NEWS

10 years agoIssue #17172: Add the ability to run turtledemo from Idle.
Terry Jan Reedy [Tue, 29 Jul 2014 02:23:59 +0000 (22:23 -0400)]
Issue #17172: Add the ability to run turtledemo from Idle.
Make turtledemo start as active on Mac even when run with subprocess.
Patch by Ramchandra Apt, Lita Cho, and Ned Daily.

10 years agoIssue #18174: Fix leak of file descriptor in test_tempfile
Victor Stinner [Mon, 28 Jul 2014 23:13:39 +0000 (01:13 +0200)]
Issue #18174: Fix leak of file descriptor in test_tempfile

10 years agoIssue #11453, #18174: Fix leak of file descriptor in test_asyncore
Victor Stinner [Mon, 28 Jul 2014 23:01:09 +0000 (01:01 +0200)]
Issue #11453, #18174: Fix leak of file descriptor in test_asyncore

10 years agoFix sporadic failure of test_pep277 on Windows: use support.rmtree() instead of
Victor Stinner [Mon, 28 Jul 2014 22:40:50 +0000 (00:40 +0200)]
Fix sporadic failure of test_pep277 on Windows: use support.rmtree() instead of
deltree().

10 years agoIssue #21704: Fix build error for _multiprocessing when semaphores
Richard Oudkerk [Mon, 28 Jul 2014 22:01:02 +0000 (23:01 +0100)]
Issue #21704: Fix build error for _multiprocessing when semaphores
are not available.  Patch by Arfrever Frehtes Taifersar Arahesis.

10 years agoFix test_bytes when sys.stdin is None, for example on Windows when using
Victor Stinner [Mon, 28 Jul 2014 20:07:07 +0000 (22:07 +0200)]
Fix test_bytes when sys.stdin is None, for example on Windows when using
pythonw.exe instead of python.exe

10 years agoasyncio, tulip issue 196: ProactorIocp._register() now registers the overlapped
Victor Stinner [Sun, 27 Jul 2014 22:18:43 +0000 (00:18 +0200)]
asyncio, tulip issue 196: ProactorIocp._register() now registers the overlapped
in the _cache dictionary, even if we already got the result. We need to keep a
reference to the overlapped object, otherwise the memory may be reused and
GetQueuedCompletionStatus() may use random bytes and behaves badly.

There is still a hack for ConnectNamedPipe(): the overlapped object is not
register into _cache if the overlapped object completed directly.

Log also an error in debug mode in ProactorIocp._loop() if we get an unexpected
event.

Add a protection in ProactorIocp.close() to avoid blocking, even if it should
not happen. I still don't understand exactly why some the completion of some
overlapped objects are not notified.

10 years agoModernize turtledemo with conditional expressions; remove duplicate line.
Terry Jan Reedy [Sun, 27 Jul 2014 07:01:13 +0000 (03:01 -0400)]
Modernize turtledemo with conditional expressions; remove duplicate line.

10 years agoReduce unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.
Terry Jan Reedy [Sat, 26 Jul 2014 23:40:16 +0000 (19:40 -0400)]
Reduce  unnecessary 2.7 versus 3.4+ differences in idlelib/configDialog.py.
2009-02-02 51562 (27c589f09a21) merged Mac support revisions into 3.0.
2009-03-04 52014 (dc3d24824b60) merged slightly improved version into 2.7.
Change 3.4+ to match the later 2.7 patch.  Buttons tested manually.

10 years agoDocument lock parameter for asyncio.Condition()
Andrew Svetlov [Sat, 26 Jul 2014 16:50:37 +0000 (19:50 +0300)]
Document lock parameter for asyncio.Condition()

10 years agoIssue #22074: Fix Lib/test/make_ssl_certs.py
Antoine Pitrou [Sat, 26 Jul 2014 15:15:52 +0000 (11:15 -0400)]
Issue #22074: Fix Lib/test/make_ssl_certs.py

10 years agoAccept optional lock object in Condition ctor (tulip issue #198)
Andrew Svetlov [Sat, 26 Jul 2014 14:54:34 +0000 (17:54 +0300)]
Accept optional lock object in Condition ctor (tulip issue #198)

10 years agoFix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
Victor Stinner [Sat, 26 Jul 2014 12:36:55 +0000 (14:36 +0200)]
Fix repr(_socket.socket) on Windows 64-bit: don't fail with OverflowError
on closed socket. repr(socket.socket) already works fine.

10 years agoTulip issue 196: _OverlappedFuture.set_result() now clears its reference to the
Victor Stinner [Fri, 25 Jul 2014 22:58:34 +0000 (00:58 +0200)]
Tulip issue 196: _OverlappedFuture.set_result() now clears its reference to the
overlapped object. IocpProactor._poll() now also ignores false alarms:
GetQueuedCompletionStatus() returns the overlapped but it is still pending.

10 years agoIssue #22044: Fixed premature DECREF in call_tzinfo_method.
Raymond Hettinger [Fri, 25 Jul 2014 21:59:48 +0000 (14:59 -0700)]
Issue #22044: Fixed premature DECREF in call_tzinfo_method.

10 years agoasyncio: sync with Tulip
Victor Stinner [Fri, 25 Jul 2014 20:36:05 +0000 (22:36 +0200)]
asyncio: sync with Tulip

* Tulip issue #196: IocpProactor._poll() clears the reference to the
  overlapped operation when the operation is done. It would be better to clear
  the reference in a new _OverlappedFuture.set_result() method, but it cannot
  be done yet because of a weird bug.
* BaseSelectorEventLoop._write_to_self() now logs errors in debug mode.

10 years agoIssue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Zachary Ware [Fri, 25 Jul 2014 19:34:19 +0000 (14:34 -0500)]
Issue #21958: Define HAVE_ROUND when building with VS 2013 and above.
Patch by Zachary Turner.

10 years agoIssue #22072: Fix a couple of SSL doc typos. Patch by Alex Gaynor.
Zachary Ware [Fri, 25 Jul 2014 18:30:50 +0000 (13:30 -0500)]
Issue #22072: Fix a couple of SSL doc typos.  Patch by Alex Gaynor.

10 years agoMerge.
Charles-François Natali [Fri, 25 Jul 2014 17:45:02 +0000 (18:45 +0100)]
Merge.

10 years agoIssue #19875: Fix random test_getsockaddrarg() failure.
Charles-François Natali [Fri, 25 Jul 2014 17:44:30 +0000 (18:44 +0100)]
Issue #19875: Fix random test_getsockaddrarg() failure.

10 years agoasyncio, test_subprocess: relax timings for slow builbots
Victor Stinner [Fri, 25 Jul 2014 12:05:07 +0000 (14:05 +0200)]
asyncio, test_subprocess: relax timings for slow builbots

10 years agoasyncio: sync with Tulip
Victor Stinner [Fri, 25 Jul 2014 11:05:20 +0000 (13:05 +0200)]
asyncio: sync with Tulip

* Fix _WaitHandleFuture.cancel(): return the result of the parent cancel()
  method.
* _OverlappedFuture.cancel() now clears its reference to the overlapped object.
  Make also the _OverlappedFuture.ov attribute private.
* Check if _WaitHandleFuture completed before unregistering it in the callback.
  Add also _WaitHandleFuture._poll() and repr(_WaitHandleFuture).
* _WaitHandleFuture now unregisters its wait handler if WaitForSingleObject()
  raises an exception.
* _OverlappedFuture.set_exception() now cancels the overlapped operation.

10 years agoIssue #22061: Add deprecation warnings in empty obsolete methods.
Serhiy Storchaka [Fri, 25 Jul 2014 09:24:07 +0000 (12:24 +0300)]
Issue #22061: Add deprecation warnings in empty obsolete methods.

10 years agoIssue #22061: remove call of useless function slated for removal.
Terry Jan Reedy [Fri, 25 Jul 2014 07:06:32 +0000 (03:06 -0400)]
Issue #22061: remove call of useless function slated for removal.

10 years agoIssue #22053: Make help work, after previous patch for this issue disabled it
Terry Jan Reedy [Fri, 25 Jul 2014 05:56:24 +0000 (01:56 -0400)]
Issue #22053: Make help work, after previous patch for this issue disabled it
by removing global 'demo'. Refactor and remove duplicate code.

10 years agoasyncio: sync with Tulip
Victor Stinner [Thu, 24 Jul 2014 22:54:53 +0000 (00:54 +0200)]
asyncio: sync with Tulip

Improve stability of the proactor event loop, especially operations on
overlapped objects:

* Tulip issue 195: Don't call UnregisterWait() twice if a _WaitHandleFuture is
  cancelled twice to fix a crash.
* IocpProactor.close(): cancel futures to cancel overlapped operations, instead
  of cancelling directly overlapped operations. Future objects may not call
  ov.cancel() if the future was cancelled or if the overlapped was already
  cancelled. The cancel() method of the future may also catch exceptions. Log
  also errors on cancellation.
* tests: rename "f" to "fut"
* Add a __repr__() method to IocpProactor
* Add a destructor to IocpProactor which closes it
* _OverlappedFuture.cancel() doesn't cancel the overlapped anymore if it is
  done: if it is already cancelled or completed. Log also an error if the
  cancellation failed.
* Add the address of the overlapped object in repr(_OverlappedFuture)
* _OverlappedFuture truncates the source traceback to hide the call to the
  parent constructor (useless in debug).

10 years agoIssue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off")
Victor Stinner [Thu, 24 Jul 2014 20:11:38 +0000 (22:11 +0200)]
Issue #19884, readline: calling rl_variable_bind ("enable-meta-key", "off")
does crash on Mac OS X which uses libedit instead of readline.

10 years agoIssue #16133: The asynchat.async_chat.handle_read() method now ignores
Victor Stinner [Thu, 24 Jul 2014 16:49:36 +0000 (18:49 +0200)]
Issue #16133: The asynchat.async_chat.handle_read() method now ignores
BlockingIOError exceptions. Initial patch written by Xavier de Gaye.

Document also in asyncore documentation that recv() may raise BlockingIOError.

10 years agoBackport os.rst documentation from Python 3.5.
Victor Stinner [Thu, 24 Jul 2014 10:42:45 +0000 (12:42 +0200)]
Backport os.rst documentation from Python 3.5.

10 years agoIssue #21813: Enhance documentation of the os.stat_result class.
Victor Stinner [Thu, 24 Jul 2014 10:42:16 +0000 (12:42 +0200)]
Issue #21813: Enhance documentation of the os.stat_result class.

10 years agoIssue #19884: readline: Disable the meta modifier key if stdout is not a
Victor Stinner [Thu, 24 Jul 2014 10:23:56 +0000 (12:23 +0200)]
Issue #19884: readline: Disable the meta modifier key if stdout is not a
terminal to not write the ANSI sequence "\033[1034h" into stdout. This sequence
is used on some terminal (ex: TERM=xterm-256color") to enable support of 8 bit
characters.

10 years agotest_gettext: use support.rmtree() instead of shutil.rmtree()
Victor Stinner [Thu, 24 Jul 2014 10:07:45 +0000 (12:07 +0200)]
test_gettext: use support.rmtree() instead of shutil.rmtree()

10 years agoasyncio tests: relax timings for slow buildbots
Victor Stinner [Thu, 24 Jul 2014 10:04:22 +0000 (12:04 +0200)]
asyncio tests: relax timings for slow buildbots

10 years agoIssue #20055: Fix BaseEventLoop.stop() docstring, incomplete sentence.
Victor Stinner [Thu, 24 Jul 2014 09:34:11 +0000 (11:34 +0200)]
Issue #20055: Fix BaseEventLoop.stop() docstring, incomplete sentence.
Patch written by Saimadhav Heblikar.

10 years agoFix incomplete sentence in asyncio docs.
Andrew Svetlov [Thu, 24 Jul 2014 08:36:33 +0000 (11:36 +0300)]
Fix incomplete sentence in asyncio docs.

10 years agoAsyncio doc fixes: spelling, grammar, duplication.
Terry Jan Reedy [Thu, 24 Jul 2014 06:59:02 +0000 (02:59 -0400)]
Asyncio doc fixes: spelling, grammar, duplication.

10 years agoEnglich grammar nit.
Terry Jan Reedy [Thu, 24 Jul 2014 06:33:14 +0000 (02:33 -0400)]
Englich grammar nit.

10 years agos/stringobject/bytesobject/ (closes #22036)
Benjamin Peterson [Thu, 24 Jul 2014 04:39:37 +0000 (21:39 -0700)]
s/stringobject/bytesobject/ (closes #22036)

Patch by Martin Matusiak.

10 years agoFix doc example bug reported on python-list by Akshay Verma.
Terry Jan Reedy [Thu, 24 Jul 2014 00:30:29 +0000 (20:30 -0400)]
Fix doc example bug reported on python-list by Akshay Verma.

10 years agoIssue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning.
Terry Jan Reedy [Wed, 23 Jul 2014 21:27:57 +0000 (17:27 -0400)]
Issue #22053: Cleanup turtledemo start and stop and fix debug shutdown warning.

10 years agoIssue #19493: Fix two uses of ctypes.test.requires (it's not a decorator)
Zachary Ware [Wed, 23 Jul 2014 19:39:50 +0000 (14:39 -0500)]
Issue #19493: Fix two uses of ctypes.test.requires (it's not a decorator)
and skip test_win32.FunctionCallTestCase.test_SEH when Python was compiled
in debug configuration or by a non-MSC compiler.

10 years agoMerge heads
Serhiy Storchaka [Wed, 23 Jul 2014 19:12:53 +0000 (22:12 +0300)]
Merge heads

10 years agoIssue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()
Serhiy Storchaka [Wed, 23 Jul 2014 19:08:45 +0000 (22:08 +0300)]
Issue #6167: Backported tests for Scrollbar.activate() and Scrollbar.set()
from 6ae34a948cb4.

10 years agoIssue #21597: Turtledemo text pane can now be widened to view or copy complete
Terry Jan Reedy [Wed, 23 Jul 2014 19:01:12 +0000 (15:01 -0400)]
Issue #21597: Turtledemo text pane can now be widened to view or copy complete
lines or narrowed for small screens.
Issie #19132: Turtledemo buttons no longer disappear when window is shrun.
Patch mostly by Lita Cho (21597) using idea from patch by Jan Kanis (18132).

10 years agoIssue #22002: Make full use of test discovery in test sub-packages.
Zachary Ware [Wed, 23 Jul 2014 17:00:29 +0000 (12:00 -0500)]
Issue #22002: Make full use of test discovery in test sub-packages.

Adds `load_package_tests` function to test.support, uses it in test_asyncio,
test_email, test_json, test_tools, test_importlib and all test_importlib
sub-packages to implement test discovery.

10 years agoasyncio: sync with Tulip
Victor Stinner [Wed, 23 Jul 2014 16:21:45 +0000 (18:21 +0200)]
asyncio: sync with Tulip

* Tulip issue 194: Don't use sys.getrefcount() in unit tests
* signal.set_wakeup_fd() can now raise an OSError on Python 3.5

10 years agoIssue #21888: plistlib's load() and loads() now work if the fmt parameter is
Serhiy Storchaka [Wed, 23 Jul 2014 15:49:31 +0000 (18:49 +0300)]
Issue #21888: plistlib's load() and loads() now work if the fmt parameter is
specified.

10 years agoCorrect issue #21044 patch author.
Serhiy Storchaka [Wed, 23 Jul 2014 15:41:21 +0000 (18:41 +0300)]
Correct issue #21044 patch author.

10 years agoFix grammar
Andrew Svetlov [Wed, 23 Jul 2014 08:27:17 +0000 (11:27 +0300)]
Fix grammar

10 years agoIssue #21901: Cap the maximum number of file descriptors to use for the test.
Charles-François Natali [Tue, 22 Jul 2014 20:25:03 +0000 (21:25 +0100)]
Issue #21901: Cap the maximum number of file descriptors to use for the test.

10 years agoasyncio, tulip issue 193: Convert StreamWriter.drain() to a classic coroutine
Victor Stinner [Tue, 22 Jul 2014 10:03:40 +0000 (12:03 +0200)]
asyncio, tulip issue 193: Convert StreamWriter.drain() to a classic coroutine

Replace also _make_drain_waiter() function with a classic _drain_helper()
coroutine.

10 years agoFixed bugs in reprs of CookieJar and multiprocessing.dummy.Value.
Serhiy Storchaka [Tue, 22 Jul 2014 08:09:36 +0000 (11:09 +0300)]
Fixed bugs in reprs of CookieJar and multiprocessing.dummy.Value.

10 years agoMerge heads
Serhiy Storchaka [Tue, 22 Jul 2014 08:02:56 +0000 (11:02 +0300)]
Merge heads