]>
granicus.if.org Git - python/log
Georg Brandl [Thu, 1 May 2008 18:24:32 +0000 (18:24 +0000)]
Fix synopsis.
Benjamin Peterson [Wed, 30 Apr 2008 22:03:36 +0000 (22:03 +0000)]
Fix typo in whatsnew
Benjamin Peterson [Wed, 30 Apr 2008 21:25:55 +0000 (21:25 +0000)]
Remove some from __future__ import with_statements
Georg Brandl [Wed, 30 Apr 2008 21:08:42 +0000 (21:08 +0000)]
#1748: use functools.wraps instead of rolling own metadata update.
Benjamin Peterson [Wed, 30 Apr 2008 21:03:58 +0000 (21:03 +0000)]
make test_support's captured_output a bit more robust when exceptions happen
Georg Brandl [Wed, 30 Apr 2008 20:02:37 +0000 (20:02 +0000)]
#2727: clarify tp_iternext docs.
Georg Brandl [Wed, 30 Apr 2008 19:47:09 +0000 (19:47 +0000)]
#2719: backport next() from 3k.
Andrew M. Kuchling [Wed, 30 Apr 2008 16:19:55 +0000 (16:19 +0000)]
Typo fix
Nick Coghlan [Wed, 30 Apr 2008 14:23:36 +0000 (14:23 +0000)]
Update command line usage documentation to reflect 2.6 changes (also includes some minor cleanups). Addresses TODO list issue 2258
Eric Smith [Wed, 30 Apr 2008 01:09:30 +0000 (01:09 +0000)]
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.
Martin v. Löwis [Tue, 29 Apr 2008 06:10:53 +0000 (06:10 +0000)]
Add Rodrigo and Heiko.
Andrew M. Kuchling [Tue, 29 Apr 2008 02:03:54 +0000 (02:03 +0000)]
Strip down SSL docs; I'm not managing to get test programs working, so I'll just give a minimal description
Amaury Forgeot d'Arc [Mon, 28 Apr 2008 21:07:06 +0000 (21:07 +0000)]
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...
Georg Brandl [Mon, 28 Apr 2008 05:16:30 +0000 (05:16 +0000)]
Fix markup.
Brett Cannon [Mon, 28 Apr 2008 04:50:06 +0000 (04:50 +0000)]
Rename the test_traceback_print() function to traceback_print() to prevent
test_capi from automatically calling the function.
Skip Montanaro [Mon, 28 Apr 2008 03:27:53 +0000 (03:27 +0000)]
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).
Skip Montanaro [Mon, 28 Apr 2008 03:25:37 +0000 (03:25 +0000)]
Wrap some long lines.
Brett Cannon [Mon, 28 Apr 2008 03:23:50 +0000 (03:23 +0000)]
Fix a bug introduced by the warnings rewrite where tracebacks were being
improperly indented.
Closes issue #2699.
Skip Montanaro [Mon, 28 Apr 2008 02:59:45 +0000 (02:59 +0000)]
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.
Skip Montanaro [Mon, 28 Apr 2008 02:57:23 +0000 (02:57 +0000)]
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.
Skip Montanaro [Sun, 27 Apr 2008 22:52:02 +0000 (22:52 +0000)]
Wrap some long paragraphs and include the default values for optional
function parameters.
Skip Montanaro [Sun, 27 Apr 2008 22:49:56 +0000 (22:49 +0000)]
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.
Kurt B. Kaiser [Sun, 27 Apr 2008 21:52:19 +0000 (21:52 +0000)]
Autocompletion of filenames now support alternate separators, e.g. the
'/' char on Windows. Patch 2061 Tal Einat.
Kurt B. Kaiser [Sun, 27 Apr 2008 21:38:05 +0000 (21:38 +0000)]
Improved AutoCompleteWindow logic. Patch 2062 Tal Einat.
Kurt B. Kaiser [Sun, 27 Apr 2008 21:07:41 +0000 (21:07 +0000)]
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
Skip Montanaro [Sun, 27 Apr 2008 20:53:57 +0000 (20:53 +0000)]
minor wording changes, rewrap a few lines
Georg Brandl [Sun, 27 Apr 2008 20:03:05 +0000 (20:03 +0000)]
Add OpenSearch and a Python logo to the HTML output.
Benjamin Peterson [Sun, 27 Apr 2008 18:40:21 +0000 (18:40 +0000)]
A little reformating of Py3k warnings
Benjamin Peterson [Sun, 27 Apr 2008 18:14:39 +0000 (18:14 +0000)]
#2700 Document PyNumber_ToBase
Georg Brandl [Sun, 27 Apr 2008 17:38:55 +0000 (17:38 +0000)]
Use correct XHTML tags.
Georg Brandl [Sun, 27 Apr 2008 09:39:59 +0000 (09:39 +0000)]
#2677: add note that not all functions may accept keyword args.
Benjamin Peterson [Sun, 27 Apr 2008 03:01:45 +0000 (03:01 +0000)]
Use PyErr_WarnPy3k throughout
Benjamin Peterson [Sun, 27 Apr 2008 02:28:02 +0000 (02:28 +0000)]
Added PyErr_WarnPy3k function. (issue 2671) I will be converting current Py3k warnings to the use of this function soon.
Alexandre Vassalotti [Sun, 27 Apr 2008 00:52:24 +0000 (00:52 +0000)]
Fixed URL of PEP 205 in weakref's module docstring.
Georg Brandl [Sat, 26 Apr 2008 18:32:17 +0000 (18:32 +0000)]
Add missing return type to dealloc.
Georg Brandl [Sat, 26 Apr 2008 18:31:07 +0000 (18:31 +0000)]
#2691: document PyLong (s)size_t APIs, patch by Alexander Belopolsky.
Georg Brandl [Sat, 26 Apr 2008 18:25:43 +0000 (18:25 +0000)]
#2668: nit in apply() docs.
Benjamin Peterson [Fri, 25 Apr 2008 21:43:56 +0000 (21:43 +0000)]
Allow test_import to work when it is invoked directly
Mark Dickinson [Fri, 25 Apr 2008 16:59:09 +0000 (16:59 +0000)]
Issue 2635: fix bug in the fix_sentence_endings option to textwrap.fill.
Mark Dickinson [Fri, 25 Apr 2008 16:11:04 +0000 (16:11 +0000)]
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.
Thomas Heller [Fri, 25 Apr 2008 15:44:16 +0000 (15:44 +0000)]
Add from_buffer and from_buffer_copy class methods to ctypes types.
Armin Rigo [Fri, 25 Apr 2008 09:35:18 +0000 (09:35 +0000)]
A new crasher.
Neal Norwitz [Fri, 25 Apr 2008 03:40:17 +0000 (03:40 +0000)]
Fix typo (now -> no)
Benjamin Peterson [Fri, 25 Apr 2008 01:29:10 +0000 (01:29 +0000)]
reformat some documentation of classes so methods and attributes are under the class directive
Amaury Forgeot d'Arc [Thu, 24 Apr 2008 20:41:50 +0000 (20:41 +0000)]
Use absolute import for test package
Amaury Forgeot d'Arc [Thu, 24 Apr 2008 20:22:26 +0000 (20:22 +0000)]
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.
Amaury Forgeot d'Arc [Thu, 24 Apr 2008 20:10:26 +0000 (20:10 +0000)]
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__()
Thomas Heller [Thu, 24 Apr 2008 18:14:19 +0000 (18:14 +0000)]
Remove cyclic reference in CFuncPtr instances; see issue #2682.
Backport candidate for the release25-maint branch.
Amaury Forgeot d'Arc [Thu, 24 Apr 2008 18:07:05 +0000 (18:07 +0000)]
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.
Martin v. Löwis [Thu, 24 Apr 2008 13:18:03 +0000 (13:18 +0000)]
Add Jesus Cea.
Martin v. Löwis [Thu, 24 Apr 2008 13:17:24 +0000 (13:17 +0000)]
Fix typo.
Martin v. Löwis [Thu, 24 Apr 2008 13:16:36 +0000 (13:16 +0000)]
Remove Py_Refcnt, Py_Type, Py_Size, as they were added only
for backwards compatibility, yet 2.5 did not have them at all.
Martin v. Löwis [Thu, 24 Apr 2008 09:50:50 +0000 (09:50 +0000)]
Add Guilherme Polo.
Benjamin Peterson [Wed, 23 Apr 2008 20:38:06 +0000 (20:38 +0000)]
#2673 Fix example typo in optparse docs
Gregory P. Smith [Wed, 23 Apr 2008 01:06:42 +0000 (01:06 +0000)]
syntax fixup
Skip Montanaro [Tue, 22 Apr 2008 22:45:09 +0000 (22:45 +0000)]
Factor in documentation changes from issue
1753732 .
Amaury Forgeot d'Arc [Tue, 22 Apr 2008 21:14:41 +0000 (21:14 +0000)]
Issue #2670: urllib2.build_opener() failed when two handlers
derive the same default base class.
Will backport.
Gregory P. Smith [Tue, 22 Apr 2008 08:11:33 +0000 (08:11 +0000)]
update the getpass entry
Gregory P. Smith [Tue, 22 Apr 2008 08:08:41 +0000 (08:08 +0000)]
Major improvements:
* Default to using /dev/tty for the password prompt and input before
falling back to sys.stdin and sys.stderr.
* Use sys.stderr instead of sys.stdout.
* print the 'password may be echoed' warning to stream used to display
the prompt rather than always sys.stderr.
* warn() with GetPassWarning when input may be echoed.
Neal Norwitz [Tue, 22 Apr 2008 05:07:47 +0000 (05:07 +0000)]
Add Thomas Lee
Benjamin Peterson [Tue, 22 Apr 2008 02:16:03 +0000 (02:16 +0000)]
Various io doc updates
Mark Dickinson [Tue, 22 Apr 2008 00:54:27 +0000 (00:54 +0000)]
Make configure test for tanh(-0.) == -0. committed in r62447 actually
work. (The test wasn't properly linked with libm. Sigh.)
Benjamin Peterson [Mon, 21 Apr 2008 22:57:00 +0000 (22:57 +0000)]
Fix Sphinx warnings
Amaury Forgeot d'Arc [Mon, 21 Apr 2008 22:35:30 +0000 (22:35 +0000)]
Issue 2665: On Windows, sys.stderr does not contain a valid file when running without a console.
It seems to work, but will fail at the first flush.
This causes IDLE to crash when too many warnings are printed.
Will backport.
Mark Dickinson [Mon, 21 Apr 2008 22:32:24 +0000 (22:32 +0000)]
test_math and test_cmath are failing on the FreeBSD 6.2 trunk buildbot,
apparently because tanh(-0.) loses the sign of zero on that platform.
If true, this is a bug in FreeBSD.
Added a configure test to verify this. I still need to figure out
how best to deal with this failure.
Gregory P. Smith [Mon, 21 Apr 2008 21:31:08 +0000 (21:31 +0000)]
If sys.stdin is not a tty, fall back to default_getpass after printing
a warning instead of failing with a termios.error.
Jeroen Ruigrok van der Werven [Mon, 21 Apr 2008 20:15:39 +0000 (20:15 +0000)]
Windows x64 also falls under VER_PLATFORM_WIN32_NT.
Gregory P. Smith [Mon, 21 Apr 2008 17:46:40 +0000 (17:46 +0000)]
explicitly flush after the ... since there wasn't a newline
David Goodger [Mon, 21 Apr 2008 14:43:33 +0000 (14:43 +0000)]
capitalization
David Goodger [Mon, 21 Apr 2008 14:40:22 +0000 (14:40 +0000)]
corrections ("reStructuredText" is one word)
Thomas Heller [Mon, 21 Apr 2008 13:46:55 +0000 (13:46 +0000)]
Fix typo.
Benjamin Peterson [Mon, 21 Apr 2008 11:57:40 +0000 (11:57 +0000)]
Moved Mark SummerField's io doc changes back to the trunk. (He will edit here in the future.)
Andrew M. Kuchling [Mon, 21 Apr 2008 02:14:24 +0000 (02:14 +0000)]
Add various items
Andrew M. Kuchling [Mon, 21 Apr 2008 02:08:13 +0000 (02:08 +0000)]
Wording changes
Andrew M. Kuchling [Mon, 21 Apr 2008 02:08:00 +0000 (02:08 +0000)]
Markup fix
Mark Dickinson [Mon, 21 Apr 2008 01:55:50 +0000 (01:55 +0000)]
Silence 'r may be used uninitialized' compiler warning.
Andrew M. Kuchling [Mon, 21 Apr 2008 01:45:57 +0000 (01:45 +0000)]
Comment typo
Mark Dickinson [Sun, 20 Apr 2008 21:39:04 +0000 (21:39 +0000)]
math.atan2 is misbehaving on Windows; this patch
should fix the problem in the same way that
the cmath.phase problems were fixed.
Amaury Forgeot d'Arc [Sun, 20 Apr 2008 21:02:21 +0000 (21:02 +0000)]
Correct an apparent refleak in test_pkgutil: zipimport._zip_directory_cache contains
info for all processed zip files, even when they are no longer used.
Mark Dickinson [Sun, 20 Apr 2008 20:38:48 +0000 (20:38 +0000)]
Add test for tanh(-0.) == -0. on IEEE 754 systems
Mark Dickinson [Sun, 20 Apr 2008 18:30:05 +0000 (18:30 +0000)]
Even more fixes for alpha Tru64, this time for
the phase and polar methods.
Andrew M. Kuchling [Sun, 20 Apr 2008 16:54:02 +0000 (16:54 +0000)]
Move description of math module changes; various edits to description of cmath changes
Mark Dickinson [Sun, 20 Apr 2008 16:13:17 +0000 (16:13 +0000)]
Issue 2662: Initialize special value tables dynamically (i.e. when
cmath module is loaded) instead of statically. This fixes compile-time
problems on platforms where HUGE_VAL is an extern variable rather than
a constant.
Thanks Hirokazu Yamamoto for the patch.
Mark Dickinson [Sun, 20 Apr 2008 04:13:13 +0000 (04:13 +0000)]
Yet more explicit special case handling to make
math.pow behave on alpha Tru64. All IEEE 754
special values are now handled directly; only
the finite**finite case is handled by libm.
Mark Dickinson [Sun, 20 Apr 2008 01:39:24 +0000 (01:39 +0000)]
FreeBSD doesn't follow C99 for modf(inf); so add explicit
special-value handling to math.modf code.
Mark Dickinson [Sun, 20 Apr 2008 01:22:30 +0000 (01:22 +0000)]
Report additional diagnostic information in
test_math, to help track down debian-alpha
buildbot failure.
Mark Dickinson [Sat, 19 Apr 2008 21:49:22 +0000 (21:49 +0000)]
Move asinh documentation to the proper place.
Remove meaningless 'in radians' from inverse
hyperbolic functions.
Mark Dickinson [Sat, 19 Apr 2008 21:35:35 +0000 (21:35 +0000)]
Correct documentation for math.pow;
0**nan is nan, not 0. (But nan**0 and 1**nan are 1.)
Also fix minor typo: 'quite NaN' -> 'quiet NaN'
Georg Brandl [Sat, 19 Apr 2008 21:28:38 +0000 (21:28 +0000)]
Update template for newest Sphinx.
Mark Dickinson [Sat, 19 Apr 2008 20:31:16 +0000 (20:31 +0000)]
Document updates to math and cmath modules.
Benjamin Peterson [Sat, 19 Apr 2008 19:47:34 +0000 (19:47 +0000)]
Complete documentation for errors argument of io's open and TextIOWrapper
Mark Dickinson [Sat, 19 Apr 2008 19:41:52 +0000 (19:41 +0000)]
Additional special-case handling for math.pow.
Windows/VS2008 doesn't like (-1)**(+-inf).
Benjamin Peterson [Sat, 19 Apr 2008 19:34:05 +0000 (19:34 +0000)]
Copy io documentation back from py3k branch so changes can be merged into it.
Mark Dickinson [Sat, 19 Apr 2008 18:51:48 +0000 (18:51 +0000)]
Additional tests for math.pow, and extra special-case
handling code in math.pow, in the hope of making all
tests pass on the alpha Tru64 buildbot.
Georg Brandl [Sat, 19 Apr 2008 17:00:14 +0000 (17:00 +0000)]
:func: et al. should *not* include the parens.
Georg Brandl [Sat, 19 Apr 2008 16:59:16 +0000 (16:59 +0000)]
#2631: clarify IMPORT_NAME semantics.
Georg Brandl [Sat, 19 Apr 2008 16:58:49 +0000 (16:58 +0000)]
#2633: clarify meaning of env parameter.
Georg Brandl [Sat, 19 Apr 2008 16:58:28 +0000 (16:58 +0000)]
#2634: clarify meaning of env parameter to spawn/exec*e.
Georg Brandl [Sat, 19 Apr 2008 16:57:43 +0000 (16:57 +0000)]
#2369: clarify that copyfile() doesn't take a target directory.
Georg Brandl [Sat, 19 Apr 2008 08:23:59 +0000 (08:23 +0000)]
Fix-up docs for revision 62386.