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
Georg Brandl
8514b85edc
#6638 : fix wrong parameter name and markup a class.
2009-09-01 08:06:03 +00:00
Georg Brandl
86158fc4c7
#6810 : add a link to the section about frame objects instead of just a description where to find it.
2009-09-01 08:00:47 +00:00
Georg Brandl
018ad1c949
#6765 : hint that log(x, base) is not very sophisticated.
2009-09-01 07:53:37 +00:00
Georg Brandl
a88fd7603b
#6808 : clarification.
2009-09-01 07:46:26 +00:00
Georg Brandl
254c17c758
#6813 : better documentation for numberless string formats.
2009-09-01 07:40:54 +00:00
Senthil Kumaran
90161375c6
Doc fix for the issue2637.
2009-08-31 16:40:27 +00:00
Mark Dickinson
8dcd06fc5a
Issue #6297 : Add autogenerated Misc/python.pc file to make distclean target. Thanks Jerry Chen.
2009-08-31 14:46:07 +00:00
Georg Brandl
4ea46a6614
other -> others where multiple arguments are accepted.
2009-08-31 06:38:29 +00:00
Georg Brandl
7d65fbfed4
#6801 : fix copy-paste oversight.
2009-08-30 11:51:53 +00:00