Commit Graph

12387 Commits

Author SHA1 Message Date
Ezio Melotti 67494f2224 #12277: add missing comma. 2011-10-18 12:59:39 +03:00
Éric Araujo 9be57231dd Update dead references from py.org/dev/faq to the devguide (#13176) 2011-10-14 17:37:45 +02:00
Ezio Melotti 7903913fa6 #670664: merge with 3.2. 2011-11-01 14:14:15 +02:00
Sandro Tosi b6dbc9ee15 merge with 3.2 2011-11-01 10:32:22 +01:00
Ross Lagerwall 59142db6d3 Issue #12797: Added custom opener parameter to builtin open() and FileIO.open(). 2011-10-31 20:34:46 +02:00
Sandro Tosi 6a57afee04 merge with 3.2 2011-10-31 17:46:25 +01:00
Sandro Tosi d856bc0582 merge with 3.2 2011-10-31 17:16:03 +01:00
Sandro Tosi 8f7bded7e0 merge with 3.2 2011-10-31 10:13:30 +01:00
Sandro Tosi 9bf59aa103 merge with 3.2 2011-10-31 02:42:06 +01:00
Raymond Hettinger 5d12faa5b8 Merge 2011-10-30 15:07:01 -07:00
Ezio Melotti afe471d7d2 Merge the button to show/hide the prompts and output from 3.2. 2011-10-30 09:37:46 +02:00
Florent Xicluna 608cab54e4 Merge 3.2 2011-10-28 22:16:23 +02:00
Florent Xicluna d39a4d755a Merge 3.2 2011-10-28 22:05:12 +02:00
Ezio Melotti ac73b0c95e Merge HTMLParser doc changes from 3.2. 2011-10-28 14:36:11 +03:00
Ezio Melotti 455036fd1f #13278: merge with 3.2. 2011-10-28 12:33:27 +03:00
Florent Xicluna acfc97a05a Merge 3.2 2011-10-28 11:23:25 +02:00
Antoine Pitrou f3dc2d7afd Fix typo 2011-10-28 00:01:03 +02:00
Antoine Pitrou 873bf262ad Update example of non-blocking SSL code for the new finer-grained exceptions 2011-10-27 23:59:03 +02:00
Antoine Pitrou 41032a69c1 Issue #11183: Add finer-grained exceptions to the ssl module, so that
you don't have to inspect the exception's attributes in the common case.
2011-10-27 23:56:55 +02:00
Vinay Sajip b5cab85dc7 Merged documentation fix from 3.2. 2011-10-27 17:53:19 +01:00
Victor Stinner 7592d0513e Fix the issue number of my cp65001 commit: 13247 => issue #13216 2011-10-27 01:43:48 +02:00
Victor Stinner 2f3ca9f20e Close #13247: Add cp65001 codec, the Windows UTF-8 (CP_UTF8) 2011-10-27 01:38:56 +02:00
Ezio Melotti f7f0a66a8f Fix typos. 2011-10-25 17:22:22 +03:00
Victor Stinner 8b905bd9d4 Issue #13226: Add RTLD_xxx constants to the os module. These constants can by
used with sys.setdlopenflags().
2011-10-25 13:34:04 +02:00
Victor Stinner e0be423297 Close #10278: Add clock_getres(), clock_gettime() and CLOCK_xxx constants to
the time module. time.clock_gettime(time.CLOCK_MONOTONIC) provides a monotonic
clock
2011-10-25 13:06:09 +02:00
Ezio Melotti 92b958420e Merge the codecs doc refactoring with 3.2. 2011-10-25 10:41:37 +03:00
Ezio Melotti 7a03f64c2e Remove mention of narrow/wide builds in the codecs doc. 2011-10-25 10:30:19 +03:00
Ezio Melotti 90bf5f1171 Remove mention of narrow/wide builds and update array doc, add a test. 2011-10-25 10:05:34 +03:00
Ezio Melotti c99c85899a Remove mention of narrow/wide builds from ord/chr doc. 2011-10-25 09:32:34 +03:00
Ezio Melotti f4d76e6ca7 #13251: update string description in datamodel.rst. 2011-10-25 09:23:42 +03:00
Benjamin Peterson 3ed559a3c7 merge 3.2 (#13259) 2011-10-25 00:04:10 -04:00
Benjamin Peterson b4d8e912d7 merge 3.2 2011-10-24 08:52:30 -04:00
Antoine Pitrou 037ffbf182 Improve the porting section 2011-10-24 00:25:41 +02:00
Antoine Pitrou fd9b4166bb Improve / clean up the PEP 393 description 2011-10-24 00:14:43 +02:00
Antoine Pitrou 01fd26c746 Improve description of PEP 3151 2011-10-24 00:07:02 +02:00
Antoine Pitrou 767c0a82ad Mention InterruptedError in the doc for new function signal.sigwaitinfo 2011-10-23 23:52:23 +02:00
Ezio Melotti 2d99dac479 Use ``...`` for string literals. 2011-10-24 00:44:03 +03:00
Florent Xicluna dcbb822c08 Fix documentation formatting. 2011-10-23 23:37:46 +02:00
Florent Xicluna 72ca42af8b Merge heads 2011-10-23 22:47:56 +02:00
Florent Xicluna e9126b5e3b Merge 3.2 2011-10-23 22:44:19 +02:00
Ezio Melotti 26358cc403 Remove obsolete FAQ. 2011-10-23 23:42:51 +03:00
Florent Xicluna 6d57d212a8 Documentation typo. 2011-10-23 22:23:57 +02:00
Mark Dickinson 36645681c8 Issue #13201: equality for range objects is now based on equality of the underlying sequences. Thanks Sven Marnach for the patch. 2011-10-23 19:53:01 +01:00
Petri Lehtinen a2a2e480f3 Merge 3.2 2011-10-23 21:07:50 +03:00
Antoine Pitrou 57735a0d6a Add missing prefixes 2011-10-22 22:08:46 +02:00
Antoine Pitrou b965b3938a Elaborate on representations and canonical/legacy unicode objects 2011-10-22 22:08:05 +02:00
Antoine Pitrou e6b99a1832 Move deprecated functions at the end of their respective sections. 2011-10-22 21:56:20 +02:00
Éric Araujo 661161ed86 Avoid relying on the default reST role in logging library doc 2011-10-22 19:29:48 +02:00
Éric Araujo df7b66546c Fix text duplication. Spotted by Nick Coghlan, thanks! 2011-10-22 01:44:36 +02:00
Ezio Melotti 931b8aac80 #12753: Add support for Unicode name aliases and named sequences. 2011-10-21 21:57:36 +03:00
Éric Araujo 3764a964ca Banch merge 2011-10-21 15:52:10 +02:00
Vinay Sajip 04d5bc00a2 Closes #13235: Added deprecation for warn() methods and function in logging. 2011-10-21 07:33:42 +01:00
Éric Araujo 4d4b19e294 Document that packaging doesn’t create __init__.py files (#3902).
The bug reported expected distutils to create an __init__.py file for a
project using only C extension modules.  IMO, how Python imports
packages and submodules is well documented, and it’s never suggested
that distutils might create an __init__.py file, so I’m adding this
clarification to the packaging docs but won’t backport unless other
people tell me they shared the same wrong expectation.

Thanks to Mike Hoy for his help with the patch.
2011-10-21 07:34:00 +02:00
Antoine Pitrou ac65d96777 Issue #12170: The count(), find(), rfind(), index() and rindex() methods
of bytes and bytearray objects now accept an integer between 0 and 255
as their first argument.  Patch by Petri Lehtinen.
2011-10-20 23:54:17 +02:00
Ezio Melotti 27607290a6 #13219: merge with 3.2. 2011-10-20 19:40:44 +03:00
Raymond Hettinger cd9fdfd652 Issue 13227: Option to make the lru_cache() type specific (suggested by Andrew Koenig). 2011-10-20 08:57:45 -07:00
Victor Stinner e3455c026a Mention that os.O_CLOEXEC was added to Python 3.3 2011-10-20 00:46:21 +02:00
Raymond Hettinger 587e75c70b merge 2011-10-19 14:16:47 -07:00
Raymond Hettinger eeb905bd7b Merge 2011-10-19 14:10:37 -07:00
Raymond Hettinger becd56822a Issue #13121: Support in-place math operators for collections.Counter(). 2011-10-19 13:40:37 -07:00
Éric Araujo 3bb8be6d78 Branch merge 2011-10-19 21:32:39 +02:00
Senthil Kumaran a41c942685 Doc improvements suggested by Éric Araujo for the new 'HEAD' Request feature. 2011-10-20 02:37:08 +08:00
Senthil Kumaran 7e3062b320 default - Fix closes Issue6090 - Raise a ValueError, instead of failing with unrelated
exceptions, when a document with timestamp earlier than 1980 is provided to
zipfile. Patch contributed by  Petri Lehtinen.
2011-10-20 01:52:41 +08:00
Florent Xicluna 95483b6a19 Fix warning while building documentation. 2011-10-19 11:44:51 +02:00
Ezio Melotti f10644983e Merge with 3.2. 2011-10-19 11:06:26 +03:00
Éric Araujo 79d9c42b04 Add reST targets to sections of the setup.cfg spec, improve wording 2011-10-19 08:41:07 +02:00
Victor Stinner 3a50e7056e Issue #12281: Rewrite the MBCS codec to handle correctly replace and ignore
error handlers on all Windows versions. The MBCS codec is now supporting all
error handlers, instead of only replace to encode and ignore to decode.
2011-10-18 21:21:00 +02:00
Ezio Melotti bb8606dae3 #12277: merge with 3.2. 2011-10-18 13:00:36 +03:00
Senthil Kumaran de49d64dbc Fix closes issue 1673007 urllib.request to support HEAD requests with a new method arg. 2011-10-16 23:54:44 +08:00
Éric Araujo ab7e2a4454 Merge 3.2 2011-10-14 17:38:10 +02:00
Victor Stinner e506437b52 What's new in Python 3.3: document new functions of the os module 2011-10-14 00:08:29 +02:00
Victor Stinner 69db2dbcbe Fix typo in the os doc: lremoveattr => lremovexattr 2011-10-14 00:07:53 +02:00
Victor Stinner a1bf298454 What's New in Python 3.3: mention the PEP 3151 2011-10-12 20:35:02 +02:00
Antoine Pitrou 62ab10a05a Replace mentions of IOError 2011-10-12 20:10:51 +02:00
Antoine Pitrou 1e4fe702f6 This shameful limitation of the fileinput module is not relevant anymore. 2011-10-12 19:11:12 +02:00
Antoine Pitrou 4272d6a315 Fix some mentions of IOError 2011-10-12 19:10:10 +02:00
Antoine Pitrou a787b650d4 Fix mentions of IOError in the io module docs 2011-10-12 19:02:52 +02:00
Antoine Pitrou f55011f8b6 Update doc for BlockingIOError and its alias in the io module 2011-10-12 18:57:23 +02:00
Antoine Pitrou 442ee03d35 Replace mentions of WindowsError 2011-10-12 18:53:23 +02:00
Antoine Pitrou 771dea7755 Replace a mention of EnvironmentError in the distutils docs. 2011-10-12 18:35:18 +02:00
Antoine Pitrou 23a580fd78 Update index entries 2011-10-12 18:33:15 +02:00
Antoine Pitrou 9a4a342b78 Update the C-API docs for exception types 2011-10-12 18:28:01 +02:00
Antoine Pitrou 5574c3012d Replace mentions of socket.error. 2011-10-12 17:53:43 +02:00
Antoine Pitrou 195e702831 Mention the merging of other exceptions into OSError. 2011-10-12 16:46:46 +02:00
Antoine Pitrou 9b7fcf8c2e Minimal update of select docs for PEP 3151. 2011-10-12 16:23:02 +02:00
Antoine Pitrou 70fa31c936 Minimal update of socket docs for PEP 3151.
More editing is probably desirable.
2011-10-12 16:20:53 +02:00
Antoine Pitrou f9c774696e Update exceptions doc for PEP 3151 2011-10-12 16:02:00 +02:00
Mark Dickinson 1c027e564f Merge issue #13145 fix. 2011-10-11 18:07:19 +01:00
Mark Dickinson f1ab47ebc4 Issue #13145. Fix incorrect documentation for PyNumber_ToBase. Thanks Sven Marnach. 2011-10-11 18:06:36 +01:00
Ezio Melotti a6968edcb0 Merge whatsnew fixes with 3.2. 2011-10-10 00:31:00 +03:00
Ezio Melotti 4e15828640 Fix/improve markup in whatsnew/2.7. 2011-10-10 00:30:14 +03:00
Ezio Melotti 5b194cc8fb #13138: merge with 3.2. 2011-10-10 00:03:15 +03:00
Ezio Melotti 138fc896c8 #13138: add missing versionadded. 2011-10-10 00:02:03 +03:00
Raymond Hettinger be22d1d82a Clean-up and improve the priority queue example in the heapq docs. 2011-10-09 17:29:14 +01:00
Raymond Hettinger df7c4cde48 Clean-up and improve the priority queue example in the heapq docs. 2011-10-09 17:28:14 +01:00
Éric Araujo 9255464dfb Branch merge 2011-10-09 08:55:04 +02:00
Georg Brandl 388349add2 Closes #12192: Document that mutating list methods do not return the instance (original patch by Mike Hoy). 2011-10-08 18:32:40 +02:00
Éric Araujo a29e4f64c1 Fix packaging byte-compilation to comply with PEP 3147 (#11254).
I want to replace custom byte-compiling function with calls to
compileall before 3.3b1, but in the short term it’s good to have this
fixed.

Adapted from the distutils patch by Jeff Ramnani.  I tested with -B, -O
and -OO; test_util and test_mixin2to3 fail in -O mode because lib2to3
doesn’t support it.
2011-10-08 04:09:15 +02:00
Éric Araujo 6ebea15e0b Merge fixes for #10526, #10359, #11254, #9100 and the bug without number 2011-10-08 02:57:45 +02:00
Éric Araujo 47a4521ece Fix distutils byte-compilation to comply with PEP 3147 (#11254).
Patch by Jeff Ramnani.  Tested with -B, -O and -OO.
2011-10-08 00:34:13 +02:00