Commit Graph

14739 Commits

Author SHA1 Message Date
Senthil Kumaran cd3bb8b73c #17474 - Mark the deprecated Request methods as deprecated-removed. Review by Ezio Melotti 2013-03-19 18:01:43 -07:00
Michael Foord 04cbe0c35b Closes issue 17467. Add readline and readlines support to unittest.mock.mock_open 2013-03-19 17:22:51 -07:00
R David Murray 90cb1050d3 Merge: #1525919: Document MIMEText+set_payload encoding behavior. 2013-03-19 18:21:50 -04:00
R David Murray 432a48a0c8 Merge: #1525919: Document MIMEText+set_payload encoding behavior. 2013-03-19 18:21:22 -04:00
R David Murray 14b0124a29 #1525919: Document MIMEText+set_payload encoding behavior. 2013-03-19 18:18:55 -04:00
Senthil Kumaran aced69fd3f #17460 - merge from 3.3 2013-03-19 01:22:56 -07:00
Senthil Kumaran 2f306c03d3 #17460 - merge from 3.2 2013-03-19 00:58:46 -07:00
Senthil Kumaran 0492ec07e0 #17460 - Adding relevant warning messages regarding strict removal in docs 2013-03-19 00:51:08 -07:00
Senthil Kumaran 41518b4af0 #17474 - Remove the various deprecated methods of Request class. 2013-03-18 18:06:00 -07:00
Michael Foord 80cbc9e998 Closes issue 16709. unittest test discovery sorts test files for consistent test ordering 2013-03-18 17:50:12 -07:00
Senthil Kumaran 7f6d79721d #10050 : merge to default 2013-03-18 17:10:45 -07:00
Senthil Kumaran 6227c6952e #10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 ) 2013-03-18 17:09:50 -07:00
Michael Foord 35266f78b7 Merge 2013-03-18 15:04:33 -07:00
Michael Foord f575230981 Documentation corrections for unittest.mock 2013-03-18 15:04:03 -07:00
Senthil Kumaran 052ddb01b3 #17460: Remove the strict argument of HTTPConnection and removing the
DeprecationWarning being issued from 3.2 onwards.
2013-03-18 14:11:41 -07:00
R David Murray fbb1815491 Merge #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
2013-03-17 21:53:48 -04:00
R David Murray 1f2a49cfc6 Merge #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
2013-03-17 21:53:23 -04:00
R David Murray dd246171e4 #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
2013-03-17 21:52:35 -04:00
Terry Jan Reedy 15cddb498e Merge with 3.3 2013-03-17 15:29:19 -04:00
Terry Jan Reedy b271727bad Merge with 3.2 2013-03-17 15:28:52 -04:00
Terry Jan Reedy f3460414d5 Issue #17415: Trim trailing whitespace 2013-03-17 15:28:10 -04:00
Terry Jan Reedy a52c2d6d2f Merge with 3.3 2013-03-17 15:25:12 -04:00
Terry Jan Reedy 3380170ea5 Merge with 3.2 2013-03-17 15:22:00 -04:00
Terry Jan Reedy ec6e132987 Issue #17415: Clarify 'this' referent by moving containing sentence just after
the sentence referred to. Make other minor edits to improve flow.
2013-03-17 15:21:26 -04:00
Ezio Melotti 2acd293077 Fix markup/wording. 2013-03-16 22:23:30 +02:00
Terry Jan Reedy 8b8df5a8fb Merge with 3.3 2013-03-16 15:57:27 -04:00
Terry Jan Reedy f39cab1076 Merge with 3.2 2013-03-16 15:56:50 -04:00
Terry Jan Reedy dff04f44bc Issue #17418: specify that buffer sizes are bytes as soon as possible. 2013-03-16 15:56:27 -04:00
Georg Brandl 694bafa04e merge with 3.3 2013-03-16 08:03:51 +01:00
Georg Brandl 1f68a2f27f Remove row-spanning cell, which the Sphinx text writer does not support. 2013-03-16 08:01:49 +01:00
Terry Jan Reedy b0dc5c3bc5 Merge with 3.3 2013-03-15 16:51:21 -04:00
Terry Jan Reedy ca99440c2c Merge with 3.2 2013-03-15 16:50:54 -04:00
Terry Jan Reedy f3f0681794 Issue #17398: document url argument of RobotFileParser 2013-03-15 16:50:23 -04:00
Senthil Kumaran 2688644eef #1291 http.server's send_error takes an optional explain argument 2013-03-15 07:53:21 -07:00
Eli Bendersky f50d6bcbb7 Small cosmetic fixes 2013-03-14 14:39:51 -07:00
Terry Jan Reedy dfde54b66f Merge with 3.3: Issue #17386 2013-03-13 21:35:46 -04:00
Terry Jan Reedy ac356fcf8e Merge with 3.2: Issue #17386 2013-03-13 21:35:07 -04:00
Terry Jan Reedy 3b220e11eb 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.
2013-03-13 21:33:50 -04:00
Senthil Kumaran 1428e1335f #17307 - merge from 3.3 2013-03-13 13:43:23 -07:00
Senthil Kumaran e66cc8172d #17307 - merge from 3.2 2013-03-13 13:42:47 -07:00
Senthil Kumaran b5fe2479c1 #17307 - Example of HTTP PUT Request using http.client 2013-03-13 13:38:33 -07:00
Brett Cannon 327992330e Issue #17099: Have importlib.find_loader() raise ValueError when
__loader__ is not set on a module. This brings the exception in line
with when __loader__ is None (which is equivalent to not having the
attribute defined).
2013-03-13 11:09:08 -07:00
Brett Cannon 115309acec Issue #17176: Document that imp.NullImporter is no longer
automatically used by import.
2013-03-13 10:58:50 -07:00
Brett Cannon 2514b4871f Issue #17176: Document that imp.NullImporter is no longer inserted
into sys.path_importer_cache.
2013-03-13 10:46:22 -07:00
Brett Cannon 4802becb16 Issue #17117: Have both import itself and importlib.util.set_loader()
set __loader__ on a module when set to None.

