summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Remove rotor licenseAndrew M. Kuchling2004-08-311-28/+0
|
* Remove docs for xreadlines, mpz, rotorAndrew M. Kuchling2004-08-315-291/+0
|
* Remove xreadlines referenceAndrew M. Kuchling2004-08-311-1/+1
|
* Remove TERMIOS moduleAndrew M. Kuchling2004-08-311-14/+0
|
* Remove TERMIOS docsAndrew M. Kuchling2004-08-311-21/+0
|
* Use correct constant; remove reference to TERMIOS.pyAndrew M. Kuchling2004-08-311-4/+2
|
* Change from Raymond: use pos/neg instead of +/- 1; minor editsAndrew M. Kuchling2004-08-311-24/+32
|
* Describe non-recursive reAndrew M. Kuchling2004-08-311-4/+13
|
* Add bug/patch countsAndrew M. Kuchling2004-08-311-1/+2
|
* Use multi-line importAndrew M. Kuchling2004-08-317-26/+26
|
* Update versions and dates; add PEP 328Andrew M. Kuchling2004-08-311-5/+41
|
* Updated doc for getLogger()Vinay Sajip2004-08-311-1/+4
|
* SF patch #1007189, multi-line imports, for instance:Anthony Baxter2004-08-3114-998/+1211
| | | | | "from blah import (foo, bar baz, bongo)"
* onward and upwardAnthony Baxter2004-08-311-2/+2
|
* Add patch for Tix 8.1.4.Martin v. Löwis2004-08-311-0/+108
|
* HardwareRandom: Go back to multiplying by 2**-BPF instead of usingTim Peters2004-08-311-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 byRaymond Hettinger2004-08-311-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 Peters2004-08-301-1/+1
|
* More cmd.exe exploitation.Tim Peters2004-08-301-38/+50
|
* Since it's impossible to build Python using VC7.1 on a command.comTim Peters2004-08-301-6/+1
| | | | system, exploit cmd.exe's setlocal function in this directory.
* Updated test-runner .bat for new location of Tcl/Tk.Tim Peters2004-08-302-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, soTim Peters2004-08-301-17/+11
| | | | don't.
* win32_urandom(): pass the function name to PyArg_ParseTuple, for betterTim Peters2004-08-301-1/+1
| | | | error msgs.
* win32_urandom(): Raise ValueError if the argument is negative.Tim Peters2004-08-301-0/+3
|
* win32_urandom(): Rewrite to Python C standards (hard tabs, function nameTim Peters2004-08-301-52/+59
| | | | in first column, no parens around return value).
* The distinction between comparison flags and reporting flags isn't uniqueTim Peters2004-08-302-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 Gijsbers2004-08-301-1/+1
|
* Bug #1014775: update NEWS.help for changes in docutils.Johannes Gijsbers2004-08-301-2/+2
|
* Bug #1014770: apply some rest-foo and fix some docutils errors.Johannes Gijsbers2004-08-301-1/+9
|
* Patch #934356: if a module defines __all__, believe that rather than usingJohannes Gijsbers2004-08-302-4/+15
| | | | heuristics for filtering out imported names.
* Whitespace normalization.Johannes Gijsbers2004-08-301-1/+1
|
* Patch #1003640: replace checkline() function parsing with new breakpoint logic:Johannes Gijsbers2004-08-302-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 itemsAndrew M. Kuchling2004-08-301-0/+14
|
* Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists ↵Johannes Gijsbers2004-08-3011-4/+57
| | | | in glob.glob.
* Pickup Tk from tcltk directory.Martin v. Löwis2004-08-301-5/+7
|
* Bump Tk version to 8.4.7. Build into tcltk directory.Martin v. Löwis2004-08-302-36/+28
|
* Teach the random module about os.urandom().Raymond Hettinger2004-08-304-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 Peters2004-08-301-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 exponentiationTim Peters2004-08-303-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 Peters2004-08-293-101/+101
|
* SF patch 936813: fast modular exponentiationTim Peters2004-08-294-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 -- theTim Peters2004-08-292-47/+47
| | | | | test depends on invisible trailing whitespace in .py files. The author will have to repair that.
* Whitespace normalization.Tim Peters2004-08-294-52/+52
|
* Patch #727483: Add AUTH_TYPE and REMOTE_USER.Martin v. Löwis2004-08-291-2/+15
|
* Patch #973204: Use -rpath instead of -R on Irix and Tru64.Martin v. Löwis2004-08-292-1/+7
|
* Patch #914575: difflib side by side diff support, diff.py s/b/s HTML option.Martin v. Löwis2004-08-297-7/+1412
|
* Centralize WITH_TSC processing.Martin v. Löwis2004-08-291-37/+3
|
* Patch #934711: Expose platform-specific entropy.Martin v. Löwis2004-08-295-1/+126
|
* SF feature request #992967: array.array objects should support sequences.Raymond Hettinger2004-08-294-13/+63
| | | | Made the constructor accept general iterables.
* Whitespace normalization.Tim Peters2004-08-292-10/+10
|