Commit Graph

11625 Commits

Author SHA1 Message Date
Raymond Hettinger 6ddefd7916 Issue 12086: add example showing how to use name mangling. 2011-06-25 16:30:39 +02: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 4707a998e4 Fix closes Issue12359 - Removing a confusing sentence from the previous change. 2011-06-20 07:30:34 -07:00
Senthil Kumaran 656df5ec3e Fix closes issue 12360 - correcting parameter names in asyncore documentation. 2011-06-19 18:22:33 -07:00
Senthil Kumaran 150857028c minor space nit. 2011-06-19 17:41:33 -07:00
Senthil Kumaran 5c0347b398 Fix closes Issue12359 - Minor update to module import description. 2011-06-19 17:37:06 -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 b4cfa3ad63 merge heads 2011-06-16 18:51:24 -05:00
Benjamin Peterson a08eb73b4a update link to pycrypto (closes #12351) 2011-06-16 18:49:46 -05:00
Raymond Hettinger a63d45c825 Fix typo. 2011-06-16 22:32:10 +01: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
Éric Araujo 9fbfe15c86 Add missing reST target to one heading in the tutorial 2011-06-11 10:34:19 +02:00
Vinay Sajip 645e4589b1 Documented change for Issue #12168. 2011-06-10 18:52:50 +01:00
Éric Araujo d2f8cec885 Fix a few misuses of :option: I missed in r86521.
Extract of the commit message:

  Fix usage of :option: in the docs (#9312).

  :option: is used to create a link to an option of python, not to mark
  up any instance of any arbitrary command-line option.  These were
  changed to ````.
2011-06-08 05:29:39 +02: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 b805c47138 Add examples that work on Windows to distutils docs (#1626300) 2011-06-08 01:11:36 +02:00
Éric Araujo b8f2ad0380 Remove outdated bit of advice (584f9c213a6d follow-up) 2011-06-08 00:47:49 +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
Éric Araujo 98e68adc7e Document working dir for “make html” (#12249). Patch by Tshepang Lekhonkhobe. 2011-06-03 19:25:58 +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 affcf2967f Branch merge 2011-06-01 19:39:27 +02:00
Benjamin Peterson 2e3a38a774 demote this to a note 2011-05-31 21:27:41 -05:00
Éric Araujo 5864b9fd3c Fix markup: arguments in a class directive are __init__ arguments, not base classes 2011-05-31 21:50:38 +02:00
Éric Araujo 75e86a678c Merge 3.1 2011-05-29 18:07:12 +02:00
Éric Araujo 4b8f6651f0 Branch merge 2011-05-29 18:05:53 +02:00
Éric Araujo 87418afb3b Fix typo in 0311f62714f7 2011-05-29 03:48:49 +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 456ae893d7 Re-add missing doc stub for the distutils check command 2011-05-29 00:22:06 +02:00
Éric Araujo 000893fab2 Minor touch-ups in distutils.cmd.Command doc 2011-05-29 00:14:45 +02:00
Éric Araujo f33de71514 Minor doc addition for clarity 2011-05-27 04:42:47 +02:00
Éric Araujo e0854f9dbf Add missing closing paren 2011-05-27 04:36:52 +02:00
Éric Araujo d4701f4262 Fix two typos 2011-05-25 18:13:29 +02:00
Raymond Hettinger 4b244ef255 Clean-up example. 2011-05-23 12:45:34 -07:00
Eli Bendersky 2f1b3962a2 Issue 12126: removing incorrect claim about return value of select
merge 3.1 -> 3.2
2011-05-22 06:57:17 +03:00
Eli Bendersky 46ab96a0c8 Issue 12126: removing incorrect claim about return value of select 2011-05-22 06:56:15 +03:00
Raymond Hettinger f9ca76f500 Simplify example 2011-05-21 09:33:45 -07:00
Georg Brandl 9c1928f0a9 Merge release branch after 3.2.1rc1. 2011-05-21 17:35:33 +02: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
Ezio Melotti da5b852c7c #12072: merge with 3.1. 2011-05-20 15:06:32 +03:00
Ezio Melotti 261d855fd6 #12072: add missing parenthesis in the doc. Patch by Sandro Tosi. 2011-05-20 15:04:38 +03:00
Georg Brandl 521143dd6c Update pydoc topics and handle suspicious markup. 2011-05-15 17:51:24 +02:00
Georg Brandl 318e62153b Merge #6498 fix from 3.1. 2011-05-15 08:49:29 +02:00
Georg Brandl 0b2489e986 Closes #6498: fix several misspellings of "SystemExit" as "SystemError". 2011-05-15 08:49:12 +02: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
Ezio Melotti 132bcf4724 #11979: merge with 3.1. 2011-05-14 09:23:52 +03:00
Ezio Melotti eda199030b #11979: improve wording and markup in sockets howto. Patch by Xavier Morel. 2011-05-14 09:17:52 +03: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
Georg Brandl cc5ea6860f Merge in changes from 3.2.1b1 release repo. 2011-05-13 06:50:56 +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
Raymond Hettinger bb1cf8d9bc Issue 12047: Expand the style guide. 2011-05-10 00:35:03 -07: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
Georg Brandl da71013c11 Update suspicious ignore file. 2011-05-08 09:10:29 +02: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 f77b74dd1b #11997: merge with 3.1. 2011-05-05 14:21:18 +03:00
Ezio Melotti d92ab0806d #11997: fix typo in init.rst. 2011-05-05 14:19:48 +03:00
Brian Curtin 03b8d4e47b Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:57:56 -05:00
Brian Curtin 308053ee11 Fix #11834. Correct site-packages paths.
Patch by Bryce Verdier.
2011-05-03 21:57:00 -05: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 cd6756d2ae Branch merge 2011-05-02 13:10:36 +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
Georg Brandl da623ed9f4 Split combined code/doctest code blocks in two blocks, to enable proper highlighting. 2011-05-01 22:37:23 +02:00
Éric Araujo 3bba57d596 Fix wording 2011-05-01 02:14:48 +02:00
R David Murray 361a7df323 Merge #11883: fix email examples by adding 'localhost' to SMTP constructor calls 2011-04-30 17:29:08 -04:00
R David Murray bb754b503c #11883: fix email examples by adding 'localhost' to SMTP constructor calls 2011-04-30 17:26:32 -04:00
R David Murray 7461298c9c #11883: replace incorrect call to sendmail with correct call to send_message 2011-04-30 17:19:53 -04: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
Benjamin Peterson f97aed1a25 merge 3.1 2011-04-30 13:15:18 -05:00
Benjamin Peterson 4c020885d9 fix function name in example (closes #11966) 2011-04-30 13:14:56 -05: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
Raymond Hettinger 507cbc1773 Issue #11940: Update external link. 2011-04-27 16:32:08 -07:00
Ezio Melotti f95033ba44 #11942: Fix return type of Py_AddPendingCall. Patch by Sandro Tosi. 2011-04-28 00:48:46 +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
Raymond Hettinger 4f7412356d Issue #11940: Update external link. 2011-04-27 16:32:34 -07:00
Ezio Melotti a782ccaf6c #11942: merge with 3.1. 2011-04-28 00:53:14 +03: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
Raymond Hettinger 40fc59d98b Issue 11929: Minor whitespace clean-ups. 2011-04-26 13:55:55 -07: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 ce4c4074f9 The version* directives don’t work with a blank line between arguments 2011-04-24 03:31:37 +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
Éric Araujo 2b9388a033 Fix weird executable name 2011-04-22 21:27:10 +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
Ezio Melotti c17c1f64aa #11897: Fix typo in porting howto. Patch by Marti Raudsepp. 2011-04-21 14:49:03 +03:00
Éric Araujo de579d4359 Add a space to make json doc a bit more readable 2011-04-21 02:37:41 +02:00
Ezio Melotti 861d27f4cf Merge with 3.1. 2011-04-20 21:32:40 +03:00
Ezio Melotti e402724912 Fix wrong function name. Noticed by Clive Darke. 2011-04-20 21:29:31 +03: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
Éric Araujo ad0790e573 Branch merge 2011-04-20 18:54: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