]> granicus.if.org Git - python/log
python
11 years agoFix "customer timer" -> "custom timer" (reported by Kirk Strauser on docs@)
Georg Brandl [Sun, 6 Oct 2013 07:17:43 +0000 (09:17 +0200)]
Fix "customer timer" -> "custom timer" (reported by Kirk Strauser on docs@)

11 years agoFix ZeroDivisionError message (reported by Pavel Fedotov on docs@)
Georg Brandl [Sun, 6 Oct 2013 07:11:14 +0000 (09:11 +0200)]
Fix ZeroDivisionError message (reported by Pavel Fedotov on docs@)

11 years agoIssue 14927: Remove a docstring line that is no longer applicable.
Raymond Hettinger [Sun, 6 Oct 2013 05:11:16 +0000 (22:11 -0700)]
Issue 14927: Remove a docstring line that is no longer applicable.

11 years agoMinor clean-up of function parameters in random().
Raymond Hettinger [Sun, 6 Oct 2013 04:48:21 +0000 (21:48 -0700)]
Minor clean-up of function parameters in random().

11 years agoIssue #19171: speed some cases of 3-argument long pow().
Tim Peters [Sat, 5 Oct 2013 21:53:52 +0000 (16:53 -0500)]
Issue #19171:  speed some cases of 3-argument long pow().

Reduce the base by the modulus when the base is larger than
the modulus.  This can unboundedly speed the "startup costs"
of doing modular exponentiation, particularly in cases where
the base is much larger than the modulus.  Original patch
by Armin Rigo, inspired by https://github.com/pyca/ed25519.

11 years ago#19069: use imperative mood in float object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 21:45:11 +0000 (00:45 +0300)]
#19069: use imperative mood in float object docstrings.  Patch by Marco Buttu.

11 years ago#19068: use imperative mood in complex object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 21:39:18 +0000 (00:39 +0300)]
#19068: use imperative mood in complex object docstrings.  Patch by Marco Buttu.

11 years ago#19067: use imperative mood in range object docstrings. Patch by Marco Buttu.
Ezio Melotti [Sat, 5 Oct 2013 21:36:45 +0000 (00:36 +0300)]
#19067: use imperative mood in range object docstrings.  Patch by Marco Buttu.

11 years ago#19166: use an unused var in a test. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 5 Oct 2013 00:07:03 +0000 (03:07 +0300)]
#19166: use an unused var in a test.  Patch by Vajrasky Kok.

11 years agoIssue #18594: Make the C code more closely match the pure python code.
Raymond Hettinger [Fri, 4 Oct 2013 23:51:02 +0000 (16:51 -0700)]
Issue #18594:  Make the C code more closely match the pure python code.

11 years agoClose #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:20:37 +0000 (04:20 +0200)]
Close #19160: Inconsistent size for GIL release in hashlib

11 years agoClose #19160: Inconsistent size for GIL release in hashlib
Jesus Cea [Fri, 4 Oct 2013 02:15:06 +0000 (04:15 +0200)]
Close #19160: Inconsistent size for GIL release in hashlib

11 years ago[issue19152] Revert 832579dbafd6.
Eric Snow [Thu, 3 Oct 2013 21:03:29 +0000 (15:03 -0600)]
[issue19152] Revert 832579dbafd6.

11 years agoFix typo.
Eric Snow [Thu, 3 Oct 2013 20:37:55 +0000 (14:37 -0600)]
Fix typo.

11 years ago[issue19152] Add ExtensionFileLoader.get_filename().
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19152] Add ExtensionFileLoader.get_filename().

11 years ago[issue19151] Fix docstring and use of _get_suppported_file_loaders() to reflect 2...
Eric Snow [Thu, 3 Oct 2013 18:08:55 +0000 (12:08 -0600)]
[issue19151] Fix docstring and use of _get_suppported_file_loaders() to reflect 2-tuples.

11 years agoIssue #19014: memoryview.cast() is now allowed on zero-length views.
Antoine Pitrou [Thu, 3 Oct 2013 17:55:41 +0000 (19:55 +0200)]
Issue #19014: memoryview.cast() is now allowed on zero-length views.

