summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Add synopsis for the SimpleXMLRPCServer module; used in the chapter-levelFred Drake2001-11-281-0/+1
| | | | list of modules.
* Clean up some markup cruft. A number of the macros that take noFred Drake2001-11-2840-187/+187
| | | | | | | | parameters (like \UNIX) are commonly entered using an empty group to separate the markup from a following inter-word space; this is not needed when the next character is punctuation, or the markup is the last thing in the enclosing group. These cases were marked inconsistently; the empty group is now *only* used when needed.
* __format(): Applied SF patch #482003 by Skip to fix multiline dictBarry Warsaw2001-11-282-1/+20
| | | | | | | | output. Patch includes additional test case test_basic_line_wrap(). This patch is a candidate for Python 2.1.2.
* Fix docstring typoAndrew M. Kuchling2001-11-281-1/+1
|
* Fix [ #484645 ] little bug in pycodegen.pyJeremy Hylton2001-11-271-1/+1
|
* SF bug #483469: crash on unbounded recursion in __del__.Tim Peters2001-11-271-0/+8
| | | | | | | | | | | | | PyEval_EvalCodeEx(): increment tstate->recursion_depth around the decref of the frame, because the C stack for this call is still in use and the decref can lead to __del__ methods getting called. While this gives tstate->recursion_depth a value proportional to the depth of the C stack (instead of a small constant no matter how deeply __del__s recurse), it's not enough to stop the reported crash when using the default recursion limit on Windows. Bugfix candidate.
* SF bug 485175: buffer overflow in traceback.c.Tim Peters2001-11-272-3/+4
| | | | | | | Bugfix candidate. tb_displayline(): the sprintf format was choking off the file name, but used plain %s for the function name (which can be arbitrarily long). Limit both to 500 chars max.
* test_formatdate(): Integrating Jack's 22b2 branch fix for Mac epoch:Barry Warsaw2001-11-271-3/+4
| | | | | | | | More changes to the formatdate epoch test: the Mac epoch is in localtime, so east of GMT it falls in 1903:-( Changed the test to obtain the epoch in both local time and GMT, and do the right thing in the comparisons. As a sanity measure also check that day/month is Jan 1.
* Typo, spotted by Fredrik Lundh.Fred Drake2001-11-261-1/+1
|
* Typo, spotted by Detlef Lannert.Fred Drake2001-11-261-1/+1
|
* Tk-related modules should no longer be listed here.Fred Drake2001-11-261-13/+0
|
* Fix typo, extra markup constructs.Fred Drake2001-11-261-6/+6
| | | | This closes SF bug #485252.
* Add documentation for the PyCell* APIs.Fred Drake2001-11-262-0/+67
|
* Correctly create new-style classes in the examplesAndrew M. Kuchling2001-11-261-7/+13
| | | | Mention change to _PyTuple_Resize
* SF patch 483059: Avoid use of eval() in random.py, from Finn Bock.Tim Peters2001-11-251-6/+5
| | | | | | _verify(): Pass in the values of globals insted of eval()ing their names. The use of eval() was obscure and unnecessary, and the patch claimed random.py couldn't be used in Jython applets because of it.
* Properly set static options for tixBalloon and tixResizeHandle.Martin v. Löwis2001-11-254-52/+214
| | | | | Expose Tix.ResizeHandle.{detach_widget,hide,show}. Update Tix demos.
* Patch #484847: Default to netscape.exe on OS/2.Martin v. Löwis2001-11-252-0/+12
|
* - Change all remaining assertions into verify() and vereq() calls.Guido van Rossum2001-11-241-14/+42
| | | | | | - Add tests for the recent fixes to copy_reg.py: __getstate__/__setstate__ and mixed inheritance from new+classic classes.
* _reduce():Guido van Rossum2001-11-241-3/+8
| | | | | | | | | | | | - Fix for SF bug #482752: __getstate__ & __setstate__ ignored (by Anon.) In fact, only __getstate__ isn't recognized. This fixes that. - Separately, the test for base.__flags__ & _HEAPTYPE raised an AttributeError exception when a classic class was amongst the bases. Fixed this with a hasattr() bandaid (classic classes never qualify as the "hard" base class anyway, which is what the code is trying to find).
* PyObject_GetItem(), PyObject_SetItem(), PyObject_DelItem(): Fix a fewGuido van Rossum2001-11-241-5/+10
| | | | | | | confusing error messages. If a new-style class has no sequence or mapping behavior, attempting to use the indexing notation with a non-integer key would complain that the sequence index must be an integer, rather than complaining that the operation is not supported.
* More typo fixes.Barry Warsaw2001-11-241-2/+2
|
* Docstring typo fix.Greg Ward2001-11-242-2/+2
|
* Add hotshot to LIBSUBDIRS. Fixes #484642.Martin v. Löwis2001-11-241-1/+1
|
* Correct typo. Fixes #484611.Martin v. Löwis2001-11-241-1/+1
|
* Support bsddb 3.2. Fixes #483653.Martin v. Löwis2001-11-241-1/+3
|
* Rename get_referents to get_referrers. Fixes #483815.Martin v. Löwis2001-11-243-12/+23
|
* fix for redundant empty parent window when invoked from idle shell windowSteven M. Gava2001-11-211-5/+3
|
* back in harness on new config systemSteven M. Gava2001-11-214-34/+53
|
* Fix for bug #438164: %-formatting using Unicode objects.Marc-André Lemburg2001-11-202-4/+5
| | | | | This patch also does away with an incompatibility between Jython and CPython.
* Fix for bug #480188: printing unicode objectsMarc-André Lemburg2001-11-203-3/+39
|
* test_formatdate(): Remove the unnecessary ldate calculation.Barry Warsaw2001-11-191-3/+6
| | | | | test_formatdate_zoneoffsets() => test_formatdate_localtime(): Do the sign corrected calculation of the zone offset.
* formatdate(): Jason Mastaler correctly points out that divmod with aBarry Warsaw2001-11-191-2/+8
| | | | | | negative modulus won't return the right values. So always do positive modulus on an absolute value and twiddle the sign as appropriate after the fact.
* test_formatdate(), test_formatdate_zoneoffsets(): Two changes. First,Barry Warsaw2001-11-191-17/+16
| | | | | | | | | | | use the correct way to test for epoch, by looking at the year component of gmtime(0). Add clause for Unix epoch and Mac epoch (Tim, what is Windows epoch?). Also, get rid of the strptime() test, it was way too problematic given that strptime() is missing on many platforms and issues with locales. Instead, simply test that formatdate() gets the numeric timezone calculation correct for the altzone and timezone.
* formatdate(): The calculation of the minutes part of the zone wasBarry Warsaw2001-11-191-1/+2
| | | | | | | | incorrect for "uneven" timezones. This algorithm should work for even timezones (e.g. America/New_York) and uneven timezones (e.g. Australia/Adelaide and America/St_Johns). Closes SF bug #483231.
* Test for negative buffer sizes. Fixes #482871.Martin v. Löwis2001-11-191-0/+5
|
* Avoid trailing blank lines in the output.Fred Drake2001-11-191-0/+4
|
* Adjust input pre-processing so that a comment on the last line does notFred Drake2001-11-191-1/+3
| | | | break the processor; this will do the right thing.
* Update the platform notes for the CGIHTTPServer module; it works on moreFred Drake2001-11-191-3/+3
| | | | | platforms now, and has since Python 2.0. This closes SF bug #482943.
* Another name...Fred Drake2001-11-191-0/+1
|
* Fix the default value for feature_namespaces, per discussions on the XML-SIGFred Drake2001-11-191-2/+2
| | | | mailing list. This causes the docs to match the default implementation.
* test_formatdate(): A test that has a mild hope of working on Mac,Barry Warsaw2001-11-181-1/+11
| | | | | which has a different epoch than *nix. Jack may need to twiddle the details.
* Paul Rubin reminds me that of course a class's constructor /could/ getBarry Warsaw2001-11-181-4/+6
| | | | called, if the pickler found a __getinitargs__() method.
* a whole bunch of OSX tweaksJust van Rossum2001-11-1810-69/+105
|
* Clarified a couple of issues for the startElement*() handlers:Fred Drake2001-11-181-8/+18
| | | | | | | | | - the attrs value may be re-used by the parser, so the implementation cannot rely on owning the object. - an element with no namespace encountered in namespace mode will have a URI of None, not "" (startElementNS() only). Fixed a couple of minor markup issues as well.
* Relatively large expansion of the docs for gc.garbage.Tim Peters2001-11-181-5/+19
|
* Since the MAGIC number scheme is going to break on January 1st, documentTim Peters2001-11-181-4/+16
| | | | what it is more carefully and point out some of the subtleties.
* assert.h was not always included by Python.h; make sure we import it forFred Drake2001-11-181-0/+3
| | | | older versions. (Thanks to Martijn Faassen.)
* Exhibit good form in C code: always provide docstrings in method tables, andFred Drake2001-11-173-19/+25
| | | | | always fill in all slots of table entries. Fixed a few minor markup errors.
* Add omitted word for clarity.Fred Drake2001-11-171-1/+1
|
* Update to use more modern calling conventions; also avoid a magic numberFred Drake2001-11-171-3/+2
| | | | | in the function table. Add a docstring for the function as well, since examples should show good form.