Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Add some additional tests that check more proxy behaviors. | Fred Drake | 2001-12-19 | 1 | -0/+18 |
| | |||||
* | proxy_compare(): Make sure that we unwrap both objects being compared if | Fred Drake | 2001-12-19 | 1 | -6/+13 |
| | | | | both are proxy objects. | ||||
* | Fix the test control support for the pickle & cPickle tests so the tests run | Fred Drake | 2001-12-19 | 2 | -8/+22 |
| | | | | under regrtest. | ||||
* | The test using class initarg failed, because it was lacking a | Guido van Rossum | 2001-12-19 | 1 | -0/+3 |
| | | | | __safe_for_unpickling__ attribute. | ||||
* | Make the module docstring agree with reality: the module prvides the | Fred Drake | 2001-12-19 | 1 | -1/+1 |
| | | | | "handler()" function, not the "handle()" function. | ||||
* | When running regen for the plat directories we should use the BUILDEXT | Jack Jansen | 2001-12-19 | 1 | -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 Peters | 2001-12-19 | 2 | -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 Peters | 2001-12-19 | 1 | -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 Peters | 2001-12-18 | 1 | -1/+1 |
| | |||||
* | Patch #494384: Disable more Unicode API if Unicode is not used. | Martin v. Löwis | 2001-12-18 | 1 | -0/+2 |
| | |||||
* | TemporaryFileWrapper: cache the value of os.unlink for use by __del__, | Tim Peters | 2001-12-18 | 1 | -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 Rossum | 2001-12-18 | 1 | -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 Heller | 2001-12-18 | 1 | -284/+284 |
| | |||||
* | Moved a bunch of routines from "blacklisted" to "graylisted", as they _are_ | Just van Rossum | 2001-12-18 | 2 | -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_wininst | Thomas Heller | 2001-12-18 | 1 | -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 Drake | 2001-12-18 | 2 | -0/+2 |
| | |||||
* | Add documentation for the pydoc module; contributed by Ka-Ping Yee. | Fred Drake | 2001-12-18 | 1 | -0/+62 |
| | | | | This closes SF patch #494622. | ||||
* | Add documentation for the help() built-in; contributed by Ka-Ping Yee. | Fred Drake | 2001-12-18 | 1 | -0/+10 |
| | | | | This is part of SF patch #494622. | ||||
* | Merge in Ping's changes to the cgitb documentation, and add a version | Fred Drake | 2001-12-18 | 1 | -18/+40 |
| | | | | | annotation as well. This closes SF patch #494582. | ||||
* | Small change to allow for generation of QuickTime module for Windows. | Jack Jansen | 2001-12-18 | 1 | -0/+4 |
| | |||||
* | Updated to Universal Headers 3.4 | Jack Jansen | 2001-12-18 | 31 | -68/+1835 |
| | |||||
* | Added missing docstring | Just van Rossum | 2001-12-18 | 2 | -1/+2 |
| | |||||
* | Added support for tab controls and initial (incomplete) support | Just van Rossum | 2001-12-18 | 3 | -12/+543 |
| | | | | for DataBrowser controls. | ||||
* | Patch #494553 by Donovan Preston: initial implementation | Just van Rossum | 2001-12-18 | 2 | -4/+84 |
| | | | | for GetEventParameter(). | ||||
* | initxxsubtype(): Add a comment to make the magic clearer; I doubt it's | Tim Peters | 2001-12-17 | 1 | -2/+4 |
| | | | | obvious to anyone except PyType_Ready's author <0.9 wink>. | ||||
* | Use PyType_Ready() for initialization of the ob_type field of our | Guido van Rossum | 2001-12-17 | 1 | -2/+4 |
| | | | | types (the tp_base field must be initialized prior to that call). | ||||
* | Update comments about mpz, pointing to gmpy and mxNumber rather than | Guido van Rossum | 2001-12-17 | 1 | -2/+4 |
| | | | | to the non-existing pympz (did that ever exist?). | ||||
* | - PyType_Ready(): Initialize the ob_type field to &PyType_Type if it's | Guido van Rossum | 2001-12-17 | 1 | -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 Rossum | 2001-12-17 | 1 | -1/+1 |
| | |||||
* | Get rid of the stupid backslash in front of the column zero open | Barry Warsaw | 2001-12-17 | 1 | -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 Jansen | 2001-12-17 | 2 | -1/+185 |
| | |||||
* | TickCount moved to a different header file. We manually added it back in ↵ | Jack Jansen | 2001-12-17 | 2 | -0/+24 |
| | | | | here, for conveninece. | ||||
* | Portability fix: Not every compiler implements the extension of | Sjoerd Mullender | 2001-12-17 | 1 | -1/+1 |
| | | | | unescaped newlines in strings. | ||||
* | Synch with pyunit CVS: | Steve Purcell | 2001-12-17 | 1 | -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 (Skip | Guido van Rossum | 2001-12-17 | 1 | -2/+41 |
| | | | | | | Montanaro) (With minor adjustments.) | ||||
* | David Abrahams tried to compile this as a separate DLL under MSVC, and | Tim Peters | 2001-12-17 | 1 | -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.4 | Jack Jansen | 2001-12-16 | 19 | -370/+1770 |
| | |||||
* | _PyEval_SliceIndex(): explain why a NULL argument is allowed (thanks | Tim Peters | 2001-12-16 | 1 | -4/+4 |
| | | | | to Guido for the revelation). | ||||
* | _PyEval_SliceIndex(): Repaired the comments, and added XXX comments | Tim Peters | 2001-12-16 | 1 | -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 Drake | 2001-12-16 | 1 | -0/+6 |
| | |||||
* | Update the example Windows extension to 2.2 (was hardcoded to 2.1). | Tim Peters | 2001-12-15 | 2 | -11/+11 |
| | |||||
* | Update to reflect recently added markup. | Fred Drake | 2001-12-15 | 1 | -0/+9 |
| | |||||
* | SF patch 493739 2 Bugfixes for 2.2c1 (RISC OS specific), from | Tim Peters | 2001-12-15 | 2 | -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 Drake | 2001-12-15 | 1 | -0/+5 |
| | |||||
* | Add link to the gmpy project. | Fred Drake | 2001-12-15 | 1 | -0/+8 |
| | |||||
* | Don't call resetwarnings(). Be more restrictive in what we filter out | Guido van Rossum | 2001-12-15 | 1 | -3/+1 |
| | | | | instead. | ||||
* | SF bug #493561: incorrect format string descrobject.c (Neal Norwitz) | Guido van Rossum | 2001-12-15 | 1 | -2/+2 |
| | | | | %300s should be %.300s, twice. | ||||
* | Finally CW7 allows me to replace the continually-in-need-of-updating exports ↵ | Jack Jansen | 2001-12-15 | 3 | -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 Peters | 2001-12-14 | 4 | -6/+35 |
| | |||||
* | Made event callbacks more rubust: keep an actual reference to the | Just van Rossum | 2001-12-14 | 3 | -30/+113 |
| | | | | python callback, and do RemoveEventHandler() upon deallocation. |