summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Applying r22c1 branch mods back to the trunk.Jack Jansen2001-12-208-25/+57
|
* Fix the availability statement for the spawn*() functions to reflect theFred Drake2001-12-201-2/+3
| | | | | actual availability on Windows. This fixes SF bug #495191.
* Re-commit Ping's patch to the cgi and cgitb documentation, using theFred Drake2001-12-202-51/+47
| | | | | right version this time. Thanks, Ping! (This was from SF patch #494582, "\index -> \indexii" version.)
* test_parseaddr_empty(): New test for assuring thatBarry Warsaw2001-12-201-0/+4
| | | | | Utils.parseaddr('<>') -- i.e. on an empty address, returns the empty string. Built on rfc822, this used to return None.
* Update the documentation linksAndrew M. Kuchling2001-12-201-15/+6
| | | | Remove reference to this being a draft
* Use the final patch/bug numbersAndrew M. Kuchling2001-12-201-2/+1
|
* ZZZ.Guido van Rossum2001-12-201-0/+1
|
* SF patch #495358 (Artur Zaprzala): rfc822.AddressList and "<>" addressGuido van Rossum2001-12-201-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 "".]
* Another contributor.Guido van Rossum2001-12-201-0/+1
|
* Whitespace normalization.Tim Peters2001-12-201-1/+0
|
* Apparently it's Cygwin with a capital C.Michael W. Hudson2001-12-191-2/+2
|
* partial merge with current pythonware codebase:Fredrik Lundh2001-12-191-3/+4
| | | | | - use repr instead of implied str for doubles - updated version number to 1.0.0 (for 2.2 final)
* Fix a typoNeal Norwitz2001-12-191-1/+1
|
* More cygwin news. This section is getting a bit long. Oh well.Michael W. Hudson2001-12-191-25/+43
|
* SF bug #495021: Crash calling os.stat with a trailing backslashTim Peters2001-12-191-14/+20
| | | | | | | 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().
* Add test for pickling new-style class with custom metaclass.Guido van Rossum2001-12-191-0/+12
|
* Fix for SF bug #494904: Cannot pickle a class with a metaclass,Guido van Rossum2001-12-191-0/+1
| | | | reported by Dan Parisien.
* save(): Fix for SF bug #494904: Cannot pickle a class with aGuido van Rossum2001-12-191-0/+5
| | | | | | | | | | | | 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().
* Pickler.save(): Fix for SF bug #494904: Cannot pickle a class with aGuido van Rossum2001-12-191-0/+4
| | | | | | | | | | | 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().
* Add some additional tests that check more proxy behaviors.Fred Drake2001-12-191-0/+18
|
* proxy_compare(): Make sure that we unwrap both objects being compared ifFred Drake2001-12-191-6/+13
| | | | both are proxy objects.
* Fix the test control support for the pickle & cPickle tests so the tests runFred Drake2001-12-192-8/+22
| | | | under regrtest.
* The test using class initarg failed, because it was lacking aGuido van Rossum2001-12-191-0/+3
| | | | __safe_for_unpickling__ attribute.
* Make the module docstring agree with reality: the module prvides theFred Drake2001-12-191-1/+1
| | | | "handler()" function, not the "handle()" function.
* When running regen for the plat directories we should use the BUILDEXTJack Jansen2001-12-191-1/+1
| | | | | extension, not the EXT one, as regen uses the python binary in the build directory. Fixes #493959.
* SF bug #494738: binascii_b2a_base64 overwrites memory.Tim Peters2001-12-192-3/+6
| | | | | | | | 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.
* SF bug #494668: PUSH() should assert-fail on overflow.Tim Peters2001-12-191-2/+4
| | | | | eval_frame(): Added asserts to the top of the eval loop, to verify that the eval stack pointer is in bounds, plus some comments.
* TemporaryFileWrapper: fixed typo in new comment.Tim Peters2001-12-181-1/+1
|
* Patch #494384: Disable more Unicode API if Unicode is not used.Martin v. Löwis2001-12-181-0/+2
|
* TemporaryFileWrapper: cache the value of os.unlink for use by __del__,Tim Peters2001-12-181-1/+8
| | | | | to prevent mysterious errors at shutdown due to "os.unlink" turning into "None.unlink".
* Move the helper class _closedsocket *into* the _socketobject class.Guido van Rossum2001-12-181-7/+6
| | | | | | 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.
* Recreated after source changes.Thomas Heller2001-12-181-284/+284
|
* Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_Just van Rossum2001-12-182-10/+263
| | | | available in OSX (mach-o) but not in CarbonLib (neither on OSX or OS9).
* Second part of fix for bug [#483982] Python 2.2b2 bdist_wininstThomas Heller2001-12-181-3/+6
| | | | | | | | | | | | 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.
* Add entry for the pydoc documentation.Fred Drake2001-12-182-0/+2
|
* Add documentation for the pydoc module; contributed by Ka-Ping Yee.Fred Drake2001-12-181-0/+62
| | | | This closes SF patch #494622.
* Add documentation for the help() built-in; contributed by Ka-Ping Yee.Fred Drake2001-12-181-0/+10
| | | | This is part of SF patch #494622.
* Merge in Ping's changes to the cgitb documentation, and add a versionFred Drake2001-12-181-18/+40
| | | | | annotation as well. This closes SF patch #494582.
* Small change to allow for generation of QuickTime module for Windows.Jack Jansen2001-12-181-0/+4
|
* Updated to Universal Headers 3.4Jack Jansen2001-12-1831-68/+1835
|
* Added missing docstringJust van Rossum2001-12-182-1/+2
|
* Added support for tab controls and initial (incomplete) supportJust van Rossum2001-12-183-12/+543
| | | | for DataBrowser controls.
* Patch #494553 by Donovan Preston: initial implementationJust van Rossum2001-12-182-4/+84
| | | | for GetEventParameter().
* initxxsubtype(): Add a comment to make the magic clearer; I doubt it'sTim Peters2001-12-171-2/+4
| | | | obvious to anyone except PyType_Ready's author <0.9 wink>.
* Use PyType_Ready() for initialization of the ob_type field of ourGuido van Rossum2001-12-171-2/+4
| | | | types (the tp_base field must be initialized prior to that call).
* Update comments about mpz, pointing to gmpy and mxNumber rather thanGuido van Rossum2001-12-171-2/+4
| | | | to the non-existing pympz (did that ever exist?).
* - PyType_Ready(): Initialize the ob_type field to &PyType_Type if it'sGuido van Rossum2001-12-171-0/+16
| | | | | | | | 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.
* Don't use Latex \code{...} in docstrings.Guido van Rossum2001-12-171-1/+1
|
* Get rid of the stupid backslash in front of the column zero openBarry Warsaw2001-12-171-1/+1
| | | | | | | | | 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.
* There's a new include file AEInteraction.h which contains AESend and friends.Jack Jansen2001-12-172-1/+185
|