Commit graph

9131 commits

Author SHA1 Message Date
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
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
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
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
Andrew M. Kuchling
04f58760d7 Various items; begin writing the SSL section 2008-04-15 02:24:15 +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
4aa8df2871 Fix markup. 2008-04-13 07:07:44 +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
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
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
Georg Brandl
751a0362aa Don't offend snake lovers. 2008-04-12 19:05:37 +00:00
Georg Brandl
8189310a7f #2615: small consistency update by Jeroen Ruigrok van der Werven. 2008-04-12 18:36:09 +00:00
Georg Brandl
b4d21139b7 Use absolute path in sys.path. 2008-04-12 18:11:18 +00:00
Andrew M. Kuchling
17f8429bd2 Use issue directive 2008-04-10 21:29:01 +00:00
Andrew M. Kuchling
19baaadf51 Add punctuation 2008-04-10 21:28:51 +00:00
Andrew M. Kuchling
3351e4142c Remove forward-looking statement 2008-04-10 21:27:10 +00:00
Andrew M. Kuchling
c157c9c277 Try out the new issue role. Thanks, Georg! 2008-04-09 22:28:43 +00:00
Georg Brandl
c305192196 Add :issue: directive for easy linking to bugs.python.org. 2008-04-09 17:58:56 +00:00
Andrew M. Kuchling
f68b55327c Add items 2008-04-09 01:08:32 +00:00
Amaury Forgeot d'Arc
7adc776ea6 Issue 2408: remove the _types module
It was only used as a helper in types.py to access types (GetSetDescriptorType and MemberDescriptorType),
when they can easily be obtained with python code.
These expressions even work with Jython.

I don't know what the future of the types module is; (cf. discussion in http://bugs.python.org/issue1605 )
at least this change makes it simpler.
2008-04-08 22:07:05 +00:00
Andrew M. Kuchling
abf8e015c2 Add items 2008-04-08 21:22:53 +00:00
Andrew M. Kuchling
5b1070a32b Typo fix 2008-04-07 23:57:21 +00:00
Andrew M. Kuchling
34be7cec31 Write PEP 3127 section; add items 2008-04-07 23:57:07 +00:00
Georg Brandl
4a1672368d #2525: update timezone info examples in the docs. 2008-04-07 18:51:59 +00:00
Mark Summerfield
528576031d changed "2500 components" to "several thousand" since the number keeps
growning:-)
2008-04-07 07:39:23 +00:00
Mark Hammond
295814e463 correct heading underline for new "Cross-compiling on Windows" section 2008-04-07 01:59:40 +00:00
Mark Hammond
495cf99aaf Issue #2513: enable 64bit cross compilation on windows. 2008-04-07 01:53:39 +00:00
Gregory P. Smith
aa63d0d4af Make file objects as thread safe as the underlying libc FILE* implementation.
close() will now raise an IOError if any operations on the file object
are currently in progress in other threads.

Most code was written by Antoine Pitrou (pitrou).  Additional testing,
documentation and test suite cleanup done by me (gregory.p.smith).

Fixes issue 815646 and 595601 (as well as many other bugs and
references to this problem dating back to the dawn of Python).
2008-04-06 23:11:17 +00:00
Andrew M. Kuchling
2185241a63 Write PEP 3119 section 2008-04-05 18:15:30 +00:00
Georg Brandl
3b1202dfe8 Mention that the tuple returned by __reduce__ is pickled as normal. 2008-04-05 17:45:58 +00:00
Andrew M. Kuchling
217057f098 Markup fixes; write PEP 3118 section 2008-04-05 15:57:46 +00:00
Andrew M. Kuchling
b2ff8a7b0d Various edits 2008-04-05 03:38:39 +00:00
Andrew M. Kuchling
1f2af8c6e4 Markup fix; explain what interval timers do; typo fix 2008-04-05 02:47:07 +00:00
Andrew M. Kuchling
9ff4aea24c Minor edits 2008-04-05 02:42:20 +00:00
Vinay Sajip
89a01cd44b Added updates with respect to recent changes to TimedRotatingFileHandler. 2008-04-02 21:17:25 +00:00
Benjamin Peterson
092a1f7ad7 PyErr_Warn is decrepated. Use PyErr_WarnEx 2008-03-31 21:57:13 +00:00
Georg Brandl
c52ed59473 #2505: allow easier creation of AST nodes. 2008-03-30 07:01:47 +00:00
Gerhard Häring
c15317efcd Documented the lastrowid attribute. 2008-03-29 19:11:52 +00:00