]> granicus.if.org Git - python/log
python
11 years agoFixes issue #15507: test_subprocess's test_send_signal could fail if the test
Gregory P. Smith [Thu, 29 Aug 2013 20:35:27 +0000 (13:35 -0700)]
Fixes issue #15507: test_subprocess's test_send_signal could fail if the test
runner were run in an environment where the process inherited an ignore
setting for SIGINT.  Restore the SIGINT handler to the desired
KeyboardInterrupt raising one during that test.

11 years agoMerge.
Charles-François Natali [Thu, 29 Aug 2013 17:26:37 +0000 (19:26 +0200)]
Merge.

11 years agoIssue #18643: Fix some test_socket failures due to large default socket buffer
Charles-François Natali [Thu, 29 Aug 2013 17:01:40 +0000 (19:01 +0200)]
Issue #18643: Fix some test_socket failures due to large default socket buffer
sizes.

11 years agoIssue #18743: Fix references to non-existant "StringIO" module
Serhiy Storchaka [Thu, 29 Aug 2013 08:35:43 +0000 (11:35 +0300)]
Issue #18743: Fix references to non-existant "StringIO" module
in docstrings and comments.

11 years agoIssue #18760: Improved cross-references in the xml package.
Serhiy Storchaka [Thu, 29 Aug 2013 07:28:44 +0000 (10:28 +0300)]
Issue #18760: Improved cross-references in the xml package.

11 years agoFix @requires_freebsd_version and @requires_linux_version decorators of
Victor Stinner [Wed, 28 Aug 2013 10:26:28 +0000 (12:26 +0200)]
Fix @requires_freebsd_version and @requires_linux_version decorators of
test.support, run the test if the platform matchs!

11 years agoFix compilation of the _sqlite module if threads are disabled
Victor Stinner [Tue, 27 Aug 2013 23:44:42 +0000 (01:44 +0200)]
Fix compilation of the _sqlite module if threads are disabled

11 years agoIssue #18783: Removed existing mentions of Python long type in docstrings,
Serhiy Storchaka [Tue, 27 Aug 2013 16:40:23 +0000 (19:40 +0300)]
Issue #18783: Removed existing mentions of Python long type in docstrings,
error messages and comments.

11 years ago#18839: document that sys.exit() will not accept a non-integer numeric value as exit...
Ezio Melotti [Mon, 26 Aug 2013 11:00:39 +0000 (14:00 +0300)]
#18839: document that sys.exit() will not accept a non-integer numeric value as exit status.

11 years agoClarify pyexpat documentation in StartElementHandler
Eli Bendersky [Mon, 26 Aug 2013 02:05:55 +0000 (19:05 -0700)]
Clarify pyexpat documentation in StartElementHandler

11 years ago#18803: fix more typos. Patch by Févry Thibault.
Ezio Melotti [Sun, 25 Aug 2013 22:32:56 +0000 (01:32 +0300)]
#18803: fix more typos.  Patch by Févry Thibault.

11 years agoUpdate XMLParser.close documentation and fix formatting.
Eli Bendersky [Sun, 25 Aug 2013 22:27:36 +0000 (15:27 -0700)]
Update XMLParser.close documentation and fix formatting.

Using ``method`` markup because the method is on a callback object, not an
explicitly documented method. :meth: markup creates links within the current
class which is incorrect.

In addition, indent the paragraph correctly.

11 years ago#18833: add a test for test_telnetlib. Patch by Alex Volkov.
Ezio Melotti [Sun, 25 Aug 2013 20:56:43 +0000 (23:56 +0300)]
#18833: add a test for test_telnetlib.  Patch by Alex Volkov.

11 years agoMerge.
Charles-François Natali [Sun, 25 Aug 2013 16:27:59 +0000 (18:27 +0200)]
Merge.

11 years agoIssue #18763: subprocess: The file descriptors are now closed after calling the
Charles-François Natali [Sun, 25 Aug 2013 16:24:45 +0000 (18:24 +0200)]
Issue #18763: subprocess: The file descriptors are now closed after calling the
preexec_fn callback, which may open file descriptors.

