Georg Brandl
0c65fe606e
Fix synopsis.
2008-05-01 18:24:32 +00:00
Benjamin Peterson
80ef62e37d
Fix typo in whatsnew
2008-04-30 22:03:36 +00:00
Benjamin Peterson
95287fa951
Remove some from __future__ import with_statements
2008-04-30 21:25:55 +00:00
Georg Brandl
655fc7012a
#1748 : use functools.wraps instead of rolling own metadata update.
2008-04-30 21:08:42 +00:00
Benjamin Peterson
d8f2d0bdb3
make test_support's captured_output a bit more robust when exceptions happen
2008-04-30 21:03:58 +00:00
Georg Brandl
63b0a2eb21
#2727 : clarify tp_iternext docs.
2008-04-30 20:02:37 +00:00
Georg Brandl
28e0873f1f
#2719 : backport next() from 3k.
2008-04-30 19:47:09 +00:00
Andrew M. Kuchling
46d6b689b2
Typo fix
2008-04-30 16:19:55 +00:00
Nick Coghlan
31f631539e
Update command line usage documentation to reflect 2.6 changes (also includes some minor cleanups). Addresses TODO list issue 2258
2008-04-30 14:23:36 +00:00
Eric Smith
0a95063d73
Issue 2526, float.__format__ 'n' specifier does not support thousands grouping.
...
Implemented grouping, with tests.
Cleaned up PyOS_ascii_formatd by breaking reformatting into smaller functions.
2008-04-30 01:09:30 +00:00
Martin v. Löwis
48f6276ddc
Add Rodrigo and Heiko.
2008-04-29 06:10:53 +00:00
Andrew M. Kuchling
805cdd894f
Strip down SSL docs; I'm not managing to get test programs working, so I'll just give a minimal description
2008-04-29 02:03:54 +00:00
Amaury Forgeot d'Arc
87da1278eb
test_sundry performs minimal tests (a simple import...) on modules that are not tested otherwise.
...
Some of them now have tests and can be removed.
Only 70 to go...
2008-04-28 21:07:06 +00:00
Georg Brandl
e8559916fb
Fix markup.
2008-04-28 05:16:30 +00:00
Brett Cannon
8dc4303297
Rename the test_traceback_print() function to traceback_print() to prevent
...
test_capi from automatically calling the function.
2008-04-28 04:50:06 +00:00
Skip Montanaro
b8bdbc04e7
Get rid of _test(), _main(), _debug() and _check(). Tests are no longer
...
needed (better set available in Lib/test/test_robotparser.py). Clean up a
few PEP 8 nits (compound statements on a single line, whitespace around
operators).
2008-04-28 03:27:53 +00:00
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
Armin Rigo
5364e2e46f
A new crasher.
2008-04-25 09:35:18 +00:00
Neal Norwitz
2b0bea5d27
Fix typo (now -> no)
2008-04-25 03:40:17 +00:00
Benjamin Peterson
c7b05920d6
reformat some documentation of classes so methods and attributes are under the class directive
2008-04-25 01:29:10 +00:00
Amaury Forgeot d'Arc
1c596d5604
Use absolute import for test package
2008-04-24 20:41:50 +00:00
Amaury Forgeot d'Arc
747720540c
Add a few tests for pydoc.
...
This is a modified version of a patch proposed by Humberto Diogenes
in the discussion of issue1883.
I will merge manually this change into the py3k branch: the tests must be adapted.
2008-04-24 20:22:26 +00:00
Amaury Forgeot d'Arc
48ebc264f8
Disable gc when running test_trace, or we may record the __del__ of collected objects.
...
See http://mail.python.org/pipermail/python-checkins/2008-April/068633.html
the extra events perfectly match several calls to socket._fileobject.__del__()
2008-04-24 20:10:26 +00:00
Thomas Heller
bf027c48c8
Remove cyclic reference in CFuncPtr instances; see issue #2682 .
...
Backport candidate for the release25-maint branch.
2008-04-24 18:14:19 +00:00
Amaury Forgeot d'Arc
5216721a53
Issue2681: the literal 0o8 was wrongly accepted, and evaluated as float(0.0).
...
This happened only when 8 is the first digit.
Credits go to Lukas Meuser.
2008-04-24 18:07:05 +00:00
Martin v. Löwis
11034c6c16
Add Jesus Cea.
2008-04-24 13:18:03 +00:00