- 28 Nov, 2001 4 commits
-
-
Fred Drake authored
list of modules.
-
Fred Drake authored
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.
-
Barry Warsaw authored
output. Patch includes additional test case test_basic_line_wrap(). This patch is a candidate for Python 2.1.2.
-
Andrew M. Kuchling authored
-
- 27 Nov, 2001 4 commits
-
-
Jeremy Hylton authored
-
Tim Peters authored
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.
-
Tim Peters authored
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.
-
Barry Warsaw authored
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.
-
- 26 Nov, 2001 6 commits
-
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
-
Fred Drake authored
This closes SF bug #485252.
-
Fred Drake authored
-
Andrew M. Kuchling authored
Mention change to _PyTuple_Resize
-
- 25 Nov, 2001 3 commits
-
-
Tim Peters authored
_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.
-
Martin v. Löwis authored
Expose Tix.ResizeHandle.{detach_widget,hide,show}. Update Tix demos.
-
Martin v. Löwis authored
-
- 24 Nov, 2001 9 commits
-
-
Guido van Rossum authored
- Add tests for the recent fixes to copy_reg.py: __getstate__/__setstate__ and mixed inheritance from new+classic classes.
-
Guido van Rossum authored
- 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).
-
Guido van Rossum authored
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.
-
Barry Warsaw authored
-
Greg Ward authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
Martin v. Löwis authored
-
- 21 Nov, 2001 2 commits
-
-
Steven M. Gava authored
-
Steven M. Gava authored
-
- 20 Nov, 2001 2 commits
-
-
Marc-André Lemburg authored
This patch also does away with an incompatibility between Jython and CPython.
-
Marc-André Lemburg authored
-
- 19 Nov, 2001 10 commits
-
-
Barry Warsaw authored
test_formatdate_zoneoffsets() => test_formatdate_localtime(): Do the sign corrected calculation of the zone offset.
-
Barry Warsaw authored
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.
-
Barry Warsaw authored
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.
-
Barry Warsaw authored
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.
-
Martin v. Löwis authored
-
Fred Drake authored
-
Fred Drake authored
break the processor; this will do the right thing.
-
Fred Drake authored
platforms now, and has since Python 2.0. This closes SF bug #482943.
-
Fred Drake authored
-
Fred Drake authored
mailing list. This causes the docs to match the default implementation.
-