]>
granicus.if.org Git - python/log
R David Murray [Tue, 19 Mar 2013 06:32:35 +0000 (02:32 -0400)]
#17476: make allmethods actually return all methods.
This fixes a regression relative to Python2. (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).
This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.
Original patch by Matt Bachmann.
R David Murray [Tue, 19 Mar 2013 06:31:06 +0000 (02:31 -0400)]
#17476: make allmethods actually return all methods.
This fixes a regression relative to Python2. (In 2, methods on a class were
unbound methods and matched the inspect queries being done, in 3 they are just
functions and so were missed).
This is an undocumented function that pydoc itself does not use, but
I found that numpy at least uses it in its documentation generator.
Original patch by Matt Bachmann.
Senthil Kumaran [Tue, 19 Mar 2013 00:09:50 +0000 (17:09 -0700)]
#10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 )
Michael Foord [Mon, 18 Mar 2013 22:04:03 +0000 (15:04 -0700)]
Documentation corrections for unittest.mock
Andrew Svetlov [Mon, 18 Mar 2013 17:09:50 +0000 (10:09 -0700)]
Issue #17463: Fix test discovery for test_pdb.py
R David Murray [Mon, 18 Mar 2013 04:20:43 +0000 (00:20 -0400)]
Merge #17448: Make test_sax skip if there are no xml parsers.
Patch by Rafael Santos.
R David Murray [Mon, 18 Mar 2013 04:18:12 +0000 (00:18 -0400)]
#17448: Make test_sax skip if there are no xml parsers.
Patch by Rafael Santos.
R David Murray [Mon, 18 Mar 2013 01:53:23 +0000 (21:53 -0400)]
Merge #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
R David Murray [Mon, 18 Mar 2013 01:52:35 +0000 (21:52 -0400)]
#16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
Brett Cannon [Sun, 17 Mar 2013 22:48:16 +0000 (15:48 -0700)]
Issue #16880: _imp.load_dynamic() is not defined on a platform that
does not support dynamic loading (e.g. Atari), so make sure that imp
doesn't assume it always exists.
Patch by Christian Heimes.
Terry Jan Reedy [Sun, 17 Mar 2013 19:28:52 +0000 (15:28 -0400)]
Merge with 3.2
Terry Jan Reedy [Sun, 17 Mar 2013 19:28:10 +0000 (15:28 -0400)]
Issue #17415: Trim trailing whitespace
Terry Jan Reedy [Sun, 17 Mar 2013 19:22:00 +0000 (15:22 -0400)]
Merge with 3.2
Terry Jan Reedy [Sun, 17 Mar 2013 19:21:26 +0000 (15:21 -0400)]
Issue #17415: Clarify 'this' referent by moving containing sentence just after
the sentence referred to. Make other minor edits to improve flow.
Serhiy Storchaka [Sat, 16 Mar 2013 20:59:59 +0000 (22:59 +0200)]
Issue #16389: Fixed an issue number in previos commit.
Serhiy Storchaka [Sat, 16 Mar 2013 20:59:27 +0000 (22:59 +0200)]
Issue #16389: Fixed an issue number in previos commit.
Serhiy Storchaka [Sat, 16 Mar 2013 20:53:48 +0000 (22:53 +0200)]
Issue #16564: Fixed a performance regression relative to Python 3.1 in the
caching of compiled regular expressions.
Serhiy Storchaka [Sat, 16 Mar 2013 20:52:09 +0000 (22:52 +0200)]
Issue #16564: Fixed a performance regression relative to Python 3.1 in the
caching of compiled regular expressions.
Serhiy Storchaka [Sat, 16 Mar 2013 20:50:13 +0000 (22:50 +0200)]
Null merge
Terry Jan Reedy [Sat, 16 Mar 2013 20:06:52 +0000 (16:06 -0400)]
Merge heads 3.3.
Terry Jan Reedy [Sat, 16 Mar 2013 20:05:27 +0000 (16:05 -0400)]
Merge heads 3.2.
Terry Jan Reedy [Sat, 16 Mar 2013 19:56:50 +0000 (15:56 -0400)]
Merge with 3.2
Terry Jan Reedy [Sat, 16 Mar 2013 19:56:27 +0000 (15:56 -0400)]
Issue #17418: specify that buffer sizes are bytes as soon as possible.
Ezio Melotti [Sat, 16 Mar 2013 19:49:20 +0000 (21:49 +0200)]
#11420: merge with 3.2.
Ezio Melotti [Sat, 16 Mar 2013 17:48:51 +0000 (19:48 +0200)]
#11420: make test suite pass with -B/DONTWRITEBYTECODE set. Initial patch by Thomas Wouters.
Georg Brandl [Sat, 16 Mar 2013 07:03:13 +0000 (08:03 +0100)]
merge heads
Georg Brandl [Sat, 16 Mar 2013 07:01:49 +0000 (08:01 +0100)]
Remove row-spanning cell, which the Sphinx text writer does not support.
Terry Jan Reedy [Sat, 16 Mar 2013 06:58:15 +0000 (02:58 -0400)]
#12345: null merge with 3.2.
Terry Jan Reedy [Sat, 16 Mar 2013 06:53:09 +0000 (02:53 -0400)]
typo
Terry Jan Reedy [Sat, 16 Mar 2013 06:51:18 +0000 (02:51 -0400)]
Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
Terry Jan Reedy [Sat, 16 Mar 2013 06:37:06 +0000 (02:37 -0400)]
Issue # 10652: make tcl/tk tests run after __all__ test, patch by Zachary Ware.
R David Murray [Sat, 16 Mar 2013 00:42:29 +0000 (20:42 -0400)]
Merge: #17431: Fix missing import of BytesFeedParser in email.parser.
R David Murray [Sat, 16 Mar 2013 00:38:15 +0000 (20:38 -0400)]
#17431: Fix missing import of BytesFeedParser in email.parser.
Initial patch contributed by Edmond Burnett.
Terry Jan Reedy [Fri, 15 Mar 2013 20:50:54 +0000 (16:50 -0400)]
Merge with 3.2
Terry Jan Reedy [Fri, 15 Mar 2013 20:50:23 +0000 (16:50 -0400)]
Issue #17398: document url argument of RobotFileParser
Terry Jan Reedy [Fri, 15 Mar 2013 07:39:38 +0000 (03:39 -0400)]
Merge with 3.2: issue #17047 news entry
Terry Jan Reedy [Fri, 15 Mar 2013 07:33:11 +0000 (03:33 -0400)]
Issue #17047: Add news entry
Serhiy Storchaka [Thu, 14 Mar 2013 19:33:35 +0000 (21:33 +0200)]
Issue #
1285086 : Get rid of the refcounting hack and speed up
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().
Serhiy Storchaka [Thu, 14 Mar 2013 19:31:37 +0000 (21:31 +0200)]
Issue #
1285086 : Get rid of the refcounting hack and speed up
urllib.parse.unquote() and urllib.parse.unquote_to_bytes().
Terry Jan Reedy [Thu, 14 Mar 2013 01:35:07 +0000 (21:35 -0400)]
Merge with 3.2: Issue #17386
Terry Jan Reedy [Thu, 14 Mar 2013 01:33:50 +0000 (21:33 -0400)]
Issue #17386 make.bat must run with Python 2 until Sphinx runs with Python 3.
If PYTHON is undefined, this fails without the launcher (installed with 3.3 or
from PyPI), but this is better than always failing. Patch from Zachary Ware.
Senthil Kumaran [Wed, 13 Mar 2013 20:42:47 +0000 (13:42 -0700)]
#17307 - merge from 3.2
Senthil Kumaran [Wed, 13 Mar 2013 20:38:33 +0000 (13:38 -0700)]
#17307 - Example of HTTP PUT Request using http.client
Brett Cannon [Wed, 13 Mar 2013 17:58:50 +0000 (10:58 -0700)]
Issue #17176: Document that imp.NullImporter is no longer
automatically used by import.
Ezio Melotti [Wed, 13 Mar 2013 00:27:35 +0000 (02:27 +0200)]
#17402: merge with 3.2.
Ezio Melotti [Wed, 13 Mar 2013 00:27:00 +0000 (02:27 +0200)]
#17402: avoid shadowing built-in map in mmap examples. Initial patch by Aman Shah.
Ezio Melotti [Tue, 12 Mar 2013 23:53:38 +0000 (01:53 +0200)]
#17368: merge with 3.2.
Ezio Melotti [Tue, 12 Mar 2013 23:52:34 +0000 (01:52 +0200)]
#17368: Fix an off-by-one error in the Python JSON decoder that caused a failure while decoding empty object literals when object_pairs_hook was specified.
Eli Bendersky [Tue, 12 Mar 2013 13:04:33 +0000 (06:04 -0700)]
Issue #11367: fix documentation of some find* methods in ElementTree
Eli Bendersky [Tue, 12 Mar 2013 13:01:22 +0000 (06:01 -0700)]
Issue #11367: fix documentation of some find* methods in ElementTree
Ezio Melotti [Tue, 12 Mar 2013 05:49:12 +0000 (07:49 +0200)]
#17066: test_robotparser now works with unittest test discovery. Patch by Zachary Ware.
Terry Jan Reedy [Mon, 11 Mar 2013 22:34:00 +0000 (18:34 -0400)]
Issue #17047: remove doubled words added in 3.3
as reported by Serhiy Storchaka and Matthew Barnett.
Terry Jan Reedy [Mon, 11 Mar 2013 21:58:27 +0000 (17:58 -0400)]
Merge 3.2, issue #17047: remove doubled words found in 2.7 to
3.4 Lib/*, as reported by Serhiy Storchaka and Matthew Barnett.
Terry Jan Reedy [Mon, 11 Mar 2013 21:57:08 +0000 (17:57 -0400)]
Issue #17047: remove doubled words found in 2.7 to 3.4 Lib/*,
as reported by Serhiy Storchaka and Matthew Barnett.
Terry Jan Reedy [Mon, 11 Mar 2013 21:45:12 +0000 (17:45 -0400)]
Merge 3.2, Issue #17047: remove doubled words found in 2.7 to 3.4
Modules/*, as reported by Serhiy Storchaka and Matthew Barnett.
Terry Jan Reedy [Mon, 11 Mar 2013 21:42:46 +0000 (17:42 -0400)]
Issue #17047: remove doubled words found in 2.7 to 3.4 Modules/*,
as reported by Serhiy Storchaka and Matthew Barnett.
Terry Jan Reedy [Mon, 11 Mar 2013 21:26:33 +0000 (17:26 -0400)]
Merge with 3.2: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
Terry Jan Reedy [Mon, 11 Mar 2013 21:23:46 +0000 (17:23 -0400)]
Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
found by Serhiy Storchaka and Matthew Barnett
Ezio Melotti [Mon, 11 Mar 2013 07:42:40 +0000 (09:42 +0200)]
#17351: merge with 3.2.
Ezio Melotti [Mon, 11 Mar 2013 07:30:21 +0000 (09:30 +0200)]
#17351: remove "object" inheritance from docs. Patch by Phil Elson.
Ezio Melotti [Mon, 11 Mar 2013 03:59:55 +0000 (05:59 +0200)]
#11963: merge with 3.2.
Ezio Melotti [Mon, 11 Mar 2013 03:53:34 +0000 (05:53 +0200)]
#11963: remove human verification from test_parser and test_subprocess.
Raymond Hettinger [Sun, 10 Mar 2013 16:50:37 +0000 (09:50 -0700)]
Inherit from object() for consistency
Raymond Hettinger [Sun, 10 Mar 2013 16:41:18 +0000 (09:41 -0700)]
Issue #17351: Modernize the pure Python property() example.
Ezio Melotti [Sun, 10 Mar 2013 01:27:26 +0000 (03:27 +0200)]
#11963: merge with 3.2.
Ezio Melotti [Sun, 10 Mar 2013 01:25:45 +0000 (03:25 +0200)]
#11963: fix Windows buildbots.
Ezio Melotti [Sat, 9 Mar 2013 20:20:23 +0000 (22:20 +0200)]
#11963: merge with 3.2.
Ezio Melotti [Sat, 9 Mar 2013 20:17:33 +0000 (22:17 +0200)]
#11963: avoid printing messages in test_parser. Initial patch by Éric Araujo.
Brett Cannon [Sat, 9 Mar 2013 19:22:35 +0000 (14:22 -0500)]
Touch up the Python 2 to 3 porting guide
Eli Bendersky [Sat, 9 Mar 2013 13:54:32 +0000 (05:54 -0800)]
Add warning in ctypes documentation for #16575 and #16576
Eli Bendersky [Sat, 9 Mar 2013 13:54:00 +0000 (05:54 -0800)]
Add warning in ctypes documentation for #16575 and #16576
Terry Jan Reedy [Sat, 9 Mar 2013 07:25:18 +0000 (02:25 -0500)]
Merge heads
Terry Jan Reedy [Sat, 9 Mar 2013 07:14:27 +0000 (02:14 -0500)]
Issue #16642: sched.scheduler timefunc initial default is time.monotonic.
Patch by Ramchandra Apte
Raymond Hettinger [Sat, 9 Mar 2013 07:01:07 +0000 (23:01 -0800)]
Sync-up with 3.4 to make maintenance easier.
Raymond Hettinger [Sat, 9 Mar 2013 04:11:55 +0000 (21:11 -0700)]
Improve comments and variable names.
Terry Jan Reedy [Sat, 9 Mar 2013 00:39:30 +0000 (19:39 -0500)]
Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey.
Terry Jan Reedy [Sat, 9 Mar 2013 00:35:15 +0000 (19:35 -0500)]
Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey.
Vinay Sajip [Fri, 8 Mar 2013 23:26:43 +0000 (23:26 +0000)]
Issue #17376: Merged clarification from 3.2.
Vinay Sajip [Fri, 8 Mar 2013 23:24:30 +0000 (23:24 +0000)]
Issue #17376: Clarified documentation for TimedRotatingFileHandler weekday rotation.
Eli Bendersky [Fri, 8 Mar 2013 13:32:45 +0000 (05:32 -0800)]
Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
Eli Bendersky [Fri, 8 Mar 2013 13:31:54 +0000 (05:31 -0800)]
Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
Victor Stinner [Fri, 8 Mar 2013 01:33:06 +0000 (02:33 +0100)]
Issue #17223: the test is specific to 32-bit wchar_t type
Skip the test on Windows.
R David Murray [Thu, 7 Mar 2013 23:16:47 +0000 (18:16 -0500)]
Merge: PEP8 fixup on previous patch, remove unused imports in test_email.
R David Murray [Thu, 7 Mar 2013 23:15:13 +0000 (18:15 -0500)]
PEP8 fixup on previous patch, remove unused import in test_email.
R David Murray [Thu, 7 Mar 2013 21:43:58 +0000 (16:43 -0500)]
Merge: #14645: Generator now emits correct linesep for all parts.
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent. In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with. Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
R David Murray [Thu, 7 Mar 2013 21:38:03 +0000 (16:38 -0500)]
#14645: Generator now emits correct linesep for all parts.
Previously the parts of the message retained whatever linesep they had on
read, which means if the messages weren't read in univeral newline mode, the
line endings could well be inconsistent. In general sending it via smtplib
would result in them getting fixed, but it is better to generate them
correctly to begin with. Also, the new send_message method of smtplib does
not do the fixup, so that method is producing rfc-invalid output without this
fix.
Ezio Melotti [Thu, 7 Mar 2013 17:55:08 +0000 (19:55 +0200)]
Merge typo fix in Misc/NEWS entry from 3.2.
Ezio Melotti [Thu, 7 Mar 2013 17:53:19 +0000 (19:53 +0200)]
Fix typo in Misc/NEWS entry.
Ezio Melotti [Thu, 7 Mar 2013 16:45:48 +0000 (18:45 +0200)]
#11732: null merge with 3.2.
Ezio Melotti [Thu, 7 Mar 2013 16:44:29 +0000 (18:44 +0200)]
#11732: add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes.
Ezio Melotti [Thu, 7 Mar 2013 16:37:13 +0000 (18:37 +0200)]
#11732: make suppress_crash_popup() work on Windows XP and Windows Server 2003.
Nick Coghlan [Thu, 7 Mar 2013 13:14:44 +0000 (23:14 +1000)]
Close #15465: Document C API version macros
Mostly moving the existing macro docs over from the standard
library docs to the C API docs where they belong.
Patch by Kushal Das.
Stefan Krah [Thu, 7 Mar 2013 00:12:03 +0000 (01:12 +0100)]
Issue #17361: Use cc from sysconfig for testing flags.
Victor Stinner [Wed, 6 Mar 2013 18:28:37 +0000 (19:28 +0100)]
_PyUnicode_Writer() now also reuses Unicode singletons:
empty string and latin1 single character
Eli Bendersky [Wed, 6 Mar 2013 14:49:22 +0000 (06:49 -0800)]
Fix doc grammar and line width
Eli Bendersky [Wed, 6 Mar 2013 14:48:57 +0000 (06:48 -0800)]
Fix doc grammar and line width
Ezio Melotti [Wed, 6 Mar 2013 01:23:28 +0000 (03:23 +0200)]
#17364: merge with 3.2.
Ezio Melotti [Wed, 6 Mar 2013 01:20:27 +0000 (03:20 +0200)]
#17364: remove documentation for a function that does not exist.
Ezio Melotti [Wed, 6 Mar 2013 00:57:25 +0000 (02:57 +0200)]
#17363: fix arguments in PyState_AddModule and PyState_RemoveModule docs.
Ezio Melotti [Tue, 5 Mar 2013 18:31:34 +0000 (20:31 +0200)]
Fix indentation.