Commit graph

30790 commits

Author SHA1 Message Date
Raymond Hettinger
bdbdfd731d SF bug #1022010: Import random fails
* trap NotImplementedError raised by os.urandom calls when not available
  on a particular system.
2004-09-03 19:09:22 +00:00
Gustavo Niemeyer
0506c64086 Fixing bug #817234, which made SRE get into an infinite loop on
empty final matches with finditer(). New test cases included
for this bug and for #581080.
2004-09-03 18:11:59 +00:00
Gustavo Niemeyer
a01a2ee933 Applying modified version of patch #1018386, which fixes
some escaping bugs in SRE.
2004-09-03 17:06:10 +00:00
Martin v. Löwis
ab9351bf36 Add main program for icon file. 2004-09-03 13:32:57 +00:00
Skip Montanaro
0bbf137fbd Make the api of the _dispatch() method more concrete. I have no idea if
this is the right way to document such things (Fred, help me out here :-),
but I got misled by the existing documentation and assumed the parameter
list was a *args sort of thing.
2004-09-03 00:04:05 +00:00
cvs2svn
15f611845b This commit was manufactured by cvs2svn to create tag 'r24a3'. 2004-09-02 16:38:20 +00:00
Anthony Baxter
f30bc11ce0 update version 2004-09-02 16:38:20 +00:00
Anthony Baxter
e13943a1b0 release date 2004-09-02 16:37:15 +00:00
Martin v. Löwis
6d772132e9 Update buildno for 2.4a3 2004-09-01 18:29:25 +00:00
Martin v. Löwis
e0f780d581 Conditionalize Tcl feature 2004-09-01 14:51:06 +00:00
Andrew M. Kuchling
e47c381c62 [Bug #1011606] Only check file descriptors for exceptional conditions if the fd is readable or writable 2004-09-01 14:04:51 +00:00
Tim Peters
3b2cdad4fd Whitespace normalization. 2004-09-01 13:10:32 +00:00
Raymond Hettinger
75ccea3777 SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes
(Contributed by Dima Dorfman)
2004-09-01 07:02:44 +00:00
Fred Drake
410eb84a5d - add missing \end{seealso}
- wrap long line
2004-09-01 04:05:08 +00:00
Raymond Hettinger
53e50cb6b3 Remove rotor from the build. 2004-08-31 19:33:47 +00:00
Raymond Hettinger
6ce6ef3e78 Remove rotor and xreadlines from VC 6 build. 2004-08-31 18:54:35 +00:00
Martin v. Löwis
3cf2163b25 Add instructions for building Tix 2004-08-31 16:22:09 +00:00
Martin v. Löwis
7bbed946ea Fix installdir for Tix 2004-08-31 16:19:01 +00:00
Tim Peters
adadc0f56f Remove rotor and xreadlines from VC 7.1 build. 2004-08-31 14:29:12 +00:00
Andrew M. Kuchling
3d3db9663f Add item 2004-08-31 13:57:02 +00:00
Andrew M. Kuchling
d11c110c11 Remove rotor, xreadlines modules 2004-08-31 13:52:27 +00:00
Andrew M. Kuchling
00873430c1 Add news item. 2004-08-31 13:50:43 +00:00
Andrew M. Kuchling
4e699d5f95 Remove mpz, rotor, xreadlines modules 2004-08-31 13:50:12 +00:00
Andrew M. Kuchling
ecd5754925 Remove rotor reference 2004-08-31 13:49:36 +00:00
Andrew M. Kuchling
010b887cf6 Missed some occurrences of test_mpz 2004-08-31 13:45:22 +00:00
Andrew M. Kuchling
5a9618e069 Remove mpz, rotor 2004-08-31 13:43:19 +00:00
Andrew M. Kuchling
6a507a104d Remove mpzpi demo 2004-08-31 13:42:11 +00:00
Andrew M. Kuchling
a7313d0543 Remove test output for rotor, xreadline 2004-08-31 13:41:04 +00:00
Andrew M. Kuchling
57269d0c7c Remove mpz, rotor, xreadlines modules 2004-08-31 13:37:25 +00:00
Andrew M. Kuchling
810b76aebe Remove rotor, xreadlines modules 2004-08-31 13:31:42 +00:00
Andrew M. Kuchling
7297da8a35 Remove test for mpz 2004-08-31 13:29:28 +00:00
Andrew M. Kuchling
163f800095 Remove tests for mpz, rotor, xreadlines 2004-08-31 13:29:03 +00:00
Andrew M. Kuchling
595ac8a6fc Remove rotor license 2004-08-31 13:24:08 +00:00
Andrew M. Kuchling
ab459f71d6 Remove docs for xreadlines, mpz, rotor 2004-08-31 13:22:43 +00:00
Andrew M. Kuchling
e723863ba1 Remove xreadlines reference 2004-08-31 13:21:07 +00:00
Andrew M. Kuchling
f3f1c85858 Remove TERMIOS module 2004-08-31 13:06:16 +00:00
Andrew M. Kuchling
a46fd8480f Remove TERMIOS docs 2004-08-31 13:05:59 +00:00
Andrew M. Kuchling
e4133d8d67 Use correct constant; remove reference to TERMIOS.py 2004-08-31 13:05:36 +00:00
Andrew M. Kuchling
e34c3bd621 Change from Raymond: use pos/neg instead of +/- 1; minor edits 2004-08-31 12:21:44 +00:00
Andrew M. Kuchling
ab77822826 Describe non-recursive re 2004-08-31 12:07:43 +00:00
Andrew M. Kuchling
b07aae28c5 Add bug/patch counts 2004-08-31 11:54:22 +00:00
Andrew M. Kuchling
33ad28b68d Use multi-line import 2004-08-31 11:38:12 +00:00
Andrew M. Kuchling
3294e9d2e7 Update versions and dates; add PEP 328 2004-08-31 11:26:23 +00:00
Vinay Sajip
17952b78e1 Updated doc for getLogger() 2004-08-31 10:21:51 +00:00
Anthony Baxter
1a4ddaecc7 SF patch #1007189, multi-line imports, for instance:
"from blah import (foo, bar
baz, bongo)"
2004-08-31 10:07:13 +00:00
Anthony Baxter
876032e570 onward and upward 2004-08-31 09:53:05 +00:00
Martin v. Löwis
89a0b7d93a Add patch for Tix 8.1.4. 2004-08-31 06:43:28 +00:00
Tim Peters
7c2a85b2d4 HardwareRandom: Go back to multiplying by 2**-BPF instead of using
ldexp.  Both methods are exact, and return the same results.  Turns out
multiplication is a few (but just a few) percent faster on my box.
They're both significantly faster than using struct with a Q format
to convert bytes to a 64-bit long (struct.unpack() appears to lose due
to the tuple creation/teardown overhead), and calling _hexlify is
significantly faster than doing bytes.encode('hex').  So we appear to
have hit a local minimum (wrt speed) here.
2004-08-31 02:19:55 +00:00
Raymond Hettinger
3fa19d7ff8 Take advantage of the math library's ldexp for assembling a float by
components without division and without roundoff error for properly
sized mantissas (i.e. on systems with 53 or more mantissa bits per
float).  Eliminates the previous implementation's rounding bias as
aptly demonstrated by Tim Peters.
2004-08-31 01:05:15 +00:00
Tim Peters
daec961e09 Changed Karatsuba cutoff to match current reality. 2004-08-30 23:18:23 +00:00