]>
granicus.if.org Git - python/log
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.
Christian Heimes [Sat, 19 Apr 2008 02:23:57 +0000 (02:23 +0000)]
Added kill, terminate and send_signal to subprocess.Popen
The bits and pieces for the Windows side were already in place. The POSIX side is trivial (as usual) and uses os.kill().
Christian Heimes [Fri, 18 Apr 2008 23:49:11 +0000 (23:49 +0000)]
Stupid me. Py_RETURN_NAN should actually return something ...
Christian Heimes [Fri, 18 Apr 2008 23:40:40 +0000 (23:40 +0000)]
Added new files to Windows project files
More Windows related fixes are coming soon
Amaury Forgeot d'Arc [Fri, 18 Apr 2008 23:31:33 +0000 (23:31 +0000)]
Some tests did not pass on repeated calls (regrtest -R::)
Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry.
Christian Heimes [Fri, 18 Apr 2008 23:13:07 +0000 (23:13 +0000)]
I finally got the time to update and merge Mark's and my trunk-math branch. The patch is collaborated work of Mark Dickinson and me. It was mostly done a few months ago. The patch fixes a lot of loose ends and edge cases related to operations with NaN, INF, very small values and complex math.
The patch also adds acosh, asinh, atanh, log1p and copysign to all platforms. Finally it fixes differences between platforms like different results or exceptions for edge cases. Have fun :)
Benjamin Peterson [Fri, 18 Apr 2008 20:45:33 +0000 (20:45 +0000)]
Fix indentation in sysmodule.c
Skip Montanaro [Fri, 18 Apr 2008 20:35:46 +0000 (20:35 +0000)]
resolve issue 2014
Andrew M. Kuchling [Fri, 18 Apr 2008 18:39:55 +0000 (18:39 +0000)]
Rewrite introductory section, and remove old section. (It was already commented-out, but why keep it?)
Andrew M. Kuchling [Fri, 18 Apr 2008 18:28:23 +0000 (18:28 +0000)]
Remove personal note from Jim Roskind; it no longer applies, and the
e-mail address is for a previous employer.
Can we move the big long copyright statement into a sidebar or something?
Andrew M. Kuchling [Fri, 18 Apr 2008 16:53:09 +0000 (16:53 +0000)]
#2654: fix typo
Andrew M. Kuchling [Fri, 18 Apr 2008 02:40:47 +0000 (02:40 +0000)]
Use correct parameter name
Andrew M. Kuchling [Thu, 17 Apr 2008 20:44:06 +0000 (20:44 +0000)]
Typo fixes
Jeroen Ruigrok van der Werven [Thu, 17 Apr 2008 12:39:45 +0000 (12:39 +0000)]
Be consistent in the use of read-only.
Raymond Hettinger [Thu, 17 Apr 2008 10:48:31 +0000 (10:48 +0000)]
Issue 2648: Add leading zero to money format recipe in the docs.
Jeroen Ruigrok van der Werven [Wed, 16 Apr 2008 12:57:43 +0000 (12:57 +0000)]
Add details about the return value for mmap.flush().
Jeroen Ruigrok van der Werven [Wed, 16 Apr 2008 12:47:01 +0000 (12:47 +0000)]
Reformat to 80 columns prior to adding documentation.
Mark Dickinson [Tue, 15 Apr 2008 20:51:18 +0000 (20:51 +0000)]
Fix for possible signed overflow: the behaviour of -LONG_MIN is
undefined in ANSI C.
Andrew M. Kuchling [Tue, 15 Apr 2008 13:10:41 +0000 (13:10 +0000)]
Typo fix
Andrew M. Kuchling [Tue, 15 Apr 2008 13:10:07 +0000 (13:10 +0000)]
Add *,**,@ to index, as suggested by
http://farmdev.com/thoughts/24/what-does-the-def-star-variable-or-def-asterisk-parameter-syntax-do-in-python-/
The right entry type to use isn't clear; operator seems wrong, because *,**,@
aren't being used in expressions here. I put them as 'statement'; 'syntax'
might be better.
Benjamin Peterson [Tue, 15 Apr 2008 11:58:46 +0000 (11:58 +0000)]
Add myself to Doc/ACKS.txt
Nick Coghlan [Tue, 15 Apr 2008 10:28:14 +0000 (10:28 +0000)]
Add test file missing from rev 62350
Nick Coghlan [Tue, 15 Apr 2008 10:25:31 +0000 (10:25 +0000)]
Issue 2439: add pkgutils.get_data() as a convenience wrapper for the PEP 302 get_data() API (contributed by Paul Moore)
Neal Norwitz [Tue, 15 Apr 2008 03:46:21 +0000 (03:46 +0000)]
Prevent namespace pollution, add static for internal functions
Andrew M. Kuchling [Tue, 15 Apr 2008 02:24:15 +0000 (02:24 +0000)]
Various items; begin writing the SSL section
Alexandre Vassalotti [Mon, 14 Apr 2008 22:40:08 +0000 (22:40 +0000)]
Backport manually r62342 from the py3k branch to the trunk.
Amaury Forgeot d'Arc [Mon, 14 Apr 2008 20:07:48 +0000 (20:07 +0000)]
Correct a refleak found by "regrtest.py -R:: test_structmembers"
Some other minor updates in _warnings.c:
- make a function static
- rename a shadowing local variable
Amaury Forgeot d'Arc [Mon, 14 Apr 2008 19:55:40 +0000 (19:55 +0000)]
Update project files for all Windows supported compilers
Thomas Heller [Mon, 14 Apr 2008 16:10:07 +0000 (16:10 +0000)]
Issue #2616: Implement ctypes.pointer() and ctypes.POINTER() in C for
better performance.
Andrew M. Kuchling [Sun, 13 Apr 2008 22:39:12 +0000 (22:39 +0000)]
Add example
Georg Brandl [Sun, 13 Apr 2008 20:51:27 +0000 (20:51 +0000)]
Check out Jinja as a separate step now that it's not included in the Sphinx package anymore.
Georg Brandl [Sun, 13 Apr 2008 20:50:29 +0000 (20:50 +0000)]
Improve -X error message.
Benjamin Peterson [Sun, 13 Apr 2008 20:40:03 +0000 (20:40 +0000)]
Added an ignore file for Bazaar #2510