Commit Graph

7381 Commits

Author SHA1 Message Date
David Wolever a80d3a09fd Issue #18718: datetime documentation contradictory on leap second support 2013-08-14 14:33:54 -04:00
Ned Deily 6681398ddd Issue 18724: Fix typo noticed by Susan Tan. 2013-08-13 01:11:56 -07:00
Felix Crux b4e186cf11 Documenting that json.load may raise a ValueError.
Issue #18680: JSONDecoder should document that it raises a ValueError
  for malformed data
2013-08-12 17:39:51 -04:00
David Wolever 452dd38150 Issue #17701: Improving strftime documentation 2013-08-12 15:50:10 -04:00
Ezio Melotti d599142197 #18663: document that assertAlmostEqual also works when the values are equal and add tests. 2013-08-11 13:04:50 +03:00
Antoine Pitrou 92fae55bc9 Issue #18589: fix hyperlinking of type slots (tp_*) 2013-08-01 21:17:24 +02:00
Ned Deily b7a285f528 Issue #18471: Fix typo in heapq documentation (reported by François Pinard). 2013-07-15 19:07:41 -07:00
Ned Deily c967a593c9 Issue #18452: fix several "occurrence" typos (reported by Févry Thibault). 2013-07-14 12:42:27 -07:00
R David Murray 4f0102f189 #18389: Clarify that relpath does not access the file system.
Initial patch by Madison May.
2013-07-12 18:21:41 -04:00
Serhiy Storchaka 6cda0adf3a Issue #18336. Fix a link to StreamReader's read() method. 2013-07-11 18:25:19 +03:00
Richard Oudkerk 4bc130c065 Issue #14206: Clarify docs for Queue.join_cancel_thread(). 2013-07-02 12:58:21 +01:00
Richard Oudkerk 4903253069 Issue #17273: Clarify that pool methods can only be used by parent process. 2013-07-02 12:31:50 +01:00
Terry Jan Reedy 44d8b11c3e Issue #7136: In the Idle File menu, "New Window" is renamed "New File".
Patch by Tal Einat, Roget Serwy, and Todd Rovito.
2013-07-01 00:42:44 -04:00
Terry Jan Reedy 8d7500387d Issue #18237: Fix assertRaisesRegexp error caought by Jeff Tratner. 2013-06-29 13:15:36 -04:00
Terry Jan Reedy 35115e6aab Issue #18315: Improve fileinput docs by adding 'bufsize' where missing and
replacing redundant signature in input() docstring with one-line summary.
Original patch by Terrel Shumway.
2013-06-28 18:59:19 -04:00
Richard Oudkerk 66e0a04d2e Fix typo. 2013-06-24 20:38:22 +01:00
Richard Oudkerk 2cc73e8e58 Clarify note and fix typo. 2013-06-24 18:11:21 +01:00
Richard Oudkerk acfbe22068 Issue #15818: Typo in docs. 2013-06-24 15:41:36 +01:00
Richard Oudkerk 56e968c50a Issue #18277: Document quirks of multiprocessing queue. 2013-06-24 14:45:24 +01:00
R David Murray 9575222b7f #18179: reflow paragraphs. 2013-06-23 16:10:37 -04:00
R David Murray 7f01d55333 #18179: document the local_hostname parameter.
Original patch by Berker Peksag.
2013-06-23 16:02:34 -04:00
Ezio Melotti c49805e967 #18126: update NumPy links in the documentation. Patch by Yury V. Zaytsev. 2013-06-09 01:04:21 +03:00
Raymond Hettinger 7393c69d6d Issue #18015: Fix unpickling of 2.7.3 and 2.7.4 namedtuples. 2013-05-27 10:58:55 -07:00
David Wolever c23ca48cce Clean merge 2013-05-23 17:51:58 -04:00
David Wolever bd9cbf0064 Clarify that strftime's encoding is based on locale 2013-05-23 17:42:14 -04:00
David Wolever db6d10a8bb Remove Japanese datetime examples 2013-05-23 17:23:49 -04:00
Serhiy Storchaka 54f70923a3 Issue #17844: Refactor a documentation of Python specific encodings.
Add links to encoders and decoders for binary-to-binary codecs.
2013-05-22 15:28:30 +03:00
Ned Deily d7cb506789 Issue #18026: fix ctypes doc typo 2013-05-20 14:27:06 -07:00
Ezio Melotti 5302ba80e7 #17949: fix merge glitch in itemgetter signature. Patch by Martijn Pieters. 2013-05-10 19:57:04 +03:00
Ezio Melotti 5f4ba6b4e0 #16523: improve attrgetter/itemgetter/methodcaller documentation. 2013-05-08 10:53:11 +03:00
Ezio Melotti 59391207c6 #17714: document that the base64 codec adds a trailing newline. 2013-05-07 11:14:27 +03:00
Raymond Hettinger a74e5c809b Issue 17920: Fix-up terminology in the set documentation 2013-05-06 18:21:10 -07:00
Raymond Hettinger 277c27c8fc Issue 17862: Improve the signature of itertools grouper() recipe.
Putting *n* after the *iterable* matches the signature of other itertools
and recipes.  Also, it reads better.