11 years agoIssue #18817: Fix a resource warning in Lib/aifc.py demo.
Serhiy Storchaka [Sun, 25 Aug 2013 16:12:56 +0000 (19:12 +0300)]
Issue #18817: Fix a resource warning in Lib/aifc.py demo.

11 years ago#16611: BaseCookie now parses 'secure' and 'httponly' flags.
R David Murray [Sun, 25 Aug 2013 15:09:02 +0000 (11:09 -0400)]
#16611: BaseCookie now parses 'secure' and 'httponly' flags.

Previously it generated them if they were given a value, but completely
ignored them if they were present in the string passed in to be parsed.  Now
if the flag appears on a cookie, the corresponding Morsel key will reference a
True value.  Other pre-existing behavior is retained in this maintenance
patch: if the source contains something like 'secure=foo', morsel['secure']
will return 'foo'.  Since such a value doesn't round trip and never did (and
would be a surprising occurrence) a subsequent non-bug-fix patch may change
this behavior.

Inspired by a patch from Julien Phalip, who reviewed this one.

11 years agoIssue #11973: Fix a problem in kevent. The flags and fflags fields are now
Christian Heimes [Sun, 25 Aug 2013 12:57:00 +0000 (14:57 +0200)]
Issue #11973: Fix a problem in kevent. The flags and fflags fields are now
properly handled as unsigned.

11 years agoIssue #18747: Fix spelling errors in my commit message and comments,
Christian Heimes [Sun, 25 Aug 2013 12:19:16 +0000 (14:19 +0200)]
Issue #18747: Fix spelling errors in my commit message and comments,
thanks to Vajrasky Kok for proof-reading.

11 years agoIssue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger
Christian Heimes [Sun, 25 Aug 2013 12:12:41 +0000 (14:12 +0200)]
Issue #18709: Fix issue with IPv6 address in subjectAltName on Mac OS X Tiger

11 years agoVarious clarifications based on feedback & questions over the years.
Tim Peters [Sat, 24 Aug 2013 20:15:19 +0000 (15:15 -0500)]
Various clarifications based on feedback & questions over the years.
(grafted from 23181bf411a16287a0a54e910fc0f9ecd2764bf0)

11 years agoIssue #18756: make test_urandom_failure more robust by executing its code in a subprocess
Antoine Pitrou [Sat, 24 Aug 2013 18:52:27 +0000 (20:52 +0200)]
Issue #18756: make test_urandom_failure more robust by executing its code in a subprocess

11 years agotest_socket: cancel scheduled alarm on test failure
Victor Stinner [Sat, 24 Aug 2013 13:52:47 +0000 (15:52 +0200)]
test_socket: cancel scheduled alarm on test failure

11 years agoIssue #18757: Improved cross-references in the concurrent package.
Serhiy Storchaka [Fri, 23 Aug 2013 21:23:38 +0000 (00:23 +0300)]
Issue #18757: Improved cross-references in the concurrent package.

11 years ago#18798: fix typo in test_fcntl. Patch by Vajrasky Kok.
Ezio Melotti [Fri, 23 Aug 2013 20:06:31 +0000 (23:06 +0300)]
#18798: fix typo in test_fcntl.  Patch by Vajrasky Kok.

11 years agoClose #17702: On error, os.environb now removes suppress the except context
Victor Stinner [Fri, 23 Aug 2013 17:19:15 +0000 (19:19 +0200)]
Close #17702: On error, os.environb now removes suppress the except context
when raising a new KeyError with the original key.

11 years agoNEW entry for issue #18755
Brett Cannon [Fri, 23 Aug 2013 15:47:26 +0000 (11:47 -0400)]
NEW entry for issue #18755

11 years agoIssue #18755: Allow imp.load_*() loaders to have get_data() called
Brett Cannon [Fri, 23 Aug 2013 15:45:57 +0000 (11:45 -0400)]
Issue #18755: Allow imp.load_*() loaders to have get_data() called
multiple times.

11 years agoEmphasize that people should not override __import__.
Brett Cannon [Fri, 23 Aug 2013 14:58:49 +0000 (10:58 -0400)]
Emphasize that people should not override __import__.

