Commit Graph

2308 Commits

Author SHA1 Message Date
Benjamin Peterson 30e10d8114 add example for not using access 2011-05-20 11:41:13 -05:00
Ezio Melotti b429c57481 #12093: fix typo in struct doc. Patch by Sandro Tosi. 2011-05-17 05:17:35 +03:00
Antoine Pitrou 47d1d0dc30 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:03 +02:00
Victor Stinner b1241f9619 (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 01:52:03 +02:00
Ezio Melotti 87b86c84ef Add a note to the str.find doc to suggest the use of the "in" operator. 2011-05-09 03:54:30 +03:00
Ezio Melotti 001cc954bb #11985: document the return value of platform.python_implementation for PyPy. 2011-05-03 20:41:48 +03:00
Victor Stinner 112d48ac17 (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-03 14:36:36 +02:00
Éric Araujo 941592aa19 Fix grammar to include both integer types in 2.x 2011-05-02 13:09:36 +02:00
Raymond Hettinger ec0ecb1afc Fix spelling. 2011-05-01 18:14:49 -07:00
Benjamin Peterson 17ebbdb73e note abcs of int and float (closes #11977) 2011-05-01 17:38:17 -05:00
R David Murray dcaacbf1ef #11901: post-commit review fixes per Georg Brandl 2011-04-30 16:34:35 -04:00
Brian Curtin bb23bd69b9 Fix #11961. Document STARTUPINFO and creation flag options. 2011-04-29 22:23:46 -05:00
Ezio Melotti 6940e61225 #11952: Fix typo in multiprocessing doc. 2011-04-29 07:10:24 +03:00
Łukasz Langa 9d68ad862a Merged solution for #11786 from 2.6 2011-04-28 17:40:19 +02:00
Łukasz Langa 22108f1bb0 Closes #11786: ConfigParser.[Raw]ConfigParser optionxform(). 2011-04-28 17:27:59 +02:00
R David Murray a0895db2e1 #11901: add description of how bitfields are laid out to hexversion docs
Patch by Sijin Joseph.
2011-04-25 16:10:18 -04:00
Ezio Melotti c69313a7ab Fix some more markup glitches in argparse doc. 2011-04-22 01:29:13 +03:00
Ezio Melotti 569083adbf The \ is not supported in Sphinx 0.6. 2011-04-21 23:30:27 +03:00
Ezio Melotti d281f1439d #11905: fix missing full stop in argparse doc. Noticed by Vladimir Rutsky. 2011-04-21 23:09:27 +03:00
Ezio Melotti 310619c80f #11904: fix indentation in argparse doc. Noticed by Vladimir Rutsky. 2011-04-21 23:06:48 +03:00
Ezio Melotti 0a43ecc9df #11902: Fix typo in argparse doc. Noticed by Vladimir Rutsky. 2011-04-21 22:56:51 +03:00
Ezio Melotti 01b600c2a3 Add the :mod: role where it was missing. 2011-04-21 16:12:17 +03:00
Ezio Melotti 2eab88e834 #11885: capitalize Python. 2011-04-21 15:26:46 +03:00
Ezio Melotti b4923786fa Fix wrong number of functions noticed by Sandro Tosi. 2011-04-19 23:12:37 +03:00
Vinay Sajip 0513275b58 Updated documentation on fileConfig(). 2011-04-19 13:47:23 +01:00
Victor Stinner 059061a237 Issue #11768: signal.set_wakeup_fd() and PySignal_SetWakeupFd() added in 2.6
Fix the documentation.
2011-04-18 16:34:31 +02:00
Ezio Melotti 12125823fa Fix a few hyphens in argparse.rst. 2011-04-16 23:04:51 +03:00
Eli Bendersky ad72bb1aa8 Issue #11855: Apply missing formatting for urlretrieve 2011-04-16 15:28:42 +03:00
Raymond Hettinger df453fbb5f Add another example to the collections module docs. 2011-04-15 17:55:36 -07:00
Ezio Melotti 6033d26118 #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 929e276176 Issue #11827: remove mention of list2cmdline in the doc of subprocess 2011-04-15 07:35:06 +03:00
Ezio Melotti 7f9d2ead34 #9101: backport json reference in configparser doc. 2011-04-14 06:53:44 +03:00
R David Murray a2472d28fd Transplant: 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:20:30 -04:00
R David Murray ea8b6ef15f #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:00:26 -04:00
Vinay Sajip 5dbca9cc3f Issue #11794: Reorganised logging documentation. 2011-04-08 11:40:38 +01:00
Vinay Sajip 3c599bdbd1 Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX. 2011-03-29 01:21:48 +01:00
Vinay Sajip f851fe9fc5 Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX. 2011-03-29 01:15:37 +01:00
Vinay Sajip af1fee06c9 Issue #11639: Configuration function documentation referred to logging.XXX rather than logging.config.XXX. 2011-03-29 01:07:50 +01:00
Ezio Melotti d113512ed5 #10617: add class directives to collections ABCs. 2011-03-28 13:46:28 +03:00
Steven Bethard 5e0062d25a Issue #9343: Document that argparse parent parsers must be configured before their children. (Merge from 3.2.) 2011-03-26 21:50:38 +01:00
Steven Bethard 3f69a059b9 Issue #8982: Improve the documentation for the argparse Namespace object. (Merge from 3.2.) 2011-03-26 19:59:02 +01:00
Éric Araujo 254d4b851d 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 02:09:14 +01:00
Éric Araujo 8bea9a5b13 Use universal construct os.path.expanduser('~') instead of os.environ['HOME'] 2011-03-26 01:24:47 +01:00
Raymond Hettinger 7250730afc Issue #11625: Fix Typo 2011-03-22 09:06:38 -07:00
Georg Brandl b6dc81df2b Fix duplicate word. 2011-03-21 08:55:16 +01:00
Éric Araujo c75f26511b Fix typo in class name 2011-03-20 18:34:24 +01:00
Benjamin Peterson ec5b5cb489 the name of the option is a bit too low-level 2011-03-20 12:24:20 -05:00
Raymond Hettinger dbc5e1280f Minor doc clean-up.
* Show list of fields option before showing the single string alternative.
* Remove the PS2 prompts so that the examples become cut-and-pastable.
2011-03-19 15:09:00 -07:00
Ezio Melotti c2077b0d9b #11565: Fix several typos. Patch by Piotr Kasprzyk. 2011-03-16 12:34:31 +02:00
R David Murray ab40e4cb95 Merge #11216: document all possible set_charset execution paths. 2011-03-15 18:01:04 -04:00