Staging
v0.5.1
swh:1:snp:635f4099902912592851108bcac178ff574f7c5f

sort by:
Revision Author Date Message Commit Date
7667680 Idiotic braino caused HTTP openers to ignore proxies. This fixes 413135 11 April 2001, 07:44:53 UTC
2bd0d88 Fixing bug 405999 -- clarifying differences between Python's getopt and GNU getopt -- Python is like classical UNIX getopt. 11 April 2001, 07:33:08 UTC
5d6e402 Based on a comment by Konrad Hinsen on python-list: Change "EOF" to "end-of-file", on the premise that it is easier for new programmers to understand (at least a little). This does not attempt to explain "file or device attached to standard input." 11 April 2001, 04:38:34 UTC
285a7e5 Add a close_request method to the BaseServer so that the TCPServer class can close the request connection when it's done handling it. 11 April 2001, 04:02:05 UTC
3f5cc20 Use INSTALL_SCRIPT to install script files. INSTALL_PROGRAM may try to strip them. Closes patch #406287. 10 April 2001, 23:03:35 UTC
29be701 Added definition of "test fixture". Added description of optional parameter to the TestSuite constructor. Added descriptions of the TestLoader and TextTestRunner classes. Added method descriptions for the TestCase class. 10 April 2001, 22:25:06 UTC
5f9f929 Some new names. 10 April 2001, 22:22:52 UTC
bceccf5 Updated version of RISCOS support. SF patch 411213 by Dietmar Schwertberger 10 April 2001, 22:07:43 UTC
13aa706 Completely revamped BeOS notes, by Donn Cave (SF patch 411834). 10 April 2001, 21:51:29 UTC
4611df0 This is for BeOS users who want to build all the modules. It's modified from setup.py version "1.37" to support BeOS build. Contributed by Donn Cave (SF patch 411830). 10 April 2001, 21:50:09 UTC
40f3c7f The lower() and tkraise() methods were calling the Canvas widget wrongly. Fixed this. This closes SF bug #412682. 10 April 2001, 21:13:06 UTC
8875c86 Typo: "BuildApple" --> "BuildApplet" Added reference to the webbrowser module from the nsremote description. 10 April 2001, 20:32:16 UTC
c5287ac Bump version numbers for upcoming release candidate. 10 April 2001, 20:19:25 UTC
20931fb Update the XML conversion specification. 10 April 2001, 19:59:31 UTC
ac154a1 Remove the mapping() function from the documentation. Add a description of the ReferenceError exception. 10 April 2001, 19:57:58 UTC
da00cda Add note that difflib was added in Python 2.1. 10 April 2001, 19:56:09 UTC
858ca0f Include py_curses.h *after* defining _XOPEN_SOURCE_EXTENDED. Michael Hudson suggested this fox for the Tru64 problem (SF bug 232597). It looks reasonable, it works on Tru64, and it doesn't beak anything on Linux, so I say go for it. 10 April 2001, 19:53:37 UTC
9a9d219 mapping(): Remove this function since it does not add anything to the API. 10 April 2001, 19:11:23 UTC
bf43691 Use the WeakKeyDictionary and WeakValueDictionary classes directly instead of using the mapping() function. 10 April 2001, 19:09:35 UTC
f6cdead Since bdist_wininst.py contains the installer executable, it had to be rebuild. 10 April 2001, 18:57:07 UTC
cfac6d2 Normalize tabs to spaces. Update the attribution for the "Curses Programming with Python" How-To. Change the way the reference to the Demo/curses/ directory is marked up. 10 April 2001, 18:49:09 UTC
6fda3ac Add reference to the DDJ article discussing a similar algorithm. 10 April 2001, 18:41:16 UTC
8633360 Add corresponding support for the alltt environment to the HTML generator. 10 April 2001, 17:13:39 UTC
b5309a9 Import the alltt package and wrap that environment in a similar way to the way we handle verbatim, so that it picks up the same indentation and minipage behavior. 10 April 2001, 15:53:06 UTC
e9901f3 Fix two unqualified except: clauses. This came out of SF bug #411881. 10 April 2001, 15:44:33 UTC
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
back to top