Martin v. Löwis
19dfa3e71a
Remove Py_Refcnt, Py_Type, Py_Size, as they were added only
...
for backwards compatibility, yet 2.5 did not have them at all.
2008-04-24 13:16:36 +00:00
Martin v. Löwis
5169891d54
Add Guilherme Polo.
2008-04-24 09:50:50 +00:00
Benjamin Peterson
c8590944e5
#2673 Fix example typo in optparse docs
2008-04-23 20:38:06 +00:00
Gregory P. Smith
6c6f4f7139
syntax fixup
2008-04-23 01:06:42 +00:00
Skip Montanaro
6d9aafa49d
Factor in documentation changes from issue 1753732.
2008-04-22 22:45:09 +00:00
Amaury Forgeot d'Arc
9686585a82
Issue #2670 : urllib2.build_opener() failed when two handlers
...
derive the same default base class.
Will backport.
2008-04-22 21:14:41 +00:00
Gregory P. Smith
d59fefb23a
update the getpass entry
2008-04-22 08:11:33 +00:00
Gregory P. Smith
19b4411181
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.
2008-04-22 08:08:41 +00:00
Neal Norwitz
8e0319d82a
Add Thomas Lee
2008-04-22 05:07:47 +00:00
Benjamin Peterson
3c399d1ad1
Various io doc updates
2008-04-22 02:16:03 +00:00
Mark Dickinson
7a3d8641a9
Make configure test for tanh(-0.) == -0. committed in r62447 actually
...
work. (The test wasn't properly linked with libm. Sigh.)
2008-04-22 00:54:27 +00:00
Benjamin Peterson
60ffcbe88b
Fix Sphinx warnings
2008-04-21 22:57:00 +00:00
Amaury Forgeot d'Arc
dd8d824a56
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.
2008-04-21 22:35:30 +00:00
Mark Dickinson
265d7384b9
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.
2008-04-21 22:32:24 +00:00
Gregory P. Smith
41e3018336
If sys.stdin is not a tty, fall back to default_getpass after printing
...
a warning instead of failing with a termios.error.
2008-04-21 21:31:08 +00:00
Jeroen Ruigrok van der Werven
aa3cadb01e
Windows x64 also falls under VER_PLATFORM_WIN32_NT.
2008-04-21 20:15:39 +00:00
Gregory P. Smith
fa1814e1b6
explicitly flush after the ... since there wasn't a newline
2008-04-21 17:46:40 +00:00
David Goodger
67ea002342
capitalization
2008-04-21 14:43:33 +00:00
David Goodger
09f57b7947
corrections ("reStructuredText" is one word)
2008-04-21 14:40:22 +00:00
Thomas Heller
b9dd8db8bf
Fix typo.
2008-04-21 13:46:55 +00:00
Benjamin Peterson
ad9f62953f
Moved Mark SummerField's io doc changes back to the trunk. (He will edit here in the future.)
2008-04-21 11:57:40 +00:00
Andrew M. Kuchling
57ce054c87
Add various items
2008-04-21 02:14:24 +00:00
Andrew M. Kuchling
89830c3ab1
Wording changes
2008-04-21 02:08:13 +00:00
Andrew M. Kuchling
64c6a0ef6e
Markup fix
2008-04-21 02:08:00 +00:00
Mark Dickinson
0da94c8a34
Silence 'r may be used uninitialized' compiler warning.
2008-04-21 01:55:50 +00:00
Andrew M. Kuchling
a5489d415e
Comment typo
2008-04-21 01:45:57 +00:00
Mark Dickinson
92483cd8da
math.atan2 is misbehaving on Windows; this patch
...
should fix the problem in the same way that
the cmath.phase problems were fixed.
2008-04-20 21:39:04 +00:00
Amaury Forgeot d'Arc
eac43afdc9
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.
2008-04-20 21:02:21 +00:00
Mark Dickinson
d6d5148b44
Add test for tanh(-0.) == -0. on IEEE 754 systems
2008-04-20 20:38:48 +00:00
Mark Dickinson
c632301bd4
Even more fixes for alpha Tru64, this time for
...
the phase and polar methods.
2008-04-20 18:30:05 +00:00
Andrew M. Kuchling
2cede399ec
Move description of math module changes; various edits to description of cmath changes
2008-04-20 16:54:02 +00:00
Mark Dickinson
98c317a34d
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.
2008-04-20 16:13:17 +00:00
Mark Dickinson
cec3f138d8
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.
2008-04-20 04:13:13 +00:00
Mark Dickinson
b2f7090239
FreeBSD doesn't follow C99 for modf(inf); so add explicit
...
special-value handling to math.modf code.
2008-04-20 01:39:24 +00:00
Mark Dickinson
9f99d70513
Report additional diagnostic information in
...
test_math, to help track down debian-alpha
buildbot failure.
2008-04-20 01:22:30 +00:00
Mark Dickinson
47a84aa978
Move asinh documentation to the proper place.
...
Remove meaningless 'in radians' from inverse
hyperbolic functions.
2008-04-19 21:49:22 +00:00
Mark Dickinson
48f7a4aabb
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'
2008-04-19 21:35:35 +00:00
Georg Brandl
1df986b403
Update template for newest Sphinx.
2008-04-19 21:28:38 +00:00
Mark Dickinson
53bd2e1a03
Document updates to math and cmath modules.
2008-04-19 20:31:16 +00:00
Benjamin Peterson
a7d09031a0
Complete documentation for errors argument of io's open and TextIOWrapper
2008-04-19 19:47:34 +00:00
Mark Dickinson
a1293eb65f
Additional special-case handling for math.pow.
...
Windows/VS2008 doesn't like (-1)**(+-inf).
2008-04-19 19:41:52 +00:00
Benjamin Peterson
53be57e8f8
Copy io documentation back from py3k branch so changes can be merged into it.
2008-04-19 19:34:05 +00:00
Mark Dickinson
e941d97d12
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.
2008-04-19 18:51:48 +00:00
Georg Brandl
c7bef37402
:func: et al. should *not* include the parens.
2008-04-19 17:00:14 +00:00
Georg Brandl
2fb8a53645
#2631 : clarify IMPORT_NAME semantics.
2008-04-19 16:59:16 +00:00
Georg Brandl
f801b0f04c
#2633 : clarify meaning of env parameter.
2008-04-19 16:58:49 +00:00
Georg Brandl
fb246c410b
#2634 : clarify meaning of env parameter to spawn/exec*e.
2008-04-19 16:58:28 +00:00
Georg Brandl
786ead684a
#2369 : clarify that copyfile() doesn't take a target directory.
2008-04-19 16:57:43 +00:00
Georg Brandl
734de68dd5
Fix-up docs for revision 62386.
2008-04-19 08:23:59 +00:00
Christian Heimes
e74c8f2879
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().
2008-04-19 02:23:57 +00:00