With importlib getting used more and more, changing __import__ will
not work as well as people used to hope as it will potentially bypass
importers, etc. It also will not work with importlib.import_module()
as it uses "importlib.__import__" (i.e. importlib's implementation of
import) directly and not builtins.__import__.

11 years agoAdd line explaining the "%sort" test.
Tim Peters [Thu, 22 Aug 2013 23:32:53 +0000 (18:32 -0500)]
Add line explaining the "%sort" test.
(grafted from 1ea833ecaf5a9d43a886e9e73b4e2551d0d5b548)

11 years agoIssue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.
Serhiy Storchaka [Thu, 22 Aug 2013 14:51:58 +0000 (17:51 +0300)]
Issue #16809: Fixed some tkinter incompabilities with Tcl/Tk 8.6.

11 years agoIssue #16809: Tkinter's splitlist() and split() methods now accept Tcl_Obj
Serhiy Storchaka [Thu, 22 Aug 2013 14:40:31 +0000 (17:40 +0300)]
Issue #16809: Tkinter's splitlist() and split() methods now accept Tcl_Obj
argument.

This is needed for support Tcl/Tk 8.6.

11 years agoIssue #18747: Update Misc/NEWS to reflect the latest changeset.
Christian Heimes [Thu, 22 Aug 2013 11:22:37 +0000 (13:22 +0200)]
Issue #18747: Update Misc/NEWS to reflect the latest changeset.

11 years agoIssue #18747: Use a parent atfork handler instead of a child atfork handler.
Christian Heimes [Thu, 22 Aug 2013 11:19:48 +0000 (13:19 +0200)]
Issue #18747: Use a parent atfork handler instead of a child atfork handler.
fork() is suppose to be async-signal safe but the handler calls unsafe functions. A parent handler mitigates the issue.

11 years ago#18324: set_payload now correctly handles binary input.
R David Murray [Thu, 22 Aug 2013 01:10:31 +0000 (21:10 -0400)]
#18324: set_payload now correctly handles binary input.

This also backs out the previous fixes for for #14360, #1717, and #16564.
Those bugs were actually caused by the fact that set_payload didn't decode to
str, thus rendering the model inconsistent.  This fix does mean the data
processed by the encoder functions goes through an extra encode/decode cycle,
but it means the model is always consistent.  Future API updates will provide
a better way to encode payloads, which will bypass this minor de-optimization.

Tests by Vajrasky Kok.

11 years agoMerge 3.2 into 3.3.
Tim Peters [Wed, 21 Aug 2013 23:52:57 +0000 (18:52 -0500)]
Merge 3.2 into 3.3.

The only file change is adding the v3.2.5 tag to 3.3's .hgtags file.

11 years agoIssue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as possible...
Antoine Pitrou [Wed, 21 Aug 2013 22:39:46 +0000 (00:39 +0200)]
Issue #18792: Use "127.0.0.1" or "::1" instead of "localhost" as much as possible, since "localhost" goes through a DNS lookup under recent Windows versions.

11 years agoIssue #17119: Fixed integer overflows when processing large strings and tuples
Serhiy Storchaka [Wed, 21 Aug 2013 18:38:21 +0000 (21:38 +0300)]
Issue #17119: Fixed integer overflows when processing large strings and tuples
in the tkinter module.

11 years agoIssue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
Christian Heimes [Wed, 21 Aug 2013 11:26:05 +0000 (13:26 +0200)]
Issue #18747: Re-seed OpenSSL's pseudo-random number generator after fork.
A pthread_atfork() child handler is used to seeded the PRNG with pid, time
and some stack data.

11 years agoIssue #8865: Concurrent invocation of select.poll.poll() now raises a
Serhiy Storchaka [Tue, 20 Aug 2013 17:38:21 +0000 (20:38 +0300)]
Issue #8865: Concurrent invocation of select.poll.poll() now raises a
RuntimeError exception.  Patch by Christian Schubert.

11 years agoIssue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.
Serhiy Storchaka [Tue, 20 Aug 2013 17:04:47 +0000 (20:04 +0300)]
Issue #13461: Fix a crash in the TextIOWrapper.tell method on 64-bit platforms.
Patch by Yogesh Chaudhari.

