]>
granicus.if.org Git - python/log
Victor Stinner [Mon, 24 Feb 2014 12:18:47 +0000 (13:18 +0100)]
subprocess.Popen.wait doc: mention asyncio to avoid busy loop
Serhiy Storchaka [Mon, 24 Feb 2014 12:00:38 +0000 (14:00 +0200)]
Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.
Serhiy Storchaka [Mon, 24 Feb 2014 11:57:00 +0000 (13:57 +0200)]
Issue #20535: PYTHONWARNING no longer affects the run_tests.py script.
Patch by Arfrever Frehtes Taifersar Arahesis.
Serhiy Storchaka [Mon, 24 Feb 2014 11:46:21 +0000 (13:46 +0200)]
Null merge
Georg Brandl [Mon, 24 Feb 2014 08:35:07 +0000 (09:35 +0100)]
Closes #20755: port sphinx-1.1 fixes from default
Georg Brandl [Mon, 24 Feb 2014 08:27:16 +0000 (09:27 +0100)]
merge with 3.3
Georg Brandl [Mon, 24 Feb 2014 08:26:53 +0000 (09:26 +0100)]
Closes #20735: remove erroneous deprecated marker from stringprep docs
Terry Jan Reedy [Mon, 24 Feb 2014 04:40:16 +0000 (23:40 -0500)]
Merge with 3.3
Terry Jan Reedy [Mon, 24 Feb 2014 04:39:57 +0000 (23:39 -0500)]
whitespace
Terry Jan Reedy [Mon, 24 Feb 2014 04:33:44 +0000 (23:33 -0500)]
Merge with 3.3
Terry Jan Reedy [Mon, 24 Feb 2014 04:33:08 +0000 (23:33 -0500)]
Issue #9974: When untokenizing, use row info to insert backslash+newline.
Original patches by A. Kuchling and G. Rees (#12691).
R David Murray [Mon, 24 Feb 2014 02:32:17 +0000 (21:32 -0500)]
Fix wording in NEWS entry.
R David Murray [Mon, 24 Feb 2014 02:31:53 +0000 (21:31 -0500)]
whatsnew: threading.main_thread, os.urandom persistent handle, sunau.open with.
R David Murray [Mon, 24 Feb 2014 02:02:53 +0000 (21:02 -0500)]
whatsnew: unittest uses argparse now.
R David Murray [Mon, 24 Feb 2014 01:53:50 +0000 (20:53 -0500)]
whatsnew: unittest drops references to successful tests.
Terry Jan Reedy [Sun, 23 Feb 2014 23:01:08 +0000 (18:01 -0500)]
Merge with 3.3, #20750
Terry Jan Reedy [Sun, 23 Feb 2014 23:00:31 +0000 (18:00 -0500)]
Issue #20750, Enable roundtrip tests for new 5-tuple untokenize. The
constructed examples and all but 7 of the test/test_*.py files (run with -ucpu)
pass. Remove those that fail the new test from the selection list.
Patch partly based on patches by G. Brandl (#8478) and G. Rees (#12691).
Antoine Pitrou [Sun, 23 Feb 2014 18:41:51 +0000 (19:41 +0100)]
Issue #20743: Fix a reference leak in test_tcl.
Antoine Pitrou [Sun, 23 Feb 2014 18:39:06 +0000 (19:39 +0100)]
Issue #20743: Fix a reference leak in test_tcl.
R David Murray [Sun, 23 Feb 2014 16:36:25 +0000 (11:36 -0500)]
whatsnew: pyvenv --copies option.
Also added the missing documentation for new new option.
R David Murray [Sun, 23 Feb 2014 16:22:08 +0000 (11:22 -0500)]
Fix wording in news entry.
R David Murray [Sun, 23 Feb 2014 16:21:59 +0000 (11:21 -0500)]
whatsnew: devnull fileno/close/closed.
R David Murray [Sun, 23 Feb 2014 15:42:47 +0000 (10:42 -0500)]
whatsnew: hashlib.hash.name is now public and returns lowercase always.
R David Murray [Sun, 23 Feb 2014 15:22:07 +0000 (10:22 -0500)]
whatsnew: textwrap.shorten.
Also add the missing TextWrapper.shorten method doc.
R David Murray [Sun, 23 Feb 2014 14:41:27 +0000 (09:41 -0500)]
whatsnew: ExtensionFileLoader.get_filename.
Also reflow mmap paragraph.
Antoine Pitrou [Sun, 23 Feb 2014 15:50:07 +0000 (16:50 +0100)]
Issue #20637: Key-sharing now also works for instance dictionaries of subclasses. Patch by Peter Ingebretson.
Ezio Melotti [Sun, 23 Feb 2014 15:13:31 +0000 (17:13 +0200)]
#20677: fix typo in enum docs. Patch by Saimadhav Heblikar.
Terry Jan Reedy [Sun, 23 Feb 2014 05:37:46 +0000 (00:37 -0500)]
Merge with 3.3
Terry Jan Reedy [Sun, 23 Feb 2014 05:37:16 +0000 (00:37 -0500)]
Issue #20730: Fix typo reported by Claudiu Popa.
Martin v. Löwis [Sat, 22 Feb 2014 22:44:20 +0000 (23:44 +0100)]
Issue #20641: Run custom actions with the NoImpersonate flag to support UAC.
R David Murray [Sat, 22 Feb 2014 21:32:07 +0000 (16:32 -0500)]
Reflow paragraph.
R David Murray [Sat, 22 Feb 2014 21:31:26 +0000 (16:31 -0500)]
whatsnew: os.path.ismount recognizes volumes mounted below root.
R David Murray [Sat, 22 Feb 2014 21:02:22 +0000 (16:02 -0500)]
whatsnew: PyStructSequence_InitType2, Victor's MemoryError fixes.
I'm documenting this new function, but I'm wondering if this will trigger
someone to think about whether or not this actually makes sense :)
R David Murray [Sat, 22 Feb 2014 20:35:37 +0000 (15:35 -0500)]
whatsnew: Windows uses VirtualAlloc, --version goes to stdout.
Eric Snow [Sat, 22 Feb 2014 20:57:08 +0000 (13:57 -0700)]
Issue #20484: Disable the 2 remaining "modules" tests in test_pydoc.
I'll look into re-enabling them in issue #20128.
R David Murray [Sat, 22 Feb 2014 20:05:08 +0000 (15:05 -0500)]
whatsnew: frozen package __path__; and min/max versionadded.
R David Murray [Sat, 22 Feb 2014 19:28:46 +0000 (14:28 -0500)]
whatsnew: importlib deprecations.
This addresses issue #20199, if I got it right. The deprecation and
replacement lists are based on the importlib documentation.
Yury Selivanov [Fri, 21 Feb 2014 23:30:53 +0000 (18:30 -0500)]
inspect.signature: Check for function-like objects before builtins. Issue #17159
Victor Stinner [Fri, 21 Feb 2014 22:54:32 +0000 (23:54 +0100)]
Issue #11188, #19748: mktime() returns -1 on error. On Linux, the tm_wday field
is used as a sentinel () to detect if -1 is really an error or a valid
timestamp. On AIX, tm_wday is unchanged even on success and so cannot be used
as a sentinel.
Richard Oudkerk [Fri, 21 Feb 2014 22:29:58 +0000 (22:29 +0000)]
Issue #20114: Double timeout in test_semaphore_tracker() to reduce
chance of sporadic failures.
Donald Stufft [Fri, 21 Feb 2014 12:42:39 +0000 (07:42 -0500)]
Upgrade pip from 1.5.3 to 1.5.4
Victor Stinner [Fri, 21 Feb 2014 08:27:17 +0000 (09:27 +0100)]
Issue #19748: On AIX, time.mktime() now raises an OverflowError for year
outsize range [1902; 2037].
Larry Hastings [Fri, 21 Feb 2014 07:34:46 +0000 (23:34 -0800)]
Issue #20710: The pydoc summary line no longer displays the "self" parameter
for bound methods. Previous to this change, it displayed "self" for methods
implemented in Python but not methods implemented in C; it is now both
internally consistent and consistent with inspect.Signature.
Yury Selivanov [Fri, 21 Feb 2014 06:32:42 +0000 (01:32 -0500)]
inspect: Fix getfullargspec to support builtin module-level functions. Issue #20711
Donald Stufft [Fri, 21 Feb 2014 01:53:27 +0000 (20:53 -0500)]
Upgrade pip from 1.5.2 to 1.5.3
Yury Selivanov [Fri, 21 Feb 2014 01:10:28 +0000 (20:10 -0500)]
asyncio.docs: Document subprocess_exec and subprocess_shell. Issue #20694.
Victor Stinner [Thu, 20 Feb 2014 22:26:12 +0000 (23:26 +0100)]
Windows buildbot: use --timeout feature in Tools/buildbot/test-amd64.bat
Use the same default timeout than test.bat: 1 hour (3600 seconds).
Zachary Ware [Thu, 20 Feb 2014 21:39:29 +0000 (15:39 -0600)]
Issue #20221: Removed conflicting (or circular) hypot definition
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
Zachary Ware [Thu, 20 Feb 2014 21:36:34 +0000 (15:36 -0600)]
Issue #20221: Removed conflicting (or circular) hypot definition
when compiled with VS 2010 or above. Initial patch by Tabrez Mohammed.
Yury Selivanov [Thu, 20 Feb 2014 21:20:44 +0000 (16:20 -0500)]
asyncio.docs: Improve wordings; add a note to the Coroutines section. Issue #20706
Victor Stinner [Thu, 20 Feb 2014 20:59:38 +0000 (21:59 +0100)]
asyncio: _check_resolved_address() must also accept IPv6 without flow_info and
scope_id: (host, port).
Yury Selivanov [Thu, 20 Feb 2014 19:10:02 +0000 (14:10 -0500)]
asyncio.docs: Improve documentation of Streams. Issue #20696.
Yury Selivanov [Thu, 20 Feb 2014 18:59:14 +0000 (13:59 -0500)]
Misc/NEWS: Add some missing news items re asyncio.
Victor Stinner [Thu, 20 Feb 2014 16:01:11 +0000 (17:01 +0100)]
asyncio: ops, and now fix also the unit test for IPv6 address:
test_sock_connect_address()
Victor Stinner [Thu, 20 Feb 2014 15:43:09 +0000 (16:43 +0100)]
asyncio: Fix _check_resolved_address() for IPv6 address
Victor Stinner [Thu, 20 Feb 2014 09:37:27 +0000 (10:37 +0100)]
asyncio: remove unused imports and unused variables noticed by pyflakes
Victor Stinner [Thu, 20 Feb 2014 09:33:01 +0000 (10:33 +0100)]
asyncio: Fix _ProactorWritePipeTransport._pipe_closed()
The "exc" variable was not defined, pass a BrokenPipeError exception instead.
Victor Stinner [Thu, 20 Feb 2014 09:12:59 +0000 (10:12 +0100)]
asyncio.subprocess: Fix a race condition in communicate()
Use self._loop instead of self._transport._loop, because transport._loop is set
to None at process exit.
Benjamin Peterson [Thu, 20 Feb 2014 04:06:41 +0000 (23:06 -0500)]
merge 3.3 (#20695)
Benjamin Peterson [Thu, 20 Feb 2014 04:06:24 +0000 (23:06 -0500)]
merge 3.2 (#20695)
Benjamin Peterson [Thu, 20 Feb 2014 04:05:26 +0000 (23:05 -0500)]
bump Python-ast.c
Benjamin Peterson [Thu, 20 Feb 2014 03:55:16 +0000 (22:55 -0500)]
update logo url (#20695)
Benjamin Peterson [Thu, 20 Feb 2014 03:56:35 +0000 (22:56 -0500)]
open retrieved file in binary mode, since it's now compressed
Yury Selivanov [Thu, 20 Feb 2014 01:58:44 +0000 (20:58 -0500)]
asyncio.docs: Document Error Handling API and asyncio.Handle
Victor Stinner [Thu, 20 Feb 2014 00:44:10 +0000 (01:44 +0100)]
asyncio doc: remove reference to _DEBUG (now replaced with PYTHONASYNCIODEBUG
env var), document the default debug mode
Benjamin Peterson [Wed, 19 Feb 2014 23:05:36 +0000 (18:05 -0500)]
update magic number for #20625
Victor Stinner [Wed, 19 Feb 2014 22:15:02 +0000 (23:15 +0100)]
asyncio, Tulip issue #136: Add get/set_debug() methods to BaseEventLoopTests.
Add also a PYTHONASYNCIODEBUG environment variable to debug coroutines since
Python startup, to be able to debug coroutines defined directly in the asyncio
module.
Yury Selivanov [Wed, 19 Feb 2014 21:28:36 +0000 (16:28 -0500)]
merge heads
Yury Selivanov [Wed, 19 Feb 2014 21:27:23 +0000 (16:27 -0500)]
inspect: Fix getfullargspec() to not to follow __wrapped__ chains
Initial patch by Nick Coghlan.
Serhiy Storchaka [Wed, 19 Feb 2014 21:05:12 +0000 (23:05 +0200)]
Issue #20654: Fixed pydoc for enums with zero value. Patch by Vajrasky Kok.
Victor Stinner [Wed, 19 Feb 2014 17:32:03 +0000 (18:32 +0100)]
Issue #20682: Oops, fix test_create_connection() of test_asyncio (fix my previous commit)
Victor Stinner [Wed, 19 Feb 2014 17:10:32 +0000 (18:10 +0100)]
Close #20682: Fix UNIX sockets tests of test_asyncio on Mac OS X Tiger
On Mac OS X Tiger (and older), getsockname() returns a zero-length address for
UNIX socket, and so 'sockname' extra info is None.
Serhiy Storchaka [Wed, 19 Feb 2014 17:04:28 +0000 (19:04 +0200)]
Null merge
Serhiy Storchaka [Wed, 19 Feb 2014 17:04:12 +0000 (19:04 +0200)]
Merge heads
Serhiy Storchaka [Wed, 19 Feb 2014 17:03:58 +0000 (19:03 +0200)]
Merge heads
Serhiy Storchaka [Wed, 19 Feb 2014 16:50:35 +0000 (18:50 +0200)]
Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.
Zachary Ware [Wed, 19 Feb 2014 16:46:05 +0000 (10:46 -0600)]
Issue #20510: Merge with 3.3
Zachary Ware [Wed, 19 Feb 2014 16:44:47 +0000 (10:44 -0600)]
Issue #20510: Confirm that the code attribute of the SystemExit
exception raised by sys.exit is None when no code is given.
As suggested by Serhiy Storchaka.
Serhiy Storchaka [Wed, 19 Feb 2014 16:44:12 +0000 (18:44 +0200)]
Issue #20672: Fixed tests for TarFile.list() on non-UTF-8 locales.
Serhiy Storchaka [Wed, 19 Feb 2014 16:35:10 +0000 (18:35 +0200)]
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
Tkinter widgets to work in wantobjects=True mode.
Serhiy Storchaka [Wed, 19 Feb 2014 16:34:05 +0000 (18:34 +0200)]
Fixed grid_columnconfigure() and grid_rowconfigure() methods of
Tkinter widgets to work in wantobjects=True mode.
Yury Selivanov [Wed, 19 Feb 2014 16:10:52 +0000 (11:10 -0500)]
asyncio: WriteTransport.set_write_buffer_size to call _maybe_pause_protocol
Victor Stinner [Wed, 19 Feb 2014 12:32:34 +0000 (13:32 +0100)]
asyncio: document new create_unix_connection() and create_unix_server() methods
of BaseEventLoop
Yury Selivanov [Wed, 19 Feb 2014 03:56:15 +0000 (22:56 -0500)]
asyncio: pep8-ify the code.
Yury Selivanov [Wed, 19 Feb 2014 03:27:48 +0000 (22:27 -0500)]
asyncio: Fix spelling and typos.
Thanks to Vajrasky Kok for discovering some of them.
Victor Stinner [Wed, 19 Feb 2014 01:21:08 +0000 (02:21 +0100)]
Issue #20682: test_asyncio, _basetest_create_connection() checks also the
sockname, as _basetest_create_ssl_connection().
Victor Stinner [Wed, 19 Feb 2014 00:45:59 +0000 (01:45 +0100)]
asyncio, Tulip issue 143: UNIX domain methods, fix ResourceWarning and
DeprecationWarning warnings. create_unix_server() closes the socket on any
error, not only on OSError.
Victor Stinner [Wed, 19 Feb 2014 00:40:41 +0000 (01:40 +0100)]
asyncio, Tulip issue 139: Improve error messages on "fatal errors"
Mention if the error was caused by a read or a write, and be more specific on
the object (ex: "pipe transport" instead of "transport").
Yury Selivanov [Tue, 18 Feb 2014 23:41:13 +0000 (18:41 -0500)]
asyncio.transports: Make _ProactorBasePipeTransport use _FlowControlMixin
Yury Selivanov [Tue, 18 Feb 2014 23:02:19 +0000 (18:02 -0500)]
asyncio: New error handling API. Issue #20681.
Victor Stinner [Tue, 18 Feb 2014 21:07:56 +0000 (22:07 +0100)]
Issue #20625: Fix compilation issue
Victor Stinner [Tue, 18 Feb 2014 21:06:35 +0000 (22:06 +0100)]
(Merge 3.3) Issue #19612: On Windows, subprocess.Popen.communicate() now
ignores OSError(22, 'Invalid argument') when writing input data into stdin,
whereas the process already exited.
Victor Stinner [Tue, 18 Feb 2014 21:00:53 +0000 (22:00 +0100)]
Issue #19612: On Windows, subprocess.Popen.communicate() now ignores
OSError(22, 'Invalid argument') when writing input data into stdin, whereas
the process already exited.
Ethan Furman [Tue, 18 Feb 2014 20:37:12 +0000 (12:37 -0800)]
Close issue20653: allow Enum subclasses to override __reduce_ex__
Guido van Rossum [Tue, 18 Feb 2014 18:24:30 +0000 (10:24 -0800)]
asyncio: Make tests pass on Windows.
Yury Selivanov [Tue, 18 Feb 2014 17:49:41 +0000 (12:49 -0500)]
Mangle __parameters in __annotations__ dict properly. Issue #20625.
Zachary Ware [Tue, 18 Feb 2014 17:35:15 +0000 (11:35 -0600)]
Issue #20609: Merge with 3.3.
Zachary Ware [Tue, 18 Feb 2014 17:33:18 +0000 (11:33 -0600)]
Issue #20609: Fix building 64-bit binaries on 32-bit Windows.
Yury Selivanov [Tue, 18 Feb 2014 17:21:57 +0000 (12:21 -0500)]
Misc/NEWS: Add a news item for UNIX Sockets support in asyncio. Cleanup WS.
Yury Selivanov [Tue, 18 Feb 2014 17:15:06 +0000 (12:15 -0500)]
asyncio: Add support for UNIX Domain Sockets.