]>
granicus.if.org Git - python/log
Terry Jan Reedy [Sun, 8 Jun 2014 18:57:18 +0000 (14:57 -0400)]
whitespace
Terry Jan Reedy [Sun, 8 Jun 2014 18:47:16 +0000 (14:47 -0400)]
Issue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Patch by Saimadhav Heblikar. (2 head merge)
Benjamin Peterson [Sun, 8 Jun 2014 03:14:26 +0000 (20:14 -0700)]
make sure the builtin help function doesn't fail when sys.stdin is not a valid file (closes #11709)
Original patch by Amaury Forgeot d'Arc with a test by bdettmer.
Benjamin Peterson [Sun, 8 Jun 2014 00:57:36 +0000 (17:57 -0700)]
backed out
86ba41b7bb46 (#18910) for test breakage
Benjamin Peterson [Sun, 8 Jun 2014 00:47:41 +0000 (17:47 -0700)]
document TokenError and unclosed expression behavior (closes #12063)
Patch by Amandine Lee.
Benjamin Peterson [Sat, 7 Jun 2014 23:44:00 +0000 (16:44 -0700)]
don't remove self from example code in the HTML output (closes #13223)
Patch by Víctor Terrón.
Benjamin Peterson [Sat, 7 Jun 2014 20:50:34 +0000 (13:50 -0700)]
specify that getuid() returns the real uid (closes #10503)
Patch by εσχατοκυριος.
Benjamin Peterson [Sat, 7 Jun 2014 19:45:37 +0000 (12:45 -0700)]
document the compress_level argument to tarfile.open (closes #21404)
Patch by Katherine Busch.
Benjamin Peterson [Sat, 7 Jun 2014 19:36:39 +0000 (12:36 -0700)]
allow the keyword else immediately after (no space) an integer (closes #21642)
Nick Coghlan [Sat, 7 Jun 2014 13:36:13 +0000 (23:36 +1000)]
Updates to Python 2.7 What's New preamble
- refers to release PEP for lifecycle information
- refers to Python Package Index for migration tools
- covers enhancements added in maintenance releases
Closes issue #21569
Terry Jan Reedy [Sat, 7 Jun 2014 08:27:45 +0000 (04:27 -0400)]
Issue #21682: Replace EditorWindow with mock to eliminate memory leaks.
Patch by Saimadhav Heblikar.
Terry Jan Reedy [Fri, 6 Jun 2014 21:43:14 +0000 (17:43 -0400)]
Issue #18910: test_textView - since all tests require 'gui', make root global.
Subclass TextViewer to add mock methods instead of monkey-patching it.
Zachary Ware [Fri, 6 Jun 2014 06:13:37 +0000 (01:13 -0500)]
Issue #21671, CVE-2014-0224: Update the Windows build to openssl-1.0.1h
Zachary Ware [Thu, 5 Jun 2014 20:57:44 +0000 (15:57 -0500)]
Issue #18292: s/tkinter/Tkinter/
R David Murray [Thu, 5 Jun 2014 19:15:43 +0000 (15:15 -0400)]
#21653: fix doc for return type of sqlite3.Row.keys().
Terry Jan Reedy [Thu, 5 Jun 2014 07:53:42 +0000 (03:53 -0400)]
whitespace
Terry Jan Reedy [Thu, 5 Jun 2014 07:38:28 +0000 (03:38 -0400)]
Issue #18910: Add unittest for textView. Patch by Phil Webster.
Terry Jan Reedy [Thu, 5 Jun 2014 00:50:49 +0000 (20:50 -0400)]
Issue #18292: Idle - test AutoExpand. Patch by Saihadhav Heblikar.
Terry Jan Reedy [Wed, 4 Jun 2014 07:09:56 +0000 (03:09 -0400)]
Issue #21654: Fix interaction with warnings. Patch by Raymond Hettinger.
Terry Jan Reedy [Wed, 4 Jun 2014 00:54:15 +0000 (20:54 -0400)]
Issue #18409: Idle: add unittest for AutoComplete. Patch by Phil Webster.
Senthil Kumaran [Tue, 3 Jun 2014 05:57:07 +0000 (22:57 -0700)]
Update references to Python docs in the sidebar index.
Patch contributed by Auke Willem Oosterhoff.
Terry Jan Reedy [Tue, 3 Jun 2014 00:42:48 +0000 (20:42 -0400)]
Issue 21533: Dicts take iterables, not iterators. Patch by Wolfgang Maier.
Zachary Ware [Mon, 2 Jun 2014 21:01:16 +0000 (16:01 -0500)]
Issue #18492: Allow all resources when tests are not run by regrtest.py.
This changeset also includes cleanup allowed by this behavior change.
Serhiy Storchaka [Mon, 2 Jun 2014 18:30:53 +0000 (21:30 +0300)]
Issue #6181: Fixed minor bugs in tkinter.Listbox methods:
bbox(), curselection() and get().
Serhiy Storchaka [Mon, 2 Jun 2014 13:50:03 +0000 (16:50 +0300)]
Issue #6181: Fixed errors in tkinter.Listbox docstrings.
Based on patch by Guilherme Polo.
Vinay Sajip [Sun, 1 Jun 2014 23:24:47 +0000 (00:24 +0100)]
Updated logging HOWTO section on optimization.
Serhiy Storchaka [Sun, 1 Jun 2014 19:13:39 +0000 (22:13 +0300)]
Issue #19656: Running Python with the -3 option now also warns about
non-ascii bytes literals.
Serhiy Storchaka [Sun, 1 Jun 2014 09:34:42 +0000 (12:34 +0300)]
Issue #21605: Added tests for Tkinter images.
Serhiy Storchaka [Sun, 1 Jun 2014 08:21:34 +0000 (11:21 +0300)]
Added missed calls of splitlist().
Terry Jan Reedy [Sun, 1 Jun 2014 04:30:28 +0000 (00:30 -0400)]
Issue #21477: Update htest docstring and remove extraneous differences between
2.7 and 3.4. Original patch by Saimadhav Heblikar.
Benjamin Peterson [Sat, 31 May 2014 22:25:38 +0000 (15:25 -0700)]
post 2.7.7 version bump
Benjamin Peterson [Sat, 31 May 2014 20:26:22 +0000 (13:26 -0700)]
backport hashlib.pbkdf2_hmac per PEP 466 (closes #21304)
Backport by Alex Gaynor.
Benjamin Peterson [Sat, 31 May 2014 20:16:49 +0000 (13:16 -0700)]
give the correct fixer name (closes #21604)
Benjamin Peterson [Sat, 31 May 2014 18:24:25 +0000 (11:24 -0700)]
merge 2.7.7 release branch
Benjamin Peterson [Sat, 31 May 2014 18:22:51 +0000 (11:22 -0700)]
Added tag v2.7.7 for changeset
f89216059edf
Benjamin Peterson [Sat, 31 May 2014 18:22:47 +0000 (11:22 -0700)]
fix news header
Benjamin Peterson [Sat, 31 May 2014 18:17:34 +0000 (11:17 -0700)]
bump to 2.7.7 final
Benjamin Peterson [Sat, 31 May 2014 18:01:37 +0000 (11:01 -0700)]
openssl requires nasm (#21462)
Benjamin Peterson [Sat, 31 May 2014 18:01:37 +0000 (11:01 -0700)]
openssl requires nasm (#21462)
Ned Deily [Sat, 31 May 2014 06:45:32 +0000 (23:45 -0700)]
Issue #21572: Change license command to fallback to generic license URL.
Terry Jan Reedy [Fri, 30 May 2014 20:19:50 +0000 (16:19 -0400)]
Issue #21593: (from StackOverflow) minor doc clarification for re.search.
Vinay Sajip [Fri, 30 May 2014 18:05:02 +0000 (19:05 +0100)]
Merged upstream changes.
Steve Dower [Fri, 30 May 2014 18:01:15 +0000 (11:01 -0700)]
Issue #21462 PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds
Steve Dower [Fri, 30 May 2014 18:01:15 +0000 (11:01 -0700)]
Issue #21462 PEP 466: upgrade OpenSSL in the Python 2.7 Windows builds
Vinay Sajip [Fri, 30 May 2014 17:46:02 +0000 (18:46 +0100)]
Issue #21608: Updated HTTPHandler documentation.
Serhiy Storchaka [Fri, 30 May 2014 11:28:21 +0000 (14:28 +0300)]
Fixed possible integer overflow in getint, getdouble and getboolean too (issue #21552).
Serhiy Storchaka [Fri, 30 May 2014 11:23:52 +0000 (14:23 +0300)]
Issue #21552: Fixed possible integer overflow of too long string lengths in
the Tkinter module on 64-bit platforms.
Serhiy Storchaka [Fri, 30 May 2014 11:07:20 +0000 (14:07 +0300)]
Add tests for getint, getdouble and getboolean methods of the tkapp object.
Gregory P. Smith [Fri, 30 May 2014 06:41:52 +0000 (23:41 -0700)]
Fix issue #14315: The zipfile module now ignores extra fields in the central
directory that are too short to be parsed instead of letting a struct.unpack
error bubble up as this "bad data" appears in many real world zip files in the
wild and is ignored by other zip tools.
Terry Jan Reedy [Thu, 29 May 2014 05:46:16 +0000 (01:46 -0400)]
Issue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.
Put instructions in a fixed size scrollable Text. Patch by Saimadhav Heblikar.
Serhiy Storchaka [Wed, 28 May 2014 15:38:15 +0000 (18:38 +0300)]
Issue #21402: tkinter.ttk now works when default root window is not set.
Serhiy Storchaka [Wed, 28 May 2014 15:11:08 +0000 (18:11 +0300)]
Issue #21493: Added test for ntpath.expanduser(). Original patch by
Claudiu Popa.
Serhiy Storchaka [Wed, 28 May 2014 09:57:38 +0000 (12:57 +0300)]
Issue #10203: sqlite3.Row now truly supports sequence protocol. In particular
it supports reverse() and negative indices. Original patch by Claudiu Popa.
Terry Jan Reedy [Tue, 27 May 2014 07:30:44 +0000 (03:30 -0400)]
Issue #21477: Add htests for Search and Replace dialogs.
Patch by Saimadhav Heblikar.
Terry Jan Reedy [Tue, 27 May 2014 06:47:38 +0000 (02:47 -0400)]
Issue #21477: Idle htest: modify run; add more tests.
Patch by Saimadhav Heblikar. 2.7 backport of 90829,
d7eea8f608c2 .
Raymond Hettinger [Tue, 27 May 2014 01:49:25 +0000 (18:49 -0700)]
Issue 21575: Show list.sort() arguments in the tutorial.
Benjamin Peterson [Mon, 26 May 2014 22:38:52 +0000 (15:38 -0700)]
remove list of example incompatibilities (closes #21434)
Benjamin Peterson [Mon, 26 May 2014 22:12:28 +0000 (15:12 -0700)]
remove tab (closes #21587)
Benjamin Peterson [Mon, 26 May 2014 22:10:42 +0000 (15:10 -0700)]
fix typo in variable name (closes #21586)
Raymond Hettinger [Mon, 26 May 2014 07:40:09 +0000 (00:40 -0700)]
Issue #21481: Teach argparse equality tests to return NotImplemented when comparing to unknown types.
Raymond Hettinger [Mon, 26 May 2014 05:13:41 +0000 (22:13 -0700)]
Issue 8743: Improve interoperability between sets and the collections.Set abstract base class.
Raymond Hettinger [Mon, 26 May 2014 00:40:25 +0000 (17:40 -0700)]
Issue 13355: Make random.triangular degrade gracefully when low == high.
Serhiy Storchaka [Sun, 25 May 2014 13:21:32 +0000 (16:21 +0300)]
Issue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.
Terry Jan Reedy [Sat, 24 May 2014 22:48:03 +0000 (18:48 -0400)]
Issue #21477: Idle htest: merge and modify run and runall; add many tests.
Patch by Saimadhav Heblikar
Benjamin Peterson [Sat, 24 May 2014 22:15:26 +0000 (15:15 -0700)]
allow doc archives to be built for versions in the rc stage
Ned Deily [Sat, 24 May 2014 04:28:02 +0000 (21:28 -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).
Serhiy Storchaka [Fri, 23 May 2014 20:57:46 +0000 (23:57 +0300)]
Fixed new Tkinter tests added in issue #21522 with Tk 8.4.
Serhiy Storchaka [Fri, 23 May 2014 11:08:31 +0000 (14:08 +0300)]
Issue #21522: Added Tkinter tests for Listbox.itemconfigure(),
PanedWindow.paneconfigure(), and Menu.entryconfigure().
Serhiy Storchaka [Fri, 23 May 2014 10:54:35 +0000 (13:54 +0300)]
Issue #20635: Added tests for Tk geometry managers.
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:02 +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:43:29 +0000 (03:43 +0100)]
Issue 21479: Fix markup for the TarFile.open() classmethod.
Raymond Hettinger [Thu, 22 May 2014 23:05:48 +0000 (00:05 +0100)]
Issue 21198: Minor tarfile documentation bug.
Ned Deily [Thu, 22 May 2014 22:27:01 +0000 (15:27 -0700)]
Issue #21383: OS X installer builds now use "make touch".
Ned Deily [Thu, 22 May 2014 22:26:34 +0000 (15:26 -0700)]
Issue #21383: Allow "make touch" to work when building outside of the
source directory.
Benjamin Peterson [Thu, 22 May 2014 21:08:14 +0000 (14:08 -0700)]
2.7.8 news section
Terry Jan Reedy [Mon, 19 May 2014 04:12:00 +0000 (00:12 -0400)]
Issue #21477: idle htests - lower case function names, other cleanups.
Benjamin Peterson [Sun, 18 May 2014 23:33:28 +0000 (16:33 -0700)]
merge 2.7.7 release branch
Benjamin Peterson [Sun, 18 May 2014 23:32:22 +0000 (16:32 -0700)]
include test data in the windows installer, so tests don't fail (closes #19866)
Raymond Hettinger [Sun, 18 May 2014 19:04:01 +0000 (20:04 +0100)]
Don't grow strings by concatenation. Use ''.join() instead.
Benjamin Peterson [Sun, 18 May 2014 00:36:19 +0000 (17:36 -0700)]
Added tag v2.7.7rc1 for changeset
e32e3a9f3902
Benjamin Peterson [Sun, 18 May 2014 00:31:50 +0000 (17:31 -0700)]
bump to 2.7.7rc1
Benjamin Peterson [Sun, 18 May 2014 00:30:36 +0000 (17:30 -0700)]
update pydoc_topics
Benjamin Peterson [Sat, 17 May 2014 23:33:59 +0000 (16:33 -0700)]
'sunos' not 'solaris
Benjamin Peterson [Sat, 17 May 2014 23:07:53 +0000 (16:07 -0700)]
just skip this test on Solaris
Benjamin Peterson [Sat, 17 May 2014 22:50:38 +0000 (15:50 -0700)]
some platforms apparently don't care about fdopen'ing with a different mode
Benjamin Peterson [Sat, 17 May 2014 21:57:10 +0000 (14:57 -0700)]
support pep 3118 format strings for ctypes objects with nontrivial shapes (closes #10744)
Patch from Matti Picus.
Benjamin Peterson [Sat, 17 May 2014 21:53:04 +0000 (14:53 -0700)]
reindent for consistency
Ned Deily [Sat, 17 May 2014 21:29:22 +0000 (14:29 -0700)]
Document changes to OS X installer configurations for 2.7.7.
As of 2.7.8, the 32-bit-only installer will support OS X 10.5
and later systems as is currently done for Python 3.x installers.
For 2.7.7 only, we will provide three installers:
the legacy deprecated 10.3+ 32-bit-only format;
the newer 10.5+ 32-bit-only format;
and the unchanged 10.6+ 64-/32-bit format.
Although binary installers will no longer be available from
python.org as of 2.7.8, it will still be possible to build from
source on 10.3.9 and 10.4 systems if necessary.
Senthil Kumaran [Sat, 17 May 2014 01:51:46 +0000 (18:51 -0700)]
Backport Fix for Issue #7776: Fix ``Host:'' header and reconnection when using http.client.HTTPConnection.set_tunnel().
Patch by Nikolaus Rath.
Terry Jan Reedy [Fri, 16 May 2014 00:49:57 +0000 (20:49 -0400)]
Issue #18104: revise docstrings, remove obsolete comments.
Victor Stinner [Wed, 14 May 2014 21:28:48 +0000 (23:28 +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.
Victor Stinner [Wed, 14 May 2014 15:07:08 +0000 (17:07 +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:21 +0000 (10:09 -0400)]
#21347: use string not list in shell=True example.
Patch by Akira.
Raymond Hettinger [Wed, 14 May 2014 05:09:23 +0000 (22:09 -0700)]
Issue #21470: Do a better job seeding the random number generator
to fully cover its state space.
Raymond Hettinger [Tue, 13 May 2014 05:18:50 +0000 (22:18 -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.
Terry Jan Reedy [Mon, 12 May 2014 03:37:26 +0000 (23:37 -0400)]
whitespace
Terry Jan Reedy [Mon, 12 May 2014 03:32:20 +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
Benjamin Peterson [Sun, 11 May 2014 23:16:27 +0000 (16:16 -0700)]
this file now has utf-8 chars