11 years agoIssue #2537: Remove breaked check which prevented valid regular expressions.
Serhiy Storchaka [Mon, 19 Aug 2013 20:18:23 +0000 (23:18 +0300)]
Issue #2537: Remove breaked check which prevented valid regular expressions.
Patch by Meador Inge.

See also issue #18647.

11 years agoIssue #18647: A regular expression in the doctest module rewritten so that
Serhiy Storchaka [Mon, 19 Aug 2013 19:59:31 +0000 (22:59 +0300)]
Issue #18647: A regular expression in the doctest module rewritten so that
determined minimal width of repeated subexpression is >0 (an empty line was
not matched in any case).

11 years agoIssue #18647: Correctly bound calculated min/max width of a subexpression.
Serhiy Storchaka [Mon, 19 Aug 2013 19:50:54 +0000 (22:50 +0300)]
Issue #18647: Correctly bound calculated min/max width of a subexpression.

Now max width is MAXREPEAT on 32- and 64-bit platforms when one of
subexpressions is unbounded repetition.

11 years agoIssue #18777: The ssl module now uses the new CRYPTO_THREADID API of
Christian Heimes [Mon, 19 Aug 2013 15:36:29 +0000 (17:36 +0200)]
Issue #18777: The ssl module now uses the new CRYPTO_THREADID API of
OpenSSL 1.0.0+ instead of the deprecated CRYPTO id callback function.

11 years agoIssue #18761: Improved cross-references in email documentation.
Serhiy Storchaka [Mon, 19 Aug 2013 06:59:18 +0000 (09:59 +0300)]
Issue #18761: Improved cross-references in email documentation.

11 years agoIssue #18489: idlelib.SearchEngine - add docstrings
Terry Jan Reedy [Mon, 19 Aug 2013 05:05:19 +0000 (01:05 -0400)]
Issue #18489: idlelib.SearchEngine - add docstrings
(original patch by Phil Webster).

11 years ago#18562: various revisions to the regex howto for 3.x
Andrew Kuchling [Sun, 18 Aug 2013 22:57:22 +0000 (18:57 -0400)]
#18562: various revisions to the regex howto for 3.x

* describe how \w is different when used in bytes and Unicode patterns.

* describe re.ASCII flag to change that behaviour.

* remove personal references ('I generally prefer...')

* add some more links to the re module in the library reference

* various small edits and re-wording.

11 years agoIssue #18592: whitespace
Terry Jan Reedy [Sun, 18 Aug 2013 22:27:02 +0000 (18:27 -0400)]
Issue #18592: whitespace

11 years agoIssue #18592: Add docstrings to file being tested (idlelib.SearchDialogBase.py).
Terry Jan Reedy [Sun, 18 Aug 2013 22:22:43 +0000 (18:22 -0400)]
Issue #18592: Add docstrings to file being tested (idlelib.SearchDialogBase.py).

11 years agoadd missing #
Christian Heimes [Sun, 18 Aug 2013 01:11:11 +0000 (03:11 +0200)]
add missing #

11 years agoIssue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.
Christian Heimes [Sat, 17 Aug 2013 15:25:18 +0000 (17:25 +0200)]
Issue 18768: Correct doc string of RAND_edg(). Patch by Vajrasky Kok.

11 years agoIssue #18768: coding style nitpick. Thanks to Vajrasky Kok
Christian Heimes [Sat, 17 Aug 2013 15:18:56 +0000 (17:18 +0200)]
Issue #18768: coding style nitpick. Thanks to Vajrasky Kok

11 years ago#18466: fix more typos. Patch by Févry Thibault.
Ezio Melotti [Sat, 17 Aug 2013 13:57:41 +0000 (16:57 +0300)]
#18466: fix more typos.  Patch by Févry Thibault.

11 years ago#18741: fix more typos. Patch by Févry Thibault.
Ezio Melotti [Sat, 17 Aug 2013 13:11:40 +0000 (16:11 +0300)]
#18741: fix more typos.  Patch by Févry Thibault.

