Commit Graph

45528 Commits

Author SHA1 Message Date
Brett Cannon ce71ab2d69 Re-arrange and clarify some __future__ import statements.
The absolute_import statement got moved to a new Python 2.5 and Newer section
as it was available since then. The division statement got moved to Common
Gotchas since it has been around for so long that any modern Python program can
use it.
2011-02-05 22:05:05 +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
Martin v. Löwis 738236dbd6 Issue #11067: Add PyType_GetFlags, to support PyUnicode_Check
in the limited ABI
2011-02-05 20:35:29 +00:00
Martin v. Löwis 9b142aaae8 Issue #11121: Fix building with --enable-shared. 2011-02-05 20:26:52 +00:00
Éric Araujo 5405a0b3d3 Use an internal reference instead of hard-coded URI. 2011-02-05 16:03:12 +00:00
Antoine Pitrou bd866e972c Everybody hates this one :) (bytes indexing) 2011-02-05 12:13:38 +00:00
Antoine Pitrou e6a1464b89 Soften the wording about tracebacks. Reference cycles *don't*
prevent garbage collection! (fortunately)
2011-02-05 12:01:07 +00:00
Antoine Pitrou 5c28cfdc0c Fix entries pertaining to file I/O 2011-02-05 11:53:39 +00:00
Antoine Pitrou 8d8f7c5e01 Mention -b and -bb 2011-02-05 11:40:05 +00:00
Antoine Pitrou 7095721d3e Mention asyncore and Twisted in the library FAQ. 2011-02-05 11:24:15 +00:00
Antoine Pitrou 11480b6fe3 Mention concurrent.futures and update answers about the GIL. 2011-02-05 11:18:34 +00:00
Antoine Pitrou f7005243e5 Update test of "why is Python installed" FAQ. 2011-02-05 11:04:01 +00:00
Antoine Pitrou 09264b66f2 Mention Cython and remove obsolete alternatives 2011-02-05 10:57:17 +00:00
Antoine Pitrou eb50ba5ab7 Update info in the GUI FAQ 2011-02-05 10:43:57 +00:00
Brett Cannon e144507b09 There was a possibility that the initialization of _sqlite, when it failed,
would lead to a decref of a NULL.

Fixes issue #11110.
2011-02-04 20:24:02 +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
Martin v. Löwis d77520a426 Issue #11118: Fix bogus export of None in python3.dll. 2011-02-04 19:09:02 +00:00
Brett Cannon 4b0c24a3ae use 3-space indents. 2011-02-03 22:14:58 +00:00
Brett Cannon 8045d97819 Add a HOWTO on how to port from Python 2 to Python 3. 2011-02-03 22:01:54 +00:00
Georg Brandl 6153604bc7 Remove lots of spaces within exception message. 2011-02-03 07:46:41 +00:00
Georg Brandl e951e917c6 Punctuation typos. 2011-02-03 07:08:25 +00:00
Raymond Hettinger 0446b21a51 Punctuation typo. 2011-02-02 21:12:39 +00:00
Raymond Hettinger 6d7e26e959 Get command-line doctest of Lib/decimal.py to work again.
If tested as '__main__' instead 'decimal', the tracebacks would
abbreviate 'decimal.Inexact' as 'Inexact', breaking the doctests.

(Reviewed by Antoine.)
2011-02-01 23:54:43 +00:00
Antoine Pitrou 19cc9e183f Add a svn:ignore for PC/python3dll.obj 2011-02-01 23:43:46 +00:00
Eric Smith 7b5011b4a3 Wording fix. 2011-02-01 21:31:22 +00:00
Antoine Pitrou 0ea622a5c8 Issue #8275: Fix passing of callback arguments with ctypes under Win64.
Patch by Stan Mihai. Ok'ed by Georg.
2011-01-31 21:08:57 +00:00
Brian Curtin bd0c897332 #11083 typo: RuntimeException -> RuntimeError 2011-01-31 19:35:02 +00:00
Alexander Belopolsky f0313560e0 Issue #11081: Fixed struct.__all__. Reviewed by Georg Brandl. 2011-01-31 19:27:55 +00:00
Georg Brandl 6b449baa83 Post-release updates. 2011-01-31 10:39:57 +00:00
Raymond Hettinger 92acd67756 Recommend use of the tracker during the RC phase or just before a beta. 2011-01-31 06:34:47 +00:00
Raymond Hettinger 9c2fc47788 Fix minor grammar nits.
Revert r88272 -- the examples are more readable with spacing.
Add todos for difflib and logging.
2011-01-31 06:14:48 +00:00
Eli Bendersky e2ae80730d Mention new parameter and attributes of the difflib.SequenceMatcher class added in 3.2 (issue 2986) 2011-01-31 04:21:40 +00:00
Eli Bendersky f30793a6bb Fix PEP-8 violation in argparse usage example (similar examples in argparse.rst do follow PEP-8) 2011-01-31 04:10:23 +00:00
Eli Bendersky d7cde5daff Fix some grammar and typos 2011-01-31 04:05:52 +00:00
Georg Brandl ffaa692a9e Tagging release 3.2 rc 2. 2011-01-30 14:05:04 +00:00
Georg Brandl d6e19c3513 Bump version. 2011-01-30 14:03:33 +00:00
Georg Brandl 6ddc16b41e Update suspicious ignore file. 2011-01-30 14:02:36 +00:00
Georg Brandl 56632b4e9b Update pydoc topics. 2011-01-30 14:00:32 +00:00
Georg Brandl 0f6b47a338 #10680: fix mutually exclusive arguments in argument groups. 2011-01-30 12:19:35 +00:00
Georg Brandl d2f3857c40 #10961: fix exception handling in new pydoc server code.
Patch by Ron Adam, reviewed by Eric Araujo.
2011-01-30 08:37:19 +00:00
Raymond Hettinger ce227e3518 Clarify the status of get_string() and recommend using the binary API. 2011-01-30 08:20:37 +00:00
Georg Brandl d163c2c57b #11069: fix the IDLE Stack Viewer, by not using "list" as a variable name.
Original patch by Brian Curtin, reviewed by me.
2011-01-30 08:16:07 +00:00
Raymond Hettinger 994d38059a Add entry for the mailbox fixups. 2011-01-30 07:56:03 +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 b02f7c00ae List known build/install problems for OS X. 2011-01-30 05:37:16 +00:00
Nick Coghlan 793ee1f8a8 Issue #10845: Improve compatibility between multiprocessing on Windows and package, zipfile and directory execution (Reviewed by Antoine Pitrou and approved by Georg Brandl) 2011-01-30 01:24:08 +00:00
Raymond Hettinger c7bb159acd Markup nits. 2011-01-30 01:10:07 +00:00
Raymond Hettinger 62399747a5 Add section for http.client.
Link to OS X build instructions.
Add back issue references for datetime.
2011-01-30 00:55:47 +00:00
Raymond Hettinger 519c308939 Typos. 2011-01-30 00:39:00 +00:00
Éric Araujo ac4e58eb61 Protect logging call against None argument (fixes #11045).
Initial patch by Kelsey Hightower.  Approved by Raymond.  A test was
non-trivial to write without calling the private function directly, so
we moved that for later.
2011-01-29 20:32:11 +00:00