]> granicus.if.org Git - python/log
python
11 years agoMerged upstream changes.
Vinay Sajip [Fri, 30 May 2014 18:05:02 +0000 (19:05 +0100)]
Merged upstream changes.

11 years agoIssue #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

11 years agoIssue #21608: Updated HTTPHandler documentation.
Vinay Sajip [Fri, 30 May 2014 17:46:02 +0000 (18:46 +0100)]
Issue #21608: Updated HTTPHandler documentation.

11 years agoFixed possible integer overflow in getint, getdouble and getboolean too (issue #21552).
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).

11 years agoIssue #21552: Fixed possible integer overflow of too long string lengths in
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.

11 years agoAdd tests for getint, getdouble and getboolean methods of the tkapp object.
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.

11 years agoFix issue #14315: The zipfile module now ignores extra fields in the central
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.

11 years agoIssue #21477: Add htests for GrepDialog, UndoDelegator, and configDialog.
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.

11 years agoIssue #21402: tkinter.ttk now works when default root window is not set.
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.

11 years agoIssue #21493: Added test for ntpath.expanduser(). Original patch by
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.

11 years agoIssue #10203: sqlite3.Row now truly supports sequence protocol. In particular
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.

11 years agoIssue #21477: Add htests for Search and Replace dialogs.
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.

11 years agoIssue #21477: Idle htest: modify run; add more tests.
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.

11 years agoIssue 21575: Show list.sort() arguments in the tutorial.
Raymond Hettinger [Tue, 27 May 2014 01:49:25 +0000 (18:49 -0700)]
Issue 21575:  Show list.sort() arguments in the tutorial.

