Georg Brandl
a50d20a5b1
Rewrap long lines.
2009-09-16 15:57:46 +00:00
Ezio Melotti
2e85f503b1
#6879 - fix misstatement about exceptions
2009-09-16 13:14:05 +00:00
Georg Brandl
718b221e06
#6892 : fix optparse example involving help option.
2009-09-16 13:11:06 +00:00
Georg Brandl
d7226ffe0b
Remove strange trailing commas.
2009-09-16 13:06:22 +00:00
Georg Brandl
f4e6b98b01
#5621 : refactor description of how class/instance attributes interact on a.x=a.x+1 or augassign.
2009-09-16 10:12:06 +00:00
Georg Brandl
83130c3942
#6891 : comment out dead link to Unicode article.
2009-09-16 09:30:48 +00:00
Georg Brandl
b29709adc8
#6876 : fix base class constructor invocation in example.
2009-09-16 09:24:57 +00:00
Georg Brandl
49bb9b7f0a
#6880 : add reference to classes section in exceptions section, which comes earlier.
2009-09-16 09:23:04 +00:00
Georg Brandl
076ca5a430
Make deprecation notices as visible as warnings are right now.
2009-09-16 09:05:11 +00:00
Ronald Oussoren
0180565054
Update distutils.util tests after my changes
...
to --with-universal-archs
2009-09-15 21:24:07 +00:00
Georg Brandl
480b455e46
Add Armin Ronacher.
2009-09-15 20:26:59 +00:00
Ronald Oussoren
5d90029041
Finish support for --with-universal-archs=intel
...
and --with-universal-archs=3-way (issue6245)
2009-09-15 19:13:15 +00:00
Ezio Melotti
038f38d3ac
#6917 - typo in method name
2009-09-15 18:41:43 +00:00
Ronald Oussoren
91a11a46c0
MacOSX: detect the architectures supported by
...
Tk.framework and build _tkinter only for those
architectures.
This replaces the hardcoded solution that is no
longer valid now that 64-bit capable versions of
Tk are available on OSX.
2009-09-15 18:33:33 +00:00
Benjamin Peterson
ea7120c7c1
Py_SetPythonHome uses static storage #6913
2009-09-15 03:36:26 +00:00
Georg Brandl
58d23fbb6c
#6908 : fix association of hashlib hash attributes.
2009-09-14 14:50:47 +00:00
Georg Brandl
7eb43b7c70
#6574 : list the future features in a table.
2009-09-14 14:08:54 +00:00
Ezio Melotti
2c7b4934ad
#6904 - fix broken link
2009-09-14 00:48:31 +00:00
Michael Foord
dc0460a309
Remove an extraneous space in unittest documentation.
2009-09-13 19:08:18 +00:00
Michael Foord
e91ea56b30
Test discovery in unittest will only attempt to import modules that are importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568.
2009-09-13 19:07:03 +00:00
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