Commit Graph

2808 Commits

Author SHA1 Message Date
Antoine Pitrou cdddf2b875 Mention logging.captureWarnings in the warnings module doc. 2011-07-09 21:29:36 +02:00
Antoine Pitrou 462d1b39a4 Move sys.subversion at the right place in alphabetical order, and informally deprecate it. 2011-07-09 16:02:19 +02:00
Antoine Pitrou a83cdaae89 Issue #12326: document the recommended idiom for checking sys.platform on Unix systems.
Also, point to the various alternatives.
2011-07-09 15:54:23 +02:00
Victor Stinner 6e2e3b9e81 Issue #12423: Fix os.abort() documentation
The Python signal handler for SIGABRT is not called on os.abort() (only if the
signal is raised manually or sent by another process). Patch by Kamil Kisiel.
2011-07-08 02:26:39 +02:00
Senthil Kumaran 3aac179498 Fix whitespace nit in datetime and os rst files. 2011-07-04 11:43:51 -07:00
Senthil Kumaran a6bac95a3c issue10403 - Let's not use members anymore. Use 'attribute' where it denotes attribute and 'methods' where it denotes methods. Context should clarify usage. 2011-07-04 11:28:30 -07:00
Georg Brandl bfd1edd155 Merge 3.2.1 release clone changes into main 3.2 branch after 3.2.1rc2 release. 2011-07-04 19:55:22 +02:00
Senthil Kumaran 946eb865a3 reST indentation fix in sqlite3 docs. rst uses 3 space indentation. 2011-07-03 10:17:22 -07:00
Georg Brandl f069100d0d Fix bad markup. 2011-07-03 09:39:49 +02:00
Mark Dickinson 40d9ebe031 Issue #12228: Fix exchanged flag descriptions in stat.rst. Thanks Sandro Tosi. 2011-06-25 12:03:33 +02:00
Senthil Kumaran fe9230aac6 Fix closes issue12261 - Minor documention changes in the urllib.parse.rst 2011-06-19 13:52:49 -07:00
R David Murray ac4e5abc78 #12147: make send_message correctly handle Sender and Resent- headers.
Original patch by Nicolas Estibals.  My tweaks to the patch were mostly
style/cosmetic, and adding more tests.
2011-07-02 21:03:19 -04:00
Ned Deily 3eb67d58d6 Issue #8746: Correct faulty configure checks so that os.chflags() and
os.lchflags() are once again built on systems that support these
functions (*BSD and OS X).  Also add new stat file flags for OS X
(UF_HIDDEN and UF_COMPRESSED).  Also add additional tests for
os.chflags() and os.lchflags(). (Tests by Garrett Cooper)
2011-06-28 00:00:28 -07:00
Ezio Melotti 4850d52b4d #11363: add missing functions from curses doc. Patch by Sandro Tosi. 2011-06-26 13:34:56 +03:00
Ezio Melotti b6b7371329 #11363: clean up curses doc. 2011-06-26 13:38:11 +03:00
Ezio Melotti 54cc5fd72d Use correct markup in zipimport.rst. Patch by Sara Magliacane. 2011-06-25 19:40:06 +03:00
Raymond Hettinger 9d3df6d508 Issue 11889: Clarify docs for enumerate. 2011-06-25 15:00:14 +02:00
Mark Dickinson 7e4b5c6773 Merge #12228 2011-06-25 12:04:08 +02:00
Raymond Hettinger 4d5208d2e2 Fix typo (reported by Hiro Ashiya). 2011-06-25 11:39:00 +02:00
R David Murray 24eb4bc5c9 #9921: clarify os.path.join joining algorithm
The new wording is based on the comments in the code, which
match the actual behavior.
2011-06-23 21:26:13 -04:00
Senthil Kumaran 656df5ec3e Fix closes issue 12360 - correcting parameter names in asyncore documentation. 2011-06-19 18:22:33 -07:00
Senthil Kumaran fd8d7e9b0d Whitespace nit fixed using reident. 2011-06-19 16:59:41 -07:00
Senthil Kumaran ce9b596c04 Fix closes Issue12315 - Updates to http.client documentation. 2011-06-19 16:56:49 -07:00
Senthil Kumaran a977acc0fe merge from 3.1 for issue issue12261. 2011-06-19 13:55:48 -07:00
R David Murray 409c32f47c #6771: fix docs: curses.wrapper is exposed as a function, not a module
Patch by July Tikhonov.
2011-06-18 19:34:12 -04:00
Benjamin Peterson a08eb73b4a update link to pycrypto (closes #12351) 2011-06-16 18:49:46 -05:00
Éric Araujo 8ddf7c2d2b Minor wording improvement 2011-06-15 17:49:20 +02:00
Vinay Sajip cdc751720e Updated Formatter.formatTime documentation. 2011-06-12 11:44:28 +01:00
Vinay Sajip 0aaa9e1d7b Issue #12206: documentation for LogRecord constructor updated re. the level argument. 2011-06-11 23:03:37 +01:00
Vinay Sajip 645e4589b1 Documented change for Issue #12168. 2011-06-10 18:52:50 +01:00
Éric Araujo 96deb7550e Add links from builtins module docs to built-in functions and constants docs 2011-06-08 04:53:20 +02:00
Éric Araujo fa088dbd0c Improve glossary entry for ABCs.
- Rename reST target name for collections ABCs to avoid collisions
- Add link to importlib ABCs (collections, numbers and io ABCs were already
  linked)
- Link to glossary entry from numbers module doc (other modules already do it)
2011-06-04 18:42:38 +02:00
Éric Araujo 07e58c3389 Remove link that’s already present at the top of the file 2011-06-03 20:43:42 +02:00
Raymond Hettinger 3d89057ff8 Fix named tuples to work with vars(). 2011-06-02 23:40:24 -07:00
Raymond Hettinger 9028928156 Forward port doc updates for builtin functions. 2011-06-01 16:17:23 -07:00
Éric Araujo 75e86a678c Merge 3.1 2011-05-29 18:07:12 +02:00
Éric Araujo 6a21f5527c Don’t misuse “package data” in pprint example 2011-05-29 03:46:31 +02:00
Éric Araujo c5069e0070 Merge doc touch-ups and fixes for #9831 and #9223 from 3.1 2011-05-29 00:29:56 +02:00
Éric Araujo f33de71514 Minor doc addition for clarity 2011-05-27 04:42:47 +02:00
Raymond Hettinger 4b244ef255 Clean-up example. 2011-05-23 12:45:34 -07:00
Raymond Hettinger f9ca76f500 Simplify example 2011-05-21 09:33:45 -07:00
Benjamin Peterson 619323c68f merge 3.1 2011-05-20 11:49:19 -05:00
Benjamin Peterson 2340986fe0 this should actually be an IOError 2011-05-20 11:49:06 -05:00
Benjamin Peterson c7dd737ef7 merge 3.1 2011-05-20 11:41:59 -05:00
Benjamin Peterson 249b508c98 add example for not using access 2011-05-20 11:41:13 -05:00
Łukasz Langa d8eab60c00 Merged rethought pprint usage example from 3.1. 2011-05-14 22:49:10 +02:00
Łukasz Langa 4ad78ab766 pprint usage example rethought. 2011-05-14 22:43:44 +02:00
Raymond Hettinger 23157e5ddc Further beautification of the example 2011-05-13 01:38:31 -07:00
Raymond Hettinger 9c47d778f7 Neaten up example so it can be cut and pasted. 2011-05-13 01:03:50 -07:00
Georg Brandl 5166375045 Use singular they. Thanks to Mark Summerfield. 2011-05-13 06:55:28 +02:00
Georg Brandl 325477e20e Fix unbound local error in RE tokenizer example. Thanks to Herman L. Jackson. 2011-05-13 06:54:23 +02:00
Gregory P. Smith c9557af441 merge - 7a3f3ad83676 Fixes Issue #12044. 2011-05-11 22:18:23 -07:00
Raymond Hettinger 30439b23c0 Document default fmtspec. Fix inaccurate note. Document exceptions. 2011-05-11 10:47:27 -07:00
Senthil Kumaran 57e6eac905 Issue #11968 - the start_response header values in wsgiref shoudl be str not
bytes. The PEP-0333 says that and test_wsgiref follows the same.  Updated docs
accordingly.
2011-05-11 22:34:59 +08:00
Antoine Pitrou 1be815aac4 Issue #8498: In socket.accept(), allow to specify 0 as a backlog value in
order to accept exactly one connection.  Patch by Daniel Evers.
2011-05-10 19:16:29 +02:00
Łukasz Langa cda41d3bf7 Actually print out the description of what changed. 2011-05-10 15:25:41 +02:00
Victor Stinner 17ca323e7c (Merge 3.1) Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.

Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:48:41 +02:00
Victor Stinner ee18b6f2fd Issue #12012: ssl.PROTOCOL_SSLv2 becomes optional
OpenSSL is now compiled with OPENSSL_NO_SSL2 defined (without the SSLv2
protocol) on Debian: fix the ssl module on Debian Testing and Debian Sid.

Optimize also ssl.get_protocol_name(): speed does matter!
2011-05-10 00:38:00 +02:00
Łukasz Langa 725476222a Closes #12036: ConfigParser: Document items() added the vars dictionary to the result 2011-05-09 18:49:42 +02:00
Martin v. Löwis 867754e3e3 merge 11164 2011-05-09 08:10:38 +02:00
Martin v. Löwis 2f48d892d4 Stop trying to use _xmlplus in the xml module. Closes #11164.
Patch by Arfrever Frehtes Taifersar Arahesis.
2011-05-09 08:05:43 +02:00
Ezio Melotti 74efb71871 Merge with 3.1. 2011-05-09 04:00:06 +03:00
Ezio Melotti 0ed8c6897c Add a note to the str.find doc to suggest the use of the "in" operator. 2011-05-09 03:54:30 +03:00
Nick Coghlan 0ded3e307b Issue #11647: allow contextmanager objects to be used as decorators as described in the docs. Initial patch by Ysj Ray. 2011-05-05 23:49:25 +10:00
Ezio Melotti 5098d44354 #11985: merge with 3.1. 2011-05-03 20:43:48 +03:00
Ezio Melotti b351bcca23 #11985: document the return value of platform.python_implementation for PyPy. 2011-05-03 20:41:48 +03:00
Éric Araujo 38cfe89665 Merge 3.1 2011-05-02 13:12:23 +02:00
Éric Araujo b79c234e1a Add missing colon 2011-05-02 13:10:18 +02:00
Benjamin Peterson c704378987 merge 3.1 2011-05-01 20:24:40 -05:00
Raymond Hettinger 9b2fd32cc5 Fix spelling. 2011-05-01 18:14:49 -07:00
Victor Stinner 8108e96bc8 (Merge 3.1) Issue #11277: mmap.mmap() calls fcntl(fd, F_FULLFSYNC) on Mac OS X
to get around a mmap bug with sparse files. Patch written by Steffen Daode
Nurpmeso.
2011-05-02 01:11:33 +02:00
Victor Stinner a6cd0cf0f5 Issue #11277: mmap calls fcntl(fd, F_FULLFSYNC) on Mac OS X to get around a
mmap bug with sparse files. Patch written by Steffen Daode Nurpmeso.
2011-05-02 01:05:37 +02:00
Benjamin Peterson cee01bf18f merge 3.1 2011-05-01 17:39:40 -05:00
Benjamin Peterson 10116d40d8 note abcs of int and float (closes #11977) 2011-05-01 17:38:17 -05:00
R David Murray b751d6195f Merge #11901: post-commit review fixes per Georg Brandl 2011-04-30 16:36:08 -04:00
R David Murray 9beb34ee0d #11901: post-commit review fixes per Georg Brandl 2011-04-30 16:35:29 -04:00
Brian Curtin 73365dd887 whitespace... 2011-04-29 22:18:33 -05:00
Brian Curtin e6242d77bd Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:17:51 -05:00
Ezio Melotti 2ee88355fc #11952: Fix typo in multiprocessing doc. 2011-04-29 07:10:24 +03:00
Éric Araujo 9a42793761 Branch merge 2011-04-27 16:23:56 +02:00
Éric Araujo 10f3d7acbd Change markup so it generates a link 2011-04-27 16:22:32 +02:00
Brian Curtin 3040193401 Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:20:57 -05:00
Ezio Melotti 17797a7310 #11952: merge with 3.1. 2011-04-29 07:12:42 +03:00
Łukasz Langa ba702daef9 Style updates for the #11670 solution after post-commit review by Ezio Melotti:
http://mail.python.org/pipermail/python-checkins/2011-April/104688.html

Thanks!
2011-04-28 12:02:05 +02:00
Łukasz Langa 43ae619925 Fixed trailing whitespace in the ReST file. 2011-04-27 18:13:42 +02:00
Łukasz Langa daab1c8092 Closes #11670: configparser read_file now iterates over f. 2011-04-27 18:10:05 +02:00
Éric Araujo 944d16c6c4 Merge 3.1 2011-04-27 16:27:38 +02:00
Éric Araujo 19acb88baf Branch merge 2011-04-27 16:25:27 +02:00
R David Murray 0fb5b398cd Merge #11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
2011-04-25 16:13:54 -04:00
R David Murray 2043f9c582 #11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
2011-04-25 16:12:26 -04:00
Éric Araujo 16190c8236 Change markup so that it creates a link 2011-04-25 19:05:53 +02:00
Éric Araujo 08c9bd57f2 Remove unneeded backslashes 2011-04-24 02:59:02 +02:00
Éric Araujo b547148d16 Fix indentation 2011-04-24 02:44:39 +02:00
Éric Araujo fbeb1a9468 Merge 3.1 2011-04-24 02:42:52 +02:00
Éric Araujo cae1be85f5 Branch merge 2011-04-24 02:39:43 +02:00
Éric Araujo 5348b63a91 Branch merge 2011-04-24 02:34:11 +02:00
Ezio Melotti 5569e9b150 Fix some more markup glitches in argparse doc. 2011-04-22 01:42:10 +03:00
Ezio Melotti dca309d137 #11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky. 2011-04-21 23:09:27 +03:00
Ezio Melotti 2f1db7def9 #11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky. 2011-04-21 23:06:48 +03:00
Ezio Melotti 00f53afdda #11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky. 2011-04-21 22:56:51 +03:00
Ezio Melotti 0ee9c1be76 Add the :mod: role where it was missing. 2011-04-21 16:12:17 +03:00
Ezio Melotti cca4ef8cba #11885: capitalize Python. 2011-04-21 15:26:46 +03:00
Éric Araujo de579d4359 Add a space to make json doc a bit more readable 2011-04-21 02:37:41 +02:00
Éric Araujo 37e6c54ba1 Merge 3.1 2011-04-20 19:24:09 +02:00
Éric Araujo 5c1a0c969d Fix argument name in reST doc to match the code 2011-04-20 19:11:12 +02:00
Ezio Melotti a947abec6a Merge with 3.1. 2011-04-19 23:23:47 +03:00
Ezio Melotti 8dfcab0885 Fix wrong number of functions noticed by Sandro Tosi. 2011-04-19 23:15:13 +03:00
Vinay Sajip f97255fd7c Updated documentation on fileConfig(). 2011-04-19 13:56:39 +01:00
R David Murray 530cc09796 Fix markup. 2011-04-18 15:54:58 -04:00
R David Murray 01581ee0b7 #11492: rewrite header folding algorithm. Less code, more passing tests. 2011-04-18 10:04:34 -04:00
Ezio Melotti 2409d770d9 Fix a few more hyphens in argparse.rst 2011-04-16 23:13:50 +03:00
Georg Brandl 340d2690b3 Small wording fix. 2011-04-16 16:54:15 +02:00
Georg Brandl 1d827ff43d Consistency fix: "command line" is the noun, "command-line" the adjective. 2011-04-16 16:44:54 +02:00
Georg Brandl ab8d93c03a Backport 8a9f8f34d9d5. 2011-04-16 17:05:30 +02:00
Georg Brandl 10fe23b495 Merge with 3.1 2011-04-16 16:59:32 +02:00
Eli Bendersky 3384e54c23 Issue #11855: merge from 3.1 2011-04-16 15:34:29 +03:00
Eli Bendersky 219cc776f6 Issue #11855: Apply missing formatting for urlretrieve 2011-04-16 15:32:13 +03:00
Raymond Hettinger f05c1394fe merge 2011-04-15 17:43:57 -07:00
Raymond Hettinger 7bba683d27 Add another example to the collections module docs. 2011-04-15 17:43:19 -07:00
Ezio Melotti 34d204bc85 #4783: Merge with 3.1. 2011-04-15 07:39:08 +03:00
Ezio Melotti 60adf95955 #4783: document that is not possible to use json.dump twice on the same stream. 2011-04-15 07:37:00 +03:00
Eli Bendersky d211231cd5 merge from 3.1 2011-04-15 07:26:28 +03:00
Eli Bendersky 046a764bb2 Issue #11827: remove mention of list2cmdline in the doc of subprocess 2011-04-15 07:23:26 +03:00
Ezio Melotti 832c8bbe51 #9101: backport json reference in configparser doc. 2011-04-14 06:41:38 +03:00
R David Murray 5864c9f26c Merge: Fix wording and clarify that the IDNA codec operates on full domain names.
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:12:59 -04:00
R David Murray e0fd2f880e Fix wording and clarify that the IDNA codec operates on full domain names.
Before reading the code to check, I wasn't sure if it operated on
full domain names or just individual labels.
2011-04-13 14:12:18 -04:00
R David Murray d5315482e9 Merge #10019: Fix regression relative to 2.6: add newlines if indent=0
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:09:18 -04:00
R David Murray 3dd02d62c9 #10019: Fix regression relative to 2.6: add newlines if indent=0
Patch by Amaury Forgeot d'Arc, updated by Sando Tosi.
2011-04-12 21:02:45 -04:00
Ross Lagerwall 810b94a364 Issue #11818: Fix tempfile examples for Python 3. 2011-04-10 09:30:04 +02:00
Raymond Hettinger dbb677a894 Beautify and modernize the SequenceMatcher example 2011-04-09 19:41:00 -07:00
Vinay Sajip 77f8d2962c Normalised whitespace. 2011-04-08 01:34:20 +01:00
Vinay Sajip c46102c98a Updated Formatter documentation. 2011-04-08 01:30:51 +01:00
Antoine Pitrou e88604755c Clarify that GzipFile.read1() isn't implemented. 2011-04-04 21:06:20 +02:00
Ezio Melotti 361467e522 #11282: the fail* methods will stay around a few more versions. 2011-04-03 17:37:58 +03:00
Ezio Melotti 9481e41741 Merge with 3.1 2011-04-03 16:24:22 +03:00
Ezio Melotti b5ff3e4ce5 Fix typo noticed by Sandro Tosi. 2011-04-03 16:20:21 +03:00
Raymond Hettinger 6c94e6fb42 Issue #7796: Add link to Jan Kaliszewski's alternate constructor and ABC for named tuples. 2011-03-31 15:46:06 -07:00
Raymond Hettinger 12e6c256ca Fix markup and wording. 2011-03-31 13:59:24 -07:00
Raymond Hettinger 1081d48889 Add links to make the math docs more usable. 2011-03-31 12:04:53 -07:00
Guido van Rossum 20d2ab435e Merge issue 11662. 2011-03-29 12:58:29 -07:00
Guido van Rossum acb63092b7 Merge issue 11662. 2011-03-29 12:55:41 -07:00
guido@google.com c768ff5d4f Merge Issue 11662 from 3.1 branch. 2011-03-29 11:51:26 -07:00
guido@google.com a119df91f3 Issue 11662: Fix vulnerability in urllib/urllib2.
(This version is a cleaned-up backport of a fix by Senthil Kumaran.)
2011-03-29 11:41:02 -07:00
Ezio Melotti 7ef2b46a0a #10617: merge with 3.1. 2011-03-28 13:53:40 +03:00
Ezio Melotti 9b2e67c4fa #10617: add class directives to collections ABCs. 2011-03-28 13:50:41 +03:00
Steven Bethard d186f99d00 Issue #9343: Document that argparse parent parsers must be configured before their children. 2011-03-26 21:49:00 +01:00
Steven Bethard d8f2d50c20 Issue #8982: Improve the documentation for the argparse Namespace object. 2011-03-26 19:50:06 +01:00
Éric Araujo 01606dea3d #10553: Explain why compileall has no command-line argument to control optimization 2011-03-26 03:22:55 +01:00
Éric Araujo 722bec4210 Merge 3.1 2011-03-26 01:59:47 +01:00
Éric Araujo 5ab477695c Tweaks to sys.flags description table.
The options listed in the table are now links to their documentation,
and the table uses compact markup to make it easier to read and edit.
First proposed in #10998.
2011-03-26 00:47:04 +01:00
Éric Araujo 4dcf50250c Use universal construct os.path.expanduser('~') instead of os.environ['HOME'] 2011-03-25 20:31:50 +01:00
Raymond Hettinger b1aef23316 Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:33:53 -07:00
Raymond Hettinger c706dbfa67 Issue #10610: Document that int(), float(), and complex() accept numeric literals with the Nd property. 2011-03-22 17:33:17 -07:00
Raymond Hettinger 608aba301e Issue #11625: Fix Typo 2011-03-22 09:12:18 -07:00
Raymond Hettinger e5820c6b5d Issue #11625: Fix Typo 2011-03-22 09:11:39 -07:00
Georg Brandl 2f5cac6ab4 Merge to 3.2. 2011-03-21 08:55:31 +01:00
Georg Brandl 82d8ec5eef Fix duplicate word. 2011-03-21 08:55:16 +01:00
Éric Araujo d40248777b Merge from 3.1 2011-03-20 18:31:42 +01:00
Éric Araujo 09eb980e3e Fix typo in class name 2011-03-20 18:30:37 +01:00
R David Murray 38a04e51f6 Merge markup fixes for #7198 patch. 2011-03-20 11:19:20 -04:00
R David Murray 9c0d5eaa70 Markup fixes for #7198 patch. 2011-03-20 11:18:21 -04:00
R David Murray fb8b067360 Really merge #7198
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:25:29 -04:00
R David Murray f453debb45 #7198: really add newline='' to csv.writer docs.
Changeset ab27f16f707a was messed up by a rebase (as were
959f666470cc and 9d1b1a95bc8f) and the patch only got applied
to default.
2011-03-20 10:23:22 -04:00
Antoine Pitrou 7b98d02302 Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:04:13 +01:00
Antoine Pitrou 877766dee8 Issue #11459: A `bufsize` value of 0 in subprocess.Popen() really creates
unbuffered pipes, such that select() works properly on them.
2011-03-19 17:00:37 +01:00
Raymond Hettinger 15aded8b73 Emphasize the ['x', 'y'] option for listing field names. Remove PS2 prompts to make the examples cut-and-pasteable. 2011-03-15 17:25:51 -07:00
Michael Foord dcebe0f2dc Closes issue 11133. Fixes two cases where inspect.getattr_static could trigger code execution 2011-03-15 19:20:44 -04:00
R David Murray 729c5e203d Merge #11216: document all possible set_charset execution paths. 2011-03-15 17:42:50 -04:00
R David Murray e3d09ff269 #11216: document all possible set_charset execution paths. 2011-03-15 17:41:13 -04:00
R David Murray 4a0b60c527 Merge #11555 as_string doc fix from 3.1. 2011-03-15 14:02:53 -04:00
R David Murray 7dedcb4644 #11555: update doc for 3.x change to as_string mangle_from default. 2011-03-15 14:01:18 -04:00
R David Murray c48c19afe0 Merge redundant __contains__ doc fix from 3.1. 2011-03-14 22:53:29 -04:00
R David Murray f6db0bbbee Remove redundant __contains__ entry from Message docs. 2011-03-14 22:43:38 -04:00
Ross Lagerwall 13312638b3 Merge from 3.1 2011-03-14 10:41:58 +02:00
Ross Lagerwall 8fea2e6a50 Issue #10885: Fix multiprocessing docs typo 2011-03-14 10:40:15 +02:00
Ezio Melotti 77845ce55a Fix typo. 2011-03-12 22:25:06 +02:00
Benjamin Peterson 62e0b90be2 merge 3.1 2011-03-12 11:58:40 -06:00
Benjamin Peterson ab2b71699c trunc -> math.trunc (closes #11475) 2011-03-12 11:58:15 -06:00
Senthil Kumaran e858bca356 forward merge from 3.1 2011-03-12 11:42:33 +08:00
Senthil Kumaran abd4a05561 Fix issue11283 - Clarifying a re pattern in the re module docs for conditional regex 2011-03-12 11:40:25 +08:00
Eli Bendersky a7a1c15111 merge from 3.1 2011-03-11 16:39:04 +02:00
Eli Bendersky 9cc6249dee Issue #11426: use 'with' statements on open files in CSV examples 2011-03-11 16:33:36 +02:00
R David Murray 5647c473bc Merge #10999 fix. 2011-03-10 17:22:33 -05:00
R David Murray 30178068d9 #10999: Add missing documentation for chflags constants to stat module docs
Patch by Michal Nowikowski.
2011-03-10 17:18:33 -05:00
Ezio Melotti c29cd9384a Use simpler assert in basic example. 2011-03-10 23:38:18 +02:00
Ezio Melotti 40dcb1d287 Port a couple of changes from 3.1. 2011-03-10 13:46:50 +02:00
Ezio Melotti 2d1e88a4d1 Backport from 3.2 several improvements and fixes for unittest.rst. 2011-03-10 12:16:35 +02:00
Ezio Melotti 3d995843ce #11298: Improve the unittest discovery explanation. 2011-03-08 16:17:35 +02:00
Georg Brandl 891391bf68 Merge doc fixes. 2011-03-06 11:12:42 +01:00
Georg Brandl 1d0a0f5060 #11294: add missing ERA_T_FMT to locale docs. 2011-03-06 11:09:51 +01:00
Georg Brandl 931e5c1038 #11292: add missing A_REVERSE to curses attribute table. 2011-03-06 11:08:35 +01:00
Georg Brandl 45ec333c72 #11227: use Host header in asyncore example. 2011-03-06 11:05:03 +01:00
Georg Brandl 12a6153aee #11373: fix spelling. 2011-03-06 10:57:52 +01:00
Georg Brandl da2271939a #11392: you can trust the computer, but you have to know what it does. 2011-03-06 10:53:55 +01:00
Fred Drake c7eb7894d3 Merged revisions 88717 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88717 | fred.drake | 2011-03-03 00:27:17 -0500 (Thu, 03 Mar 2011) | 2 lines

  issue 11372: use range instead of xrange
........
2011-03-03 05:29:59 +00:00
Antoine Pitrou 6120d87d32 Merged revisions 88686 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88686 | antoine.pitrou | 2011-02-28 23:38:07 +0100 (lun., 28 févr. 2011) | 4 lines

  Recommend inspecting the errno attribute of socket.error objects,
  and improve wording.
........
2011-02-28 23:03:28 +00:00
Benjamin Peterson f3352e7c1f Merged revisions 88668 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88668 | benjamin.peterson | 2011-02-27 09:06:44 -0600 (Sun, 27 Feb 2011) | 1 line

  make this a link #11345
........
2011-02-27 15:15:06 +00:00
Giampaolo Rodolà fb9a9c8f2f Merged revisions 88581 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88581 | giampaolo.rodola | 2011-02-25 15:50:57 +0100 (ven, 25 feb 2011) | 1 line

  (issue 11232) - fix asyncore documentation issue (patch by Sandro Tosi)
........
2011-02-25 14:54:07 +00:00
Georg Brandl bd65e7fa46 Markup backport fix. 2011-02-25 11:27:55 +00:00
Georg Brandl 2774310c27 Merged revisions 87627,87638,87739,87760,87771,87787,87984,87986,88108,88115,88144,88165,88329,88364-88365,88369-88370,88423-88424 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87627 | georg.brandl | 2011-01-02 15:23:43 +0100 (So, 02 Jan 2011) | 1 line

  #1665333: add more docs for optparse.OptionGroup.
........
  r87638 | georg.brandl | 2011-01-02 20:07:51 +0100 (So, 02 Jan 2011) | 1 line

  Fix code indentation.
........
  r87739 | georg.brandl | 2011-01-04 18:27:13 +0100 (Di, 04 Jan 2011) | 1 line

  Fix exception catching.
........
  r87760 | georg.brandl | 2011-01-05 11:59:48 +0100 (Mi, 05 Jan 2011) | 1 line

  Fix duplicate end tag.
........
  r87771 | georg.brandl | 2011-01-05 22:47:47 +0100 (Mi, 05 Jan 2011) | 1 line

  On Py3k, -tt and -3 are no-op and unsupported respectively.
........
  r87787 | georg.brandl | 2011-01-06 10:15:45 +0100 (Do, 06 Jan 2011) | 1 line

  Remove doc for nonexisting parameter.
........
  r87984 | georg.brandl | 2011-01-13 08:24:40 +0100 (Do, 13 Jan 2011) | 1 line

  Add semicolon for consistency.
........
  r87986 | georg.brandl | 2011-01-13 08:31:18 +0100 (Do, 13 Jan 2011) | 1 line

  Fix the example output of count().
........
  r88108 | georg.brandl | 2011-01-19 09:42:03 +0100 (Mi, 19 Jan 2011) | 1 line

  Suppress trailing spaces in table paragraphs.
........
  r88115 | georg.brandl | 2011-01-19 21:05:49 +0100 (Mi, 19 Jan 2011) | 1 line

  #10944: add c_bool to types table.
........
  r88144 | georg.brandl | 2011-01-22 23:06:24 +0100 (Sa, 22 Jan 2011) | 1 line

  #10983: fix several bugs in the _tunnel implementation that seem to have missed while porting between branches.  A unittest is needed!
........
  r88165 | georg.brandl | 2011-01-24 20:53:18 +0100 (Mo, 24 Jan 2011) | 1 line

  Typo fix.
........
  r88329 | georg.brandl | 2011-02-03 08:08:25 +0100 (Do, 03 Feb 2011) | 1 line

  Punctuation typos.
........
  r88364 | georg.brandl | 2011-02-07 13:10:46 +0100 (Mo, 07 Feb 2011) | 1 line

  #11138: fix order of fill and align specifiers.
........
  r88365 | georg.brandl | 2011-02-07 13:13:58 +0100 (Mo, 07 Feb 2011) | 1 line

  #8691: document that right alignment is default for numbers.
........
  r88369 | georg.brandl | 2011-02-07 16:30:45 +0100 (Mo, 07 Feb 2011) | 1 line

  Consistent heading spacing, and fix two typos.
........
  r88370 | georg.brandl | 2011-02-07 16:44:27 +0100 (Mo, 07 Feb 2011) | 1 line

  Spelling fixes.
........
  r88423 | georg.brandl | 2011-02-15 13:41:17 +0100 (Di, 15 Feb 2011) | 1 line

  Apply logging SocketHandler doc update by Vinay.
........
  r88424 | georg.brandl | 2011-02-15 13:44:43 +0100 (Di, 15 Feb 2011) | 1 line

  Remove editing slip.
........
2011-02-25 10:18:11 +00:00
Georg Brandl d98934c483 Merged revisions 87101,87146,87156,87172,87175,87371,87378,87522-87524,87526-87528,87530-87536,87581 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87101 | georg.brandl | 2010-12-06 23:02:48 +0100 (Mo, 06 Dez 2010) | 1 line

  Remove visible XXX comments.
........
  r87146 | georg.brandl | 2010-12-09 19:08:43 +0100 (Do, 09 Dez 2010) | 1 line

  Fix "seperate".
........
  r87156 | georg.brandl | 2010-12-10 11:01:44 +0100 (Fr, 10 Dez 2010) | 1 line

  #10668: fix wrong call of __init__.
........
  r87172 | georg.brandl | 2010-12-11 20:10:30 +0100 (Sa, 11 Dez 2010) | 1 line

  Avoid AttributeError(_closed) when a TemporaryDirectory is deallocated whose mkdtemp call failed.
........
  r87175 | georg.brandl | 2010-12-11 23:19:34 +0100 (Sa, 11 Dez 2010) | 1 line

  Fix markup.
........
  r87371 | georg.brandl | 2010-12-18 17:21:58 +0100 (Sa, 18 Dez 2010) | 1 line

  Fix typo.
........
  r87378 | georg.brandl | 2010-12-18 18:51:28 +0100 (Sa, 18 Dez 2010) | 1 line

  #10723: add missing builtin exceptions.
........
  r87522 | georg.brandl | 2010-12-28 10:16:12 +0100 (Di, 28 Dez 2010) | 1 line

  Replace sys.maxint mention by sys.maxsize.
........
  r87523 | georg.brandl | 2010-12-28 10:18:24 +0100 (Di, 28 Dez 2010) | 1 line

  Remove confusing paragraph -- this is relevant only to advanced users anyway and does not belong into the tutorial.
........
  r87524 | georg.brandl | 2010-12-28 10:29:19 +0100 (Di, 28 Dez 2010) | 1 line

  Fix advice: call PyType_Ready to fill in ob_type of custom types.
........
  r87526 | georg.brandl | 2010-12-28 11:38:33 +0100 (Di, 28 Dez 2010) | 1 line

  #10777: fix iteration over dict keys while mutating the dict.
........
  r87527 | georg.brandl | 2010-12-28 11:56:20 +0100 (Di, 28 Dez 2010) | 1 line

  #10768: fix ScrolledText widget construction, and make the example work from the interactive shell.
........
  r87528 | georg.brandl | 2010-12-28 12:02:12 +0100 (Di, 28 Dez 2010) | 1 line

  Add news entry and clarify another.
........
  r87530 | georg.brandl | 2010-12-28 12:06:07 +0100 (Di, 28 Dez 2010) | 1 line

  #10767: update README in crashers; not all may have a bug entry and/or be fixed.
........
  r87531 | georg.brandl | 2010-12-28 12:08:17 +0100 (Di, 28 Dez 2010) | 1 line

  #10742: document readonly attribute of memoryviews.
........
  r87532 | georg.brandl | 2010-12-28 12:15:49 +0100 (Di, 28 Dez 2010) | 1 line

  #10781: clarify that *encoding* is not a parameter for Node objects in general.
........
  r87533 | georg.brandl | 2010-12-28 12:38:12 +0100 (Di, 28 Dez 2010) | 1 line

  Remove history; adapt a bit more to reST, since this will once be part of the dev guide.
........
  r87534 | georg.brandl | 2010-12-28 12:48:53 +0100 (Di, 28 Dez 2010) | 1 line

  Rewrap.
........
  r87535 | georg.brandl | 2010-12-28 12:49:41 +0100 (Di, 28 Dez 2010) | 1 line

  #10739: document that on Windows, socket.makefile() does not make a file that has a true file descriptor usable where such a thing is expected.
........
  r87536 | georg.brandl | 2010-12-28 12:53:25 +0100 (Di, 28 Dez 2010) | 1 line

  #10609: fix non-working dbm example.
........
  r87581 | georg.brandl | 2010-12-30 18:36:17 +0100 (Do, 30 Dez 2010) | 1 line

  Fix NameErrors.
........
2011-02-25 10:03:34 +00:00
Georg Brandl f6c8fd62b9 Merged revisions 86537,86867-86868,86881,86887,86913-86915,86931-86933,86960,86964,86974,86980,86996,87008,87050 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r86537 | georg.brandl | 2010-11-19 23:09:04 +0100 (Fr, 19 Nov 2010) | 1 line

  Do not put a raw REPLACEMENT CHARACTER in the document.
........
  r86867 | georg.brandl | 2010-11-29 15:50:54 +0100 (Mo, 29 Nov 2010) | 1 line

  Fix indentation bug.
........
  r86868 | georg.brandl | 2010-11-29 15:53:15 +0100 (Mo, 29 Nov 2010) | 1 line

  Fix heading style inconsistencies.
........
  r86881 | georg.brandl | 2010-11-30 08:43:28 +0100 (Di, 30 Nov 2010) | 1 line

  #10584: fix bad links.
........
  r86887 | georg.brandl | 2010-11-30 15:57:54 +0100 (Di, 30 Nov 2010) | 1 line

  Fix typo.
........
  r86913 | georg.brandl | 2010-12-01 16:32:43 +0100 (Mi, 01 Dez 2010) | 1 line

  Add missing word, and add a better reference to the actual function.
........
  r86914 | georg.brandl | 2010-12-01 16:36:33 +0100 (Mi, 01 Dez 2010) | 1 line

  #10594: fix parameter names in PyList API docs.
........
  r86915 | georg.brandl | 2010-12-01 16:44:25 +0100 (Mi, 01 Dez 2010) | 1 line

  Fix some markup and style in the unittest docs.
........
  r86931 | georg.brandl | 2010-12-02 10:06:12 +0100 (Do, 02 Dez 2010) | 1 line

  Fix-up documentation of makedirs().
........
  r86932 | david.malcolm | 2010-12-02 17:41:00 +0100 (Do, 02 Dez 2010) | 2 lines

  Fix spelling of Jamie Zawinski's surname in urllib.parse docstring (issue 10606)
........
  r86933 | georg.brandl | 2010-12-02 19:02:01 +0100 (Do, 02 Dez 2010) | 1 line

  #10597: fix Py_SetPythonHome docs by pointing to where the meaning of PYTHONHOME is already documented.
........
  r86960 | georg.brandl | 2010-12-03 08:55:44 +0100 (Fr, 03 Dez 2010) | 1 line

  #10360: catch TypeError in WeakSet.__contains__, just like WeakKeyDictionary does.
........
  r86964 | georg.brandl | 2010-12-03 10:58:38 +0100 (Fr, 03 Dez 2010) | 1 line

  #10549: fix interface of docclass() for text documenter.
........
  r86974 | georg.brandl | 2010-12-03 16:30:09 +0100 (Fr, 03 Dez 2010) | 1 line

  Markup consistency fixes.
........
  r86980 | georg.brandl | 2010-12-03 18:19:27 +0100 (Fr, 03 Dez 2010) | 1 line

  Fix punctuation.
........
  r86996 | georg.brandl | 2010-12-03 20:56:42 +0100 (Fr, 03 Dez 2010) | 1 line

  Fix indentation.
........
  r87008 | georg.brandl | 2010-12-04 10:04:04 +0100 (Sa, 04 Dez 2010) | 1 line

  Fix typo.
........
  r87050 | georg.brandl | 2010-12-04 18:09:30 +0100 (Sa, 04 Dez 2010) | 1 line

  Fix typo.
........
2011-02-25 09:48:21 +00:00
Benjamin Peterson edf5132dfe Merged revisions 88540-88541 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88540 | benjamin.peterson | 2011-02-23 20:46:00 -0600 (Wed, 23 Feb 2011) | 1 line

  this seems to be pointlessly nested
........
  r88541 | benjamin.peterson | 2011-02-23 20:53:05 -0600 (Wed, 23 Feb 2011) | 1 line

  rewrite
........
2011-02-24 03:03:46 +00:00
Raymond Hettinger 540b636077 Issue 11263: Fix link to source code. 2011-02-21 19:56:24 +00:00
Raymond Hettinger 8f0ae9a17f Doc fixups. 2011-02-18 00:53:55 +00:00
Georg Brandl 08e278a562 Remove editing slip. 2011-02-15 12:44:43 +00:00
Georg Brandl dbb958561d Apply logging SocketHandler doc update by Vinay. 2011-02-15 12:41:17 +00:00
Raymond Hettinger 725cb96d8a Fix example for count(). 2011-02-14 06:01:56 +00:00
Georg Brandl c60e306a80 Fix markup problems. 2011-02-12 07:32:02 +00:00
R. David Murray 8b24aac936 Fix argument name typo in compileall docs. 2011-02-11 22:37:16 +00:00
Senthil Kumaran 2933312fe7 Fixed issue11082 - Reject str for POST data with a TypeError. Document the need to explicitly encode to bytes when using urlencode. 2011-02-11 11:25:47 +00:00
R. David Murray 43b2f457a0 Merged revisions 87136,87221,87256,87337-87338,87571,87839,88164 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k


........
  r87136 | r.david.murray | 2010-12-08 17:53:00 -0500 (Wed, 08 Dec 2010) | 6 lines

  Have script_helper._assert_python strip refcount strings from stderr.

  This makes the output of the function and those that depend on it
  independent of whether or not they are being run under a debug
  build.
........
  r87221 | r.david.murray | 2010-12-13 19:55:46 -0500 (Mon, 13 Dec 2010) | 4 lines

  #10699: fix docstring for tzset: it does not take a parameter

  Thanks to Garrett Cooper for the fix.
........
  r87256 | r.david.murray | 2010-12-14 21:19:14 -0500 (Tue, 14 Dec 2010) | 2 lines

  #10705: document what the values of debuglevel are and mean.
........
  r87337 | r.david.murray | 2010-12-17 11:11:40 -0500 (Fri, 17 Dec 2010) | 2 lines

  #10559: provide instructions for accessing sys.argv when first mentioned.
........
  r87338 | r.david.murray | 2010-12-17 11:29:07 -0500 (Fri, 17 Dec 2010) | 2 lines

  #10454: clarify the compileall docs and help messages.
    [compileall.py changes not backported.]
........
  r87571 | r.david.murray | 2010-12-29 14:06:48 -0500 (Wed, 29 Dec 2010) | 2 lines

  Fix same typo in docs.
........
  r87839 | r.david.murray | 2011-01-07 16:57:25 -0500 (Fri, 07 Jan 2011) | 9 lines

  Fix formatting of values with embedded newlines when rfc2047 encoding

  Before this patch if a value being encoded had an embedded newline,
  the line following the newline would have no leading whitespace,
  and the whitespace it did have was encoded into the word.  Now
  the existing whitespace gets turned into a blank, the way it does
  in other header reformatting, and the _continuation_ws gets added
  at the beginning of the encoded line.
........
  r88164 | r.david.murray | 2011-01-24 14:34:58 -0500 (Mon, 24 Jan 2011) | 12 lines

  #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc.

  Original patch by Michal Nowikowski, with some additions and wording
  fixes by me.

  I changed the wording from 'Performs a stat system call' to 'Performs
  the equivalent of a stat system call', since on Windows there are no
  stat/lstat system calls involved.  I also extended Michal's breakout
  of the attributes into a list to the other paragraphs, and rearranged
  the order of the paragraphs in the 'stat' docs to make it flow
  better and put it in what I think is a more logical/useful order.
........
2011-02-11 03:13:19 +00:00
Raymond Hettinger 3029affc85 Add missing source links. 2011-02-10 08:09:36 +00:00
Antoine Pitrou ddcacf3156 Merged revisions 88377 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88377 | antoine.pitrou | 2011-02-08 00:10:33 +0100 (mar., 08 févr. 2011) | 4 lines

  Issue #11141: Fix the shelve documentation to use a list, not a range object.
  Patch by SilentGhost.
........
2011-02-07 23:18:52 +00:00
Antoine Pitrou 631507d1c6 Issue #11141: Fix the shelve documentation to use a list, not a range object.
Patch by SilentGhost.
2011-02-07 23:10:33 +00:00
Antoine Pitrou b248bdca96 Merged revisions 88371 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88371 | antoine.pitrou | 2011-02-07 16:58:11 +0100 (lun., 07 févr. 2011) | 3 lines

  Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown().
........
2011-02-07 16:03:24 +00:00
Antoine Pitrou fdded56a46 Clarify that IMAP4() implicitly calls open(), and that logout() implicitly calls shutdown(). 2011-02-07 15:58:11 +00:00
Georg Brandl ca583b66c8 #8691: document that right alignment is default for numbers. 2011-02-07 12:13:58 +00:00
Georg Brandl a5770aa9ca #11138: fix order of fill and align specifiers. 2011-02-07 12:10:46 +00:00
Raymond Hettinger 833ad0eede Fix awkwardly rendered sentence. 2011-02-06 21:00:38 +00:00
Gregory P. Smith 8095b6548b Merged revisions 88352 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88352 | gregory.p.smith | 2011-02-05 13:47:25 -0800 (Sat, 05 Feb 2011) | 3 lines

  issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
  happens when the end exits before the beginning.
........
2011-02-05 21:51:27 +00:00
Gregory P. Smith e09d2f1614 issue7678 - Properly document how to replace a shell pipeline so that SIGPIPE
happens when the end exits before the beginning.
2011-02-05 21:47:25 +00:00
Antoine Pitrou 8e0ef58f30 Merged revisions 88334 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88334 | antoine.pitrou | 2011-02-04 21:11:11 +0100 (ven., 04 févr. 2011) | 3 lines

  Mention that seek and tell over a TextIOWrapper can be very slow.
........
2011-02-04 20:17:40 +00:00
Antoine Pitrou eefb97cb57 Mention that seek and tell over a TextIOWrapper can be very slow. 2011-02-04 20:11:11 +00:00
Georg Brandl e951e917c6 Punctuation typos. 2011-02-03 07:08:25 +00:00
Éric Araujo b344dd06c8 Merged revisions 86236,86240,86332,86340,87271,87273,87447 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

The missing NEWS entries correspond to changes that were made before 3.1.3, but
I think it’s not usual to edit entries of released versions, so I put them at
the top.

........
  r86236 | eric.araujo | 2010-11-06 03:44:43 +0100 (sam., 06 nov. 2010) | 2 lines

  Make sure each test can be run standalone (./python Lib/distutils/tests/x.py)
........
  r86240 | eric.araujo | 2010-11-06 05:11:59 +0100 (sam., 06 nov. 2010) | 2 lines

  Prevent ResourceWarnings in test_gettext
........
  r86332 | eric.araujo | 2010-11-08 19:15:17 +0100 (lun., 08 nov. 2010) | 4 lines

  Add missing NEWS entry for a fix committed by Senthil.

  All recent modifications to distutils should now be covered in NEWS.
........
  r86340 | eric.araujo | 2010-11-08 22:48:23 +0100 (lun., 08 nov. 2010) | 2 lines

  This was actually fixed for the previous alpha.
........
  r87271 | eric.araujo | 2010-12-15 20:09:58 +0100 (mer., 15 déc. 2010) | 2 lines

  Improve trace documentation (#9264).  Patch by Eli Bendersky.
........
  r87273 | eric.araujo | 2010-12-15 20:30:15 +0100 (mer., 15 déc. 2010) | 2 lines

  Use nested method directives, rewrap long lines, fix whitespace.
........
  r87447 | eric.araujo | 2010-12-23 20:13:05 +0100 (jeu., 23 déc. 2010) | 2 lines

  Fix typo in superclass method name
........
2011-02-02 21:38:37 +00:00
Raymond Hettinger 0446b21a51 Punctuation typo. 2011-02-02 21:12:39 +00:00
Eric Smith 7b5011b4a3 Wording fix. 2011-02-01 21:31:22 +00:00
Brian Curtin 070f050c3a Merged revisions 88281 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88281 | brian.curtin | 2011-01-31 13:35:02 -0600 (Mon, 31 Jan 2011) | 2 lines

  #11083 typo: RuntimeException -> RuntimeError
........
2011-01-31 19:41:53 +00:00
Brian Curtin bd0c897332 #11083 typo: RuntimeException -> RuntimeError 2011-01-31 19:35:02 +00:00
R. David Murray b7deff1ddc #9124: mailbox now accepts binary input and uses binary internally
Although this patch contains API changes and is rather weighty for an
RC phase, the mailbox module was essentially unusable without the patch
since it would produce UnicodeErrors when handling non-ascii input
at arbitrary and somewhat mysterious places, and any non-trivial amount
of email processing will encounter messages with non-ascii bytes.
The release manager approved the patch application.

The changes allow binary input, and reject non-ASCII string input early
with a useful message instead of failing mysteriously later.  Binary
is used internally for reading and writing the mailbox files.  StringIO
and Text file input are deprecated.

Initial patch by Victor Stinner, validated and expanded by R. David Murray.
2011-01-30 06:21:28 +00:00
Raymond Hettinger 519c308939 Typos. 2011-01-30 00:39:00 +00:00
Michael Foord e180d3953f Issue 10573: revert unittest docs to first / second
Minor internal change to unittest.TestCase.assertCountEqual
Reviewed by R. David Murray
2011-01-28 19:51:48 +00:00
Łukasz Langa 66c908e6bf #11027: documented how to override SECTCRE 2011-01-28 11:57:30 +00:00
Raymond Hettinger 469271d4ea More source links 2011-01-27 20:38:46 +00:00
Vinay Sajip 1a90f9c52f Issue 11008: docs updated to show versionadded for dictConfig. 2011-01-27 19:14:16 +00:00
Raymond Hettinger a199368b23 More source links. 2011-01-27 01:20:32 +00:00
Raymond Hettinger a63a312a3f Issue #11014: Make 'filter' argument in tarfile.Tarfile.add() into a
keyword-only argument.  The preceding positional argument was deprecated,
so it made no sense to add filter as a positional argument.

(Patch reviewed by Brian Curtin and Anthony Long.)
2011-01-26 20:34:14 +00:00
Antoine Pitrou cfad97b3ca Fix the description of PIPE_BUF 2011-01-25 17:24:57 +00:00
Antoine Pitrou da7be3e7b7 Fix the doc for PIPE_BUF 2011-01-25 16:28:44 +00:00
Terry Reedy e2248f9e6d Issue #11000 ast.parse doc fix (r88172) + tix fix (r88170) 2011-01-24 21:46:05 +00:00
Terry Reedy feac624827 Issue #11000 ast.parse parses source, not just expressions. 2011-01-24 21:36:03 +00:00
Terry Reedy 2a6ac15f26 Update last tix code example for 3.x, as already done for previous examples. 2011-01-24 20:48:40 +00:00
Georg Brandl 009a6bd675 Fix label syntax. 2011-01-24 19:59:08 +00:00
Georg Brandl 8e490de616 Typo fix. 2011-01-24 19:53:18 +00:00
R. David Murray 7b1aae9a52 #10960: fix 'stat' links, link to lstat from stat, general tidy of stat doc.
Original patch by Michal Nowikowski, with some additions and wording
fixes by me.

I changed the wording from 'Performs a stat system call' to 'Performs
the equivalent of a stat system call', since on Windows there are no
stat/lstat system calls involved.  I also extended Michal's breakout
of the attributes into a list to the other paragraphs, and rearranged
the order of the paragraphs in the 'stat' docs to make it flow
better and put it in what I think is a more logical/useful order.
2011-01-24 19:34:58 +00:00
Raymond Hettinger ead4975b9f Missing source links. 2011-01-24 16:28:06 +00:00
Raymond Hettinger 9a236b0235 Add section for urllib.parse. 2011-01-24 09:01:27 +00:00
Raymond Hettinger 971f48320b minor clean-up. 2011-01-23 21:32:18 +00:00
Raymond Hettinger 98b140c196 Add entry for reprlib. 2011-01-23 21:05:46 +00:00
Raymond Hettinger 0929b1fc70 Add entry for shutil's archiving operations. 2011-01-23 11:29:08 +00:00
Antoine Pitrou a970e62258 Merged revisions 88137 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r88137 | antoine.pitrou | 2011-01-21 22:37:32 +0100 (ven., 21 janv. 2011) | 3 lines

  Fix JSON docs about loads() accepting only str objects, not bytes.
........
2011-01-21 21:39:56 +00:00
Antoine Pitrou 00d650baaa Fix JSON docs about loads() accepting only str objects, not bytes. 2011-01-21 21:37:32 +00:00
Raymond Hettinger a275c989c9 Add more examples 2011-01-20 04:03:19 +00:00
Georg Brandl ecdd63f56c #10944: add c_bool to types table. 2011-01-19 20:05:49 +00:00
Alexander Belopolsky 41a99bc20d Issue #10934: Fixed and expanded Internaldate2tuple() and
Time2Internaldate() documentation.  Thanks Joe Peterson for the report
and the original patch.
2011-01-19 19:53:30 +00:00
Georg Brandl 375aec2315 Fix a few doc errors, mostly undefined keywords. 2011-01-15 17:03:02 +00:00
Victor Stinner c58be2ddc0 urllib doc: add versionchanged sections for parse_qs() and parse_qsl() 2011-01-14 13:31:45 +00:00
Victor Stinner ac71c54b88 Add encoding and errors arguments to urllib.parse_qs() and urllib.parse_qsl() 2011-01-14 12:52:12 +00:00
Eli Bendersky 39be2a5210 Merged revisions 87993 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87993 | eli.bendersky | 2011-01-14 10:25:03 +0200 (Fri, 14 Jan 2011) | 2 lines

  Issue #10902: Fix reference to run* methods
........
2011-01-14 08:55:38 +00:00
Eli Bendersky 489f392a0e Issue #10902: Fix reference to run* methods 2011-01-14 08:25:03 +00:00
Alexander Belopolsky cc75a86123 Issue #9268: Documented -m pickletools usage.
Also added a source code link.
2011-01-13 21:58:44 +00:00
Georg Brandl 37a80dc7bc Fix the example output of count(). 2011-01-13 07:31:18 +00:00
Alexander Belopolsky 287d1fdd3f Issue #10225: Fixed the simple mistakes in doctests. 2011-01-12 16:37:14 +00:00
Raymond Hettinger 5cee47f321 Add entry for Barrier objects. 2011-01-11 19:59:46 +00:00
Alexander Belopolsky 5fc850b455 Improved footnote for the %Y directive slightly. 2011-01-10 23:31:51 +00:00
Alexander Belopolsky 085556ae89 Improved description of %Y directive. 2011-01-10 23:28:33 +00:00
Alexander Belopolsky 9971e001ef Issue #2568: Removed bogus rationale for supporting tm_sec=61. 2011-01-10 22:56:14 +00:00
Raymond Hettinger 05ce079a1c Missed two source links 2011-01-10 21:16:07 +00:00
Raymond Hettinger 4f707fd316 Separate source link from main text. 2011-01-10 19:54:11 +00:00
Alexander Belopolsky 04da1e013a Fixed a footnote reference 2011-01-10 19:14:38 +00:00
Raymond Hettinger 1048094037 Move source links to consistent location and remove wordy, big yellow boxes. 2011-01-10 03:26:08 +00:00
Georg Brandl 04536b0edf #10871: "file" does not exist anymore in Python 3. Also adapt the reprs of opened file objects. 2011-01-09 09:31:01 +00:00
Georg Brandl c9007081ef Wrap some long examples and signatures. 2011-01-09 09:04:08 +00:00
Georg Brandl 41d0815a65 Merged revisions 87789-87790 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87789 | georg.brandl | 2011-01-06 10:23:56 +0100 (Do, 06 Jan 2011) | 1 line

  Fix various issues (mostly Python 2 relics) found by Jacques Ducasse.
........
  r87790 | georg.brandl | 2011-01-06 10:25:27 +0100 (Do, 06 Jan 2011) | 1 line

  Add acks where acks are due.
........
2011-01-09 08:01:46 +00:00
Georg Brandl ec78b8b170 Merged revisions 87807,87820,87831,87859,87870 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87807 | georg.brandl | 2011-01-06 20:28:18 +0100 (Do, 06 Jan 2011) | 1 line

  #10846: fix typo.
........
  r87820 | georg.brandl | 2011-01-07 19:28:45 +0100 (Fr, 07 Jan 2011) | 1 line

  #10856: document (Base)Exception.args better.
........
  r87831 | georg.brandl | 2011-01-07 21:58:25 +0100 (Fr, 07 Jan 2011) | 1 line

  Fix indent.
........
  r87859 | georg.brandl | 2011-01-08 10:45:43 +0100 (Sa, 08 Jan 2011) | 1 line

  #10855: document close() semantics of wave objects.
........
  r87870 | georg.brandl | 2011-01-08 22:04:25 +0100 (Sa, 08 Jan 2011) | 1 line

  zlib only works with bytes objects.
........
2011-01-09 07:59:02 +00:00
Georg Brandl 7fdc746a81 Merged revisions 87876-87877 via svnmerge from
svn+ssh://svn.python.org/python/branches/py3k

........
  r87876 | georg.brandl | 2011-01-09 08:38:51 +0100 (So, 09 Jan 2011) | 1 line

  #10869: do not visit root node twice in ast.increment_lineno().
........
  r87877 | georg.brandl | 2011-01-09 08:50:48 +0100 (So, 09 Jan 2011) | 1 line

  Add missing line.
........
2011-01-09 07:55:46 +00:00
Georg Brandl 619e7ba814 #10869: do not visit root node twice in ast.increment_lineno(). 2011-01-09 07:38:51 +00:00
Georg Brandl 4ad934f63c zlib only works with bytes objects. 2011-01-08 21:04:25 +00:00
Alexander Belopolsky 2997837158 Fixed documentation to reflect recent changes for years < 1900. 2011-01-08 20:47:21 +00:00
Raymond Hettinger 83b1ab0d6a Issue 9717: Segregate and improve the documentation of "in-place" operators
in the operator module.
2011-01-08 10:26:53 +00:00
Georg Brandl d97b7b5158 #10855: document close() semantics of wave objects. 2011-01-08 09:45:43 +00:00
Raymond Hettinger 5254e9700e Issue 10533: Need example of using __missing__. 2011-01-08 09:35:38 +00:00
Raymond Hettinger 0ab10e4600 Issue #10813: Small improvement to decimal money format recipe. 2011-01-08 09:03:11 +00:00
R. David Murray 9253214fd9 #10686: recode non-ASCII headers to 'unknown-8bit' instead of ?s.
This applies only when generating strings from non-RFC compliant binary
input; it makes the existing recoding behavior more consistent (ie:
now no data is lost when recoding).
2011-01-07 23:25:30 +00:00
Raymond Hettinger 7088abdca6 Revert r87821 which moved the source link to the wrong section (from the module intro covering the module to a section on thread imports). 2011-01-07 21:54:18 +00:00
Raymond Hettinger 1122fa2eb4 Revert r87823 which moved the source link to the wrong section. 2011-01-07 21:17:56 +00:00
Georg Brandl 2f2a9f772d Fix indent. 2011-01-07 20:58:25 +00:00
Raymond Hettinger fc90213f53 Combine the two seealso sections. 2011-01-07 20:33:09 +00:00
Alexander Belopolsky c64708ae48 Issue #10827: Changed the rules for 2-digit years. The time.asctime
function will now format any year when time.accept2dyear is false and
will accept years >= 1000 otherwise.  The year range accepted by
time.mktime and time.strftime is still system dependent, but
time.mktime will now accept full range supported by the OS. Conversion
of 2-digit years to 4-digit is deprecated.
2011-01-07 19:59:19 +00:00
Antoine Pitrou 696efdd03f Mention multiprocessing.Queue in the queue docs 2011-01-07 19:16:12 +00:00
Antoine Pitrou 4b512f73e0 Group seealsos 2011-01-07 19:01:48 +00:00
Antoine Pitrou 60bcc54d2e Put those "seealso"s together 2011-01-07 18:58:21 +00:00
Antoine Pitrou bdde506116 Put those source links together 2011-01-07 18:43:14 +00:00
Antoine Pitrou 1bdd6fd7c7 atexit.py doesn't exist 2011-01-07 18:42:21 +00:00
Antoine Pitrou 39e352cb46 Put link to source at the end. There's nothing edificating in threading.py. 2011-01-07 18:33:07 +00:00
Georg Brandl fb6fd5d019 #10856: document (Base)Exception.args better. 2011-01-07 18:28:45 +00:00
Georg Brandl a572476a2a #10846: fix typo. 2011-01-06 19:28:18 +00:00
Antoine Pitrou 6e7d711d2a Merged revisions 87792 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/py3k

........
  r87792 | antoine.pitrou | 2011-01-06 17:31:28 +0100 (jeu., 06 janv. 2011) | 3 lines

  Elaborate about the GIL.
........
2011-01-06 16:34:50 +00:00
Antoine Pitrou 003428158b Elaborate about the GIL. 2011-01-06 16:31:28 +00:00