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
Christian Heimes
c873550737
Stupid me. Py_RETURN_NAN should actually return something ...
2008-04-18 23:49:11 +00:00
Christian Heimes
81ad6a185a
Added new files to Windows project files
...
More Windows related fixes are coming soon
2008-04-18 23:40:40 +00:00
Amaury Forgeot d'Arc
607bff1ebe
Some tests did not pass on repeated calls (regrtest -R::)
...
Perform additional cleanup, mostly deleting from sys.modules, or clearing the warnings registry.
2008-04-18 23:31:33 +00:00
Christian Heimes
6f34109384
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 :)
2008-04-18 23:13:07 +00:00
Benjamin Peterson
858a77099e
Fix indentation in sysmodule.c
2008-04-18 20:45:33 +00:00
Skip Montanaro
b131f0468f
resolve issue 2014
2008-04-18 20:35:46 +00:00
Andrew M. Kuchling
08923177b4
Rewrite introductory section, and remove old section. (It was already commented-out, but why keep it?)
2008-04-18 18:39:55 +00:00
Andrew M. Kuchling
02f63561a9
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?
2008-04-18 18:28:23 +00:00
Andrew M. Kuchling
4f74769640
#2654 : fix typo
2008-04-18 16:53:09 +00:00
Andrew M. Kuchling
aea8d2e8cd
Use correct parameter name
2008-04-18 02:40:47 +00:00
Andrew M. Kuchling
e2e031394c
Typo fixes
2008-04-17 20:44:06 +00:00
Jeroen Ruigrok van der Werven
ea7fa72630
Be consistent in the use of read-only.
2008-04-17 12:39:45 +00:00
Raymond Hettinger
5eaffc4ce1
Issue 2648: Add leading zero to money format recipe in the docs.
2008-04-17 10:48:31 +00:00
Jeroen Ruigrok van der Werven
967a83c4ef
Add details about the return value for mmap.flush().
2008-04-16 12:57:43 +00:00
Jeroen Ruigrok van der Werven
069dfad2af
Reformat to 80 columns prior to adding documentation.
2008-04-16 12:47:01 +00:00
Mark Dickinson
27a632510e
Fix for possible signed overflow: the behaviour of -LONG_MIN is
...
undefined in ANSI C.
2008-04-15 20:51:18 +00:00
Andrew M. Kuchling
8c65b1ed78
Typo fix
2008-04-15 13:10:41 +00:00
Andrew M. Kuchling
3822af6d3a
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.
2008-04-15 13:10:07 +00:00
Benjamin Peterson
09a1ebc9db
Add myself to Doc/ACKS.txt
2008-04-15 11:58:46 +00:00
Nick Coghlan
1e88992224
Add test file missing from rev 62350
2008-04-15 10:28:14 +00:00
Nick Coghlan
106fc48336
Issue 2439: add pkgutils.get_data() as a convenience wrapper for the PEP 302 get_data() API (contributed by Paul Moore)
2008-04-15 10:25:31 +00:00
Neal Norwitz
fddc469876
Prevent namespace pollution, add static for internal functions
2008-04-15 03:46:21 +00:00
Andrew M. Kuchling
04f58760d7
Various items; begin writing the SSL section
2008-04-15 02:24:15 +00:00
Alexandre Vassalotti
bcdc4685ba
Backport manually r62342 from the py3k branch to the trunk.
2008-04-14 22:40:08 +00:00
Amaury Forgeot d'Arc
f9e7ebe165
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
2008-04-14 20:07:48 +00:00
Amaury Forgeot d'Arc
14d6b0f8f0
Update project files for all Windows supported compilers
2008-04-14 19:55:40 +00:00
Thomas Heller
046e6a43ff
Issue #2616 : Implement ctypes.pointer() and ctypes.POINTER() in C for
...
better performance.
2008-04-14 16:10:07 +00:00
Andrew M. Kuchling
da950eb01c
Add example
2008-04-13 22:39:12 +00:00
Georg Brandl
8ffb5734d3
Check out Jinja as a separate step now that it's not included in the Sphinx package anymore.
2008-04-13 20:51:27 +00:00
Georg Brandl
41a0a37c08
Improve -X error message.
2008-04-13 20:50:29 +00:00
Benjamin Peterson
c89be9d37d
Added an ignore file for Bazaar #2510
2008-04-13 20:40:03 +00:00
Benjamin Peterson
820b51c170
#2627 Let it be known what pgen generates
2008-04-13 20:35:56 +00:00
Brett Cannon
c477427eba
Fix spliting on colons on Windows machines with a file path by limiting the
...
number of splits.
2008-04-13 17:41:31 +00:00
Brett Cannon
25bb8182c6
Add an explicit check for output in a test to try to diagnose a failure on
...
Windows.
2008-04-13 17:09:43 +00:00
Christian Heimes
a2d7f4c7a3
Added new files to the pcbuild files
2008-04-13 09:37:05 +00:00
Christian Heimes
6715352848
Use PyString_InternFromString instead of PyString_FromString for static vars
2008-04-13 09:33:24 +00:00
Christian Heimes
0a4f8956e6
Fix compiler warning Include/warnings.h:19:28: warning: no newline at end of file
2008-04-13 09:30:17 +00:00
Georg Brandl
4aa8df2871
Fix markup.
2008-04-13 07:07:44 +00:00
Skip Montanaro
e3d3785e11
spelling
2008-04-13 03:17:30 +00:00
Brett Cannon
667bb4f236
Fix test_warnings by making the state of things more consistent for each test
...
when it is run.
2008-04-13 02:42:36 +00:00
Benjamin Peterson
037d829319
Give the "Interactive Interpreter Changes" section in 2.6 whatsnew a unique link name
2008-04-13 02:20:05 +00:00
Benjamin Peterson
a3d19f35c4
Backport the removal of a __repr__ from 62251
2008-04-13 02:05:48 +00:00
Benjamin Peterson
7bb4d2d0fa
Backported io module docs
2008-04-13 02:01:27 +00:00
Andrew M. Kuchling
c161df6abd
Mention -J, -X
2008-04-13 01:05:59 +00:00
Brett Cannon
76ca13ca2a
Fix an accidental bug of an non-existent init function.
2008-04-13 00:25:15 +00:00
Brett Cannon
40f0a87666
Fix a bug in PySys_HasWarnOption() where it was not properly checking the
...
length of the list storing the warning options.
2008-04-13 00:18:44 +00:00
Gregory P. Smith
b2693e007b
Adds a profile-opt target for easy compilation of a python binary using
...
gcc's profile guided optimization.
2008-04-13 00:03:25 +00:00
Brett Cannon
e974689038
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 .
2008-04-12 23:44:07 +00:00
Gregory P. Smith
e6c03033af
socket.error inherits from IOError, it no longer needs listing in
...
the all_errors tuple.
2008-04-12 22:24:04 +00:00