https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
15f6118 This commit was manufactured by cvs2svn to create tag 'r24a3'. 02 September 2004, 16:38:20 UTC
f30bc11 update version 02 September 2004, 16:38:20 UTC
e13943a release date 02 September 2004, 16:37:15 UTC
6d77213 Update buildno for 2.4a3 01 September 2004, 18:29:25 UTC
e0f780d Conditionalize Tcl feature 01 September 2004, 14:51:06 UTC
e47c381 [Bug #1011606] Only check file descriptors for exceptional conditions if the fd is readable or writable 01 September 2004, 14:04:51 UTC
3b2cdad Whitespace normalization. 01 September 2004, 13:10:32 UTC
75ccea3 SF patch #1020188: Use Py_CLEAR where necessary to avoid crashes (Contributed by Dima Dorfman) 01 September 2004, 07:02:44 UTC
410eb84 - add missing \end{seealso} - wrap long line 01 September 2004, 04:05:08 UTC
53e50cb Remove rotor from the build. 31 August 2004, 19:33:47 UTC
6ce6ef3 Remove rotor and xreadlines from VC 6 build. 31 August 2004, 18:54:35 UTC
3cf2163 Add instructions for building Tix 31 August 2004, 16:22:09 UTC
7bbed94 Fix installdir for Tix 31 August 2004, 16:19:01 UTC
adadc0f Remove rotor and xreadlines from VC 7.1 build. 31 August 2004, 14:29:12 UTC
3d3db96 Add item 31 August 2004, 13:57:02 UTC
d11c110 Remove rotor, xreadlines modules 31 August 2004, 13:52:27 UTC
0087343 Add news item. 31 August 2004, 13:50:43 UTC
4e699d5 Remove mpz, rotor, xreadlines modules 31 August 2004, 13:50:12 UTC
ecd5754 Remove rotor reference 31 August 2004, 13:49:36 UTC
010b887 Missed some occurrences of test_mpz 31 August 2004, 13:45:22 UTC
5a9618e Remove mpz, rotor 31 August 2004, 13:43:19 UTC
6a507a1 Remove mpzpi demo 31 August 2004, 13:42:11 UTC
a7313d0 Remove test output for rotor, xreadline 31 August 2004, 13:41:04 UTC
57269d0 Remove mpz, rotor, xreadlines modules 31 August 2004, 13:37:25 UTC
810b76a Remove rotor, xreadlines modules 31 August 2004, 13:31:42 UTC
7297da8 Remove test for mpz 31 August 2004, 13:29:28 UTC
163f800 Remove tests for mpz, rotor, xreadlines 31 August 2004, 13:29:03 UTC
595ac8a Remove rotor license 31 August 2004, 13:24:08 UTC
ab459f7 Remove docs for xreadlines, mpz, rotor 31 August 2004, 13:22:43 UTC
e723863 Remove xreadlines reference 31 August 2004, 13:21:07 UTC
f3f1c85 Remove TERMIOS module 31 August 2004, 13:06:16 UTC
a46fd84 Remove TERMIOS docs 31 August 2004, 13:05:59 UTC
e4133d8 Use correct constant; remove reference to TERMIOS.py 31 August 2004, 13:05:36 UTC
e34c3bd Change from Raymond: use pos/neg instead of +/- 1; minor edits 31 August 2004, 12:21:44 UTC
ab77822 Describe non-recursive re 31 August 2004, 12:07:43 UTC
b07aae2 Add bug/patch counts 31 August 2004, 11:54:22 UTC
33ad28b Use multi-line import 31 August 2004, 11:38:12 UTC
3294e9d Update versions and dates; add PEP 328 31 August 2004, 11:26:23 UTC
17952b7 Updated doc for getLogger() 31 August 2004, 10:21:51 UTC
1a4ddae SF patch #1007189, multi-line imports, for instance: "from blah import (foo, bar baz, bongo)" 31 August 2004, 10:07:13 UTC
876032e onward and upward 31 August 2004, 09:53:05 UTC
89a0b7d Add patch for Tix 8.1.4. 31 August 2004, 06:43:28 UTC
7c2a85b 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. 31 August 2004, 02:19:55 UTC
3fa19d7 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. 31 August 2004, 01:05:15 UTC
daec961 Changed Karatsuba cutoff to match current reality. 30 August 2004, 23:18:23 UTC
42cd14d More cmd.exe exploitation. 30 August 2004, 22:13:22 UTC
e2f6899 Since it's impossible to build Python using VC7.1 on a command.com system, exploit cmd.exe's setlocal function in this directory. 30 August 2004, 21:27:55 UTC
e82b00f Updated test-runner .bat for new location of Tcl/Tk. 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>. 30 August 2004, 21:14:51 UTC
d311538 win32_urandom(): There's no need to copy the generated byte string, so don't. 30 August 2004, 17:36:46 UTC
9b279a8 win32_urandom(): pass the function name to PyArg_ParseTuple, for better error msgs. 30 August 2004, 17:10:53 UTC
51eba61 win32_urandom(): Raise ValueError if the argument is negative. 30 August 2004, 17:08:02 UTC
4ad8217 win32_urandom(): Rewrite to Python C standards (hard tabs, function name in first column, no parens around return value). 30 August 2004, 17:02:04 UTC
38330fe The distinction between comparison flags and reporting flags isn't unique 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. 30 August 2004, 16:19:24 UTC
ed04748 Fix build error: \filename{/dev/urandom} -> \file{/dev/urandom}. 30 August 2004, 15:03:23 UTC
5ae9743 Bug #1014775: update NEWS.help for changes in docutils. 30 August 2004, 14:33:25 UTC
343cb8a Bug #1014770: apply some rest-foo and fix some docutils errors. 30 August 2004, 14:27:11 UTC
4c11f60 Patch #934356: if a module defines __all__, believe that rather than using heuristics for filtering out imported names. 30 August 2004, 14:13:04 UTC
d2a1aa4 Whitespace normalization. 30 August 2004, 13:39:50 UTC
4a9faa1 Patch #1003640: replace checkline() function parsing with new breakpoint logic: 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. 30 August 2004, 13:29:44 UTC
cb7b3f3 Add items 30 August 2004, 11:58:04 UTC
ae882f7 Patch #941486: add os.path.lexists(). Also fix bug #940578 by using lexists in glob.glob. 30 August 2004, 10:19:56 UTC
d3f61a2 Pickup Tk from tcltk directory. 30 August 2004, 09:22:30 UTC
6de2d4d Bump Tk version to 8.4.7. Build into tcltk directory. 30 August 2004, 09:22:04 UTC
356a459 Teach the random module about os.urandom(). * Use it for seeding when it is available. * Provide an alternate generator based on it. 30 August 2004, 06:14:31 UTC
cd97da3 long_pow(): Fix more instances of leaks in error cases. Bugfix candidate -- although long_pow() is so different now I doubt a patch would apply to 2.3. 30 August 2004, 02:58:59 UTC
47e52ee SF patch 936813: fast modular exponentiation 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. 30 August 2004, 02:44:38 UTC
48bd7f3 Whitespace normalization. test_difflib passes again. 29 August 2004, 22:38:38 UTC
0973b99 SF patch 936813: fast modular exponentiation 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 29 August 2004, 22:16:50 UTC
afb5f94 Reverting whitespace normalization. test_difflib fails with it -- the test depends on invisible trailing whitespace in .py files. The author will have to repair that. 29 August 2004, 19:33:36 UTC
45e77c5 Whitespace normalization. 29 August 2004, 18:47:31 UTC
a28b3e6 Patch #727483: Add AUTH_TYPE and REMOTE_USER. 29 August 2004, 16:53:26 UTC
061f132 Patch #973204: Use -rpath instead of -R on Irix and Tru64. 29 August 2004, 16:40:55 UTC
e064b41 Patch #914575: difflib side by side diff support, diff.py s/b/s HTML option. 29 August 2004, 16:34:40 UTC
87fa785 Centralize WITH_TSC processing. 29 August 2004, 15:51:52 UTC
dc3883f Patch #934711: Expose platform-specific entropy. 29 August 2004, 15:46:35 UTC
6ab78cd SF feature request #992967: array.array objects should support sequences. Made the constructor accept general iterables. 29 August 2004, 07:50:43 UTC
df7a208 Whitespace normalization. 29 August 2004, 00:38:17 UTC
fafd874 Added an __iter__ method for test suites. 28 August 2004, 15:22:12 UTC
9f556a4 setUp and tearDown functions are now passed the test object 28 August 2004, 14:58:31 UTC
f54bad4 - setUp and tearDown functions are now passed the test object - Added a set_unittest_reportflags to set default reporting flags used when running doctests under unittest control. 28 August 2004, 14:57:56 UTC
91879ab PyUnicode_Join(): Bozo Alert. While this is chugging along, it may need to convert str objects from the iterable to unicode. So, if someone set the system default encoding to something nasty enough, the conversion process could mutate the input iterable as a side effect, and PySequence_Fast doesn't hide that from us if the input was a list. IOW, can't assume the size of PySequence_Fast's result is invariant across PyUnicode_FromObject() calls. 27 August 2004, 22:35:44 UTC
05eba1f PyUnicode_Join(): Rewrote to use PySequence_Fast(). This doesn't do much to reduce the size of the code, but greatly improves its clarity. It's also quicker in what's probably the most common case (the argument iterable is a list). Against it, if the iterable isn't a list or a tuple, a temp tuple is materialized containing the entire input sequence, and that's a bigger temp memory burden. Yawn. 27 August 2004, 21:32:02 UTC
cca0183 Removed old "if 0:" block for leak detection; wouldn't work anymore anyway. 27 August 2004, 15:29:59 UTC
aef8cfa Don't really need ellipsis doctests for the syntax errors, because this module imports itself explicitly from test (so the "file names" current doctest synthesizes for examples don't vary depending on how test_generators is run). 27 August 2004, 15:12:49 UTC
0fafacc Removed outdated comment 27 August 2004, 14:56:58 UTC
77dcccc Fixed 6 failures due to doctest changes. 27 August 2004, 05:44:51 UTC
108f137 test_bug1001011(): Verify that s.join([t]) is t for (s, t) in (str, str), (unicode, unicode), and (str, unicode). For (unicode, str), verify that it's *not* t (the result is promoted to unicode instead). Also verify that when t is a subclass of str or unicode that "the right thing" happens. 27 August 2004, 05:36:07 UTC
894c512 PyUnicode_Join(): Missed a spot where I intended a cast from size_t to int. I sure wish MS would gripe about that! Whatever, note that the statement above it guarantees that the cast loses no info. 27 August 2004, 05:08:36 UTC
269ab62 Fix the spelling of Fredrik Lundh's last name (unless there really is a "Fredrik Lund" who contributed the code in question). 27 August 2004, 05:00:22 UTC
12a4baf Remove unused method _OutputRedirectingPdb.resume 27 August 2004, 04:29:23 UTC
2de91ba - Removed redundant call to expandtabs in DocTestParesr. - Improvements to interactive debugging support: - Changed the replacement pdb.set_trace to redirect stdout to the real stdout *only* during interactive debugging; stdout from code continues to go to the fake stdout. - When the interactive debugger gets to the end of an example, automatically continue. - Use a replacement linecache.getlines that will return source lines from doctest examples; this makes the source available to the debugger for interactive debugging. - In test_doctest, use a specialized _FakeOutput class instead of a temporary file to fake stdin for the interactive interpreter. 27 August 2004, 02:07:46 UTC
8ce9f16 PyUnicode_Join(): Two primary aims: 1. u1.join([u2]) is u2 2. Be more careful about C-level int overflow. Since PySequence_Fast() isn't needed to achieve #1, it's not used -- but the code could sure be simpler if it were. 27 August 2004, 01:49:32 UTC
00f8da7 - Added DocTestParser.parse(), which parses a docstring into Examples and intervening text strings. - Removed DocTestParser.get_program(): use script_from_examples() instead. - Fixed bug in DocTestParser._INDENT_RE - Fixed bug in DocTestParser._min_indent - Moved _want_comment() to the utility function section 26 August 2004, 18:05:07 UTC
57d88e5 Move test_bug1001011() to string_tests.MixinStrUnicodeTest so that it can be used for str and unicode. Drop the test for "".join([s]) is s because this is an implementation detail (and doesn't work for unicode) 26 August 2004, 16:53:04 UTC
592ef61 Correct incorrect "it's" to "its". 26 August 2004, 10:40:12 UTC
e7edcb8 output_difference(): In fancy-diff cases, the way this split expected & actual output into lines created spurious empty lines at the ends of each. Those matched, but the fancy diffs had surprising line counts (1 larger than expected), and tests kept having to slam <BLANKLINE> into the expected output to account for this. Using the splitlines() string method with keepends=True instead accomplishes what was intended directly. 26 August 2004, 05:44:27 UTC
4085f03 Add missing executable option to DummyCommand. 26 August 2004, 05:44:02 UTC
66cb018 Whitespace normalization. 26 August 2004, 05:23:19 UTC
5b799c1 _do_a_fancy_diff(): Pay no attention to the ellipses behind the curtain. While a fancy diff can be confusing in the presence of ellipses, so far I'm finding (2-0-0) that it's much more a major aid in narrowing down the possibilities when an ellipsis-slinging test fails. So we no longer refuse to do a fancy diff just because of ellipses. This isn't ideal; it's just better. 26 August 2004, 05:21:59 UTC
f33683f Fine tune a word. 26 August 2004, 04:52:46 UTC
back to top