11 years agoIssue #18178: Fix ctypes on BSD. dlmalloc.c was compiled twice which broke malloc...
Christian Heimes [Sat, 17 Aug 2013 13:01:54 +0000 (15:01 +0200)]
Issue #18178: Fix ctypes on BSD. dlmalloc.c was compiled twice which broke malloc weak symbols.

11 years ago#18705: fix a number of typos. Patch by Févry Thibault.
Ezio Melotti [Sat, 17 Aug 2013 12:50:46 +0000 (15:50 +0300)]
#18705: fix a number of typos.  Patch by Févry Thibault.

11 years agoIssue #18759: Improved cross-references in logging documentation.
Vinay Sajip [Fri, 16 Aug 2013 23:39:42 +0000 (00:39 +0100)]
Issue #18759: Improved cross-references in logging documentation.

11 years agomerge
Christian Heimes [Fri, 16 Aug 2013 22:55:39 +0000 (00:55 +0200)]
merge

11 years agoIssue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes
Christian Heimes [Fri, 16 Aug 2013 22:54:47 +0000 (00:54 +0200)]
Issue #18709: Fix CVE-2013-4238. The SSL module now handles NULL bytes
inside subjectAltName correctly. Formerly the module has used OpenSSL's
GENERAL_NAME_print() function to get the string represention of ASN.1
strings for rfc822Name (email), dNSName (DNS) and
uniformResourceIdentifier (URI).

11 years agoIssue #16463: Fix a transient test_timeout failure.
Charles-François Natali [Fri, 16 Aug 2013 21:19:22 +0000 (23:19 +0200)]
Issue #16463: Fix a transient test_timeout failure.

11 years agoIssue #18743: Fix references to non-existant "StringIO" module.
Serhiy Storchaka [Fri, 16 Aug 2013 21:09:55 +0000 (00:09 +0300)]
Issue #18743: Fix references to non-existant "StringIO" module.

11 years agoIssue #18756: Improve error reporting in os.urandom() when the failure is due to...
Antoine Pitrou [Fri, 16 Aug 2013 18:44:38 +0000 (20:44 +0200)]
Issue #18756: Improve error reporting in os.urandom() when the failure is due to something else than /dev/urandom not existing.

11 years ago#18707: point to Doc/README.txt in the README file. Patch by Madison May.
Ezio Melotti [Fri, 16 Aug 2013 18:32:25 +0000 (21:32 +0300)]
#18707: point to Doc/README.txt in the README file.  Patch by Madison May.

11 years agoIssue #1666318: Add a test that shutil.copytree() retains directory permissions.
Antoine Pitrou [Fri, 16 Aug 2013 17:35:02 +0000 (19:35 +0200)]
Issue #1666318: Add a test that shutil.copytree() retains directory permissions.
Patch by Catherine Devlin.

11 years agoIssue #16190: fix random module recommendation to use ssl.RAND_bytes().
Antoine Pitrou [Fri, 16 Aug 2013 17:19:40 +0000 (19:19 +0200)]
Issue #16190: fix random module recommendation to use ssl.RAND_bytes().

11 years agoIssue #18732: Remove unused* parameter output_sep from IdleHistory.History
Terry Jan Reedy [Thu, 15 Aug 2013 20:19:13 +0000 (16:19 -0400)]
Issue #18732: Remove unused* parameter output_sep from IdleHistory.History
and paired splits and joins that do nothing when output_sep is its default \n.
*It in unused in that the class in only instantiated once, with the default.
Make a few other changes in .fetch and its test.

11 years agoIssue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.
Terry Jan Reedy [Thu, 15 Aug 2013 18:32:04 +0000 (14:32 -0400)]
Issue #18425: Unittests for idlelib.IdleHistory. First patch by R. Jayakrishnan.

11 years agoIssue #18296: Try to fix TestSendfile.test_trailers() of test_os on FreeBSD
Victor Stinner [Thu, 15 Aug 2013 09:57:02 +0000 (11:57 +0200)]
Issue #18296: Try to fix TestSendfile.test_trailers() of test_os on FreeBSD

11 years agoissue #18698: ensure importlib.reload() returns the module out of sys.modules.
Eric Snow [Thu, 15 Aug 2013 00:03:34 +0000 (18:03 -0600)]
issue #18698: ensure importlib.reload() returns the module out of sys.modules.

