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

sort by:
Revision Author Date Message Commit Date
99dc409 Do not mask the name of a built-in function in example code. Based on comment sent to python-docs. 05 January 2002, 04:04:36 UTC
3f7f0f8 Fix indentation error in example from the Tkinter Life Preserver. This closes SF bug #499505. 05 January 2002, 03:57:19 UTC
3b9bcc8 Fix minor typo reported in SF patch #497951. 05 January 2002, 01:52:23 UTC
c8ae21a Backport gvanrossum's checkin of revision 1.20: Thread.__bootstrap(): ignore exceptions in the self.__delete() call in the finally clause. An exception here could happen when a daemon thread exits after the threading module has already been trashed by the import finalization, and there's not much of a point in trying to insist doing the cleanup in that stage. This should fix SF bug ##497111: active_limbo_lock error at program exit. 2.1.2 and 2.2.1 Bugfix candidate! (has this gone into 2.1.2 yet?) 04 January 2002, 12:29:45 UTC
c15958c Backport gvanrossum's checkin of revisions copy.py, 1.23 & test_descr.py, 1.114: Fix for SF bug ##497426: can't deepcopy recursive new objects deepcopy(), _reconstruct(): pass the memo to the other function, so that recursive data structures built out of new-style objects may be deeply copied correctly. 2.2.1 bugfix! 04 January 2002, 12:28:43 UTC
d941bad Add fcntl.h constants from glibc 2.2.4. Fixes #496171. 28 December 2001, 21:09:23 UTC
d444067 Backport gvanrossum's checkin of version 1.10: _reduce(): Avoid infinite recursion in the pickler when self.__class__ doesn't have the _HEAPTYPE flag set, e.g. for time.struct_time and posix.stat_result. This fixes the immediate symptoms of SF bug #496873 (cPickle / time.struct_time loop), replacing the infinite loop with an exception. 28 December 2001, 15:48:09 UTC
edd5e17 Remove extend directory and tidy up README as gvanrossum did on the trunk. I'm feeling thorough today :) 28 December 2001, 10:29:23 UTC
342ff99 Backport gvanrossum's checkin of version 2.217: Due to a cut-and-paste error, the type object exported under the name statvfs_result was in fact the stat_result type object. :-( 2.2.1 bugfix! 28 December 2001, 10:24:44 UTC
5fde86f Backport tim_one's checkin of version 2.302: SF bug #496549 -Qnew and in-place division "/=". eval_frame(): Under -Qnew, INPLACE_DIVIDE wasn't getting handed off to INPLACE_TRUE_DIVIDE (like BINARY_DIVIDE was getting handed off to BINARY_TRUE_DIVIDE). Bugfix candidate. 28 December 2001, 10:22:15 UTC
461540b Backport of akuchling's checkin of 1.10: Suggested by Pete Shinners: treat .m and .mm files as source code. Question for Jack Jansen: is this reasonable? Candidate for 2.2 release branch (if Jack thinks it's OK). Not sure how this wasn't on the branch already, seeing as I thought it went into 2.2. 28 December 2001, 10:20:06 UTC
5163991 Backport loewis' checkin of version 1.2: Regenerated for Linux 2.2.4. This wasn't flagged as a bugfix candidate, but I think it probably was. Howl if you disagree. 28 December 2001, 10:17:07 UTC
b8be8c6 Backport loewis' checkin of version 1.201: Add TCP socket options from glibc 2.2.4. Fixes #495680. 2.2.1 bugfix candidate. 28 December 2001, 10:12:44 UTC
ec549fe Backport Guido's checkin of version 1.61: Don't set passiveserver to 0 in connect(). See SF bug #495693. This should definitely be backported to 2.2.1. I'll leave it to Jack to decide whether he wants to fix this in MacPython 2.2. 28 December 2001, 10:11:32 UTC
a94dd28 Add note that fromfd() is Unix-specific. This fixes SF bug #495896. Fix up various markup consistency & style guide conformance nits. 28 December 2001, 04:42:10 UTC
9fcd9b2 Added index entries similar to some recommended by Skip, and used the word "interpolation" in the text, to make the string formatting material easier to find. This closes SF bug #487165. 28 December 2001, 04:37:37 UTC
3677d7e Make this do the right thing with entries which start with the percent sign, in response to Skip's comments in SF bug #487165. Make use of string methods instead of string module functions in most places. Add (and make the default) a way to collapse symbol entries into a single "Symbols" section in the generated index. This is similar to what makeindex does, but does not include entries beginning with an underscore. 28 December 2001, 04:36:14 UTC
1004049 Added some missing index entries, noted by L. Peter Deutsch. 28 December 2001, 04:35:43 UTC
a6276bd Fixed up some index entries. 28 December 2001, 04:35:10 UTC
99ae4f2 Elaborate the descriptions for onecmd(), precmd(), and postcmd() so they are useful. 28 December 2001, 04:33:03 UTC
4a61868 Fix wrongly-named formal parameters in three places: begin_y was used twice instead of begin_y and begin_x for derwin(), subpad(), and subwin(). Reported for derwin() by Eric Huss. Added class annotations for the window methods so they would be properly described in the index. 28 December 2001, 04:31:36 UTC
7b52ef2 Close an improperly-closed verbatim environment. This closes SF patch #496215. Add a little more detail to the example that had not been closed. 28 December 2001, 04:30:38 UTC
72621fb Merge names added on the trunk (contributions are being merged as well). 28 December 2001, 04:29:22 UTC
5894e1f Bump version info for maintenance branch. 28 December 2001, 04:27:46 UTC
2276818 This commit was manufactured by cvs2svn to create branch 'release22-maint'. 28 December 2001, 04:27:46 UTC
bec5b36 1.00 at last! Describe super() very briefly A few minor reformattings and wording changes Set the release date (presumably tomorrow...) 21 December 2001, 04:39:11 UTC
5c79831 Add a reference to the signal module to the os.kill() description. This closes SF bug #495609. 21 December 2001, 03:58:47 UTC
dce2e11 Fix typo in httplib example. This fixes SF bug #495221. 21 December 2001, 03:52:04 UTC
23d45f4 Fix up some examples in the tutorial so we don't contradict our own advice on docstrings. This fixes SF bug #495601. 20 December 2001, 23:54:56 UTC
6bc62c4 Applying r22c1 branch mods back to the trunk. 20 December 2001, 20:41:45 UTC
8c8e871 Fix the availability statement for the spawn*() functions to reflect the actual availability on Windows. This fixes SF bug #495191. 20 December 2001, 17:24:11 UTC
34a37b8 Re-commit Ping's patch to the cgi and cgitb documentation, using the right version this time. Thanks, Ping! (This was from SF patch #494582, "\index -> \indexii" version.) 20 December 2001, 17:13:09 UTC
eae36ac test_parseaddr_empty(): New test for assuring that Utils.parseaddr('<>') -- i.e. on an empty address, returns the empty string. Built on rfc822, this used to return None. 20 December 2001, 16:37:27 UTC
5e08d10 Update the documentation links Remove reference to this being a draft 20 December 2001, 16:33:45 UTC
adc7df5 Use the final patch/bug numbers 20 December 2001, 16:04:24 UTC
1cb65e2 ZZZ. 20 December 2001, 15:56:23 UTC
f830a52 SF patch #495358 (Artur Zaprzala): rfc822.AddressList and "<>" address rfc822.AddressList incorrectly handles empty address. "<>" is converted to None and should be "". AddressList.__str__() fails on None. I got an email with such an address and my program failed processing it. Example: >>> import rfc822 >>> rfc822.AddressList("<>").addresslist [('', None)] >>> str(rfc822.AddressList("<>")) Traceback (most recent call last): File "<stdin>", line 1, in ? File "/usr/lib/python2.1/rfc822.py", line 753, in __str__ return ", ".join(map(dump_address_pair, self.addresslist)) TypeError: sequence item 0: expected string, None found [His solution: in the internal routine AddrlistClass.getrouteaddr(), initialize adlist to "".] 20 December 2001, 15:54:48 UTC
54dc1d3 Another contributor. 20 December 2001, 13:19:36 UTC
2b26a86 Whitespace normalization. 20 December 2001, 06:18:15 UTC
b655464 Apparently it's Cygwin with a capital C. 19 December 2001, 22:09:09 UTC
b6ab93f partial merge with current pythonware codebase: - use repr instead of implied str for doubles - updated version number to 1.0.0 (for 2.2 final) 19 December 2001, 21:40:04 UTC
4ebde09 Fix a typo 19 December 2001, 20:44:13 UTC
1c4523f More cygwin news. This section is getting a bit long. Oh well. 19 December 2001, 19:49:58 UTC
500bd03 SF bug #495021: Crash calling os.stat with a trailing backslash Patch from Mark Hammond, plus code rearrangement and comments from me. posix_do_stat(): Windows-specific code could try to free() stack memory in some cases when a path ending with a forward or backward slash was passed to os.stat(). 19 December 2001, 19:05:01 UTC
04a8661 Add test for pickling new-style class with custom metaclass. 19 December 2001, 16:58:54 UTC
f831429 Fix for SF bug #494904: Cannot pickle a class with a metaclass, reported by Dan Parisien. 19 December 2001, 16:57:36 UTC
950dce6 save(): Fix for SF bug #494904: Cannot pickle a class with a metaclass, reported by Dan Parisien. Objects that are instances of custom metaclasses, i.e. whose ob_type is a subclass of PyType_Type, should be pickled the same as new-style classes (objects whose ob_type is PyType_Type). This can't be done through the existing dispatch switches, and the __reduce__ trick doesn't work for these, since it finds the unbound __reduce__ for instances of the class (inherited from PyBaseObject_Type). So check explicitly using PyType_IsSubtype(). 19 December 2001, 16:56:54 UTC
f048a8f Pickler.save(): Fix for SF bug #494904: Cannot pickle a class with a metaclass, reported by Dan Parisien. Objects that are instances of custom metaclasses, i.e. whose class is a subclass of 'type', should be pickled the same as new-style classes (objects whose class is 'type'). This can't be done through a dispatch table entry, and the __reduce__ trick doesn't work for these, since it finds the unbound __reduce__ for instances of the class (inherited from 'object'). So check explicitly using issubclass(). 19 December 2001, 16:55:02 UTC
5935ff0 Add some additional tests that check more proxy behaviors. 19 December 2001, 16:54:23 UTC
2a908f6 proxy_compare(): Make sure that we unwrap both objects being compared if both are proxy objects. 19 December 2001, 16:44:30 UTC
694ed09 Fix the test control support for the pickle & cPickle tests so the tests run under regrtest. 19 December 2001, 16:42:15 UTC
1444f67 The test using class initarg failed, because it was lacking a __safe_for_unpickling__ attribute. 19 December 2001, 16:38:29 UTC
4f5b49f Make the module docstring agree with reality: the module prvides the "handler()" function, not the "handle()" function. 19 December 2001, 14:27:41 UTC
0d15366 When running regen for the plat directories we should use the BUILDEXT extension, not the EXT one, as regen uses the python binary in the build directory. Fixes #493959. 19 December 2001, 09:24:40 UTC
1fbb577 SF bug #494738: binascii_b2a_base64 overwrites memory. binascii_b2a_base64(): We didn't allocate enough buffer space for very short inputs (e.g., a 1-byte input can produce a 5-byte output, but we only allocated 2 bytes). I expect that malloc overheads absorbed the overrun in practice, but computing a correct upper bound is a very simple change. 19 December 2001, 04:41:35 UTC
b6d14da SF bug #494668: PUSH() should assert-fail on overflow. eval_frame(): Added asserts to the top of the eval loop, to verify that the eval stack pointer is in bounds, plus some comments. 19 December 2001, 04:11:07 UTC
81b61bd TemporaryFileWrapper: fixed typo in new comment. 18 December 2001, 23:22:01 UTC
8d3ce5a Patch #494384: Disable more Unicode API if Unicode is not used. 18 December 2001, 22:36:40 UTC
a255a72 TemporaryFileWrapper: cache the value of os.unlink for use by __del__, to prevent mysterious errors at shutdown due to "os.unlink" turning into "None.unlink". 18 December 2001, 22:32:40 UTC
99d2fbb Move the helper class _closedsocket *into* the _socketobject class. This way, when a socket object is deleted after the socket module has already been zapped by module shutdown, we don't get annoying warnings about exceptions in __del__ methods. 18 December 2001, 22:22:25 UTC
f499b03 Recreated after source changes. 18 December 2001, 21:08:15 UTC
7eb48e3 Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_ available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9). 18 December 2001, 20:15:27 UTC
c7cb9ed Second part of fix for bug [#483982] Python 2.2b2 bdist_wininst crashes. If no external zip-utility is found, the archive is created by the zipfile module, which behaves different now than in 2.1: if the zip-file is created in the root directory if the distribution, it will contain an (empty) version of itself. This triggered the above bug - so it's better to create the zip-file far away in the TMP directory. 18 December 2001, 20:13:40 UTC
4b1b3bf Add entry for the pydoc documentation. 18 December 2001, 16:32:30 UTC
96be564 Add documentation for the pydoc module; contributed by Ka-Ping Yee. This closes SF patch #494622. 18 December 2001, 16:31:44 UTC
732299f Add documentation for the help() built-in; contributed by Ka-Ping Yee. This is part of SF patch #494622. 18 December 2001, 16:31:08 UTC
e088970 Merge in Ping's changes to the cgitb documentation, and add a version annotation as well. This closes SF patch #494582. 18 December 2001, 15:51:55 UTC
6f4f8c7 Small change to allow for generation of QuickTime module for Windows. 18 December 2001, 15:48:28 UTC
620a766 Updated to Universal Headers 3.4 18 December 2001, 15:39:38 UTC
f30c3ad Added missing docstring 18 December 2001, 12:53:47 UTC
66d78bf Added support for tab controls and initial (incomplete) support for DataBrowser controls. 18 December 2001, 12:47:47 UTC
8208676 Patch #494553 by Donovan Preston: initial implementation for GetEventParameter(). 18 December 2001, 12:35:57 UTC
4befff9 initxxsubtype(): Add a comment to make the magic clearer; I doubt it's obvious to anyone except PyType_Ready's author <0.9 wink>. 17 December 2001, 18:26:19 UTC
a7b9b3c Use PyType_Ready() for initialization of the ob_type field of our types (the tp_base field must be initialized prior to that call). 17 December 2001, 17:25:53 UTC
8efd6ce Update comments about mpz, pointing to gmpy and mxNumber rather than to the non-existing pympz (did that ever exist?). 17 December 2001, 17:24:43 UTC
f884b74 - PyType_Ready(): Initialize the ob_type field to &PyType_Type if it's NULL, so that you can call PyType_Ready() to initialize a type that is to be separately compiled with C on Windows. inherit_special(): Add a long comment explaining that you have to set tp_new if your base class is PyBaseObject_Type. 17 December 2001, 17:14:22 UTC
facf24b Don't use Latex \code{...} in docstrings. 17 December 2001, 16:07:06 UTC
6e1c576 Get rid of the stupid backslash in front of the column zero open paren. This was there to worm around a stupid XEmacs bug, but since I can't tickle the bug in newer XEmacsen (just tried w/21.4.5) it's possible the problem has been fixed. We shouldn't have to be working around editor bugs anyway. If it crops up again, I'll report it (again) to the XEmacs crowd. 17 December 2001, 15:40:24 UTC
086f7c3 There's a new include file AEInteraction.h which contains AESend and friends. 17 December 2001, 11:47:27 UTC
ec982e2 TickCount moved to a different header file. We manually added it back in here, for conveninece. 17 December 2001, 11:46:50 UTC
564980b Portability fix: Not every compiler implements the extension of unescaped newlines in strings. 17 December 2001, 11:39:56 UTC
ca9aaf3 Synch with pyunit CVS: - Adds Fred's patch 487662: "Better error message for assertEqual" - Removed small portion of code unused after Guido's patch 490119: "Don't treat ^C as error" 17 December 2001, 10:13:17 UTC
33c1a88 SF patch #493452: docstrings for staticmethod/classmethod (Skip Montanaro) (With minor adjustments.) 17 December 2001, 02:53:53 UTC
dd5c05f David Abrahams tried to compile this as a separate DLL under MSVC, and got a barrage of compile errors that didn't make sense to the C++ brain: MSVC does not allow C (but does allow C++) initializers to contain data addresses supplied by other DLLs. So changed the initializers here to use dummy nulls, and changed module init to plug in the foreign addresses at runtime (manually simulating what C++ does by magic). Tested on Windows, and Guido tested on Linux (thanks!). BTW, the *point* is that people are going to use this module as a template for writing their own subtypes, and it's unusual for extension authors to build their extensions into Python directly (separate DLLs are the norm on Windows); so it's better if we give them a template that works <wink>. 17 December 2001, 01:27:01 UTC
2168e9d Adapted for Universal Headers 3.4 16 December 2001, 20:18:40 UTC
b519638 _PyEval_SliceIndex(): explain why a NULL argument is allowed (thanks to Guido for the revelation). 16 December 2001, 19:44:20 UTC
cb479e7 _PyEval_SliceIndex(): Repaired the comments, and added XXX comments about its dubious treatment of NULL (also opened a bug report on that, but don't want to risk changing it this late in the 2.2 game). 16 December 2001, 19:11:44 UTC
0c0b530 Mark the mpz module deprecated as of Python 2.2. 16 December 2001, 01:54:55 UTC
fc1a7ce Update the example Windows extension to 2.2 (was hardcoded to 2.1). 15 December 2001, 22:27:01 UTC
b9c0ef5 Update to reflect recently added markup. 15 December 2001, 22:24:06 UTC
1422e9d SF patch 493739 2 Bugfixes for 2.2c1 (RISC OS specific), from Dietmar Schwertberger. Bugfix candidate. """ RISCOS/Modules/getpath_riscos.c: Include trailing '\0' when using strncpy [copy strlen(...)+1 characters]. Lib/plat-riscos/riscospath.py: Use riscosmodule.expand for os.path.abspath. [fixes problems with site.py where abspath("<Python$Dir>") returned join(os.getcwd(), "<Python$Dir>") as e.g. "SCSI::SCSI4.$.<Python$Dir>" because "<Python$Dir>" wasn't recognised as an absolute path.] """ 15 December 2001, 22:12:47 UTC
c577728 Add a link to the mxNumber package. 15 December 2001, 20:37:40 UTC
b40501b Add link to the gmpy project. 15 December 2001, 18:37:24 UTC
796e1e0 Don't call resetwarnings(). Be more restrictive in what we filter out instead. 15 December 2001, 18:04:10 UTC
2b8235e SF bug #493561: incorrect format string descrobject.c (Neal Norwitz) %300s should be %.300s, twice. 15 December 2001, 05:00:30 UTC
6943444 Finally CW7 allows me to replace the continually-in-need-of-updating exports files with one 6-line anti-export-file. Yeah! (Thanks Alex, for reminding me:-) 15 December 2001, 00:23:35 UTC
909c091 Post-release fiddling -- prep for 2.2 final. 14 December 2001, 23:16:18 UTC
2c39115 Made event callbacks more rubust: keep an actual reference to the python callback, and do RemoveEventHandler() upon deallocation. 14 December 2001, 23:16:04 UTC
9635f33 Quick patch to allow building with Universal Headers 3.4. 14 December 2001, 23:03:07 UTC
1b8bd94 The import of the scanner can also fail, cater for that. 14 December 2001, 23:01:34 UTC
back to top