Staging
v0.5.1
https://github.com/python/cpython

sort by:
Revision Author Date Message Commit Date
6274fff Fix an unqualified except:. This came out of SF bug #411881. 10 April 2001, 15:42:02 UTC
9c673f3 Try an except: after an import into "except ImportError". This came out of SF bug #411881. Note that there's another unqualified except: still. 10 April 2001, 15:37:12 UTC
90a72f8 Add documentation for getmoduleinfo() and getmodulename(). 10 April 2001, 15:12:34 UTC
75ebb29 Some other tests, when failing, don't always remove their TESTFN file. Try to do it for them, so our mkdir() operation doesn't fail. 10 April 2001, 15:01:20 UTC
a5af214 When doing the quick test to see whether large files are supported, catch IOError as well as OverflowError. I found that on Tru64 Unix this was raised; probably because the OS (or libc) doesn't support large files but the architecture is 64 bits! 10 April 2001, 14:50:51 UTC
bfce016 When zlib can't be imported, zipfile raises RuntimeError, which causes the test to be marked as failing rather than skipped. Add an explicit "import zlib" to prevent this. 10 April 2001, 14:46:39 UTC
41763b9 Fix typo in instantiation of ErrorDuringImport. 10 April 2001, 12:22:01 UTC
5a804ed Fix synopsis() so it can handle binary module files. Avoid ever using popen on Windows, since it's broken there. Factor out the business of getting the summary line into splitdoc(). Use the modulename() routine in inspect. Show all members of modules and classes rather than filtering on leading '_'. Small typo and formtating fixes. Don't show warnings when running "pydoc -k". 10 April 2001, 11:46:02 UTC
4d6fc7f Add getmodulename() and getmoduleinfo() routines to inspect filenames. 10 April 2001, 11:43:00 UTC
697c9c9 In the typeset versions, the legal notices had grown past the one-page size. This constrains them to fit in one page again. 10 April 2001, 05:26:29 UTC
4471400 test_pickle works on sizeof(long)==8 boxes again. pickle.py The code implicitly assumed that all ints fit in 4 bytes, causing all sorts of mischief (from nonsense results to corrupted pickles). Repaired that. marshal.c The int marshaling code assumed that right shifts of signed longs sign-extend. Repaired that. 10 April 2001, 05:02:52 UTC
d8ae7c2 Ack -- this module mixes tabs and spaces, and what appears to be a mix of 2-space and 4-space indents. Whatever, when I saw the checkin diff it was clear that what my editor thinks a tab means didn't match this module's belief. Removed all the tabs from the lines I added and changed, left everything else alone. 10 April 2001, 04:35:28 UTC
3906eb8 On a sizeof(long)==8 machine, ints in range(2**31, 2**32) were getting pickled into the signed(!) 4-byte BININT format, so were getting unpickled again as negative ints. Repaired that. Added some minimal docs at the top about what I've learned about the pickle format codes (little of which was obvious from staring at the code, although that's partly because all the size-related bugs greatly obscured the true intent of the code). Happy side effect: because save_int() needed to grow a *proper* range check in order to fix this bug, it can now use the more-efficient BININT1, BININT2 and BININT formats when the long's value is small enough to fit in a signed 4-byte int (before this, on a sizeof(long)==8 box it always used the general INT format for negative ints). test_cpickle works again on sizeof(long)==8 machines. test_pickle is still busted big-time. 10 April 2001, 04:22:00 UTC
e089c68 Test full range of native ints. This exposes two more binary pickle bugs on sizeof(long)==8 machines. pickle.py has no idea what it's doing with very large ints, and variously gets things right by accident, computes nonsense, or generates corrupt pickles. cPickle fails on cases 2**31 <= i < 2**32: since it *thinks* those are 4-byte ints (the "high 4 bytes" are all zeroes), it stores them in the (signed!) BININT format, so they get unpickled as negative values. 10 April 2001, 03:41:41 UTC
aa815df Correct the header over the string of licenses -- it's "PYTHON", not "Python 1.6.1". 10 April 2001, 03:37:31 UTC
f9e56e1 Append the revision number for each file to the output. (Yes, this is a new feature right before the 2.1 release. No, I can't imagine this would seriously break anybody's code. In fact, most users of this script are probably *happy* to see this addition.) 10 April 2001, 03:31:27 UTC
c32d824 Mechanical fiddling for easier reading: every "if" test was enclosed in parens, but no "while" test. Removed the former. 10 April 2001, 02:48:53 UTC
bfa18f7 Critical fix: if cPickle on a sizeof(long)==8 box is used to read a binary pickle, and the latter contains a pickle of a negative Python int i written on a sizeof(long)==4 box (and whether by cPickle or pickle.py), it's read incorrectly as i + 2**32. The patch repairs that, and allows test_cpickle.py (to which I added a relevant test case earlier today) to work again on sizeof(long)==8 boxes. There's another (at least one) sizeof(long)==8 binary pickle bug, but in pickle.py instead. That bug is still there, and test_pickle.py doesn't catch it yet (try pickling and unpickling, e.g., 1 << 46). 10 April 2001, 01:54:42 UTC
4e6a7a6 Make on Alpha Tru64 5.1 (as installed on the SF compile farm) doesn't think that a command starting with '#' is a comment, so move the one comment in such a position (in the rule for building $(LIBRARY)) to a harmless position. 09 April 2001, 22:23:22 UTC
dbdb28e Add globals to list of names returned by get_names(). Fix func arg processing to handle args in tuples. In test code, skip names beginning with '.'. 09 April 2001, 20:11:59 UTC
461922a Pickles have a number of storage formats for various sizes and kinds of integers, but the std tests don't exercise most of them. Repair that. CAUTION: I expect this to fail on boxes with sizeof(long)==8, in the part of test_cpickle (but not test_pickle) trying to do a binary mode (not text mode) load of the embedded BINDATA pickle string. Once that hypothesized failure is confirmed, I'll fix cPickle.c. 09 April 2001, 20:07:05 UTC
29fd031 Michael Hudson <mwh21@cam.ac.uk>: Update the docstrings to no longer refer to the obsolete TERMIOS module. This is a partial acceptance of SF patch #413419. 09 April 2001, 19:32:52 UTC
c58440f No functional change -- just added whitespace in places so I could follow the logic better. Will be adding some additional tests later today. 09 April 2001, 17:16:31 UTC
a830b38 Warn when assigning to __debug__ instead of raising an error. 09 April 2001, 16:07:59 UTC
819815a Fix typo in example (\b should be \n in string literal). This closes SF bug #414279. 09 April 2001, 15:57:06 UTC
9c84636 Fix a number of bugs and omissions in the AddressList documentation, most noted by Steve Holden. This closes SF bug #413876. 09 April 2001, 15:42:56 UTC
17a781b * Remove exc_info() kludge -- it actually messed up the Jython output * Fixed TestLoader.loadTestsFromName() for nested packages * Corrected the command-line usage summary 09 April 2001, 15:37:31 UTC
a36f4a0 Fixing Itamar's name, as per his request. 09 April 2001, 15:23:46 UTC
5d87d47 fixing 408085 - redirect from https becomes http Even though relative redirects are illegal, they are common urllib treated every relative redirect as though it was to http, even if the original was https:// As long as we're compensating for server bugs, might as well do it properly. 09 April 2001, 14:54:21 UTC
f870c95 Add two arguments to Scope constructor, module scope and class name Add mangling support Add get_children() and add_child() methods to Scope Skip nodes when If test is a false constant Add test code that checks results against symtable module 09 April 2001, 13:57:32 UTC
8b966dc Add preliminary module symbol table constructor 09 April 2001, 04:35:35 UTC
0e8468c remove global decl about unused variable 09 April 2001, 04:31:50 UTC
80e29bd Add support for future statements 09 April 2001, 04:28:48 UTC
42a0830 Fix "import as" (has always skipping the as name) Fix com_NEWLINE() so that is accepts arguments, which occurs for lines like: stmt; # note trailing semicolon Add XXX about checking for assignment to list comps 09 April 2001, 04:27:12 UTC
a384f73 typo 09 April 2001, 04:23:55 UTC
f0e717b Repair portability of sign extension when reading signed ints on boxes where sizeof(long)==8. This *was* broken on boxes where signed right shifts didn't sign-extend, but not elsewhere. Unfortunately, apart from the Cray T3E I don't know of such a box, and Guido has so far refused to buy me any Cray machines for home Python testing <wink>. More immediately interesting would be if someone could please test this on *any* sizeof(long)==8 box, to make sure I didn't break it. 08 April 2001, 23:39:38 UTC
9cec8fb Make it clear that a bdb subclass must implement do_clear(). This was found by Neal Norwitz's PyChecker. 08 April 2001, 15:05:16 UTC
7e01e28 Whitespace normalization. 08 April 2001, 07:44:07 UTC
6fd7120 Fix from the Madusa mailing list: http://groups.yahoo.com/group/medusa/message/333 It's clear that Medusa should not be checking for an empty buffer via "buf is ''". The patch merely changes "is" to "==". However, there's a mystery here all the same: Python attempts to store null strings uniquely, so it's unclear why "buf is ''" ever returned false when buf actually was empty. *Some* string operations produce non-unique null strings, e.g. >>> "abc"*0 is "abc"*0 0 >>> but they're rare, and I don't see any such operations in asynchat. 08 April 2001, 07:23:44 UTC
cfc21fc Remove useless imports, as reported by PyChecker. 08 April 2001, 00:43:13 UTC
3664111 Get rid of useless string import, as reported by Neal Norwitz's PyChecker.py on c.l.py. 08 April 2001, 00:38:42 UTC
388ed08 SF patch #413552 - Premature decref on object Jeffery Collins pointed out that filterstring decrefs a character object before it's done using it. This works by accident today because another module always happens to have an active reference too at the time. The accident doesn't work after his Pippy modifications, and since it *is* an accident even in the mainline Python, it should work by design there too. The patch accomplishes that. 07 April 2001, 20:34:48 UTC
4d4d003 Correct the documentation for getreadbufferproc and getwritebufferproc. Fixes bug #233308 from Travis Oliphant. 07 April 2001, 16:14:49 UTC
76977bb Add an uninstall method to the ImportManager. This is the accepted portion of patch #402498. 07 April 2001, 16:05:24 UTC
4393512 Finally merged morefindertools into findertools. 07 April 2001, 12:53:45 UTC
501d904 Add entry for unittest documentation. 07 April 2001, 05:42:14 UTC
b9ad228 Start of documentation for the unittest module. Some of this comes from Steve Purcell's documentation, and a lot of it is written based on using PyUnit and reading the implementation. There is more to come, but I want to get this check in before I have a disk crash or anything else bad happens. 07 April 2001, 05:41:39 UTC
eb26f95 Since Guido fiddled Cookie.py to work with doctest, it's a Good Thing to have the std test suite exercise the Cookie doctests too. 06 April 2001, 21:20:58 UTC
58b6f5b Since this module already uses doctest-style examples, I figured I'd add a self-test using doctest. Results: - The docstring needs to be a raw string because it uses \"...\". - The oreo example was broken: the Set-Cookie output doesn't add quotes around "doublestuff". - I had to change the example that prints the class of a Cookie.Cookie instance to avoid incorporating an arbitrary object address in the test output. Pretty good score for both doctest and the doc string, I'd say! 06 April 2001, 19:39:11 UTC
f95423e Remove lines for asynchat & asyncore, as they've now got their own test. 06 April 2001, 18:59:17 UTC
dca060c After testing the test on Unix, several improvements: - Use push() instead of send(), and make these calls in main(). - Sleep a second to give the server thread time to initialize itself. 06 April 2001, 16:43:49 UTC
6617252 Add test for asynchat. This also tests asyncore. 06 April 2001, 16:32:22 UTC
e4a1b6d Make the docstring a raw string, for pydoc. (How many opre of these will we need? :-( ) 06 April 2001, 15:30:33 UTC
3aee775 Added a note about Help and ctb missing in carbon. 06 April 2001, 09:02:43 UTC
bad62de Version 1.2 by Christopher Stern. 06 April 2001, 08:34:55 UTC
b5d1392 Fix the fix (my error -- hasty pasty). 05 April 2001, 22:38:32 UTC
a29b622 One-liner critical fix from Jim Fulton: Eric's string-method crusade got the order backwards in a line (for .find()). 05 April 2001, 22:26:23 UTC
4cf1227 Change {\em ...} to \emph{...} for consistency with the rest of the Python documentation. 05 April 2001, 18:31:27 UTC
f459d85 Add some information about what to expect of the DocumentType's .internalSubset attribute based on a clarification from the www-dom list. 05 April 2001, 18:30:04 UTC
d3908e2 Effectively revert the previous change: leave the new #include in, but comment it out with an explanation. This makes it easier for someone who wants the additional symbols to try re-enabling it for their platform. 05 April 2001, 18:26:31 UTC
d34a9c9 Added more link attributes based on additonal information from Chris McCafferty <christopher.mccafferty@csg.ch>, and a bit of experimentation with Navigator 4.7. HTML-as-deployed is evil! 05 April 2001, 18:14:50 UTC
37f0263 Bug #412086, reported by Peter Wilson: The _curses module doesn't define COLORS or COLOR_PAIRS until after start_color() is called, but they were never added to the curses module. Fixed by adding a wrapper around start_color(), similar to the wrapper around initscr(). 05 April 2001, 16:08:41 UTC
7880e5e Patch #413912 from Steve Majewski: Add .m to the list of extensions in order to support Objective-C. 05 April 2001, 15:46:48 UTC
88717f4 Mention pydoc in the man page 05 April 2001, 14:50:40 UTC
dc80670 Corrected default value of the DocumentType.internalSubset attribute based on a clarification sent to the www-dom list. 05 April 2001, 14:41:30 UTC
9b3bc49 Add an #include of sys/ioctl.h to pick up a lot of the constants supported in the previous patch. This closes (again!) SF patch #410267. 04 April 2001, 21:19:26 UTC
7d3bad6 Sf bug [ #412214 ] ZipFile constructor leaves files open. This applies the patch Fred Drake created to fix it. I'm checking it in since I had to apply the patch anyway in order to test its behavior on Windows. 04 April 2001, 18:56:49 UTC
42fc7cc SF patch [ #413750 ] Cygwin entry for README file, from Jason Tishler. 04 April 2001, 18:35:19 UTC
f3186e8 A number of improvements based on a discussion with Chris McCafferty <christopher.mccafferty@csg.ch>: Add javascript: and telnet: to the types of URLs we ignore. Add support for several additional URL-valued attributes on the BODY, FRAME, IFRAME, LINK, OBJECT, and SCRIPT elements. 04 April 2001, 17:47:25 UTC
33d2b84 CharacterData methods: Update self.length on changes instead of extended the __getattr__() handler. Text.splitText(): Update the length and nodeValue attributes. 04 April 2001, 15:15:18 UTC
87432f4 Add support for the CharacterData methods, CDATASection. 04 April 2001, 14:09:46 UTC
c6a3cb4 Document PySequence_Size(), and describe PySequence_Length() as simply an alternate name for the same function. 04 April 2001, 01:25:17 UTC
e3850f5 Disable fused-add-mul instructions. They give a nonstandard result for some things that test_coercion complains about. The added performance is probably minimal for Python anyway. 03 April 2001, 21:56:12 UTC
979d041 Make reference to the Library Reference in the "What Now?" chapter a hyperlink. Fix two English usage errors caught by Jan Wells: Changed "subsequence" to "sub-sequence" in two places, and avoid improper use of "hopefully" in the first paragraph of the "What Now?" chapter. 03 April 2001, 17:41:56 UTC
216b870 If the frontmost window is not a Tk window exit the event handling code early. This fixes that using Tk once used to disable cmd-. processing. It may also influence Tk/IDE interaction, I'm not sure. 03 April 2001, 14:36:35 UTC
c951bf9 SF bug [#410708] Condition.wait() and KeyboardInterrupt. http://sourceforge.net/tracker/?func=detail&aid=410708&group_id=5470&atid=105470 Added try/finally around Condition.wait() guts, so that the lock state gets restored at the end no matter what happens. 02 April 2001, 20:15:57 UTC
f5bd684 Applying SF patch #412553 by Christopher Lee: fix linuxaudiodev handling of EAGAIN. This may or may not fix the problem for me (Mandrake 7.2 on a Dell Optiplex GX110 desktop): I can't hear the output, but it does pass the test now. It doesn't fix the problem for Fred (Mandrake 7.2 on a Dell Inspiron 7500 which has the Maestro sound drivers). Fred suspects that it's the kernel version in combination with the driver. 02 April 2001, 17:59:02 UTC
cb67ea1 Initialize Attr.value with empty string in createAttribute*, as per DOM spec. Closes bug #412036. Also reindent toprettyxml. 31 March 2001, 16:30:40 UTC
68ad64a Remove the backed-out version requirement 31 March 2001, 02:42:42 UTC
f89d993 Back out the requirement to supply a version number 31 March 2001, 02:41:01 UTC
f7eb4fa Fixes a fatal bug when the module has computed alternatives containing %s. 31 March 2001, 01:50:52 UTC
a42c827 "install -d" does not work on BSDI systems even though autoconf thinks install works on that system. Use "install-sh" on BSDI. 31 March 2001, 00:01:55 UTC
c81d470 Allow the <author/> element to appear before a paragraph without being made a part of the paragraph. 29 March 2001, 23:31:22 UTC
659f377 Add entry for curses.panel documentation. 29 March 2001, 22:23:19 UTC
14631f6 Fix serious markup errors. 29 March 2001, 22:22:23 UTC
c612a14 Remove the spurious space of uncertain origin from the output for function, method and constructor signatures. Suggested by Peter Funk on the Doc-SIG mailing list. 29 March 2001, 18:24:08 UTC
6333af1 On OSX show a dialog explaining that ConfigurePythonCarbon launch will probably fail. This turns out to be a VISE 7.1.1 problem, probably. 29 March 2001, 13:54:23 UTC
2e2546c On OSX always copy PythonCore. It turns out an orphaned alias in /Library/CFMSupport (happens when you remove python and aliased pythoncore) wreaks havoc with the system. 29 March 2001, 13:53:19 UTC
9bfae98 Changed some of the dialogs to be a little clearer. 29 March 2001, 13:52:16 UTC
a19a168 Whitespace normalization. 29 March 2001, 04:36:09 UTC
301ab7f Initialize new save_warnings_filters data member in ModifiedInterpreter.__init__. Was getting mystery ModifiedInterpreter instance has no attribute 'save_warnings_filters' errors at odd times (for sure in a fresh IDLE, fresh file, then Run Script). 29 March 2001, 03:34:43 UTC
cb83988 Added example use of weak references, contributed by Tim Peters. 28 March 2001, 21:15:41 UTC
58c8f9f Added documentation for PyObject_IsInstance() and PyObject_IsSubclass(). 28 March 2001, 21:14:32 UTC
fc369f2 Don't show finder-delay-warning on OSX. Untested. 28 March 2001, 20:33:24 UTC
e264577 Typo: "ariables" --> "variables" This fixes SF bug #411118. 28 March 2001, 16:55:53 UTC
2bbc697 Fix a number of small issues; this closes SF bug #411063. 28 March 2001, 16:51:20 UTC
1417144 Based on info from Jens@digicool.com, add 'darwin1' to the list of BSD-style OS'es. Makes sense, really. 28 March 2001, 01:14:56 UTC
2b73fe9 Updated for 2.1b2 distribution. 27 March 2001, 21:38:55 UTC
764dad5 Arghh. Fix typo. 27 March 2001, 21:38:15 UTC
ff4e62d Added a note about BBPy.lm. 27 March 2001, 21:37:06 UTC
back to top