11 years agoRemove errant fourth '.' from ellipsis in datetime documentation.
David Wolever [Wed, 14 Aug 2013 18:41:48 +0000 (14:41 -0400)]
Remove errant fourth '.' from ellipsis in datetime documentation.

11 years agoIssue 18719: Remove a false optimization
Raymond Hettinger [Wed, 14 Aug 2013 01:16:34 +0000 (18:16 -0700)]
Issue 18719: Remove a false optimization

Remove an unused early-out test from the critical path for
dict and set lookups.

When the strings already have matching lengths, kinds, and hashes,
there is no additional information gained by checking the first
characters (the probability of a mismatch is already known to
be less than 1 in 2**64).

11 years agoIssue #18425: Add docstrings to IdleHistory.py. Remove redundant 'history_'
Terry Jan Reedy [Tue, 13 Aug 2013 23:51:04 +0000 (19:51 -0400)]
Issue #18425: Add docstrings to IdleHistory.py.  Remove redundant 'history_'
prefix from two attributes and two methods of History class.

11 years agoIssue #18405: Improve the entropy of crypt.mksalt().
Victor Stinner [Tue, 13 Aug 2013 23:39:14 +0000 (01:39 +0200)]
Issue #18405: Improve the entropy of crypt.mksalt().

11 years ago#18687: remove obsolete comment. Patch by Févry Thibault.
Ezio Melotti [Tue, 13 Aug 2013 09:53:40 +0000 (12:53 +0300)]
#18687: remove obsolete comment.  Patch by Févry Thibault.

11 years agoIssue 18724: Fix typo noticed by Susan Tan.
Ned Deily [Tue, 13 Aug 2013 08:12:41 +0000 (01:12 -0700)]
Issue 18724: Fix typo noticed by Susan Tan.

11 years agoIncreasing test coverage of ftplib. Patch by Muhammad Jehanzeb
Senthil Kumaran [Tue, 13 Aug 2013 05:25:27 +0000 (22:25 -0700)]
Increasing test coverage of ftplib. Patch by Muhammad Jehanzeb

11 years agoDocumenting that json.load may raise a ValueError.
Felix Crux [Mon, 12 Aug 2013 21:39:51 +0000 (17:39 -0400)]
Documenting that json.load may raise a ValueError.

Issue #18680: JSONDecoder should document that it raises a ValueError
  for malformed data

11 years agoIssue #17701: Improving strftime documentation.
David Wolever [Mon, 12 Aug 2013 20:56:02 +0000 (16:56 -0400)]
Issue #17701: Improving strftime documentation.

11 years agoIssue #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions.
Larry Hastings [Mon, 12 Aug 2013 17:49:30 +0000 (13:49 -0400)]
Issue #18667: Add missing "HAVE_FCHOWNAT" symbol to posix._have_functions.

11 years agoIssue #12645: Clarify and reformat the documentation of import_fresh_module
Eli Bendersky [Sun, 11 Aug 2013 22:38:08 +0000 (15:38 -0700)]
Issue #12645: Clarify and reformat the documentation of import_fresh_module

11 years agoIssue #18706: Fix a test for issue #18681 so it no longer breaks test_codeccallbacks*.
Serhiy Storchaka [Sun, 11 Aug 2013 17:12:20 +0000 (20:12 +0300)]
Issue #18706: Fix a test for issue #18681 so it no longer breaks test_codeccallbacks*.

11 years ago#18663: document that assertAlmostEqual also works when the values are equal and...
Ezio Melotti [Sun, 11 Aug 2013 10:04:50 +0000 (13:04 +0300)]
#18663: document that assertAlmostEqual also works when the values are equal and add tests.

11 years agoIssue #18676: Change 'positive' to 'non-negative' in queue.py put and get
Terry Jan Reedy [Sat, 10 Aug 2013 22:17:13 +0000 (18:17 -0400)]
Issue #18676: Change 'positive' to 'non-negative' in queue.py put and get
docstrings and ValueError messages. Patch by Zhongyue Luo

