]>
granicus.if.org Git - python/log
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
Benjamin Peterson [Sun, 13 Apr 2008 20:35:56 +0000 (20:35 +0000)]
#2627 Let it be known what pgen generates
Brett Cannon [Sun, 13 Apr 2008 17:41:31 +0000 (17:41 +0000)]
Fix spliting on colons on Windows machines with a file path by limiting the
number of splits.
Brett Cannon [Sun, 13 Apr 2008 17:09:43 +0000 (17:09 +0000)]
Add an explicit check for output in a test to try to diagnose a failure on
Windows.
Christian Heimes [Sun, 13 Apr 2008 09:37:05 +0000 (09:37 +0000)]
Added new files to the pcbuild files
Christian Heimes [Sun, 13 Apr 2008 09:33:24 +0000 (09:33 +0000)]
Use PyString_InternFromString instead of PyString_FromString for static vars
Christian Heimes [Sun, 13 Apr 2008 09:30:17 +0000 (09:30 +0000)]
Fix compiler warning Include/warnings.h:19:28: warning: no newline at end of file
Georg Brandl [Sun, 13 Apr 2008 07:07:44 +0000 (07:07 +0000)]
Fix markup.
Skip Montanaro [Sun, 13 Apr 2008 03:17:30 +0000 (03:17 +0000)]
spelling
Brett Cannon [Sun, 13 Apr 2008 02:42:36 +0000 (02:42 +0000)]
Fix test_warnings by making the state of things more consistent for each test
when it is run.
Benjamin Peterson [Sun, 13 Apr 2008 02:20:05 +0000 (02:20 +0000)]
Give the "Interactive Interpreter Changes" section in 2.6 whatsnew a unique link name
Benjamin Peterson [Sun, 13 Apr 2008 02:05:48 +0000 (02:05 +0000)]
Backport the removal of a __repr__ from 62251
Benjamin Peterson [Sun, 13 Apr 2008 02:01:27 +0000 (02:01 +0000)]
Backported io module docs
Andrew M. Kuchling [Sun, 13 Apr 2008 01:05:59 +0000 (01:05 +0000)]
Mention -J, -X
Brett Cannon [Sun, 13 Apr 2008 00:25:15 +0000 (00:25 +0000)]
Fix an accidental bug of an non-existent init function.
Brett Cannon [Sun, 13 Apr 2008 00:18:44 +0000 (00:18 +0000)]
Fix a bug in PySys_HasWarnOption() where it was not properly checking the
length of the list storing the warning options.
Gregory P. Smith [Sun, 13 Apr 2008 00:03:25 +0000 (00:03 +0000)]
Adds a profile-opt target for easy compilation of a python binary using
gcc's profile guided optimization.
Brett Cannon [Sat, 12 Apr 2008 23:44:07 +0000 (23:44 +0000)]
Re-implement the 'warnings' module in C. This allows for usage of the
'warnings' code in places where it was previously not possible (e.g., the
parser). It could also potentially lead to a speed-up in interpreter start-up
if the C version of the code (_warnings) is imported over the use of the
Python version in key places.
Closes issue #
1631171 .
Gregory P. Smith [Sat, 12 Apr 2008 22:24:04 +0000 (22:24 +0000)]
socket.error inherits from IOError, it no longer needs listing in
the all_errors tuple.
Gregory P. Smith [Sat, 12 Apr 2008 20:37:48 +0000 (20:37 +0000)]
fix compiler warnings
Georg Brandl [Sat, 12 Apr 2008 19:05:37 +0000 (19:05 +0000)]
Don't offend snake lovers.
Georg Brandl [Sat, 12 Apr 2008 19:00:20 +0000 (19:00 +0000)]
Add Jeroen.
Georg Brandl [Sat, 12 Apr 2008 18:36:09 +0000 (18:36 +0000)]
#2615: small consistency update by Jeroen Ruigrok van der Werven.
Georg Brandl [Sat, 12 Apr 2008 18:11:18 +0000 (18:11 +0000)]
Use absolute path in sys.path.
Christian Heimes [Sat, 12 Apr 2008 13:03:03 +0000 (13:03 +0000)]
Applied patch #2617 from Frank Wierzbicki wit some extras from me
-J and -X are now reserved for Jython and non-standard arguments (e.g. IronPython). I've added some extra comments to make sure the reservation don't get missed in the future.
Thomas Heller [Fri, 11 Apr 2008 14:20:26 +0000 (14:20 +0000)]
Performance improvements.
Thomas Heller [Fri, 11 Apr 2008 13:05:38 +0000 (13:05 +0000)]
Move backwards compatibility macro to the correct place;
PyIndex_Check() was introduced in Python 2.5.
Andrew M. Kuchling [Thu, 10 Apr 2008 21:29:01 +0000 (21:29 +0000)]
Use issue directive
Andrew M. Kuchling [Thu, 10 Apr 2008 21:28:51 +0000 (21:28 +0000)]
Add punctuation
Andrew M. Kuchling [Thu, 10 Apr 2008 21:27:10 +0000 (21:27 +0000)]
Remove forward-looking statement
Gregory P. Smith [Thu, 10 Apr 2008 19:50:36 +0000 (19:50 +0000)]
get rid of assert (size >= 0) now that an explicit if (size < 0) is in the code.
Neal Norwitz [Thu, 10 Apr 2008 05:46:39 +0000 (05:46 +0000)]
Remove the test file before writing it in case there is no write permission.
This might help fix some of the failures on Windows box(es). It doesn't hurt
either way and ensure the tests are a little more self contained (ie have
less assumptions).
Martin v. Löwis [Thu, 10 Apr 2008 02:48:01 +0000 (02:48 +0000)]
Merged revisions 62080-62262 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r62092 | collin.winter | 2008-04-01 18:27:10 +0200 (Di, 01 Apr 2008) | 1 line
Add get_prev_sibling() to complement pytree's get_next_sibling().
........
r62226 | collin.winter | 2008-04-08 21:07:56 +0200 (Di, 08 Apr 2008) | 1 line
Add min() and max() to the list of special contexts that don't require adding list() calls around dict methods.
........
r62232 | collin.winter | 2008-04-09 00:12:38 +0200 (Mi, 09 Apr 2008) | 4 lines
Fix for http://bugs.python.org/issue2596
This extends fix_xrange to know about the (mostly) same special contexts as fix_dict (where a special context is something that is guaranteed to fully consume the iterable), adding list() calls where appropriate. It also special-cases "x in range(y)".
........
Gregory P. Smith [Wed, 9 Apr 2008 23:16:37 +0000 (23:16 +0000)]
Raise SystemError when size < 0 is passed into PyString_FromStringAndSize,
PyBytes_FromStringAndSize or PyUnicode_FromStringAndSize. [issue2587]
Gregory P. Smith [Wed, 9 Apr 2008 23:11:56 +0000 (23:11 +0000)]
better diagnostics
Andrew M. Kuchling [Wed, 9 Apr 2008 22:28:43 +0000 (22:28 +0000)]
Try out the new issue role. Thanks, Georg!
Martin v. Löwis [Wed, 9 Apr 2008 18:56:20 +0000 (18:56 +0000)]
Package wininst*.exe from distutils/command.
Gregory P. Smith [Wed, 9 Apr 2008 18:18:43 +0000 (18:18 +0000)]
Add a note about the zlib.decompressobj().flush() fix.
Georg Brandl [Wed, 9 Apr 2008 17:58:56 +0000 (17:58 +0000)]
Add :issue: directive for easy linking to bugs.python.org.
Georg Brandl [Wed, 9 Apr 2008 17:57:38 +0000 (17:57 +0000)]
#2585: initialize code attribute of HTTPError.
Jerry Seutter [Wed, 9 Apr 2008 05:07:58 +0000 (05:07 +0000)]
Changed test so it no longer runs as a side effect of importing.
Andrew M. Kuchling [Wed, 9 Apr 2008 01:08:32 +0000 (01:08 +0000)]
Add items
Trent Nelson [Wed, 9 Apr 2008 00:34:53 +0000 (00:34 +0000)]
Fix typo with regards to self.PORT shadowing class variables with the same name.