Commit Graph

42841 Commits

Author SHA1 Message Date
Georg Brandl 6848d82a7c Typo fix. 2009-09-13 18:15:07 +00:00
Michael Foord 5a9719d627 unittest.TestLoader.loadTestsFromName honors the loader suiteClass attribute. Issue 6866. 2009-09-13 17:28:35 +00:00
Michael Foord ee2df03009 Tutorial tweaks. Issue 6849. 2009-09-13 17:07:46 +00:00
Michael Foord 668be589ef Note that sys._getframe is not guaranteed to exist in all implementations of Python, and a corresponding note in inspect.currentframe. Issue 6712. 2009-09-13 16:46:19 +00:00
Michael Foord c3f79373e8 Objects that compare equal automatically pass or fail assertAlmostEqual and assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. 2009-09-13 16:40:02 +00:00
Michael Foord 60931a5a58 Change to tutorial wording for reading text / binary files on Windows. Issue #6301. 2009-09-13 16:13:36 +00:00
Matthias Klose 924eab64a3 Issue #6635: Fix profiler printing usage message. 2009-09-13 15:09:24 +00:00
Mark Dickinson 1f4fc097f6 Fix potential signed-overflow bug in _PyLong_Format; also fix
a couple of whitespace issues.
2009-09-13 11:56:13 +00:00
Benjamin Peterson 3d85454bca update urls 2009-09-13 01:59:31 +00:00
Ezio Melotti 1036a7f7e1 #6026 - fix tests that failed without zlib 2009-09-12 14:43:43 +00:00
Lars Gustäbel 21121e64b4 Issue #6856: Add a filter keyword argument to TarFile.add().
The filter argument must be a function that takes a TarInfo
object argument, changes it and returns it again. If the
function returns None the TarInfo object will be excluded
from the archive.
The exclude argument is deprecated from now on, because it
does something similar but is not as flexible.
2009-09-12 10:28:15 +00:00
Georg Brandl d4c7eb1647 Move function back to its section. 2009-09-11 07:55:20 +00:00
Georg Brandl ffdde9e959 Properly document copy and deepcopy as functions. 2009-09-09 16:49:13 +00:00
Benjamin Peterson 93ed82048f revert unintended changes 2009-09-09 11:42:57 +00:00
Benjamin Peterson 8246968b12 tabbify 2009-09-09 11:40:54 +00:00
Tarek Ziadé bed26a3ce3 Issue #6163: Fixed HP-UX runtime library dir options in distutils.unixcompiler 2009-09-09 08:14:20 +00:00
Benjamin Peterson 7f6d0834f9 #6865 fix ref counting in initialization of pwd module 2009-09-08 23:04:22 +00:00
Mark Dickinson 5cfa8044ff Issue #6857: Fix Decimal formatting to be consistent with existing float
formatting:  both are now right-aligned by default.
2009-09-08 20:20:19 +00:00
Thomas Heller 81809a42c1 Make ctypes compile again with older Python versions. 2009-09-08 19:24:36 +00:00
Ronald Oussoren 84ddd72312 This is an update to r74701. How hard can it be to get a configure test right.
This patch has already been backported as part of the backport of r74701,
which is how I found this problem.
2009-09-08 07:17:10 +00:00
Mark Dickinson 968f1690d3 #Issue 6795: Fix infinite recursion in long(Decimal('nan')); change int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext. 2009-09-07 18:04:58 +00:00
Mark Dickinson 491ea55f28 Issue #6850: Fix bug in Decimal._parse_format_specifier for formats
with no type specifier.
2009-09-07 16:17:41 +00:00
Benjamin Peterson d692a71fdd revert r74699 since it loses useful error information 2009-09-07 13:02:15 +00:00
Ronald Oussoren 23d925311d Fix typo in configure.in 2009-09-07 06:12:00 +00:00
Benjamin Peterson 5515990ee1 PyObject_GetIter can set an error for its self just fine 2009-09-06 22:43:39 +00:00
Mark Dickinson 6b3f1ef190 Issue #6848: Fix curses module build failure on OS X 10.6. 2009-09-06 21:21:05 +00:00
Mark Dickinson 752a2daf32 Remove redundant assignment 2009-09-06 20:51:37 +00:00
Ronald Oussoren 626faeb77b Fix for issue 4937 2009-09-06 12:23:18 +00:00
Mark Dickinson 135a7cf540 Issue #6847: s/bytes/bytearray/ in some bytearray error messages. Thanks Hagen Fürstenau. 2009-09-06 10:32:21 +00:00
Mark Dickinson c8a7c7c3b9 Issue #6846: bytearray.pop was returning ints in the range [-128, 128)
instead of [0, 256).  Thanks Hagen Fürstenau for the report and fix.
2009-09-06 10:03:31 +00:00
Ronald Oussoren 2596758cb4 Fix build issues on OSX 10.6 (issue 6802) 2009-09-06 10:00:26 +00:00
Georg Brandl f01697014f #6843: add link from filterwarnings to where the meaning of the arguments is covered. 2009-09-05 16:47:17 +00:00
Mark Dickinson 65898e08a7 Add configure-time checks for gamma and error functions. 2009-09-05 10:27:00 +00:00
Georg Brandl 609910c210 #6841: remove duplicated word. 2009-09-05 09:04:09 +00:00
Chris Withers 7f3ea6a5e5 news entry matching r74655 2009-09-04 16:32:22 +00:00
Chris Withers 68c6e92fd4 Fixes issue #6838: use a list to accumulate the value instead of repeatedly concatenating strings. 2009-09-04 16:12:32 +00:00
Georg Brandl 7d4f8fda49 #6777: dont discourage usage of Exception.args or promote usage of Exception.message. 2009-09-04 11:32:18 +00:00
Georg Brandl 601ee7f847 #6756: add some info about the "acct" parameter. 2009-09-04 11:25:37 +00:00
Georg Brandl ed4ca821f1 #5101: add back tests to test_funcattrs that were lost during unittest conversion, and make some PEP8 cleanups. 2009-09-04 11:19:34 +00:00
Georg Brandl d22b9519d1 Issue #5275: In Cookie's Cookie.load(), properly handle non-string arguments as documented. 2009-09-04 08:17:04 +00:00
Georg Brandl fe18a11858 #5047: remove Monterey support from configure. 2009-09-04 07:55:14 +00:00
Georg Brandl 2e1308f520 Issue #2666: Handle BROWSER environment variable properly for unknown browser names in the webbrowser module. 2009-09-04 06:59:20 +00:00
Brett Cannon e7e941e7f7 test_platform fails on OS X Snow Leopard because the UNIX command to get the
canonical version, sw_vers, leaves off trailing zeros in the version number
(e.g. 10.6 instead of 10.6.0). Test now compensates by tacking on extra zeros
for the test comparison.

Fixes issue #6806.
2009-09-03 21:25:21 +00:00
Armin Rigo ffd0dc1e8b Sorry, sorry! Ignore my previous two commits. I mixed up the version
of python with which I tried running the crashers.  They don't crash
the current HEAD.
2009-09-03 19:45:27 +00:00
Armin Rigo f866fbb303 Does not terminate: consume all memory without responding to Ctrl-C.
I am not too sure why, but you can surely find out by gdb'ing a bit...
2009-09-03 19:42:03 +00:00
Armin Rigo f416690490 Found the next crasher by thinking about this logic in PyPy. 2009-09-03 19:40:07 +00:00
Georg Brandl af795e5eea #6757: complete the list of types that marshal can serialize. 2009-09-03 12:31:39 +00:00
Georg Brandl bf58d80123 #6828: fix wrongly highlighted blocks. 2009-09-03 07:27:26 +00:00
Georg Brandl eb4781c279 #6821: fix signature of PyBuffer_Release(). 2009-09-02 20:37:16 +00:00
Benjamin Peterson 6fcf9b50bc remove the check that classmethod's argument is a callable 2009-09-01 22:27:57 +00:00