11 years agoremove list of example incompatibilities (closes #21434)
Benjamin Peterson [Mon, 26 May 2014 22:38:52 +0000 (15:38 -0700)]
remove list of example incompatibilities (closes #21434)

11 years agoremove tab (closes #21587)
Benjamin Peterson [Mon, 26 May 2014 22:12:28 +0000 (15:12 -0700)]
remove tab (closes #21587)

11 years agofix typo in variable name (closes #21586)
Benjamin Peterson [Mon, 26 May 2014 22:10:42 +0000 (15:10 -0700)]
fix typo in variable name (closes #21586)

11 years agoIssue #21481: Teach argparse equality tests to return NotImplemented when comparing...
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.

11 years agoIssue 8743: Improve interoperability between sets and the collections.Set abstract...
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.

11 years agoIssue 13355: Make random.triangular degrade gracefully when low == high.
Raymond Hettinger [Mon, 26 May 2014 00:40:25 +0000 (17:40 -0700)]
Issue 13355:  Make random.triangular degrade gracefully when low == high.

11 years agoIssue #19925: Added tests for the spwd module. Original patch by Vajrasky Kok.
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.

11 years agoIssue #21477: Idle htest: merge and modify run and runall; add many tests.
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

11 years agoallow doc archives to be built for versions in the rc stage
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

11 years agoIssue #18604: Skip the Tk instantiation test on OS X because it can
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).

11 years agoFixed new Tkinter tests added in issue #21522 with Tk 8.4.
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.

11 years agoIssue #21522: Added Tkinter tests for Listbox.itemconfigure(),
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().

11 years agoIssue #20635: Added tests for Tk geometry managers.
Serhiy Storchaka [Fri, 23 May 2014 10:54:35 +0000 (13:54 +0300)]
Issue #20635: Added tests for Tk geometry managers.

11 years agoIssue #21523: Fix over-pessimistic computation of the stack effect of some opcodes...
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.

11 years agoIssue #21545: Add .pop example and tweak comment about pure mutation methods.
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.

11 years agoIssue 21479: Fix markup for the TarFile.open() classmethod.
Raymond Hettinger [Fri, 23 May 2014 02:43:29 +0000 (03:43 +0100)]
Issue 21479: Fix markup for the TarFile.open() classmethod.

11 years agoIssue 21198: Minor tarfile documentation bug.
Raymond Hettinger [Thu, 22 May 2014 23:05:48 +0000 (00:05 +0100)]
Issue 21198: Minor tarfile documentation bug.

11 years agoIssue #21383: OS X installer builds now use "make touch".
Ned Deily [Thu, 22 May 2014 22:27:01 +0000 (15:27 -0700)]
Issue #21383: OS X installer builds now use "make touch".

11 years agoIssue #21383: Allow "make touch" to work when building outside of the
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.

11 years ago2.7.8 news section
Benjamin Peterson [Thu, 22 May 2014 21:08:14 +0000 (14:08 -0700)]
2.7.8 news section

11 years agoIssue #21477: idle htests - lower case function names, other cleanups.
Terry Jan Reedy [Mon, 19 May 2014 04:12:00 +0000 (00:12 -0400)]
Issue #21477: idle htests - lower case function names, other cleanups.

11 years agomerge 2.7.7 release branch
Benjamin Peterson [Sun, 18 May 2014 23:33:28 +0000 (16:33 -0700)]
merge 2.7.7 release branch

11 years agoinclude test data in the windows installer, so tests don't fail (closes #19866)
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)

11 years agoDon't grow strings by concatenation. Use ''.join() instead.
Raymond Hettinger [Sun, 18 May 2014 19:04:01 +0000 (20:04 +0100)]
Don't grow strings by concatenation.  Use ''.join() instead.

11 years agoAdded tag v2.7.7rc1 for changeset e32e3a9f3902
Benjamin Peterson [Sun, 18 May 2014 00:36:19 +0000 (17:36 -0700)]
Added tag v2.7.7rc1 for changeset e32e3a9f3902

11 years agobump to 2.7.7rc1 v2.7.7rc1
Benjamin Peterson [Sun, 18 May 2014 00:31:50 +0000 (17:31 -0700)]
bump to 2.7.7rc1

11 years agoupdate pydoc_topics
Benjamin Peterson [Sun, 18 May 2014 00:30:36 +0000 (17:30 -0700)]
update pydoc_topics

11 years ago'sunos' not 'solaris
Benjamin Peterson [Sat, 17 May 2014 23:33:59 +0000 (16:33 -0700)]
'sunos' not 'solaris

11 years agojust skip this test on Solaris
Benjamin Peterson [Sat, 17 May 2014 23:07:53 +0000 (16:07 -0700)]
just skip this test on Solaris

11 years agosome platforms apparently don't care about fdopen'ing with a different mode
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

11 years agosupport pep 3118 format strings for ctypes objects with nontrivial shapes (closes...
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.

11 years agoreindent for consistency
Benjamin Peterson [Sat, 17 May 2014 21:53:04 +0000 (14:53 -0700)]
reindent for consistency

11 years agoDocument changes to OS X installer configurations for 2.7.7.
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.

11 years agoBackport Fix for Issue #7776: Fix ``Host:'' header and reconnection when using http...
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.

11 years agoIssue #18104: revise docstrings, remove obsolete comments.
Terry Jan Reedy [Fri, 16 May 2014 00:49:57 +0000 (20:49 -0400)]
Issue #18104: revise docstrings, remove obsolete comments.

11 years agoIssue #21488: Oops, the patch for codecs.encode/decode doc was written by
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.

11 years agoIssue #21488: Fix doc of codecs.decode() and codecs.encode(), no keyword support.
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.

11 years ago#21347: use string not list in shell=True example.
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.

11 years agoIssue #21470: Do a better job seeding the random number generator
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.

11 years agoIssue 21469: Mitigate risk of false positives with robotparser.
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.

11 years agowhitespace
Terry Jan Reedy [Mon, 12 May 2014 03:37:26 +0000 (23:37 -0400)]
whitespace

11 years agoIssue #18104: Add idlelib/idle_test/htest.py with a few sample tests to begin
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.

11 years agouse logical rather than bit and
Benjamin Peterson [Sun, 11 May 2014 23:17:02 +0000 (16:17 -0700)]
use logical rather than bit and

11 years agothis file now has utf-8 chars
Benjamin Peterson [Sun, 11 May 2014 23:16:27 +0000 (16:16 -0700)]
this file now has utf-8 chars

11 years agocast away warnings
Benjamin Peterson [Sun, 11 May 2014 23:14:00 +0000 (16:14 -0700)]
cast away warnings

11 years agobackport hmac.compare_digest to partially implement PEP 466 (closes #21306)
Benjamin Peterson [Sun, 11 May 2014 23:11:44 +0000 (16:11 -0700)]
backport hmac.compare_digest to partially implement PEP 466 (closes #21306)

Backport from Alex Gaynor.

11 years agoremove confusing delete indexing (closes #21466)
Benjamin Peterson [Sun, 11 May 2014 18:18:51 +0000 (11:18 -0700)]
remove confusing delete indexing (closes #21466)

11 years agoIssue #21476 Include idle icon files in Windows installer
Steve Dower [Sun, 11 May 2014 04:25:54 +0000 (21:25 -0700)]
Issue #21476 Include idle icon files in Windows installer

11 years agoBackport 4e9f1017355f from #3561.
Brian Curtin [Sat, 10 May 2014 17:52:59 +0000 (12:52 -0500)]
Backport 4e9f1017355f from #3561.

This brings the option to install Python on the Windows Path.
Committed per Benjamin Peterson's approval on python-dev.

11 years agoIssue #21350: Fix file.writelines() to accept arbitrary buffer objects, as advertised.
Antoine Pitrou [Thu, 8 May 2014 17:26:04 +0000 (19:26 +0200)]
Issue #21350: Fix file.writelines() to accept arbitrary buffer objects, as advertised.
Patch by Brian Kearns.

11 years ago - Issue #17752: Fix distutils tests when run from the installed location.
doko@ubuntu.com [Wed, 7 May 2014 02:41:26 +0000 (04:41 +0200)]
 - Issue #17752: Fix distutils tests when run from the installed location.

11 years agoAdd prompts to interactive example.
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.

11 years agoIssue #21366: Document the fact that ``return`` in a ``finally`` clause
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.

11 years agoIssue 21375: Fix possible Py_ssizet overflow in heapq.
Raymond Hettinger [Sat, 3 May 2014 22:27:14 +0000 (15:27 -0700)]
Issue 21375:  Fix possible Py_ssizet overflow in heapq.

11 years agoIssue #18604: Consolidated checks for GUI availability.
Zachary Ware [Fri, 2 May 2014 15:33:49 +0000 (10:33 -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 runtktests.check_tk_availability.  Also, every platform checks whether
Tk can be instantiated (if the platform-specific checks passed).

11 years agoIssue #19630 Emphasise that the file parameter to marshal.dump must be a real file...
Tim Golden [Tue, 29 Apr 2014 15:11:18 +0000 (16:11 +0100)]
Issue #19630 Emphasise that the file parameter to marshal.dump must be a real file object

11 years agoIssue #21321: itertools.islice() now releases the reference to the source iterator...
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.

11 years agoCloses #21055: Index (augmented) assignment symbols.
Terry Jan Reedy [Tue, 29 Apr 2014 05:19:05 +0000 (01:19 -0400)]
Closes #21055: Index (augmented) assignment symbols.

11 years agoCloses 21048: Index 'as' in import and with statements.
Terry Jan Reedy [Tue, 29 Apr 2014 04:58:48 +0000 (00:58 -0400)]
Closes 21048: Index 'as' in import and with statements.

11 years agoCloses #21026: Augment site doc based on experiments. Patch by Carol Willing.
Terry Jan Reedy [Tue, 29 Apr 2014 04:31:46 +0000 (00:31 -0400)]
Closes #21026: Augment site doc based on experiments. Patch by Carol Willing.

11 years ago#21225: copy docstrings from base classes
Andrew Kuchling [Fri, 25 Apr 2014 13:29:30 +0000 (09:29 -0400)]
#21225: copy docstrings from base classes

11 years agoIssue #9291 Add ACKS & NEWS
Tim Golden [Sun, 27 Apr 2014 15:39:33 +0000 (16:39 +0100)]
Issue #9291 Add ACKS & NEWS

11 years agoIssue #9291 Do not attempt to re-encode mimetype data read from registry in ANSI...
Tim Golden [Sun, 27 Apr 2014 15:36:47 +0000 (16:36 +0100)]
Issue #9291 Do not attempt to re-encode mimetype data read from registry in ANSI mode. Initial patches by Dmitry Jemerov & Vladimir Iofik

11 years ago#18243: Remove obsolete cautionary note from email mktime_tz docs.
R David Murray [Sat, 26 Apr 2014 23:05:03 +0000 (19:05 -0400)]
#18243: Remove obsolete cautionary note from email mktime_tz docs.

11 years agoIssue #17145: Document array.array buffer interface limitations.
Stefan Krah [Sat, 26 Apr 2014 20:50:25 +0000 (22:50 +0200)]
Issue #17145:  Document array.array buffer interface limitations.

11 years agoIssue #18944: backport typo fix
Terry Jan Reedy [Sat, 26 Apr 2014 17:55:59 +0000 (13:55 -0400)]
Issue #18944: backport typo fix

11 years agoAdd NEWS entry for issue21349
Tim Golden [Sat, 26 Apr 2014 15:02:38 +0000 (16:02 +0100)]
Add NEWS entry for issue21349

11 years agoIssue21349 Passing a memoryview to _winreg.SetValueEx now correctly raises a TypeErro...
Tim Golden [Sat, 26 Apr 2014 14:47:08 +0000 (15:47 +0100)]
Issue21349 Passing a memoryview to _winreg.SetValueEx now correctly raises a TypeError where it previously crashed the interpreter. Patch by Brian Kearns

11 years agoIssue #20434 Correct error handlin of _PyString_Resize and _PyBytes_Resize
Kristján Valur Jónsson [Fri, 25 Apr 2014 09:51:21 +0000 (09:51 +0000)]
Issue #20434 Correct error handlin of _PyString_Resize and _PyBytes_Resize

11 years agoIssue #21346: Fix typos in test_itertools. Patch by Brian Kearns.
Zachary Ware [Thu, 24 Apr 2014 18:20:27 +0000 (13:20 -0500)]
Issue #21346: Fix typos in test_itertools.  Patch by Brian Kearns.

11 years agofix off-by-one error (closes #21330)
Benjamin Peterson [Wed, 23 Apr 2014 01:54:10 +0000 (21:54 -0400)]
fix off-by-one error (closes #21330)

11 years agoIssue #21303, #20565: Updated the version of Tcl/Tk used on Windows
Zachary Ware [Tue, 22 Apr 2014 20:36:11 +0000 (15:36 -0500)]
Issue #21303, #20565: Updated the version of Tcl/Tk used on Windows
from 8.5.2 to 8.5.15.

11 years agoIssue #21138: Change default reformat paragraph width to PEP 8's 72.
Terry Jan Reedy [Tue, 22 Apr 2014 05:26:35 +0000 (01:26 -0400)]
Issue #21138: Change default reformat paragraph width to PEP 8's 72.

11 years agoIssue 21284: Idle: make test_formatparagraph pass even when a user changes the
Terry Jan Reedy [Tue, 22 Apr 2014 05:10:57 +0000 (01:10 -0400)]
Issue 21284: Idle: make test_formatparagraph pass even when a user changes the
reformat width in the configuration menu.

11 years agoIssue #21311: Avoid exception in _osx_support with non-standard compiler
Ned Deily [Sat, 19 Apr 2014 20:24:03 +0000 (13:24 -0700)]
Issue #21311: Avoid exception in _osx_support with non-standard compiler
configurations.  Patch by John Szakmeister.

11 years ago- Issue #21285: Refactor and fix curses configure check to always search
doko@ubuntu.com [Thu, 17 Apr 2014 18:11:19 +0000 (20:11 +0200)]
- Issue #21285: Refactor and fix curses configure check to always search
  in a ncursesw directory.

11 years ago#18628: clarify index entry for source file encoding declaration.
R David Murray [Thu, 17 Apr 2014 01:57:38 +0000 (21:57 -0400)]
#18628: clarify index entry for source file encoding declaration.

11 years ago#18566: Whitespace
Terry Jan Reedy [Wed, 16 Apr 2014 03:44:10 +0000 (23:44 -0400)]
#18566: Whitespace

11 years agoIssue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.
Terry Jan Reedy [Wed, 16 Apr 2014 03:38:11 +0000 (23:38 -0400)]
Issue #18566: Clarify unittest setUp, tearDown doc. Patch by Nitika Agarwal.

11 years agoIssue #21245: updated documentation on exception() method and function.
Vinay Sajip [Tue, 15 Apr 2014 22:11:15 +0000 (23:11 +0100)]
Issue #21245: updated documentation on exception() method and function.

11 years ago#1704474: mark refleak test as specific to CPython
Andrew Kuchling [Tue, 15 Apr 2014 20:44:43 +0000 (16:44 -0400)]
#1704474: mark refleak test as specific to CPython

Patch by Christian Hudon.

11 years ago#15840: make docs consistent by saying operations on closed files raise ValueError.
Andrew Kuchling [Tue, 15 Apr 2014 20:07:52 +0000 (16:07 -0400)]
#15840: make docs consistent by saying operations on closed files raise ValueError.

Patch by Caelyn McAulay.

Neither Caelyn nor I could find any cases in 2.7 or 3.4/5 where an
operation on a closed stream raised IOError; generally the C
implementation have a macro to check for the stream being closed, and
these macros all raised ValueError.  If we find any, a new bug should
be opened.

11 years agowhitespace chaps my hide
Gregory P. Smith [Tue, 15 Apr 2014 15:01:27 +0000 (08:01 -0700)]
whitespace chaps my hide

11 years agoSome cleanup of the subprocess docs in 2.7. Adds a reference to the
Gregory P. Smith [Tue, 15 Apr 2014 14:59:44 +0000 (07:59 -0700)]
Some cleanup of the subprocess docs in 2.7.  Adds a reference to the
subprocess32 project in PyPI for posix users.

11 years agoadd missing NULL check
Benjamin Peterson [Mon, 14 Apr 2014 23:57:52 +0000 (19:57 -0400)]
add missing NULL check

11 years agowhen an exception is raised in fdopen, never close the fd (changing on my mind on...
Benjamin Peterson [Mon, 14 Apr 2014 23:45:46 +0000 (19:45 -0400)]
when an exception is raised in fdopen, never close the fd (changing on my mind on #21191)