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

sort by:
Revision Author Date Message Commit Date
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
64f9f71 Added a note about the new (since 2.0) OSA architecture. 27 March 2001, 21:34:31 UTC
3f4c173 Oops, ISO translation was off. Fixed. 27 March 2001, 21:32:34 UTC
0d01787 Add Robin Thomas (author of the slice() comparability hack). 27 March 2001, 17:04:37 UTC
c9494ac Use Guido's trick for always extracting the version number from a CVS Revision string correctly, even under -kv. 27 March 2001, 08:42:12 UTC
f78a81b Fix some reloading problems (still more work needed). Add hyperlinks to PEPs at http://www.python.org/peps/pep-%04d.html Remove script directory (dirname of sys.argv[0]) from sys.path. 27 March 2001, 08:13:42 UTC
996c5c1 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. 26 March 2001, 20:03:30 UTC
673a4fd Bug fix: compile() called from a nested-scopes-enable Python was not using nested scopes to compile its argument. Pass compiler flags through to underlying compile call. 26 March 2001, 19:53:38 UTC
b4ce430 Turn SyntasWarning into SyntaxError for all code entered interactively. 26 March 2001, 17:41:35 UTC
55a0034 Michael Hudson <mwh21@cam.ac.uk>: Add many more constants for some systems. This closes SF patch #410267. 26 March 2001, 17:14:02 UTC
21e036c Add a note that the "kfm" controller supports "konqueror" as well as the old KDE 1 "kfm" command. 26 March 2001, 16:17:21 UTC
3d9091e Itamar Shtull-Trauring <itamar@maxnm.com>: Add support to zipfile to support opening an archive represented by an open file rather than a file name. 26 March 2001, 15:49:24 UTC
fc31f26 Update auto-detection for Konqueror to include KDE 2 -- the kfm command is gone; "konqueror" is the new name, and the command-line args are different. kfmclient has not changed, though. 26 March 2001, 15:06:15 UTC
4240bc5 Note missing explanation 26 March 2001, 13:34:53 UTC
c658236 Fixed some access paths. 26 March 2001, 08:37:28 UTC
ae60534 Fixed ref count bug. Patch #411191. Found by Walter Dörwald. 25 March 2001, 19:16:13 UTC
4113b13 get_version_string(): New function -- returns a Python string object that gives the CVS revision of this file even if it does not include the extra RCS "$Revision: " cruft. initpyexpat(): Use get_version_string() instead of hard-coding magic indexes into the RCS string (which may be affected by export options). 24 March 2001, 19:58:26 UTC
c8da0f9 Document use_rawinput. (Although now that I think more about it, a better solution would have been to factor out the raw_input() call and make it into an overridable method. Oh well, maybe later...) 24 March 2001, 19:17:35 UTC
1ad37bb This commit was manufactured by cvs2svn to create tag 'r21b2'. 23 March 2001, 20:24:07 UTC
2108bc7 main(): Application of SF patch #405851, which allows this test to be used by Jython. The tests in this module expect C locale, so be explicit about setting that (for CPython). However, in Jython, there is no C locale, so instead be explicit about setting the US locale. Closes the patch. 23 March 2001, 20:24:07 UTC
66f0961 pydoc changed overnight in such a way that it no longer worked from the Windows start-menu item. This recovers from that. 23 March 2001, 20:21:29 UTC
9dee48f Fix a memory leak -- there's no need to INCREF() the result of newreadlinesobject() in xreadlines(). 23 March 2001, 18:30:19 UTC
559f668 In Jython, `@' is not allowed in module names. Extend the TESTFN test to use "$test" when in Jython. Closes SF patch #403668. 23 March 2001, 18:04:02 UTC
66e8e86 Finishing touch to Ping's changes. This is a patch that Ping sent me but apparently he had to go to school, so I am checking it in for him. This makes PyRun_HandleSystemExit() a static instead, called handle_system_exit(), and let it use the current exception rather than passing in an exception. This slightly simplifies the code. 23 March 2001, 17:54:43 UTC
62d2488 Two minor changes for better Jython compatibility. Finn Bock says: Change 1: Not all 'modules' in sys.modules have a sensible __file__ attribute. Some of our java package can have the __file__ attribute set to None. Change 2: In jython we have the jython license file in <root> and the CPython license file in <root>/Lib. By reversing the search sequence jython will find and show the jython license file before the CPython file. Closes SF patch #405853. 23 March 2001, 17:53:49 UTC
27dca06 Update Mac OS X platform notes. This closes SF bug #406191. 23 March 2001, 17:51:37 UTC
8f6df46 Strengthen the constraints on calling PyObject_GC_Fini(). 23 March 2001, 17:42:09 UTC
6870bba Make socket.getservbyname test optional on socket module having that attribute. Jython does not have this function. Closes SF patch #403667. 23 March 2001, 17:40:16 UTC
6a12d8d call_sys_exitfunc(): Remove unused variable f. 23 March 2001, 17:34:02 UTC
88b0884 Change rfc822_escape() to ensure there's a consistent amount of whitespace after each newline, instead of just blindly inserting a space at the start of each line. (Improvement suggested by Thomas Wouters) 23 March 2001, 17:30:26 UTC
aa90adc Add nested scopes spec to appendix. Add new opcodes LOAD_CLOSURE, LOAD_DEREF, STORE_DEREF, MAKE_CLOSURE to docs for dis module. Add docs for new function and code members in Sec. 3 of ref manual. They're present regardless of whether nested scopes are used. Remove description of default argument hack from Sec. 7 of the ref manual and refer the reader to the appendix. 23 March 2001, 17:23:50 UTC
back to top