Martin v. Löwis
6abebb2836
Patch #1576954 : Update VC6 build directory; remove redundant
...
files in VC7.1 pythoncore.vcproj.
2006-10-15 07:55:42 +00:00
Georg Brandl
58bf57fa04
Fix tarfile depending on buggy int('1\0', base) behavior.
...
(backport from rev. 52313)
2006-10-12 12:03:11 +00:00
Georg Brandl
ef11b1ab9c
Small grammar fix, thanks Sjoerd.
...
(backport from rev. 52311)
2006-10-12 11:59:29 +00:00
Georg Brandl
b57ebfb7bc
Bug #1560114 : the Mac filesystem does have accurate information
...
about the case of filenames.
(backport from rev. 52309)
2006-10-12 11:47:00 +00:00
Georg Brandl
197e8052bd
Add a note to fpectl docs that it's not built by default
...
(bug #1556261 ).
(backport from rev. 52307)
2006-10-12 11:41:15 +00:00
Georg Brandl
dd4c398c27
Bug #1545497 : when given an explicit base, int() did ignore NULs
...
embedded in the string to convert.
(backport from rev. 52305)
2006-10-12 11:28:04 +00:00
Georg Brandl
b85509d5ef
Bug #1546628 : add a note about urlparse.urljoin() and absolute paths.
...
(backport from rev. 52303)
2006-10-12 11:14:44 +00:00
Georg Brandl
3c48709e3a
Bug #1548891 : The cStringIO.StringIO() constructor now encodes unicode
...
arguments with the system default encoding just like the write()
method does, instead of converting it to a raw buffer.
(backport from rev. 52301)
2006-10-12 09:47:17 +00:00
Georg Brandl
fcf6696255
Bug #1550524 : better heuristics to find correct class definition
...
in inspect.findsource().
(backport from rev. 52299)
2006-10-12 09:20:36 +00:00
Georg Brandl
8984370c06
Bug #1565919 : document set types in the Language Reference.
...
(backport from rev. 52297)
2006-10-12 08:22:57 +00:00
Georg Brandl
f0db92a676
Bug #813342 : Start the IDLE subprocess with -Qnew if the parent
...
is started with that option.
(backport from rev. 52295)
2006-10-12 07:57:24 +00:00
Georg Brandl
bdbb9c62de
Bug #1575746 : fix typo in property() docs.
...
(backport from rev. 52293)
2006-10-12 07:38:08 +00:00
Ronald Oussoren
a1cf44de4c
Macosx: fix permission problem in generated installer
2006-10-10 07:54:24 +00:00
Martin v. Löwis
463a42b5de
Bug #1565150 : Fix subsecond processing for os.utime on Windows.
2006-10-09 20:44:50 +00:00
Barry Warsaw
6bf550138d
List gc.get_count() in the module docstring.
2006-10-09 19:42:33 +00:00
Georg Brandl
7444eda3d6
Patch #1572724 : fix typo ('=' instead of '==') in _msi.c.
...
(backport from rev. 52251)
2006-10-09 19:03:12 +00:00
Andrew M. Kuchling
0037300f15
[Bug #1545341 ] Let the 'classifiers' parameter be a tuple as well as a list.
2006-10-09 17:13:26 +00:00
Ronald Oussoren
e1c6278c06
Backport of r52238
2006-10-08 18:19:28 +00:00
Ronald Oussoren
115930d981
Backport of r52236
2006-10-08 17:52:37 +00:00
Skip Montanaro
bf4358a0a9
Backport libcsv.tex bugfix from rev 52218. (SF ticket 1572471)
2006-10-08 17:51:24 +00:00
Ronald Oussoren
beb82a3772
Backport of r52233
2006-10-08 17:50:26 +00:00
Ronald Oussoren
138478ba26
Backport of r52229
2006-10-08 17:40:52 +00:00
Ronald Oussoren
4d8d8054c8
Backport of r52227.
2006-10-08 17:38:48 +00:00
Hye-Shik Chang
f4fe46d74b
Backport from trunk r52223:
...
Bug #1572832 : fix a bug in ISO-2022 codecs which may cause segfault
when encoding non-BMP unicode characters. (Submitted by Ray Chason)
2006-10-08 14:01:45 +00:00
Georg Brandl
a5fe3ef8d8
Fix #1569998 : no break inside try statement (outside loop) allowed.
...
(backport from rev. 52129)
2006-10-08 07:12:23 +00:00
Georg Brandl
74284b9606
Patch #1542451 : fix crash with continue in nested try/finally
...
(backport from rev. 51439)
2006-10-08 07:06:29 +00:00
Kristján Valur Jónsson
2c8851e614
Backport the .sln and .vcproj files for PCBuild8 from the python trunk to the 2.5 maintainance branch. This fixes build problems with visual studio 2005, and cleans up profile guided optimization.
2006-10-07 14:56:30 +00:00
Georg Brandl
f6d7371ec7
Fix name.
2006-10-06 12:46:33 +00:00
Andrew M. Kuchling
d8a61bae8b
Case fixes
2006-10-06 10:39:51 +00:00
Fred Drake
1d26f36897
- update links
...
- remove Sleepycat name now that they have been bought
2006-10-06 00:03:17 +00:00
Andrew M. Kuchling
d79524a4cc
[Backport to 2-5maint of r52147 | andrew.kuchling ; the buildbots seem OK
...
with this change.]
Cause a PyObject_Malloc() failure to trigger a MemoryError, and then
add 'if (PyErr_Occurred())' checks to various places so that NULL is
returned properly.
2006-10-05 17:26:33 +00:00
Armin Rigo
4b63c21d6f
Forward-port of r52136: a review of overflow-detecting code.
...
* unified the way intobject, longobject and mystrtoul handle
values around -sys.maxint-1.
* in general, trying to entierely avoid overflows in any computation
involving signed ints or longs is extremely involved. Fixed a few
simple cases where a compiler might be too clever (but that's all
guesswork).
* more overflow checks against bad data in marshal.c.
* 2.5 specific: fixed a number of places that were still confusing int
and Py_ssize_t. Some of them could potentially have caused
"real-world" breakage.
* list.pop(x): fixing overflow issues on x was messy. I just reverted
to PyArg_ParseTuple("n"), which does the right thing. (An obscure
test was trying to give a Decimal to list.pop()... doesn't make
sense any more IMHO)
* trying to write a few tests...
2006-10-04 11:44:06 +00:00
Armin Rigo
c6f2f884b4
Compilation problem caused by conflicting typedefs for uint32_t
...
(unsigned long vs. unsigned int).
2006-10-04 10:23:57 +00:00
Martin v. Löwis
10525ad313
Fix integer negation and absolute value to not rely
...
on undefined behaviour of the C compiler anymore.
2006-10-04 05:47:47 +00:00
Barry Warsaw
a027bac30a
decode_rfc2231(): As Christian Robottom Reis points out, it makes no sense to
...
test for parts > 3 when we use .split(..., 2).
2006-10-04 01:28:43 +00:00
Martin v. Löwis
33bb6102ec
Guard uintptr_t test with HAVE_STDINT_H, test for
...
stdint.h.
2006-10-02 15:24:01 +00:00
Martin v. Löwis
da70fd1599
Fix test for uintptr_t. Fixes #1568842 .
2006-10-02 14:56:15 +00:00
Georg Brandl
0988904df8
Bug #1546052 : clarify that PyString_FromString(AndSize) copies the
...
string pointed to by its parameter.
(backport from rev. 52078)
2006-09-30 12:03:02 +00:00
Georg Brandl
1206a933cc
Bug #1446043 : correctly raise a LookupError if an encoding name given
...
to encodings.search_function() contains a dot.
(backport from rev. 52075)
2006-09-30 11:22:35 +00:00
Georg Brandl
6d7c36332f
Bug #1556784 : allow format strings longer than 127 characters in
...
datetime's strftime function.
(backport from rev. 52072)
2006-09-30 11:17:43 +00:00
Georg Brandl
7037745be7
Bug #1560617 : in pyclbr, return full module name not only for classes,
...
but also for functions.
(backport from rev. 52069)
2006-09-30 11:06:55 +00:00
Georg Brandl
9c9a9ab634
Bug #1566602 : correct failure of posixpath unittest when $HOME ends
...
with a slash.
(backport from rev. 52065)
2006-09-30 09:13:29 +00:00
Georg Brandl
ad4e11e16d
Bug #1566663 : remove obsolete example from datetime docs.
...
(backport from rev. 52063)
2006-09-30 09:06:49 +00:00
Georg Brandl
506cc189a9
Bug #1566800 : make sure that EnvironmentError can be called with any
...
number of arguments, as was the case in Python 2.4.
(backport from rev. 52061)
2006-09-30 09:03:45 +00:00
Georg Brandl
af4337a017
Patch #1567691 : super() and new.instancemethod() now don't accept
...
keyword arguments any more (previously they accepted them, but didn't
use them).
(backport from rev. 52058)
2006-09-30 08:43:50 +00:00
Georg Brandl
bbcb2814f2
Bug #1565661 : in webbrowser, split() the command for the default
...
GNOME browser in case it is a command with args.
(backport from rev. 52056)
2006-09-30 07:32:00 +00:00
Georg Brandl
2b48f9490f
Bug #1567375 : a minor logical glitch in example description.
...
(backport from rev. 52053)
2006-09-30 07:24:56 +00:00
Gregory P. Smith
6fed7937c6
fix: DB.stat flags and txn keyword arguments were backwards.
2006-09-30 06:05:07 +00:00
George Yoshida
bd42596179
SF bug #1567976 : fix typo(backport from r52048)
...
Since this paragraph is about exception's message attribute(2.5 feature),
I will not backport to 2.4 branch.
2006-09-30 05:22:23 +00:00
Andrew M. Kuchling
a4103a3248
Make examples do error checking on Py_InitModule
2006-09-27 19:24:27 +00:00