11 years agoIssue #18037: 2to3 now escapes '\u' and '\U' in native strings.
Serhiy Storchaka [Thu, 3 Oct 2013 09:08:38 +0000 (12:08 +0300)]
Issue #18037: 2to3 now escapes '\u' and '\U' in native strings.

11 years agoIssue #19147: Fix docstring for fcntl.flock to refer to correct man section.
Ned Deily [Wed, 2 Oct 2013 19:20:46 +0000 (12:20 -0700)]
Issue #19147: Fix docstring for fcntl.flock to refer to correct man section.

11 years agoDrop buildbottouch again; the master is using "make touch" now.
Martin v. Löwis [Wed, 2 Oct 2013 14:59:23 +0000 (16:59 +0200)]
Drop buildbottouch again; the master is using "make touch" now.

11 years agoIssue #19137: The pprint module now correctly formats instances of set and
Serhiy Storchaka [Wed, 2 Oct 2013 08:40:49 +0000 (11:40 +0300)]
Issue #19137: The pprint module now correctly formats instances of set and
frozenset subclasses.

11 years agoIssue #18594: Fix the fallback path in collections.Counter().
Raymond Hettinger [Wed, 2 Oct 2013 04:36:09 +0000 (21:36 -0700)]
Issue #18594:  Fix the fallback path in collections.Counter().

11 years agoClose #19092: ExitStack now reraises exceptions from __exit__
Nick Coghlan [Tue, 1 Oct 2013 13:24:56 +0000 (23:24 +1000)]
Close #19092: ExitStack now reraises exceptions from __exit__

Report and patch by Hrvoje Nikšić

11 years agoIssue #18594: Fix the fast path for collections.Counter().
Raymond Hettinger [Tue, 1 Oct 2013 07:55:43 +0000 (00:55 -0700)]
Issue #18594: Fix the fast path for collections.Counter().

The path wasn't being taken due to an over-restrictive type check.

11 years agoMinor doc fix in urllib.parse.rst
Senthil Kumaran [Tue, 1 Oct 2013 05:12:16 +0000 (22:12 -0700)]
Minor doc fix in urllib.parse.rst

11 years agoIssue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Antoine Pitrou [Mon, 30 Sep 2013 20:28:10 +0000 (22:28 +0200)]
Issue #12641: Avoid passing "-mno-cygwin" to the mingw32 compiler, except when necessary.
Patch by Oscar Benjamin.

11 years agoAdd a "skull and crossbones" to Py_AddPendingCall.
Antoine Pitrou [Mon, 30 Sep 2013 19:35:44 +0000 (21:35 +0200)]
Add a "skull and crossbones" to Py_AddPendingCall.

11 years agoIssue #19106: Add buildbottouch target.
Martin v. Löwis [Mon, 30 Sep 2013 14:21:44 +0000 (16:21 +0200)]
Issue #19106: Add buildbottouch target.

11 years agoIssue #19106: Touch generated files to be 1s newer than their youngest source.
Martin v. Löwis [Mon, 30 Sep 2013 14:09:44 +0000 (16:09 +0200)]
Issue #19106: Touch generated files to be 1s newer than their youngest source.

11 years agoMinor code improvement. Review comment by Eric V. Smith
Senthil Kumaran [Mon, 30 Sep 2013 01:59:04 +0000 (18:59 -0700)]
Minor code improvement. Review comment by Eric V. Smith

11 years agomerge heads
Benjamin Peterson [Sun, 29 Sep 2013 18:56:10 +0000 (14:56 -0400)]
merge heads

11 years agoremove unused imports
Benjamin Peterson [Sun, 29 Sep 2013 18:49:17 +0000 (14:49 -0400)]
remove unused imports

11 years agoProperly initialize all fields of a SSL object after allocation.
Antoine Pitrou [Sun, 29 Sep 2013 17:52:45 +0000 (19:52 +0200)]
Properly initialize all fields of a SSL object after allocation.

11 years agoIssue #19130: mention historic VS 2008 build dir, too
Christian Heimes [Sun, 29 Sep 2013 17:10:07 +0000 (19:10 +0200)]
Issue #19130: mention historic VS 2008 build dir, too

11 years agoIssue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010
Christian Heimes [Sun, 29 Sep 2013 17:02:35 +0000 (19:02 +0200)]
Issue #19130: Correct PCbuild/readme.txt, Python 3.3 and 3.4 require VS 2010