Suggested by Ezio Melotti.
2013-05-05 19:45:42 -07:00
Raymond Hettinger 0801d73b1b Issue #15535: Fix regression in pickling of named tuples. 2013-05-03 00:59:20 -07:00
Senthil Kumaran a1fb67175a # 1722 - Add a note on urllib helper functions like splittype, splithost etc. 2013-05-02 05:50:21 -07:00
Ezio Melotti 183dc46a88 #17866: mention that in Python 3, assertItemsEqual is named assertCountEqual. 2013-04-29 12:26:01 +03:00
R David Murray 806c1c939d #7152: Clarify that ProxyHandler is added only if proxy settings are detected.
Behavior confirmation and initial patch by Jessica McKellar.
2013-04-28 11:16:21 -04:00
Ned Deily 0729500b01 Issue #17670: Provide an example of expandtabs() usage. 2013-04-21 13:04:10 -07:00
R David Murray e5af944bdf #17409: Document RLIM_INFINITY and use it to clarify the setrlimit docs. 2013-04-20 13:37:50 -04:00
Ezio Melotti c973057bbe #17740: fix links to the socket function. Initial patch by Zachary Ware. 2013-04-17 04:10:26 +03:00
Antoine Pitrou f12f3916aa 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 1b33206596 #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 12ec99d852 Issue #17728: Specify default precision for float.format for presentation types e, f, and g. 2013-04-15 09:51:54 -04:00
Georg Brandl 95aa1726ec Fix example ignoring ".svn" directories in compileall. 2013-04-14 12:02:43 +02:00
Georg Brandl 34f5dd0684 The Integral class does not contain implementations for the bit-shifting operations. (See #3056.) 2013-04-14 11:58:54 +02:00
Georg Brandl 827372e46b Closes #17661: fix references to repr() going to module repr. 2013-04-14 10:36:03 +02:00
David Wolever 0d2e78c275 Correct misleading strftime documentation.
strftime using locale-aware formatting directives will often, but not awlays,
produce UTF-8-encoded Unicode.
2013-04-13 22:40:11 -04:00
David Wolever c7953ef73e Adding localized examples to strftime documentation. 2013-04-13 20:50:24 -04:00
David Wolever 73480ef578 Improving strftime documentation.
Re-ordering the table so similar directives are grouped together, adding
examples, and removing some redundancy in the description of the ``%f``
formatter.
2013-04-13 19:12:58 -04:00
R David Murray 3a2b371f26 Reflow paragraph. 2013-04-13 14:37:42 -04:00
R David Murray 2fc97e6a2d #2118: clarify smtplib exception documentation. 2013-04-13 14:37:22 -04:00
Ezio Melotti 0ba584c023 #6696: add documentation for the Profile objects, and improve profile/cProfile docs. Patch by Tom Pinckney. 2013-04-12 16:22:24 +03:00
Ezio Melotti 3218f6511f #17635: fix wrong function name in multiprocessing docs. 2013-04-10 17:59:20 +03:00
Andrew Svetlov aff9ceff3c Update argparse docs to follow order of ArgumentParser() arguments. 2013-04-07 14:45:37 +03:00
Giampaolo Rodola' 76794131de #17641: 2.X / 3.X ssl doc unification 2013-04-06 03:46:47 +02:00
Andrew Svetlov 7eba9dbaaf Add link to glossary for hashable term in docs for set type 2013-04-05 16:21:39 +03:00
Ezio Melotti cfb63cd3b1 #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 0d0a395a1b Issue #15940: Replace tab. 2013-04-03 12:45:24 -04:00
Terry Jan Reedy c2f905f0d9 Issue #15940: Specify effect of locale on time functions. 2013-04-03 12:34:57 -04:00
R David Murray c993a19480 #13163: fix names of _get_socket args
This was already done in Python3, but having it wrong leads to
incorrect debug output, so it seems worth fixing in 2.7 as well.

Patch by Victor Terrón.
2013-04-02 12:15:07 -04:00
Raymond Hettinger 56bb8b9bdc Add an itertools recipe showing how to use t.__copy__(). 2013-03-30 23:37:57 -07:00
Gregory P. Smith da76aa8e47 Fix typos and clear up one very odd bit of wording as pointed out by
Ezio.
2013-03-30 01:38:38 -07:00
Ezio Melotti d5cdc94a26 #17438: add links to the conversion tables in dump(s)/load(s). 2013-03-29 03:59:29 +02:00
Georg Brandl 75da35747e Backport rev. 3ae74b361f53 to 2.7 branch. 2013-03-28 13:35:18 +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
Christian Heimes 75207abff9 Fix XML vulnerability link targets. 2013-03-28 11:42:49 +01:00
Georg Brandl 6ba6b13e32 Fix XML vulnerability link targets. 2013-03-28 09:11:44 +01:00
Ezio Melotti 93324d7d9c Update suspicious ignore file. 2013-03-28 05:47:31 +02:00
Ezio Melotti 184e59357e #17329: merge with 3.2. 2013-03-27 20:12:55 +02:00
Ezio Melotti 352def0ed2 #17329: document unittest.SkipTest. Initial patch by Zachary Ware. 2013-03-27 20:11: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 23790b4be0 Issue 17538: Document XML vulnerabilties 2013-03-26 17:53:05 +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
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 3ddba16aa6 Update collections ABC table to match the __abstractmethods__ attribute for each container. 2013-03-23 09:07:36 -07:00
Raymond Hettinger cb800648ef Update collections ABC table to match the __abstractmethods__ attribute for each container. 2013-03-23 08:57:00 -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
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
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 f16455aa4a clarifiy the documentation for issue17285. see also commit
ee30400efceb which updated the docstring.
2013-03-19 23:36:31 -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
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 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 6227c6952e #10050 - Document DeprecationWarnings for URLopener and FancyURLopener (msg172874 ) 2013-03-18 17:09:50 -07:00
Michael Foord f575230981 Documentation corrections for unittest.mock 2013-03-18 15:04:03 -07:00
R David Murray 35893b7994 #16057: Clarify why the base method default is called in custom encoders.
Original patch by Kushal Das.
2013-03-17 22:06:18 -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 b271727bad Merge with 3.2 2013-03-17 15:28:52 -04:00
Terry Jan Reedy 271e56e887 Issue #17415: Trim trailing whitespace 2013-03-17 15:28:10 -04:00
Terry Jan Reedy f3460414d5 Issue #17415: Trim trailing whitespace 2013-03-17 15:28:10 -04:00
Terry Jan Reedy 3380170ea5 Merge with 3.2 2013-03-17 15:22:00 -04:00
Terry Jan Reedy 3e50fb3f69 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
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