summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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
|
* TickCount moved to a different header file. We manually added it back in ↵Jack Jansen2001-12-172-0/+24
| | | | here, for conveninece.
* Portability fix: Not every compiler implements the extension ofSjoerd Mullender2001-12-171-1/+1
| | | | unescaped newlines in strings.
* Synch with pyunit CVS:Steve Purcell2001-12-171-4/+4
| | | | | | - 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"
* SF patch #493452: docstrings for staticmethod/classmethod (SkipGuido van Rossum2001-12-171-2/+41
| | | | | | Montanaro) (With minor adjustments.)
* David Abrahams tried to compile this as a separate DLL under MSVC, andTim Peters2001-12-171-4/+21
| | | | | | | | | | | | | 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>.
* Adapted for Universal Headers 3.4Jack Jansen2001-12-1619-370/+1770
|
* _PyEval_SliceIndex(): explain why a NULL argument is allowed (thanksTim Peters2001-12-161-4/+4
| | | | to Guido for the revelation).
* _PyEval_SliceIndex(): Repaired the comments, and added XXX commentsTim Peters2001-12-161-6/+11
| | | | | 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).
* Mark the mpz module deprecated as of Python 2.2.Fred Drake2001-12-161-0/+6
|
* Update the example Windows extension to 2.2 (was hardcoded to 2.1).Tim Peters2001-12-152-11/+11
|
* Update to reflect recently added markup.Fred Drake2001-12-151-0/+9
|
* SF patch 493739 2 Bugfixes for 2.2c1 (RISC OS specific), fromTim Peters2001-12-152-5/+3
| | | | | | | | | | | | | | | | | | 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.] """
* Add a link to the mxNumber package.Fred Drake2001-12-151-0/+5
|
* Add link to the gmpy project.Fred Drake2001-12-151-0/+8
|
* Don't call resetwarnings(). Be more restrictive in what we filter outGuido van Rossum2001-12-151-3/+1
| | | | instead.
* SF bug #493561: incorrect format string descrobject.c (Neal Norwitz)Guido van Rossum2001-12-151-2/+2
| | | | %300s should be %.300s, twice.
* Finally CW7 allows me to replace the continually-in-need-of-updating exports ↵Jack Jansen2001-12-153-5211/+7
| | | | files with one 6-line anti-export-file. Yeah! (Thanks Alex, for reminding me:-)
* Post-release fiddling -- prep for 2.2 final.Tim Peters2001-12-144-6/+35
|
* Made event callbacks more rubust: keep an actual reference to theJust van Rossum2001-12-143-30/+113
| | | | python callback, and do RemoveEventHandler() upon deallocation.