summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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.
* Quick patch to allow building with Universal Headers 3.4.Jack Jansen2001-12-142-23/+2
|
* The import of the scanner can also fail, cater for that.Jack Jansen2001-12-141-1/+4
|
* We have strdup(), but not its prototype:-(Jack Jansen2001-12-142-3/+1
|
* Use getcwd(), not silly old getwd().Jack Jansen2001-12-141-1/+1
|
* Update to use the notice environment so a multi-paragraph note can beFred Drake2001-12-141-2/+4
| | | | appropriately marked.
* Updated for CW7Jack Jansen2001-12-142-538/+114
|
* Update information about __del__() & reference cycles for CPython.Fred Drake2001-12-141-7/+18
| | | | | | | This partially fixes SF bug #492619. Fix a typo & use the new notice environment instead of (ab)using the \note and \warning macros.
* Updated to CodeWarrior Pro 7.Jack Jansen2001-12-145-0/+0
|
* Add a new environment for whole-paragraph (or longer) notes & warnings.Fred Drake2001-12-143-4/+47
|
* Many of the new calls are Carbon-only. Flagged them as such.Jack Jansen2001-12-142-0/+658
|
* Added test_socketserver and test_unicode_file to tests expected to beJack Jansen2001-12-141-0/+2
| | | | | skipped on Mac OS X. Not sure yet about test_locale.py: this may be due to my copy of Mac OS X (although it talks english fine enough).
* Add a missing "cycle".Fred Drake2001-12-141-1/+1
|
* Merge last minute 2.2c1 changes from branch to trunk.Barry Warsaw2001-12-142-10/+52
|
* send(), ehlo(): Integrate patch #487310 by Fazal Majid. ConsistentlyBarry Warsaw2001-12-141-0/+2
| | | | | | | call self.close() just before raising SMTPServerDisconnected. This allows you to, e.g. reconnect after a server timeout. Merged from the 2.2c1 branch.
* As usual, bump the version number.Barry Warsaw2001-12-141-3/+3
|
* Note the tighter complex() parameter checking.Fred Drake2001-12-141-0/+4
|
* Work around the problem of spaces after a "}" being dropped by LaTeX2HTML ifFred Drake2001-12-141-5/+5
| | | | | they were represented by newlines in the document source. Partially fixes SF bug #493243.
* The valign attribute to control the vertical alignment of a table cell shouldFred Drake2001-12-141-3/+3
| | | | | be on the <tr> element, not the <table> element. Partially fixes SF bug #493243.
* Bump version numbers for the trunk.Fred Drake2001-12-142-2/+2
|
* Reflect change of Digital Creations to Zope Corporation.Fred Drake2001-12-141-6/+6
|
* Partial fix for problem in SF buf #487458Jeremy Hylton2001-12-141-1/+7
| | | | | | | | | | | | | | | | | | Rev 1.20 introduced a call to getpeername() in the dispatcher constructor. This only works for a connected socket. Apparently earlier versions of the code worked with un-connected sockets, e.g. a listening socket. It's not clear that the code is supposed to accept these sockets, because it sets self.connected = 1 when passed a socket. But it's also not clear that it should be a fatal error to pass a listening socket. The solution, for now, is to put a try/except around the getpeername() call and continue if it fails. The self.addr attribute is used primarily (only?) to produce a nice repr for the object, so it hardly matters. If there is a real error on a connected socket, it's likely that subsequent calls will fail too.
* Add default values for options in the class init routine, not in the ↵Jack Jansen2001-12-142-14/+17
| | | | convenience wrapper function: distutils uses the class directly. Fixes bug #492665.
* (Merge into trunk.)Guido van Rossum2001-12-142-1/+13
| | | | | | | | | | | | | | | | | Fix for SF bug #492345. (I could've sworn I checked this in, but apparently I didn't!) This code: class Classic: pass class New(Classic): __metaclass__ = type attempts to create a new-style class with only classic bases -- but it doesn't work right. Attempts to fix it so it works caused problems elsewhere, so I'm now raising a TypeError in this case.
* - "manage" controls created by CreateXxxXxxControl() functions.Just van Rossum2001-12-133-48/+67
| | | | - FindControlUnderMouse() returns an existing control, not a new one.
* Undo inadvertent change to test_scope in previous checkinJeremy Hylton2001-12-131-2/+1
|
* Add a comment explaining what these tests are for, and where to look forFred Drake2001-12-131-0/+3
| | | | tests of complex().
* For the exec-free var bug.Jeremy Hylton2001-12-131-0/+1
|
* Ensure that complex() only accepts a string argument as the first arg,Fred Drake2001-12-133-4/+26
| | | | | and only if there is no second arg. This closes SF patch #479551.