Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove rotor license | Andrew M. Kuchling | 2004-08-31 | 1 | -28/+0 |
| | |||||
* | Remove docs for xreadlines, mpz, rotor | Andrew M. Kuchling | 2004-08-31 | 5 | -291/+0 |
| | |||||
* | Remove xreadlines reference | Andrew M. Kuchling | 2004-08-31 | 1 | -1/+1 |
| | |||||
* | Remove TERMIOS module | Andrew M. Kuchling | 2004-08-31 | 1 | -14/+0 |
| | |||||
* | Remove TERMIOS docs | Andrew M. Kuchling | 2004-08-31 | 1 | -21/+0 |
| | |||||
* | Use correct constant; remove reference to TERMIOS.py | Andrew M. Kuchling | 2004-08-31 | 1 | -4/+2 |
| | |||||
* | Change from Raymond: use pos/neg instead of +/- 1; minor edits | Andrew M. Kuchling | 2004-08-31 | 1 | -24/+32 |
| | |||||
* | Describe non-recursive re | Andrew M. Kuchling | 2004-08-31 | 1 | -4/+13 |
| | |||||
* | Add bug/patch counts | Andrew M. Kuchling | 2004-08-31 | 1 | -1/+2 |
| | |||||
* | Use multi-line import | Andrew M. Kuchling | 2004-08-31 | 7 | -26/+26 |
| | |||||
* | Update versions and dates; add PEP 328 | Andrew M. Kuchling | 2004-08-31 | 1 | -5/+41 |
| | |||||
* | Updated doc for getLogger() | Vinay Sajip | 2004-08-31 | 1 | -1/+4 |
| | |||||
* | SF patch #1007189, multi-line imports, for instance: | Anthony Baxter | 2004-08-31 | 14 | -998/+1211 |
| | | | | | "from blah import (foo, bar baz, bongo)" | ||||
* | onward and upward | Anthony Baxter | 2004-08-31 | 1 | -2/+2 |
| | |||||
* | Add patch for Tix 8.1.4. | Martin v. Löwis | 2004-08-31 | 1 | -0/+108 |
| | |||||
* | HardwareRandom: Go back to multiplying by 2**-BPF instead of using | Tim Peters | 2004-08-31 | 1 | -2/+3 |
| | | | | | | | | | | 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. | ||||
* | Take advantage of the math library's ldexp for assembling a float by | Raymond Hettinger | 2004-08-31 | 1 | -5/+3 |
| | | | | | | | 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. | ||||
* | Changed Karatsuba cutoff to match current reality. | Tim Peters | 2004-08-30 | 1 | -1/+1 |
| | |||||
* | More cmd.exe exploitation. | Tim Peters | 2004-08-30 | 1 | -38/+50 |
| | |||||
* | Since it's impossible to build Python using VC7.1 on a command.com | Tim Peters | 2004-08-30 | 1 | -6/+1 |
| | | | | system, exploit cmd.exe's setlocal function in this directory. | ||||
* | Updated test-runner .bat for new location of Tcl/Tk. | Tim Peters | 2004-08-30 | 2 | -8/+6 |
| | | | | | | | Replaced outcomes from native Tcl/Tk tests. Maybe the diffs are legit, maybe not. I noticed that the Tcl results I'm replacing here claimed both that there were no failures, and that one file had tests with failures, so I wasn't inclined to trust them <wink>. | ||||
* | win32_urandom(): There's no need to copy the generated byte string, so | Tim Peters | 2004-08-30 | 1 | -17/+11 |
| | | | | don't. | ||||
* | win32_urandom(): pass the function name to PyArg_ParseTuple, for better | Tim Peters | 2004-08-30 | 1 | -1/+1 |
| | | | | error msgs. | ||||
* | win32_urandom(): Raise ValueError if the argument is negative. | Tim Peters | 2004-08-30 | 1 | -0/+3 |
| | |||||
* | win32_urandom(): Rewrite to Python C standards (hard tabs, function name | Tim Peters | 2004-08-30 | 1 | -52/+59 |
| | | | | in first column, no parens around return value). | ||||
* | The distinction between comparison flags and reporting flags isn't unique | Tim Peters | 2004-08-30 | 2 | -29/+29 |
| | | | | | | | | | | | to unittest, so make it official: new module constants COMPARISON_FLAGS and REPORTING_FLAGS, which are bitmasks or'ing together the relevant individual option flags. set_unittest_reportflags(): Reworked to use REPORTING_FLAGS, and simplified overly complicated flag logic. class FakeModule: Removed this; neither documented nor used. | ||||
* | Fix build error: \filename{/dev/urandom} -> \file{/dev/urandom}. | Johannes Gijsbers | 2004-08-30 | 1 | -1/+1 |
| | |||||
* | Bug #1014775: update NEWS.help for changes in docutils. | Johannes Gijsbers | 2004-08-30 | 1 | -2/+2 |
| | |||||
* | Bug #1014770: apply some rest-foo and fix some docutils errors. | Johannes Gijsbers | 2004-08-30 | 1 | -1/+9 |
| | |||||
* | Patch #934356: if a module defines __all__, believe that rather than using | Johannes Gijsbers | 2004-08-30 | 2 | -4/+15 |
| | | | | heuristics for filtering out imported names. | ||||
* | Whitespace normalization. | Johannes Gijsbers | 2004-08-30 | 1 | -1/+1 |
| | |||||
* | Patch #1003640: replace checkline() function parsing with new breakpoint logic: | Johannes Gijsbers | 2004-08-30 | 2 | -45/+51 |
| | | | | | | | | | | | | | 1) When a breakpoint is set via a function name: - the breakpoint gets the lineno of the def statement - a new funcname attribute is attached to the breakpoint 2) bdb.effective() calls new function checkfuncname() to handle: - def statement is executed: don't break. - a first executable line of a function with a breakpoint on the lineno of the def statement is reached: break. This fixes bugs 976878, 926369 and 875404. Thanks Ilya Sandler. | ||||
* | Add items | Andrew M. Kuchling | 2004-08-30 | 1 | -0/+14 |
| | |||||
* | Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵ | Johannes Gijsbers | 2004-08-30 | 11 | -4/+57 |
| | | | | in glob.glob. | ||||
* | Pickup Tk from tcltk directory. | Martin v. Löwis | 2004-08-30 | 1 | -5/+7 |
| | |||||
* | Bump Tk version to 8.4.7. Build into tcltk directory. | Martin v. Löwis | 2004-08-30 | 2 | -36/+28 |
| | |||||
* | Teach the random module about os.urandom(). | Raymond Hettinger | 2004-08-30 | 4 | -10/+183 |
| | | | | | * Use it for seeding when it is available. * Provide an alternate generator based on it. | ||||
* | long_pow(): Fix more instances of leaks in error cases. | Tim Peters | 2004-08-30 | 1 | -3/+3 |
| | | | | | Bugfix candidate -- although long_pow() is so different now I doubt a patch would apply to 2.3. | ||||
* | SF patch 936813: fast modular exponentiation | Tim Peters | 2004-08-30 | 3 | -109/+204 |
| | | | | | | | | | | | | | | | | | | | | | | | | This checkin is adapted from part 2 (of 3) of Trevor Perrin's patch set. BACKWARD INCOMPATIBILITY: SHIFT must now be divisible by 5. AFAIK, nobody will care. long_pow() could be complicated to worm around that, if necessary. long_pow(): - BUGFIX: This leaked the base and power when the power was negative (and so the computation delegated to float pow). - Instead of doing right-to-left exponentiation, do left-to-right. This is more efficient for small bases, which is the common case. - In addition, if the exponent is large (more than FIVEARY_CUTOFF digits), precompute [a**i % c for i in range(32)], and go left to right 5 bits at a time. l_divmod(): - The signature changed so that callers who don't want the quotient, or don't want the remainder, can pass NULL in the slot they don't want. This saves them from having to declare a vrbl for unwanted stuff, and remembering to decref it. long_mod(), long_div(), long_classic_div(): - Adjust to new l_divmod() signature, and simplified as a result. | ||||
* | Whitespace normalization. test_difflib passes again. | Tim Peters | 2004-08-29 | 3 | -101/+101 |
| | |||||
* | SF patch 936813: fast modular exponentiation | Tim Peters | 2004-08-29 | 4 | -22/+91 |
| | | | | | | | | | | | | | | | | | | This checkin is adapted from part 1 (of 3) of Trevor Perrin's patch set. x_mul() - sped a little by optimizing the C - sped a lot (~2X) if it's doing a square; note that long_pow() squares often k_mul() - more cache-friendly now if it's doing a square KARATSUBA_CUTOFF - boosted; gradeschool mult is quicker now, and it may have been too low for many platforms anyway KARATSUBA_SQUARE_CUTOFF - new - since x_mul is a lot faster at squaring now, the point at which Karatsuba pays for squaring is much higher than for general mult | ||||
* | Reverting whitespace normalization. test_difflib fails with it -- the | Tim Peters | 2004-08-29 | 2 | -47/+47 |
| | | | | | test depends on invisible trailing whitespace in .py files. The author will have to repair that. | ||||
* | Whitespace normalization. | Tim Peters | 2004-08-29 | 4 | -52/+52 |
| | |||||
* | Patch #727483: Add AUTH_TYPE and REMOTE_USER. | Martin v. Löwis | 2004-08-29 | 1 | -2/+15 |
| | |||||
* | Patch #973204: Use -rpath instead of -R on Irix and Tru64. | Martin v. Löwis | 2004-08-29 | 2 | -1/+7 |
| | |||||
* | Patch #914575: difflib side by side diff support, diff.py s/b/s HTML option. | Martin v. Löwis | 2004-08-29 | 7 | -7/+1412 |
| | |||||
* | Centralize WITH_TSC processing. | Martin v. Löwis | 2004-08-29 | 1 | -37/+3 |
| | |||||
* | Patch #934711: Expose platform-specific entropy. | Martin v. Löwis | 2004-08-29 | 5 | -1/+126 |
| | |||||
* | SF feature request #992967: array.array objects should support sequences. | Raymond Hettinger | 2004-08-29 | 4 | -13/+63 |
| | | | | Made the constructor accept general iterables. | ||||
* | Whitespace normalization. | Tim Peters | 2004-08-29 | 2 | -10/+10 |
| |