11 years agoIssue #18429: Add user-oriented News entry about Format / Format Paragraph
Terry Jan Reedy [Sat, 10 Aug 2013 21:46:24 +0000 (17:46 -0400)]
Issue #18429: Add user-oriented News entry about Format / Format Paragraph
now working with comment block selections. Patch was part of 18226 patch.

11 years agoIssue #18226: Add docstrings and unittests for idlelib/FormatParagraph.py.
Terry Jan Reedy [Sat, 10 Aug 2013 20:56:28 +0000 (16:56 -0400)]
Issue #18226: Add docstrings and unittests for idlelib/FormatParagraph.py.
Move comment code to a separate function so it can be separately tested.
Original patches by Todd Rovito and Phil Webster.

11 years ago#18681: Fix a NameError in imp.reload() (noticed by Weizhao Li).
Ezio Melotti [Sat, 10 Aug 2013 16:59:36 +0000 (19:59 +0300)]
#18681: Fix a NameError in imp.reload() (noticed by Weizhao Li).

11 years agoMerge heads.
R David Murray [Sat, 10 Aug 2013 16:08:41 +0000 (12:08 -0400)]
Merge heads.

11 years ago#8112: Update the documenting xmlrpc server to use getfullargspec.
R David Murray [Sat, 10 Aug 2013 16:01:47 +0000 (12:01 -0400)]
#8112: Update the documenting xmlrpc server to use getfullargspec.

Before this patch it would raise an error when trying to display
documentation for a method that used annotations.

Patch by Claudiu Popa.

11 years ago#18505: fix duplicate name and remove duplicate test. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:57:12 +0000 (18:57 +0300)]
#18505: fix duplicate name and remove duplicate test.  Patch by Vajrasky Kok.

11 years agoFix a couple of typos.
Ezio Melotti [Sat, 10 Aug 2013 15:47:07 +0000 (18:47 +0300)]
Fix a couple of typos.

11 years ago#18453: fix unused variables in test_xmlrpc. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:37:05 +0000 (18:37 +0300)]
#18453: fix unused variables in test_xmlrpc.  Patch by Vajrasky Kok.

11 years ago#18465: fix unused variables in test_minidom. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:30:29 +0000 (18:30 +0300)]
#18465: fix unused variables in test_minidom.  Patch by Vajrasky Kok.

11 years ago#18484: improve test coverage of http.cookiejar. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:20:09 +0000 (18:20 +0300)]
#18484: improve test coverage of http.cookiejar.  Patch by Vajrasky Kok.

11 years ago#18483: add one more date format in test_http2time_formats. Patch by Vajrasky Kok.
Ezio Melotti [Sat, 10 Aug 2013 15:07:25 +0000 (18:07 +0300)]
#18483: add one more date format in test_http2time_formats.  Patch by Vajrasky Kok.

11 years agoIssue #18668: Further clarify m_size setting for non-negative values
Eli Bendersky [Sat, 10 Aug 2013 12:57:27 +0000 (05:57 -0700)]
Issue #18668: Further clarify m_size setting for non-negative values

11 years ago#18600: In 3.3, as_string does not accept a policy keyword.
R David Murray [Fri, 9 Aug 2013 20:17:00 +0000 (16:17 -0400)]
#18600: In 3.3, as_string does not accept a policy keyword.

Also, document the policy keyword that was added to Message in 3.3.

11 years ago#18357: add tests for dictview set difference. Patch by Fraser Tweedale.
Ezio Melotti [Thu, 8 Aug 2013 17:12:28 +0000 (20:12 +0300)]
#18357: add tests for dictview set difference.  Patch by Fraser Tweedale.

11 years ago#18581: remove duplicate test and run a test class that was skipped. Initial patch...
Ezio Melotti [Thu, 8 Aug 2013 16:36:36 +0000 (19:36 +0300)]
#18581: remove duplicate test and run a test class that was skipped.  Initial patch by Vajrasky Kok.

11 years agoFix a typo in PyUnicode_CopyCharacters() documentation.
Serhiy Storchaka [Thu, 8 Aug 2013 13:47:43 +0000 (16:47 +0300)]
Fix a typo in PyUnicode_CopyCharacters() documentation.