]>
granicus.if.org Git - python/log
Terry Jan Reedy [Sat, 24 May 2014 22:48:18 +0000 (18:48 -0400)]
Issue #21477: Idle htest: merge and modify run and runall; add many tests.
Patch by Saimadhav Heblikar
Serhiy Storchaka [Fri, 23 May 2014 20:58:13 +0000 (23:58 +0300)]
Fixed new Tkinter tests added in issue #21522 with Tk 8.4.
Brett Cannon [Fri, 23 May 2014 16:30:37 +0000 (12:30 -0400)]
Issue #14710: Fix both pkgutil.find_loader() and get_loader() to not
raise an exception when a module doesn't exist.
Thanks to Pavel Aslanov for the bug report.
Serhiy Storchaka [Fri, 23 May 2014 13:13:33 +0000 (16:13 +0300)]
Issue #21538: The plistlib module now supports loading of binary plist files
when reference or offset size is not a power of two.
Serhiy Storchaka [Fri, 23 May 2014 11:08:43 +0000 (14:08 +0300)]
Issue #21522: Added Tkinter tests for Listbox.itemconfigure(),
PanedWindow.paneconfigure(), and Menu.entryconfigure().
Antoine Pitrou [Fri, 23 May 2014 09:46:03 +0000 (11:46 +0200)]
Issue #21523: Fix over-pessimistic computation of the stack effect of some opcodes in the compiler.
This also fixes a quadratic compilation time issue noticeable when compiling
code with a large number of "and" and "or" operators.
Terry Jan Reedy [Fri, 23 May 2014 04:34:12 +0000 (00:34 -0400)]
Issue #21545: Add .pop example and tweak comment about pure mutation methods.
Patch prepared by David Harrigan.
Raymond Hettinger [Fri, 23 May 2014 02:46:52 +0000 (03:46 +0100)]
Issue 21479: Fix markup for the TarFile.open() classmethod.
Raymond Hettinger [Thu, 22 May 2014 23:03:45 +0000 (00:03 +0100)]
Issue 21198: Minor tarfile documentation bug.
Raymond Hettinger [Thu, 22 May 2014 22:37:09 +0000 (23:37 +0100)]
Issue 21554: Repair an out-of-date tutorial example to reflect changes in shutil.
Ned Deily [Thu, 22 May 2014 22:28:06 +0000 (15:28 -0700)]
Issue #21383: OS X installer builds now use "make touch".
Victor Stinner [Tue, 20 May 2014 13:57:08 +0000 (15:57 +0200)]
asyncio: test_base_events: use mock.Mock instead of unittest.mock.Mock to
simplify the synchronization with Trollius
Terry Jan Reedy [Tue, 20 May 2014 02:54:58 +0000 (22:54 -0400)]
merge heads
Raymond Hettinger [Mon, 19 May 2014 21:20:52 +0000 (22:20 +0100)]
Issue 20620: Update the min()/max() docs for the new default argument.
Patch provided by Berker Peksag.
Larry Hastings [Mon, 19 May 2014 06:19:55 +0000 (23:19 -0700)]
Merge.
Terry Jan Reedy [Mon, 19 May 2014 04:12:10 +0000 (00:12 -0400)]
Issue #21477: idle htests - lower case function names, other cleanups.
Raymond Hettinger [Sun, 18 May 2014 20:02:25 +0000 (21:02 +0100)]
Don't grow strings by concatenation. Use ''.join() instead.
Larry Hastings [Sun, 18 May 2014 04:46:49 +0000 (21:46 -0700)]
Added tag v3.4.1 for changeset
c0e311e010fc
Larry Hastings [Sun, 18 May 2014 04:46:35 +0000 (21:46 -0700)]
Version bump for 3.4.1.
Larry Hastings [Sun, 18 May 2014 04:45:01 +0000 (21:45 -0700)]
Rebuild pydoc topics.
Larry Hastings [Sun, 18 May 2014 04:05:10 +0000 (21:05 -0700)]
Merge.
Larry Hastings [Sun, 18 May 2014 03:54:44 +0000 (20:54 -0700)]
Post-release version bump for 3.4.1rc1. Sorry it's late!
Donald Stufft [Sat, 17 May 2014 03:02:25 +0000 (23:02 -0400)]
Upgrade pip to 1.5.6
Antoine Pitrou [Sat, 17 May 2014 22:55:13 +0000 (00:55 +0200)]
Issue #21430: additions to the description of non-blocking SSL sockets
Benjamin Peterson [Sat, 17 May 2014 21:59:12 +0000 (14:59 -0700)]
support pep 3118 format strings for ctypes objects with nontrivial shapes (closes #10744)
Patch by Matti Picus.
Ned Deily [Sat, 17 May 2014 21:30:09 +0000 (14:30 -0700)]
Miscellaneous corrections and updates to the OS X README file.
Terry Jan Reedy [Fri, 16 May 2014 00:50:10 +0000 (20:50 -0400)]
Issue #18104: revise docstrings, remove obsolete comments.
Antoine Pitrou [Thu, 15 May 2014 20:38:56 +0000 (22:38 +0200)]
Issue #21364: remove recommendation of broken pattern.
Victor Stinner [Wed, 14 May 2014 21:29:38 +0000 (23:29 +0200)]
Issue #21488: Oops, the patch for codecs.encode/decode doc was written by
Berker Peksag (already present in Misc/ACKS). The issue was reported by Brad
Aylsworth.
Serhiy Storchaka [Wed, 14 May 2014 18:48:17 +0000 (21:48 +0300)]
Issue #20998: Fixed re.fullmatch() of repeated single character pattern
with ignore case. Original patch by Matthew Barnett.
Serhiy Storchaka [Wed, 14 May 2014 18:08:33 +0000 (21:08 +0300)]
Issue #21075: fileinput.FileInput now reads bytes from standard stream if
binary mode is specified. Patch by Sam Kimbrel.
Victor Stinner [Wed, 14 May 2014 15:15:50 +0000 (17:15 +0200)]
Issue #21497: faulthandler functions now raise a better error if sys.stderr is
None: RuntimeError("sys.stderr is None") instead of AttributeError("'NoneType'
object has no attribute 'fileno'").
Victor Stinner [Wed, 14 May 2014 15:12:27 +0000 (17:12 +0200)]
Backed out changeset
6ceedbd88b5f
Victor Stinner [Wed, 14 May 2014 15:10:45 +0000 (17:10 +0200)]
Issue #21488: Add support of keyword arguments for codecs.encode and codecs.decode
Victor Stinner [Wed, 14 May 2014 15:08:45 +0000 (17:08 +0200)]
Issue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
Patch written by Brad Aylsworth.
R David Murray [Wed, 14 May 2014 14:09:52 +0000 (10:09 -0400)]
#21347: use string not list in shell=True example.
Patch by Akira.
Raymond Hettinger [Wed, 14 May 2014 05:13:40 +0000 (22:13 -0700)]
Issue #21470: Do a better job seeding the random number generator
to fully cover its state space.
Eric Snow [Tue, 13 May 2014 18:15:42 +0000 (12:15 -0600)]
Issue #21499: Ignore __builtins__ in several test_importlib.test_api tests.
Guido van Rossum [Tue, 13 May 2014 16:19:39 +0000 (09:19 -0700)]
Fix test-order-dependend asyncio test failure caused by rev
909ea8cc86bbab92dbb6231668f403b7360f30fa .
doko@ubuntu.com [Tue, 13 May 2014 09:28:12 +0000 (11:28 +0200)]
- Issue #17756: Fix test_code test when run from the installed location.
Raymond Hettinger [Tue, 13 May 2014 05:01:46 +0000 (22:01 -0700)]
Issue 21469: Add missing news item
Raymond Hettinger [Tue, 13 May 2014 04:56:33 +0000 (21:56 -0700)]
Issue 21469: Mitigate risk of false positives with robotparser.
* Repair the broken link to norobots-rfc.txt.
* HTTP response codes >= 500 treated as a failed read rather than as a not
found. Not found means that we can assume the entire site is allowed. A 5xx
server error tells us nothing.
* A successful read() or parse() updates the mtime (which is defined to be "the
time the robots.txt file was last fetched").
* The can_fetch() method returns False unless we've had a read() with a 2xx or
4xx response. This avoids false positives in the case where a user calls
can_fetch() before calling read().
* I don't see any easy way to test this patch without hitting internet
resources that might change or without use of mock objects that wouldn't
provide must reassurance.
Jason R. Coombs [Tue, 13 May 2014 02:41:15 +0000 (22:41 -0400)]
Merge doc change from 3.3
Jason R. Coombs [Tue, 13 May 2014 02:40:49 +0000 (22:40 -0400)]
Update docs to reflect resurrection of Setuptools over Distribute
Eric Snow [Mon, 12 May 2014 23:54:55 +0000 (17:54 -0600)]
Issue #21226: Set all attrs in PyImport_ExecCodeModuleObject.
Victor Stinner [Tue, 13 May 2014 00:05:35 +0000 (02:05 +0200)]
Issue #21398: Fix an unicode error in the pydoc pager when the documentation
contains characters not encodable to the stdout encoding.
Victor Stinner [Mon, 12 May 2014 23:32:36 +0000 (01:32 +0200)]
Issue #21418: Fix a crash in the builtin function super() when called without
argument and without current frame (ex: embedded Python).
Victor Stinner [Mon, 12 May 2014 21:25:09 +0000 (23:25 +0200)]
Issue #21485: remove unnecesary .flush() calls in the asyncio subprocess code
example
Victor Stinner [Mon, 12 May 2014 20:35:40 +0000 (22:35 +0200)]
Issue #21422: Add a test to check that bool << int and bool >> int return an int
Guido van Rossum [Mon, 12 May 2014 17:04:37 +0000 (10:04 -0700)]
asyncio: Fix upstream issue 168: StreamReader.read(-1) from pipe may hang if data exceeds buffer limit.
Ned Deily [Mon, 12 May 2014 04:45:13 +0000 (21:45 -0700)]
Issue #21383: Allow "make touch" to work when building outside of the
source directory.
Terry Jan Reedy [Mon, 12 May 2014 03:42:43 +0000 (23:42 -0400)]
Issue #18104: News for 3.4 (which will not merge forward).
Terry Jan Reedy [Mon, 12 May 2014 03:35:09 +0000 (23:35 -0400)]
whitespace
Terry Jan Reedy [Mon, 12 May 2014 03:32:32 +0000 (23:32 -0400)]
Issue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin
consolidating and improving human-validated tests of Idle. Change other files
as needed to work with htest. Running the module as __main__ runs all tests.
Benjamin Peterson [Sun, 11 May 2014 23:17:02 +0000 (16:17 -0700)]
use logical rather than bit and
Gregory P. Smith [Sun, 11 May 2014 20:28:35 +0000 (13:28 -0700)]
Change all references to Unix to POSIX in the subprocess docs. It's
more accurate and sounds less like a strange tale of yore.
Gregory P. Smith [Sun, 11 May 2014 20:26:21 +0000 (13:26 -0700)]
Remove the warning-soup from the subprocess documentation by adding
a Security Considerations section as preferred by both the devguide
and documentation users who do not wish to go insane.
Benjamin Peterson [Sun, 11 May 2014 18:18:51 +0000 (11:18 -0700)]
remove confusing delete indexing (closes #21466)
Antoine Pitrou [Sun, 11 May 2014 17:13:43 +0000 (19:13 +0200)]
Try to fix issue #21425 workaround for shared library builds
Antoine Pitrou [Sun, 11 May 2014 17:05:23 +0000 (19:05 +0200)]
Fix printing out error message when test fails and run with -bb
Antoine Pitrou [Sun, 11 May 2014 14:59:16 +0000 (16:59 +0200)]
Try workaround for test issues in #21425
Antoine Pitrou [Sun, 11 May 2014 11:42:17 +0000 (13:42 +0200)]
Issue #21425: Fix flushing of standard streams in the interactive interpreter.
Guido van Rossum [Sat, 10 May 2014 22:47:15 +0000 (15:47 -0700)]
asyncio: Upstream issue #167: remove dead code, by Marc Schlaich.
Tim Golden [Fri, 9 May 2014 17:19:13 +0000 (18:19 +0100)]
Merge
Tim Golden [Fri, 9 May 2014 17:18:11 +0000 (18:18 +0100)]
Issue21452 Add missing backslash to build path for make_buildinfo
Tim Golden [Fri, 9 May 2014 17:01:19 +0000 (18:01 +0100)]
Issue10752 Be more robust when finding a PERL interpreter to build OpenSSL. Initial patch by Gabi Davar
Brett Cannon [Fri, 9 May 2014 15:55:49 +0000 (11:55 -0400)]
Issue #21438: Document what loaders don't require a module name for
load_module().
Brett Cannon [Fri, 9 May 2014 14:37:31 +0000 (10:37 -0400)]
Issue #21157: Touch up imp docs to be more explicit about importlib
alternatives.
Tim Peters [Thu, 8 May 2014 22:42:19 +0000 (17:42 -0500)]
Issue #21435: Segfault in gc with cyclic trash
Changed the iteration logic in finalize_garbage() to tolerate objects vanishing
from the list as a side effect of executing a finalizer.
Antoine Pitrou [Thu, 8 May 2014 22:24:50 +0000 (00:24 +0200)]
Issue #21396: Fix TextIOWrapper(..., write_through=True) to not force a flush() on the underlying binary stream.
Patch by akira.
R David Murray [Thu, 8 May 2014 14:05:47 +0000 (10:05 -0400)]
#21300: fix typo
Kristján Valur Jónsson [Thu, 8 May 2014 10:59:52 +0000 (10:59 +0000)]
Merging from 3.3: The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
Kristján Valur Jónsson [Thu, 8 May 2014 10:36:27 +0000 (10:36 +0000)]
The PyCOND_TIMEDWAIT must use microseconds for the timeout argument
in order to have the same resolution as pthreads condition variables.
At the same time, it must be large enough to accept 31 bits of
milliseconds, which is the maximum timeout value in the windows API.
A PY_LONG_LONG of microseconds fullfills both requirements.
This closes issue #20737
doko@ubuntu.com [Wed, 7 May 2014 10:57:44 +0000 (12:57 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.
doko@ubuntu.com [Wed, 7 May 2014 02:44:42 +0000 (04:44 +0200)]
- Issue #17752: Fix distutils tests when run from the installed location.
R David Murray [Wed, 7 May 2014 01:33:18 +0000 (21:33 -0400)]
#21300: Clean up the docs for the email "policy" arguments.
Guido van Rossum [Tue, 6 May 2014 21:42:40 +0000 (14:42 -0700)]
asyncio: Fix the second half of issue #21447: race in _write_to_self().
Zachary Ware [Tue, 6 May 2014 14:18:17 +0000 (09:18 -0500)]
Add prompts to interactive example.
This makes it match the new example below, and allows Sphinx's
"hide the prompts and output" feature to work.
Zachary Ware [Tue, 6 May 2014 14:07:13 +0000 (09:07 -0500)]
Issue #21366: Document the fact that ``return`` in a ``finally`` clause
overrides a ``return`` in the ``try`` suite.
Guido van Rossum [Mon, 5 May 2014 14:34:56 +0000 (07:34 -0700)]
asyncio docs: ProactorEventLoop does not support SSL.
Larry Hastings [Sun, 4 May 2014 12:06:45 +0000 (05:06 -0700)]
Added tag v3.4.1rc1 for changeset
c67a19e11a71
Larry Hastings [Sun, 4 May 2014 12:06:24 +0000 (05:06 -0700)]
Version bump for 3.4.1rc1.
Larry Hastings [Sun, 4 May 2014 11:41:18 +0000 (04:41 -0700)]
Issue #21088: Bugfix for curses.window.addch() regression in 3.4.0.
In porting to Argument Clinic, the first two arguments were reversed.
Ned Deily [Sun, 4 May 2014 02:24:05 +0000 (19:24 -0700)]
Issue #18604: Skip the Tk instantiation test on OS X because it can
cause GUI tests to segfault in Cocoa Tk when run under regrtest -j
(multiple threads running subprocesses).
Benjamin Peterson [Sun, 4 May 2014 00:18:50 +0000 (20:18 -0400)]
use with blocks to make sure files are closed
Benjamin Peterson [Sun, 4 May 2014 00:07:16 +0000 (20:07 -0400)]
improve test coverage of filecmp (closes #21357)
Patch by Diana Clarke.
Raymond Hettinger [Sat, 3 May 2014 22:22:07 +0000 (15:22 -0700)]
Issue 21375: Fix possible Py_ssizet overflow in heapq.
Zachary Ware [Fri, 2 May 2014 15:51:07 +0000 (10:51 -0500)]
Issue #18604: Consolidated checks for GUI availability.
test_support._is_gui_available is now defined the same way on every
platform, and now includes the Windows-specific check that had been in the
Windows version of _is_gui_available and the OSX-specific check that was
in tkinter.test.support.check_tk_availability. Also, every platform
checks whether Tk can be instantiated (if the platform-specific checks
passed).
Martin v. Löwis [Thu, 1 May 2014 12:28:48 +0000 (14:28 +0200)]
Update to 1.0.1g
Gregory P. Smith [Tue, 29 Apr 2014 18:33:56 +0000 (11:33 -0700)]
Document the subprocess Popen.args attribute (issue21353)
Gregory P. Smith [Tue, 29 Apr 2014 18:33:23 +0000 (11:33 -0700)]
Document the subprocess Popen.args attribute (issue21353)
Stefan Krah [Tue, 29 Apr 2014 16:24:50 +0000 (18:24 +0200)]
Issue #21374: Fix pickling of DecimalTuple.
Jesus Cea [Tue, 29 Apr 2014 16:18:37 +0000 (18:18 +0200)]
Closes issue #21316: mark test_devpoll to be meaningfull only for Solaris
Zachary Ware [Tue, 29 Apr 2014 14:45:33 +0000 (09:45 -0500)]
Issue #17386: Expand Doc/make.bat to be much more similar to Doc/Makefile
Zachary Ware [Tue, 29 Apr 2014 14:26:56 +0000 (09:26 -0500)]
Issue #17386: Update Doc/README.txt to list all targets
supported by Doc/Makefile, as well as a bit of modernization,
cleanup, and notes about the difference between Unix and Windows.
Zachary Ware [Tue, 29 Apr 2014 14:24:40 +0000 (09:24 -0500)]
Issue #17386: List the 'htmlview' target in the Doc/Makefile help output.
Antoine Pitrou [Tue, 29 Apr 2014 10:13:46 +0000 (12:13 +0200)]
Issue #21321: itertools.islice() now releases the reference to the source iterator when the slice is exhausted.
Patch by Anton Afanasyev.
Terry Jan Reedy [Tue, 29 Apr 2014 05:19:17 +0000 (01:19 -0400)]
Issue #21055: Index (augmented) assignment symbols.
Terry Jan Reedy [Tue, 29 Apr 2014 04:58:56 +0000 (00:58 -0400)]
Closes 21048: Index 'as' in import and with statements.
Terry Jan Reedy [Tue, 29 Apr 2014 04:31:53 +0000 (00:31 -0400)]
Issue #21026: Augment site doc based on experiments. Patch by Carol Willing.