Commit Graph

4843 Commits

Author SHA1 Message Date
Ezio Melotti c048d98501 #17740: fix links to the socket function. Initial patch by Zachary Ware. 2013-04-17 04:10:26 +03:00
Antoine Pitrou 9b42128e2c Issue #17739: fix the description of SSLSocket.getpeercert(binary_form=True) for server sockets.
Thanks to David D Lowe for reporting.
2013-04-16 20:28:15 +02:00
Antoine Pitrou d34941ad4e Issue #17739: fix the description of SSLSocket.getpeercert(binary_form=True) for server sockets.
Thanks to David D Lowe for reporting.
2013-04-16 20:27:17 +02:00
Ezio Melotti acfc454c10 #13510: merge with 3.3. 2013-04-15 19:09:29 +03:00
Ezio Melotti ed3cd7e445 #13510: clarify that f.readlines() is note necessary to iterate over a file. Patch by Dan Riti. 2013-04-15 19:08:31 +03:00
Eric V. Smith 7d55a40b9a Issue #17728: Merge with 3.3. 2013-04-15 09:53:49 -04:00
Eric V. Smith 45fe62dc9c Issue #17728: Specify default precision for float.format for presentation types e, f, and g. 2013-04-15 09:51:54 -04:00
R David Murray 8a34596bbe #2118: IOError is deprecated, use OSError. 2013-04-14 06:46:35 -04:00
Georg Brandl c8fb047d69 merge with 3.3 2013-04-14 12:03:01 +02:00
Georg Brandl 1aca953a40 Fix example ignoring ".svn" directories in compileall. 2013-04-14 12:02:43 +02:00
Georg Brandl e827ea866d merge with 3.3 2013-04-14 11:59:19 +02:00
Georg Brandl 1e1134a314 The Integral class does not contain implementations for the bit-shifting operations. (See #3056.) 2013-04-14 11:58:54 +02:00
Georg Brandl f221377d8b merge with 3.3 2013-04-14 10:50:13 +02:00
Georg Brandl 5f4b4ac73e Update code examples using collections.abc classes. 2013-04-14 10:50:05 +02:00
R David Murray 8e37d5df95 #2118: Make SMTPException a subclass of IOError.
Initial patch by Ned Jackson Lovely.
2013-04-13 14:49:48 -04:00
R David Murray c1d3daf58b Merge #2118: clarify smtplib exception documentation. 2013-04-13 14:42:36 -04:00
R David Murray 0bfd6acf03 Reflow paragraph. 2013-04-13 14:40:51 -04:00
R David Murray 14ee3cf244 #2118: clarify smtplib exception documentation. 2013-04-13 14:40:33 -04:00
Mark Dickinson 9b6fdf8401 Fix incorrect indentation on 'versionadded' for weakref.ref.__callback__. 2013-04-13 16:09:18 +01:00
Mark Dickinson 556e94b8fe Issue #17643: Add __callback__ attribute to weakref.ref. 2013-04-13 15:45:44 +01:00
Ezio Melotti 3121e32952 #17653: merge with 3.3. 2013-04-12 19:19:45 +03:00
Ezio Melotti a3b255f275 #17653: fix typo in socketserver docs. Patch by Tshepang Lekhonkhobe. 2013-04-12 19:19:21 +03:00
Vinay Sajip a713079ed8 Closed #9556: Allowed specifying a time-of-day for a TimedRotatingFileHandler to rotate. 2013-04-12 17:04:23 +01:00
Ezio Melotti cbc2d29636 #6696: merge with 3.3. 2013-04-12 15:44:37 +03:00
Ezio Melotti 075d87cf05 #6696: add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney. 2013-04-12 15:42:06 +03:00
Antoine Pitrou 50b24d0d7c Fix a crash when setting a servername callback on a SSL server socket and the client doesn't send a server name.
Patch by Kazuhiro Yoshida.
(originally issue #8109)
2013-04-11 20:48:42 +02:00
Georg Brandl 526575d537 Fix invalid markup. 2013-04-11 16:10:13 +02:00
R David Murray 671cd3290b #17487: wave.getparams now returns a namedtuple.
Patch by Claudiu Popa.
2013-04-10 12:31:43 -04:00
Ezio Melotti 3f5ffbee23 #17635: merge with 3.3. 2013-04-10 18:01:22 +03:00
Ezio Melotti c09959ae0f #17635: fix wrong function name in multiprocessing docs. 2013-04-10 17:59:20 +03:00
Brett Cannon 100883f0cb Issue #17093,17566,17567: Methods from classes in importlib.abc now raise/return
the default exception/value when called instead of raising/returning
NotimplementedError/NotImplemented (except where appropriate).
This should allow for the ABCs to act as the bottom/end of the MRO with expected
default results.

As part of this work, also make importlib.abc.Loader.module_repr()
optional instead of an abstractmethod.
2013-04-09 16:59:39 -04:00
Andrew Svetlov 595365de32 Merge heads 2013-04-07 14:47:05 +03:00
Andrew Svetlov 5cd72b7b9c Update argparse docs to follow order of ArgumentParser() arguments. 2013-04-07 14:44:34 +03:00
Andrew Svetlov 5b6e1cad37 Update argparse docs to follow order of ArgumentParser() arguments. 2013-04-07 14:43:17 +03:00
Raymond Hettinger 1a2ea9c592 merge 2013-04-06 20:28:05 -07:00
Raymond Hettinger 17328e4fae Clean-up lru_cache examples. The print() not is needed. Set maxsize to a power of two. 2013-04-06 20:27:33 -07:00
Georg Brandl 98297f4807 merge with 3.3 2013-04-06 16:47:34 +02:00
Georg Brandl cca5548159 merge with 3.3.1 release clone 2013-04-06 16:42:43 +02:00
Andrew Svetlov cb04acf425 Add link to glossary for hashable term in docs for set type 2013-04-05 16:22:01 +03:00
Andrew Svetlov 9a411ce9ea Add link to glossary for hashable term in docs for set type 2013-04-05 16:21:50 +03:00
Ezio Melotti b9e2147dee #8913: merge with 3.3. 2013-04-04 09:16:42 +03:00
Ezio Melotti 09f0ddec21 #8913: add examples and docs for date/time/datetime.__format__. Patch by Heikki Partanen. 2013-04-04 09:16:15 +03:00
Terry Jan Reedy fd4bba1bf3 Merge with 3.3 2013-04-03 12:45:47 -04:00
Terry Jan Reedy 41459a9b29 Issue #15940: Replace tab. 2013-04-03 12:45:24 -04:00
Terry Jan Reedy 670e1b7b1e Merge with 3.3 2013-04-03 12:35:25 -04:00
Terry Jan Reedy b5e2e7e93a Issue #15940: Specify effect of locale on time functions. 2013-04-03 12:34:57 -04:00
Ned Deily 05bdd853ec Issue #17586: fix typo in contextlib.rst 2013-03-31 17:06:15 -07:00
R David Murray 5cbf3a0d6e Merge #17435: Don't use mutable default values in Timer.
Patch by Denver Coneybeare with some test modifications by me.
2013-03-30 17:22:30 -04:00
R David Murray 19aeb439c6 Issue #17435: Don't use mutable default values in Timer.
Patch by Denver Coneybeare with some test modifications by me.
2013-03-30 17:19:38 -04:00
Ezio Melotti 9d67238439 #17539: merge with 3.3. 2013-03-30 05:56:21 +02:00
Ezio Melotti b40a2203ad #17539: fix MagicMock example. Patch by Berker Peksag. 2013-03-30 05:55:52 +02:00
Ezio Melotti e612c1e29f #17438: merge with 3.3. 2013-03-29 04:02:14 +02:00
Ezio Melotti 6d2bc6e80b #17438: add links to the conversion tables in dump(s)/load(s). 2013-03-29 03:59:29 +02:00
Antoine Pitrou 2463e5fee4 Issue #16692: The ssl module now supports TLS 1.1 and TLS 1.2. Initial patch by Michele Orrù. 2013-03-28 22:24:43 +01:00
Georg Brandl 1bab7134a8 Merge with 3.3. 2013-03-28 13:28:55 +01:00
Georg Brandl 44ea77bd81 Closes #4159: add LaTeX tabular column specifications to tables that otherwise are cut off or have overlapping text. 2013-03-28 13:28:44 +01:00
Georg Brandl 8cb15bf6ff merge with 3.3 2013-03-28 09:11:59 +01:00
Georg Brandl 6ba6b13e32 Fix XML vulnerability link targets. 2013-03-28 09:11:44 +01:00
Ezio Melotti 67ddccafc3 #17329: merge with 3.3. 2013-03-27 20:13:59 +02:00
Ezio Melotti 184e59357e #17329: merge with 3.2. 2013-03-27 20:12:55 +02:00
Ezio Melotti 265281ac02 #17329: document unittest.SkipTest. Initial patch by Zachary Ware. 2013-03-27 20:11:55 +02:00
Christian Heimes 9869e60dc2 Issue 17538: Document XML vulnerabilties 2013-03-26 17:48:28 +01:00
Christian Heimes 768f6a5360 Issue 17538: Document XML vulnerabilties 2013-03-26 17:47:23 +01:00
Christian Heimes 7380a67267 Issue 17538: Document XML vulnerabilties 2013-03-26 17:35:55 +01:00
Georg Brandl a809e4a540 merge with upstream 3.3 branch 2013-03-25 07:01:37 +01:00
Antoine Pitrou 64c16c3311 Issue #17150: pprint now uses line continuations to wrap long string literals. 2013-03-23 20:30:39 +01:00
Gregory P. Smith 4a8ea9e2a6 Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
2013-03-23 12:00:00 -07:00
Gregory P. Smith a1b9ed32ee Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
2013-03-23 11:54:22 -07:00
Gregory P. Smith a1ed539268 Fixes issue #17488: Change the subprocess.Popen bufsize parameter default value
from unbuffered (0) to buffering (-1) to match the behavior existing code
expects and match the behavior of the subprocess module in Python 2 to avoid
introducing hard to track down bugs.
2013-03-23 11:44:25 -07:00
Raymond Hettinger 59addb7dec merge 2013-03-23 09:08:18 -07:00
Raymond Hettinger 3ddba16aa6 Update collections ABC table to match the __abstractmethods__ attribute for each container. 2013-03-23 09:07:36 -07:00
Raymond Hettinger 51612fd803 merge 2013-03-23 08:21:52 -07:00
Raymond Hettinger 378170d5d9 Issue 17447: Clarify that str.isidentifier doesn't check for reserved keywords. 2013-03-23 08:21:12 -07:00
Georg Brandl 0a1bc11c66 Fix suspicious markup in the docs. 2013-03-23 15:59:46 +01:00
Gregory P. Smith e25df59427 merge 2013-03-20 18:32:45 -07:00
Gregory P. Smith 74b24047e3 merge 2013-03-20 18:32:22 -07:00
Gregory P. Smith 1f8a40b81d remove the long obsolete mention of universal newlines mode only being
available when configured at compile time.
2013-03-20 18:32:03 -07:00
Antoine Pitrou c9b3ef2df0 Issue #16997: unittest.TestCase now provides a subTest() context manager to procedurally generate, in an easy way, small test instances. 2013-03-20 20:16:47 +01:00
Ezio Melotti c622bf3f85 Merge usage of argument/parameter and markup fixes from 3.3. 2013-03-20 13:54:30 +02:00
Ezio Melotti ba7dd670cb Merge usage of argument/parameter and markup fixes from 3.2. 2013-03-20 13:54:18 +02:00
Ezio Melotti 93115e0914 Fix usage of argument/parameter and markup. 2013-03-20 13:53:32 +02:00
Gregory P. Smith 6409989dc8 clarifiy the documentation for issue17285. see also commit
ee30400efceb which updated the docstring.
2013-03-19 23:36:59 -07:00
Gregory P. Smith f16455aa4a clarifiy the documentation for issue17285. see also commit
ee30400efceb which updated the docstring.
2013-03-19 23:36:31 -07:00
Senthil Kumaran 08c73e80df Automated merge with ssh://hg.python.org/cpython 2013-03-19 21:27:21 -07:00
Senthil Kumaran 6ddec17f01 #17474 - merge from 3.3. Update default Docs with versionchanged markup on what's removed 2013-03-19 18:03:39 -07:00
Kristján Valur Jónsson d7009c6913 Issue #16475: Support object instancing, recursion and interned strings
in marshal
2013-03-19 18:02:10 -07:00
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