11 years agoIssue #19112: avoid using function defined in method.
Richard Oudkerk [Sun, 29 Sep 2013 16:29:56 +0000 (17:29 +0100)]
Issue #19112: avoid using function defined in method.

11 years agoremove duplicate method (closes #19127)
Benjamin Peterson [Sun, 29 Sep 2013 15:15:31 +0000 (11:15 -0400)]
remove duplicate method (closes #19127)

11 years agocondense two tests with the same name (closes #19114)
Benjamin Peterson [Sun, 29 Sep 2013 15:13:27 +0000 (11:13 -0400)]
condense two tests with the same name (closes #19114)

11 years agomove helper function into its test method (closes #19112)
Benjamin Peterson [Sun, 29 Sep 2013 15:08:04 +0000 (11:08 -0400)]
move helper function into its test method (closes #19112)

11 years agofix duplicate test names in test_dis (closes #19117)
Benjamin Peterson [Sun, 29 Sep 2013 14:53:49 +0000 (10:53 -0400)]
fix duplicate test names in test_dis (closes #19117)

11 years agoremove duplicate test_mkd (closes #19118)
Benjamin Peterson [Sun, 29 Sep 2013 14:51:00 +0000 (10:51 -0400)]
remove duplicate test_mkd (closes #19118)

11 years agocombine two tests to avoid duplicate names (closes #19116)
Benjamin Peterson [Sun, 29 Sep 2013 14:50:15 +0000 (10:50 -0400)]
combine two tests to avoid duplicate names (closes #19116)

11 years agofix duplicate test name (closes #19126)
Benjamin Peterson [Sun, 29 Sep 2013 14:48:19 +0000 (10:48 -0400)]
fix duplicate test name (closes #19126)

11 years agofix test to run and test that smtpd does support ELHO (closes #19125)
Benjamin Peterson [Sun, 29 Sep 2013 14:46:31 +0000 (10:46 -0400)]
fix test to run and test that smtpd does support ELHO (closes #19125)

11 years agoremove duplicate test from test_import (closes #19122)
Benjamin Peterson [Sun, 29 Sep 2013 14:01:40 +0000 (10:01 -0400)]
remove duplicate test from test_import (closes #19122)

11 years agoIssue #4366: Fix building extensions on all platforms when --enable-shared is used.
Antoine Pitrou [Sat, 28 Sep 2013 23:48:40 +0000 (01:48 +0200)]
Issue #4366: Fix building extensions on all platforms when --enable-shared is used.

11 years agofix duplicate test names (closes #19115)
Benjamin Peterson [Sat, 28 Sep 2013 19:12:37 +0000 (15:12 -0400)]
fix duplicate test names (closes #19115)

Patch by Xavier de Gaye.

11 years agoIssue #18950: Fix miscellaneous bugs in the sunau module.
Serhiy Storchaka [Sat, 28 Sep 2013 18:21:39 +0000 (21:21 +0300)]
Issue #18950: Fix miscellaneous bugs in the sunau module.

Au_read.readframes() now updates current file position and reads correct
number of frames from multichannel stream.  Au_write.writeframesraw() now
correctly updates current file position.  Au_read.getnframes() now returns an
integer (as in Python 2).  Au_read and Au_write now correctly works with file
object if start file position is not a zero.

11 years agoIssue #19053: ZipExtFile.read1() with non-zero argument no more returns empty
Serhiy Storchaka [Fri, 27 Sep 2013 19:11:57 +0000 (22:11 +0300)]
Issue #19053: ZipExtFile.read1() with non-zero argument no more returns empty
bytes until end of data.

11 years agolet this work with system Python 2.5
Benjamin Peterson [Fri, 27 Sep 2013 13:11:21 +0000 (09:11 -0400)]
let this work with system Python 2.5

11 years agofix my absurd spelling
Benjamin Peterson [Fri, 27 Sep 2013 03:42:53 +0000 (23:42 -0400)]
fix my absurd spelling

11 years agodon't scale compiler stack frames if the recursion limit is huge (closes #19098)
Benjamin Peterson [Fri, 27 Sep 2013 02:17:45 +0000 (22:17 -0400)]
don't scale compiler stack frames if the recursion limit is huge (closes #19098)

11 years agoIssue #19028: Fixed tkinter.Tkapp.merge() for non-string arguments.
Serhiy Storchaka [Mon, 23 Sep 2013 20:20:07 +0000 (23:20 +0300)]
Issue #19028: Fixed tkinter.Tkapp.merge() for non-string arguments.

11 years agoCloses #19043: remove detailed listing of versions from license files
Georg Brandl [Sun, 22 Sep 2013 09:45:52 +0000 (11:45 +0200)]
Closes #19043: remove detailed listing of versions from license files

Since all versions since 2.2 are under the same licensing terms,
this saves the release manager from touching the two files for
very new minor release.

11 years agoFix comment in test_gdb
Nick Coghlan [Sun, 22 Sep 2013 09:38:16 +0000 (19:38 +1000)]
Fix comment in test_gdb

11 years agoIssue #3015: Fixed tkinter with wantobject=False. Any Tcl command call
Serhiy Storchaka [Fri, 20 Sep 2013 20:21:44 +0000 (23:21 +0300)]
Issue #3015: Fixed tkinter with wantobject=False.  Any Tcl command call
returned empty string.

11 years agoIssue #18050: Fixed an incompatibility of the re module with Python 3.3.0
Serhiy Storchaka [Fri, 20 Sep 2013 18:24:39 +0000 (21:24 +0300)]
Issue #18050: Fixed an incompatibility of the re module with Python 3.3.0
binaries.

11 years agoCorrecting the mistake in 14ba90816930
Senthil Kumaran [Thu, 19 Sep 2013 07:08:56 +0000 (00:08 -0700)]
Correcting the mistake in 14ba90816930

Addresses Issue #18553: isatty is not Unix only.

11 years agoMerge #14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:54:00 +0000 (08:54 -0400)]
Merge #14984: only import pwd on POSIX.

11 years agoMerge #14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:53:26 +0000 (08:53 -0400)]
Merge #14984: only import pwd on POSIX.

11 years ago#14984: only import pwd on POSIX.
R David Murray [Wed, 18 Sep 2013 12:52:38 +0000 (08:52 -0400)]
#14984: only import pwd on POSIX.

11 years ago#19037: adjust file times *before* moving maildir files into place.
R David Murray [Wed, 18 Sep 2013 12:34:40 +0000 (08:34 -0400)]
#19037: adjust file times *before* moving maildir files into place.

This avoids race conditions when other programs are monitoring
the maildir directory.  Patch by janzert.

11 years agoMerge heads.
R David Murray [Wed, 18 Sep 2013 11:34:13 +0000 (07:34 -0400)]
Merge heads.

11 years ago - followup for issue #18997, make _clear_joined_ptr static.
doko@ubuntu.com [Wed, 18 Sep 2013 10:12:28 +0000 (12:12 +0200)]
 - followup for issue #18997, make _clear_joined_ptr static.

11 years agoMerge #14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Wed, 18 Sep 2013 01:04:50 +0000 (21:04 -0400)]
Merge #14984: On POSIX, enforce permissions when reading default .netrc.

11 years agoMerge #14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Wed, 18 Sep 2013 00:32:54 +0000 (20:32 -0400)]
Merge #14984: On POSIX, enforce permissions when reading default .netrc.

11 years ago#14984: On POSIX, enforce permissions when reading default .netrc.
R David Murray [Wed, 18 Sep 2013 00:30:02 +0000 (20:30 -0400)]
#14984: On POSIX, enforce permissions when reading default .netrc.

Initial patch by Bruno Piguet.

This is implemented as if a useful .netrc file could exist without passwords,
which is possible in the general case; but in fact our netrc implementation
does not support it.  Fixing that issue will be an enhancement.

11 years agoIssue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script
Serhiy Storchaka [Mon, 16 Sep 2013 20:51:56 +0000 (23:51 +0300)]
Issue #18873: The tokenize module, IDLE, 2to3, and the findnocoding.py script
now detect Python source code encoding only in comment lines.

11 years agoIssue #19029: Change non-existing since 3.0 StringType to str.
Serhiy Storchaka [Mon, 16 Sep 2013 08:01:31 +0000 (11:01 +0300)]
Issue #19029: Change non-existing since 3.0 StringType to str.

11 years agoNull merge of 3.2 into 3.3.
Tim Peters [Sun, 15 Sep 2013 20:39:06 +0000 (15:39 -0500)]
Null merge of 3.2 into 3.3.

11 years agoNull merge of 3.1 into 3.2
Tim Peters [Sun, 15 Sep 2013 20:37:25 +0000 (15:37 -0500)]
Null merge of 3.1 into 3.2

Changeset c39f42f46a05 left a dangling head on 3.1.

11 years agoIssue #19018: The heapq.merge() function no longer suppresses IndexError
Raymond Hettinger [Sun, 15 Sep 2013 03:51:57 +0000 (20:51 -0700)]
Issue #19018: The heapq.merge() function no longer suppresses IndexError

11 years agoMerge heads.
Ezio Melotti [Sun, 15 Sep 2013 00:00:42 +0000 (03:00 +0300)]
Merge heads.

11 years ago#18206: Fix test for existence of license URL.
R David Murray [Sat, 14 Sep 2013 17:28:37 +0000 (13:28 -0400)]
#18206: Fix test for existence of license URL.

It now always checks, instead of only when the LICENSE file doesn't exist.  It
is also protected by the 'network' resource, and uses a HEAD request since we
are only doing an existence check.

11 years agomerge with 3.2
Georg Brandl [Sat, 14 Sep 2013 07:11:09 +0000 (09:11 +0200)]
merge with 3.2

11 years agoAdd a NEWS entry for b9b521efeba3.
Georg Brandl [Sat, 14 Sep 2013 07:10:21 +0000 (09:10 +0200)]
Add a NEWS entry for b9b521efeba3.

11 years agoAdd NEWS entry for c18c18774e24.
Georg Brandl [Sat, 14 Sep 2013 07:09:18 +0000 (09:09 +0200)]
Add NEWS entry for c18c18774e24.

11 years agoFix tkinter regression introduced by the security fix in #16248.
Georg Brandl [Sat, 14 Sep 2013 07:08:09 +0000 (09:08 +0200)]
Fix tkinter regression introduced by the security fix in #16248.

11 years agoFix tkinter regression introduced by the security fix in #16248.
Georg Brandl [Sat, 14 Sep 2013 07:08:09 +0000 (09:08 +0200)]
Fix tkinter regression introduced by the security fix in #16248.

11 years ago#18856: improve test coverage of the calendar module. Patch by Madison May.
Ezio Melotti [Sat, 14 Sep 2013 01:55:53 +0000 (04:55 +0300)]
#18856: improve test coverage of the calendar module.  Patch by Madison May.

11 years ago#18981: fix a typo in a comment (noticed by Anoop Thomas Mathew).
Ezio Melotti [Fri, 13 Sep 2013 20:52:12 +0000 (23:52 +0300)]
#18981: fix a typo in a comment (noticed by Anoop Thomas Mathew).

11 years ago#18951: use consistent names in unittest docs.
Ezio Melotti [Fri, 13 Sep 2013 19:17:40 +0000 (22:17 +0300)]
#18951: use consistent names in unittest docs.

11 years agoAdd Germán M. Bravo to Misc/ACKS
Eli Bendersky [Fri, 13 Sep 2013 13:24:59 +0000 (06:24 -0700)]
Add Germán M. Bravo to Misc/ACKS

11 years agoIssue #18997: fix ElementTree crash with using pickle and __getstate__.
Eli Bendersky [Fri, 13 Sep 2013 13:24:25 +0000 (06:24 -0700)]
Issue #18997: fix ElementTree crash with using pickle and __getstate__.

Based on report and initial patch from Germán M. Bravo

11 years agoIssue #18945: Add tests for tempfile name collision handling.
Eli Bendersky [Fri, 13 Sep 2013 12:28:20 +0000 (05:28 -0700)]
Issue #18945: Add tests for tempfile name collision handling.

Patch by Vlad Shcherbina

11 years agoFix http.server's request handling case on trailing '/'.
Senthil Kumaran [Fri, 13 Sep 2013 07:21:18 +0000 (00:21 -0700)]
Fix http.server's request handling case on trailing '/'.

Patch contributed by Vajrasky Kok. Addresses Issue #17324

11 years agoIssue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
Serhiy Storchaka [Fri, 13 Sep 2013 04:46:40 +0000 (07:46 +0300)]
Issue #18784: The uuid module no more attempts to load libc via ctypes.CDLL,
if all necessary functions are already found in libuuid.
Patch by Evgeny Sologubov.

11 years agoAutomated merge with file:///Users/skumaran/python/cpython
Senthil Kumaran [Thu, 12 Sep 2013 05:56:30 +0000 (22:56 -0700)]
Automated merge with file:///Users/skumaran/python/cpython

11 years agoImprove the docstring of random.shuffle. Inform users not to provide int arg.
Senthil Kumaran [Thu, 12 Sep 2013 05:54:31 +0000 (22:54 -0700)]
Improve the docstring of random.shuffle. Inform users not to provide int arg.
Addresses issue #14927

11 years agoIssue #18988: The "Tab" key now works when a word is already autocompleted.
Serhiy Storchaka [Wed, 11 Sep 2013 19:46:27 +0000 (22:46 +0300)]
Issue #18988: The "Tab" key now works when a word is already autocompleted.

11 years agoClarify mmap.close method behavior. Addresses issue #18815
Senthil Kumaran [Tue, 10 Sep 2013 05:39:28 +0000 (22:39 -0700)]
Clarify mmap.close method  behavior.  Addresses issue  #18815
Patch contributed by Anoop Thomas Mathew.

11 years agoDocument Fraction's numerator and denominator properties.
Senthil Kumaran [Tue, 10 Sep 2013 02:57:37 +0000 (19:57 -0700)]
Document Fraction's numerator and denominator properties.
Addresses issue #18800

11 years agoDocstring typo fix: Arithmentic -> Arithmetic.
Mark Dickinson [Mon, 9 Sep 2013 09:34:24 +0000 (10:34 +0100)]
Docstring typo fix: Arithmentic -> Arithmetic.

11 years agoIssue 18752: Make chain.from_iterable() more visible in the documentation.
Raymond Hettinger [Mon, 9 Sep 2013 07:01:35 +0000 (02:01 -0500)]
Issue 18752:  Make chain.from_iterable() more visible in the documentation.

11 years agoIssue 18301: The classmethod decorator didn't fit well with the rough-equivalent...
Raymond Hettinger [Mon, 9 Sep 2013 06:54:27 +0000 (01:54 -0500)]
Issue 18301:  The classmethod decorator didn't fit well with the rough-equivalent example code.

11 years agoFix a typo. (closes #18953)
Serhiy Storchaka [Sun, 8 Sep 2013 17:42:13 +0000 (20:42 +0300)]
Fix a typo. (closes #18953)

11 years agoFixed tests with Tcl/Tk <8.5 (closes #18964).
Serhiy Storchaka [Sun, 8 Sep 2013 17:29:37 +0000 (20:29 +0300)]
Fixed tests with Tcl/Tk <8.5 (closes #18964).

11 years agoFix the dead link of IEEE_854-1987 standard with the Wikipedia entry.
Senthil Kumaran [Sun, 8 Sep 2013 06:19:29 +0000 (23:19 -0700)]
Fix the dead link of IEEE_854-1987 standard with the Wikipedia entry.
Addresses issue #18438

11 years agoClose #18952: correctly download test support data
Nick Coghlan [Sun, 8 Sep 2013 01:40:34 +0000 (11:40 +1000)]
Close #18952: correctly download test support data

When test.support was converted to a package, it started silently
skipping the tests which needed to download support data to run.

This change refactors the affected code, and also tidies up
test.support.findfile to remove the unused *here* parameter, document
the *subdir* parameter and rename the *filename* parameter to avoid
shadowing the file builtin and be consistent with the documentation.

The unexpected skips were noticed and reported by Zachary Ware

11 years agoCorrect Profile class usage example. Addresses issue #18033.
Senthil Kumaran [Sun, 8 Sep 2013 00:51:58 +0000 (17:51 -0700)]
Correct Profile class usage example. Addresses issue #18033.
Patch contributed by Olivier Hervieu and Dmi Baranov.