]>
granicus.if.org Git - python/log
Victor Stinner [Wed, 26 Feb 2014 10:07:42 +0000 (11:07 +0100)]
asyncio: Fix pyflakes warnings: remove unused variables and imports
Victor Stinner [Wed, 26 Feb 2014 09:25:02 +0000 (10:25 +0100)]
asyncio: Replace "unittest.mock" with "mock" in unit tests
Use "from unittest import mock". It should simplify my work to merge new tests
in Trollius, because Trollius uses "mock" backport for Python 2.
Gregory P. Smith [Wed, 26 Feb 2014 00:46:41 +0000 (16:46 -0800)]
null merge
Gregory P. Smith [Wed, 26 Feb 2014 00:45:55 +0000 (16:45 -0800)]
Mention issue 20621 fix in the NEWS file for 3.3.5rc1.
This bug was of the major reasons for the release.
R David Murray [Tue, 25 Feb 2014 21:03:14 +0000 (16:03 -0500)]
whatsnew: DynanicClassAttribute (#19030), Py_SetStandardStreamEncoding (#16129)
Adding missing docs for DynamicClassAttribute by copying the docstring. The
doc entry could stand some expansion, which I will note on the issue.
R David Murray [Tue, 25 Feb 2014 19:36:20 +0000 (14:36 -0500)]
Fix formatting in NEWS entry.
Antoine Pitrou [Tue, 25 Feb 2014 19:33:02 +0000 (20:33 +0100)]
Issue #20765: Add missing documentation for PurePath.with_name() and PurePath.with_suffix().
Serhiy Storchaka [Tue, 25 Feb 2014 18:02:05 +0000 (20:02 +0200)]
Null merge
Serhiy Storchaka [Tue, 25 Feb 2014 18:00:48 +0000 (20:00 +0200)]
Fix typo (issue #19619).
R David Murray [Tue, 25 Feb 2014 15:55:29 +0000 (10:55 -0500)]
whatsnew: encoding is now optional in PYTHONIOENCODING (#18818)
R David Murray [Tue, 25 Feb 2014 15:39:56 +0000 (10:39 -0500)]
whatsnew: logging SocketHandler and DatagramHandler support Unix domain sockets.
R David Murray [Tue, 25 Feb 2014 15:22:50 +0000 (10:22 -0500)]
whatsnew: Request.method can be overridden in subclasses (#18978).
Jason doced the change in the constructor *method* description, but
not the description of Request.method, so I added the change there
as well.
Guido van Rossum [Mon, 24 Feb 2014 22:31:25 +0000 (14:31 -0800)]
Clarify that flow control works for datagrams, except on BSD.
R David Murray [Mon, 24 Feb 2014 22:21:42 +0000 (17:21 -0500)]
whatsnew: http.server --bind cli option.
Also some fixups in the docs.
R David Murray [Mon, 24 Feb 2014 21:05:57 +0000 (16:05 -0500)]
whatsnew: unittest.TestCase.assertLogs.
Also fix issue number in address sanity check entry.
R David Murray [Mon, 24 Feb 2014 20:51:57 +0000 (15:51 -0500)]
Fix return type in doc of PyStructSequence_InitType2.
R David Murray [Mon, 24 Feb 2014 20:48:31 +0000 (15:48 -0500)]
Fix wording of NEWS entry.
R David Murray [Mon, 24 Feb 2014 20:48:22 +0000 (15:48 -0500)]
whatsnew: cypthon can be compiled with address sanity checking enabled.
R David Murray [Mon, 24 Feb 2014 20:34:48 +0000 (15:34 -0500)]
Merge #20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Including the subsequent line re-wrapping.
R David Murray [Mon, 24 Feb 2014 20:32:54 +0000 (15:32 -0500)]
#20628: wrap lines to < 80.
R David Murray [Mon, 24 Feb 2014 20:29:22 +0000 (15:29 -0500)]
#20628: make it clear that DictReader/Writer *fieldnames* is a Sequence.
Patch by Sean Rodman.
Ezio Melotti [Mon, 24 Feb 2014 18:59:48 +0000 (20:59 +0200)]
#20740: merge with 3.3.
Ezio Melotti [Mon, 24 Feb 2014 18:58:31 +0000 (20:58 +0200)]
#20740: desquarify 2.
R David Murray [Mon, 24 Feb 2014 17:59:20 +0000 (12:59 -0500)]
Fix typo.
R David Murray [Mon, 24 Feb 2014 15:55:08 +0000 (10:55 -0500)]
Remove redundant NEWS entry.
R David Murray [Mon, 24 Feb 2014 15:42:20 +0000 (10:42 -0500)]
Fix NEWS entry wording.
R David Murray [Mon, 24 Feb 2014 15:38:13 +0000 (10:38 -0500)]
whatsnew: frame.clear, expanded entry for -I/isolated mode.
Serhiy Storchaka [Mon, 24 Feb 2014 12:57:35 +0000 (14:57 +0200)]
Merge heads
Serhiy Storchaka [Mon, 24 Feb 2014 12:47:20 +0000 (14:47 +0200)]
Null merge
Serhiy Storchaka [Mon, 24 Feb 2014 12:43:03 +0000 (14:43 +0200)]
Issue #19619: Blacklist non-text codecs in method API
str.encode, bytes.decode and bytearray.decode now use an
internal API to throw LookupError for known non-text encodings,
rather than attempting the encoding or decoding operation and
then throwing a TypeError for an unexpected output type.
The latter mechanism remains in place for third party non-text
encodings.
Backported changeset
d68df99d7a57 .
Victor Stinner [Mon, 24 Feb 2014 12:19:19 +0000 (13:19 +0100)]
asyncio doc: fix references in subprocess doc
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.