Commit Graph

52477 Commits

Author SHA1 Message Date
Antoine Pitrou cc809a286a Fix compatibility statement. 2011-12-03 22:39:13 +01:00
Antoine Pitrou 748799a0a6 Remove outdated question (the bsddb module isn't included anymore) 2011-12-03 22:37:14 +01:00
Antoine Pitrou d4ddec5988 Refine FAQ entry for catching stdout 2011-12-03 22:35:31 +01:00
Antoine Pitrou 48383bfc67 Advocate PyTuple_Pack instead of manual building of tuples 2011-12-03 22:30:19 +01:00
Antoine Pitrou b6032f55d2 Remove outdated FAQ content 2011-12-03 22:26:01 +01:00
Antoine Pitrou f35204055e Remove outdate FAQ content 2011-12-03 22:19:55 +01:00
Antoine Pitrou 3cb369dd0a Streamline FAQ entry about the ternary operator, and suggest using io.StringIO for a mutable unicode container. 2011-12-03 22:11:45 +01:00
Antoine Pitrou c5b266efb5 Streamline FAQ entry about the ternary operator, and suggest using io.StringIO for a mutable unicode container. 2011-12-03 22:11:11 +01:00
Antoine Pitrou 73080b8d18 Remove references to psyco, which is mostly unmaintained and doesn't work with Python 3. 2011-12-03 21:25:17 +01:00
Antoine Pitrou 9cb41dfbaa Remove references to psyco, which is mostly unmaintained and doesn't work with Python 3. 2011-12-03 21:21:36 +01:00
Antoine Pitrou 7dc0047d53 Merge doc fixes from 3.2 2011-12-03 21:07:50 +01:00
Antoine Pitrou 5dd95d6f2d Mention PySide in the "other GUIs" page. 2011-12-03 21:07:01 +01:00
Antoine Pitrou 7462e87134 Mention the new GTK+ 3 bindings. 2011-12-03 20:59:24 +01:00
Meador Inge 80c219b5e7 Issue #13513: IOBase docs incorrectly link to the readline module 2011-12-03 12:50:18 -06:00
Meador Inge 777bebb0ef Issue #13513: IOBase docs incorrectly link to the readline module 2011-12-03 12:29:54 -06:00
Éric Araujo fe0472e7de Fix glitches in email.policy docs (#12208) 2011-12-03 16:00:56 +01:00
Jason R. Coombs 0612e8c2a2 Merged fix for #13211 from 3.2 2011-12-03 09:39:58 -05:00
Jason R. Coombs c9b644eac2 Merge fix for Issue #12666 from 3.2 2011-12-03 08:59:53 -05:00
Charles-François Natali 506b361a97 Issue #12612: Add some Valgrind suppressions for 64-bit machines. Patch by Paul
Price.
2011-12-03 14:43:57 +01:00
Jason R. Coombs a90e364ea5 Issue #12666: Added section about map changes. 2011-12-03 08:24:21 -05:00
Petri Lehtinen 5645850013 Issue #13439: Merge branch 3.2 2011-12-02 21:25:39 +02:00
Petri Lehtinen 9aa20affb6 Issue #13439: Fix many errors in turtle docstrings. 2011-12-02 21:24:14 +02:00
Ezio Melotti c42512dfc6 #13494: merge with 3.2. 2011-12-02 19:49:02 +02:00
Ezio Melotti c1f26f6fc1 #13494: s/cast/convert/. Also add a link. 2011-12-02 19:47:24 +02:00
Ezio Melotti a9a2ddf7be #13499: merge with 3.2. 2011-12-02 19:29:10 +02:00
Ezio Melotti b1b3fd23b7 #13499: fix example adding >>> before the comments. 2011-12-02 19:28:36 +02:00
Ezio Melotti b3d188f779 #8414: merge with 3.2. 2011-12-02 18:23:54 +02:00
Ezio Melotti 6cc5bf7656 #8414: add more tests for "assert". Initial patch by Gregory Nofi. 2011-12-02 18:22:52 +02:00
Mark Dickinson 47862d4c0e Issue #9530: Fix undefined behaviour due to signed overflow in Python/formatter_unicode.c. 2011-12-01 15:27:04 +00:00
Victor Stinner 0a54cf12a0 Fix PyObject_Repr(): don't call PyUnicode_READY() if res is NULL 2011-12-01 03:22:44 +01:00
Victor Stinner b37b17423b Replace PyUnicode_FromUnicode(NULL, 0) by PyUnicode_New(0, 0)
Create an empty string with the new Unicode API.
2011-12-01 03:18:59 +01:00
Victor Stinner 08b523a194 MultibyteCodec_Decode() catchs PyUnicode_AS_UNICODE() failures 2011-12-01 03:18:30 +01:00
Victor Stinner 3ba82aa765 c-api: Replace PyUnicodeObject* by PyObject* in "U" format doc 2011-12-01 02:52:55 +01:00
Victor Stinner ee450093a9 PyCodec_IgnoreErrors() avoids the deprecated "u#" format 2011-12-01 02:52:11 +01:00
Victor Stinner db88ae5d66 PyObject_Repr() ensures that the result is a ready Unicode string
And PyObject_Str() and PyObject_Repr() don't make strings ready in debug
mode to ensure that the caller makes the string ready before using it.
2011-12-01 02:15:00 +01:00
Nadeem Vawda 59bb0e077f Credit Per Øyvind Karlsen for the initial implementation of the lzma module (issue #6715). 2011-12-01 01:18:27 +02:00
Antoine Pitrou 97ba26bf72 Issue #1040439: better document how to compile and link an embedded Python interpreter.
Still lacks docs for Windows (anyone?).
2011-11-30 21:20:01 +01:00
Antoine Pitrou 71bca3495d Issue #1040439: better document how to compile and link an embedded Python interpreter.
Still lacks docs for Windows (anyone?).
2011-11-30 21:19:21 +01:00
Nadeem Vawda 44ae4a2a22 Make error handling in BZ2File.{readable,seekable,writable,fileno} consistent with TextIOWrapper.
Also, add tests for these methods.
2011-11-30 17:39:30 +02:00
Nadeem Vawda 3ff069ebc6 Issue #6715: Add module for compression using the LZMA algorithm. 2011-11-30 00:25:06 +02:00
Victor Stinner 551ac95733 Py_UNICODE_HIGH_SURROGATE() and Py_UNICODE_LOW_SURROGATE() macros
And use surrogates macros everywhere in unicodeobject.c
2011-11-29 22:58:13 +01:00
Antoine Pitrou 7b578b3d89 Mention hashable memoryviews, and reformat. 2011-11-29 22:47:11 +01:00
Antoine Pitrou 0599b5b2a1 Add subheaders to make PEP 393 description clearer 2011-11-29 22:45:07 +01:00
Éric Araujo c8e032006a Merge 3.2 2011-11-29 17:14:27 +01:00
Éric Araujo a74f8ef419 Fix inspect.getmodule to use a copy of sys.modules for iteration (#13487).
This fixes a regression compared to 2.x, where sys.modules.items()
returns a copy, as indicated by a comment in the source.  Diagnosis and
patch by Erik Tollerud.
2011-11-29 16:58:53 +01:00
Éric Araujo c4d7d8c49d Mark up constants in sockets docs as such 2011-11-29 16:46:38 +01:00
Éric Araujo e1886bfaf4 Fix instructions on how to rebuild some modules 2011-11-29 16:45:34 +01:00
Éric Araujo ff91306127 Add a regrtest cleanup check for shutil registries 2011-11-29 16:45:07 +01:00
Éric Araujo a2b89e364f Fix last remaining references to ex-devguide 2011-11-29 16:36:17 +01:00
Éric Araujo 2bddc53cb9 Fix typo (#13467) 2011-11-29 16:34:58 +01:00