Commit Graph

39126 Commits

Author SHA1 Message Date
Skip Montanaro
dfd982715b Wrap some long lines. 2008-04-28 03:25:37 +00:00
Brett Cannon
141534e56f Fix a bug introduced by the warnings rewrite where tracebacks were being
improperly indented.

Closes issue #2699.
2008-04-28 03:23:50 +00:00
Skip Montanaro
f30f6e8216 Correct documentation to match implementation: "Class" instead of
"class_descriptor", "Function" instead of "function_descriptor".  Note
default path value for readmodule*.  Wrap some long paragraphs.  Don't
mention 'inpackage' which isn't part of the public API.
2008-04-28 02:59:45 +00:00
Skip Montanaro
fe1372c7d5 Minor cleanups:
* Avoid creating unused local variables where we can.  Where we can't prefix
  the unused variables with '_'.
* Avoid shadowing builtins where it won't change the external interface of a
  function.
* Use None as default path arg to readmodule and readmodule_ex.
2008-04-28 02:57:23 +00:00
Skip Montanaro
798099279d Wrap some long paragraphs and include the default values for optional
function parameters.
2008-04-27 22:52:02 +00:00
Skip Montanaro
ea59a84244 A few small changes:
* The only exception we should catch when trying to import cStringIO is an
  ImportError.
* Delete the function signatures embedded in the mk*temp docstrings.
* The tempdir global variable was initialized twice.
2008-04-27 22:49:56 +00:00
Kurt B. Kaiser
83101909cb Autocompletion of filenames now support alternate separators, e.g. the
'/' char on Windows.  Patch 2061 Tal Einat.
2008-04-27 21:52:19 +00:00
Kurt B. Kaiser
9c5c0af804 Improved AutoCompleteWindow logic. Patch 2062 Tal Einat. 2008-04-27 21:38:05 +00:00
Kurt B. Kaiser
93cdae5f81 Home / Control-A toggles between left margin and end of leading white
space.  Patch 1196903 Jeff Shute.

M    idlelib/PyShell.py
M    idlelib/EditorWindow.py
M    idlelib/NEWS.txt
2008-04-27 21:07:41 +00:00
Skip Montanaro
ef1e58b6f3 minor wording changes, rewrap a few lines 2008-04-27 20:53:57 +00:00
Georg Brandl
4f1f36bcab Add OpenSearch and a Python logo to the HTML output. 2008-04-27 20:03:05 +00:00
Benjamin Peterson
f19a7b90bd A little reformating of Py3k warnings 2008-04-27 18:40:21 +00:00
Benjamin Peterson
fe4948bcef #2700 Document PyNumber_ToBase 2008-04-27 18:14:39 +00:00
Georg Brandl
7a69b4b464 Use correct XHTML tags. 2008-04-27 17:38:55 +00:00
Georg Brandl
f8770fb5e2 #2677: add note that not all functions may accept keyword args. 2008-04-27 09:39:59 +00:00
Benjamin Peterson
9f4f48114f Use PyErr_WarnPy3k throughout 2008-04-27 03:01:45 +00:00
Benjamin Peterson
a692c4df63 Added PyErr_WarnPy3k function. (issue 2671) I will be converting current Py3k warnings to the use of this function soon. 2008-04-27 02:28:02 +00:00
Alexandre Vassalotti
ba08f072d2 Fixed URL of PEP 205 in weakref's module docstring. 2008-04-27 00:52:24 +00:00
Georg Brandl
a6b79f3b11 Add missing return type to dealloc. 2008-04-26 18:32:17 +00:00
Georg Brandl
78b3ee8c7b #2691: document PyLong (s)size_t APIs, patch by Alexander Belopolsky. 2008-04-26 18:31:07 +00:00
Georg Brandl
a3bb57caee #2668: nit in apply() docs. 2008-04-26 18:25:43 +00:00
Benjamin Peterson
14204ad982 Allow test_import to work when it is invoked directly 2008-04-25 21:43:56 +00:00
Mark Dickinson
fe536f53ea Issue 2635: fix bug in the fix_sentence_endings option to textwrap.fill. 2008-04-25 16:59:09 +00:00
Mark Dickinson
6513466270 Issue #1496032. Add -mieee to BASECFLAGS on alpha, when gcc is
the compiler.  This should(?) help to fix failures in test_math
and test_cmath on Linux/alpha.

Also add configure message reporting the result of uname -m, as
a debugging aid.
2008-04-25 16:11:04 +00:00
Thomas Heller
6ad5fbb7ea Add from_buffer and from_buffer_copy class methods to ctypes types. 2008-04-25 15:44:16 +00:00