Thanks to Gökcen Eraslan for the fix.
2013-03-13 10:41:36 -07:00
Brett Cannon aa73a1c9c9 Issue #17222: Document that py_compile now uses importlib for its file
writing and thus its semantics.
2013-03-13 09:37:42 -07:00
Benjamin Peterson 3b965a237c expose O_PATH if possible 2013-03-13 10:27:41 -05:00
Ezio Melotti fe1c471cb1 #17402: merge with 3.3. 2013-03-13 02:27:53 +02:00
Ezio Melotti a142a343e8 #17402: merge with 3.2. 2013-03-13 02:27:35 +02:00
Ezio Melotti 6771462961 #17402: avoid shadowing built-in map in mmap examples. Initial patch by Aman Shah. 2013-03-13 02:27:00 +02:00
Benjamin Peterson 7192eddb4a update links to 6.2.0 2013-03-12 11:56:38 -05:00
Eli Bendersky 7343cb0790 Issue #11367: fix documentation of some find* methods in ElementTree 2013-03-12 06:01:22 -07:00
Terry Jan Reedy 8e7586bd44 Issue #17047: remove doubled words added in 3.4,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 18:38:13 -04:00
Terry Jan Reedy 8b53559a89 Merge with 3.3, issue #17047: remove doubled words added in 3.3,
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 18:36:38 -04:00
Terry Jan Reedy 0f84764a09 Issue #17047: remove doubled words added in 3.3
as reported by Serhiy Storchaka and Matthew Barnett.
2013-03-11 18:34:00 -04:00
Terry Jan Reedy dd61f8f389 Merge with 3.3: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:27:28 -04:00
Terry Jan Reedy caeb6bea9b Merge with 3.2: Issue #17047: removed doubled words in Doc/*,
Mac/*, and Tool/* found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:26:33 -04:00
Terry Jan Reedy 65e69b3718 Issue #17047: removed doubled words in Doc/*, Mac/*, and Tool/*
found by Serhiy Storchaka and Matthew Barnett
2013-03-11 17:23:46 -04:00
Benjamin Peterson 37474f43f3 fix spelling (#17327) 2013-03-11 12:17:19 -05:00
Benjamin Peterson 285581405d say defaultobj is returned (#17327) 2013-03-11 11:50:21 -05:00
Benjamin Peterson e094833f22 remove more useless words 2013-03-11 11:35:47 -05:00
Benjamin Peterson 89fe665e38 remove useless words (#17327) 2013-03-11 11:31:29 -05:00
Ezio Melotti a41fb4be5b #17351: merge with 3.3. 2013-03-11 09:43:25 +02:00
Ezio Melotti c9cfcf1e6c #17351: merge with 3.2. 2013-03-11 09:42:40 +02:00
Ezio Melotti af8838f443 #17351: remove "object" inheritance from docs. Patch by Phil Elson. 2013-03-11 09:30:21 +02:00
Raymond Hettinger e318a883fe Issue #15806: Add contextlib.ignored(). 2013-03-10 22:26:51 -07:00
Ezio Melotti fc5c5320a0 Fix typo in PyDict_SetDefault docs. 2013-03-10 20:57:16 +02:00
Raymond Hettinger 6584a1e72c merge 2013-03-10 09:51:37 -07:00
Raymond Hettinger 686aae4841 Inherit from object() for consistency 2013-03-10 09:50:37 -07:00
Raymond Hettinger e238b889eb merge 2013-03-10 09:42:22 -07:00
Raymond Hettinger 632c8c8ab1 Issue #17351: Modernize the pure Python property() example. 2013-03-10 09:41:18 -07:00
Brett Cannon ff73758b8f merge 2013-03-09 14:25:08 -05:00
Brett Cannon b7e6b89554 Touch up the Python 2 to 3 porting guide 2013-03-09 14:22:35 -05:00
Eli Bendersky 439b2bf4cd Add warning in ctypes documentation for #16575 and #16576 2013-03-09 05:55:24 -08:00
Eli Bendersky c2d90fb3ec Add warning in ctypes documentation for #16575 and #16576 2013-03-09 05:54:32 -08:00
Eli Bendersky 490cf4472e Add warning in ctypes documentation for #16575 and #16576 2013-03-09 05:54:00 -08:00
Terry Jan Reedy c75be9341d Merge: closes issue 16643 (not ....2 as in last commit message) 2013-03-09 02:19:33 -05:00
Terry Jan Reedy adecf3f66f Issue #16642: sched.scheduler timefunc initial default is time.monotonic.
Patch by Ramchandra Apte
2013-03-09 02:14:27 -05:00
Terry Jan Reedy 11c08fd4b4 Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. 2013-03-08 19:40:17 -05:00
Terry Jan Reedy b6f1d6419d Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. 2013-03-08 19:39:30 -05:00
Terry Jan Reedy 9cbcc2f1c0 Issue #17332: fix json doc typo /convered/converted/ found by Ernie Hershey. 2013-03-08 19:35:15 -05:00
Vinay Sajip d12ff7b754 Closes #17376: Merged clarification from 3.3. 2013-03-08 23:27:24 +00:00
Vinay Sajip 355a9876e5 Issue #17376: Merged clarification from 3.2. 2013-03-08 23:26:43 +00:00
Vinay Sajip 832d99bdbb Issue #17376: Clarified documentation for TimedRotatingFileHandler weekday rotation. 2013-03-08 23:24:30 +00:00
Eli Bendersky 25b3464498 Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:33:05 -08:00
Eli Bendersky f0d8697e54 Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:32:45 -08:00
Eli Bendersky f81de8df0a Issue #17378: ctypes documentation fix.
Document that ctypes automatically applies byref() when argtypes declares
POINTER.
2013-03-08 05:31:54 -08:00
Benjamin Peterson 00e9886bd9 Add PyDict_SetDefault. (closes #17327)
Patch by Stefan Behnel and I.
2013-03-07 22:16:29 -05:00
Ezio Melotti 1f38621a33 #11732: add a new suppress_crash_popup() context manager to test.support that disables crash popups on Windows and use it in test_ctypes. 2013-03-07 18:44:29 +02:00
Nick Coghlan 90c91afd2e Merge fix for #15465 from 3.3 2013-03-07 23:45:03 +10:00
Nick Coghlan 7d82c8621b 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.
2013-03-07 23:14:44 +10:00
Eli Bendersky be0c028eb5 Fix doc grammar and line width 2013-03-06 06:50:36 -08:00
Eli Bendersky 68dd8ba010 Fix doc grammar and line width 2013-03-06 06:49:22 -08:00
Eli Bendersky f9164e13fc Fix doc grammar and line width 2013-03-06 06:48:57 -08:00
Ezio Melotti ed63754ef6 #17364: merge with 3.3. 2013-03-06 03:23:52 +02:00
Ezio Melotti 20d19241e5 #17364: merge with 3.2. 2013-03-06 03:23:28 +02:00
Ezio Melotti 33e20d1954 #17364: remove documentation for a function that does not exist. 2013-03-06 03:20:27 +02:00
Ezio Melotti 648b5900d5 #17363: merge with 3.3. 2013-03-06 02:59:25 +02:00
Ezio Melotti 32b0f02034 #17363: fix arguments in PyState_AddModule and PyState_RemoveModule docs. 2013-03-06 02:57:25 +02:00
Ezio Melotti 87a249c119 #11732: merge with 3.3. 2013-03-05 20:33:38 +02:00