Gregory P. Smith
0dcc3cc949
Backport 58532, 58533, 58534:
...
- Fix bsddb.dbtables: Don't randomly corrupt newly inserted rows by
picking a rowid string with null bytes in it. Such rows could not
later be deleted, modified or individually selected. Existing
bsdTableDb databases created with such rows are out of luck.
- Use mkdtemp for the test_dbtables test database environment and
clean it up afterwards using shutil.rmtree.
2007-10-18 17:15:20 +00:00
Gregory P. Smith
574e1ba814
Backport 58450: fix uncollectable reference leak in bsddb.db.DBShelf.append
2007-10-13 23:05:54 +00:00
Georg Brandl
57da2de9b1
Fix email example.
2007-10-13 13:19:45 +00:00
Gregory P. Smith
137bdfa27a
Merge trunk 58434:
...
Fixes http://bugs.python.org/issue1233 - bsddb.dbshelve.DBShelf.append
was useless due to inverted logic. Also adds a test case for RECNO dbs
to test_dbshelve.
2007-10-12 18:49:36 +00:00
Brett Cannon
8012e9c2f7
Silence a compiler warning about a function definition not being a prototype.
2007-10-12 17:41:08 +00:00
Martin v. Löwis
d79fa9e504
Bug #1216 : Restore support for Visual Studio 2002.
2007-10-12 08:58:48 +00:00
Thomas Heller
d6f638188f
Fix ctypes on 32-bit systems when Python is configured --with-system-ffi.
...
See also https://bugs.launchpad.net/bugs/72505 .
2007-10-12 06:53:32 +00:00
Neal Norwitz
163048ed12
Backport 58424:
...
Fix Coverity 185-186: If the passed in FILE is NULL, uninitialized memory
would be accessed.
2007-10-12 03:59:09 +00:00
Gregory P. Smith
7d9c00ec4f
Backport 58385 from trunk: fix a double free bug in the _bsddb module
...
on DBCursor.get (and a friends) when passing in a string key.
2007-10-09 07:25:24 +00:00
Gregory P. Smith
381e1a46cd
Backport rev 58343: fix DBSequence.get_key() to not crash/fail/etc.
2007-10-06 16:05:18 +00:00
Gregory P. Smith
76ee2272ff
Backport 58348: use a reliable host in the test.
2007-10-06 15:55:25 +00:00
Gregory P. Smith
4a08ec3db3
Backport 58344: allow BerkeleyDB 4.6.x >= 4.6.21 for the bsddb module
2007-10-06 08:11:29 +00:00
Neal Norwitz
c9f22b954f
Backport 58332: Fix Coverity #159 .
...
This code was broken if save() returned a negative number since i contained
a boolean value and then we compared i < 0 which should never be true.
2007-10-05 05:05:24 +00:00
Neal Norwitz
14f848bb22
Backport 58330:
...
Fix Coverity #158 : Check the correct variable.
2007-10-05 03:45:42 +00:00
Fred Drake
0ac4b27be8
move descriptions of ac_(in|out)_buffer_size to the right place
...
http://bugs.python.org/issue1053
2007-10-05 03:12:00 +00:00
Georg Brandl
2f2bd3efd5
#1196 : document default radix for int().
2007-09-24 17:58:18 +00:00
Georg Brandl
cdceeb814d
Fix -- being converted to - in HTML. #1186 .
2007-09-24 17:56:12 +00:00
Georg Brandl
dfecfdb23e
Fix #1169 : remove docstrings in functions for -OO.
...
(backport from rev. 58204)
2007-09-19 06:37:26 +00:00
Sean Reifscheider
5e84e80024
issue1172: Documentation of "done" attribute in cgi module.
2007-09-18 23:38:15 +00:00
Sean Reifscheider
e8dd31aa2e
issue1082: Fixing system and platform names for Vista.
2007-09-17 20:58:46 +00:00
Sean Reifscheider
1644e6ebd1
issue1140: Guido's patch from revision 58098 (2.6) applied to 2.5.
2007-09-17 09:43:11 +00:00
Sean Reifscheider
b5ec5876f2
issue1597011: Fix for bz2 module corner-case error due to error checking bug.
2007-09-17 05:45:20 +00:00
Thomas Heller
5cf6ef84b9
ctypes.util.find_library uses dump(1) instead of objdump(1) on Solaris.
...
Fixes issue #1777530 ; backported from trunk.
2007-09-14 20:05:26 +00:00
Martin v. Löwis
3af4220746
Backport 58150: Rename debug import lib to _msi_d.lib.
2007-09-14 07:02:51 +00:00
Martin v. Löwis
782c4179c6
Backport r58149: Clean Release projects as well.
2007-09-14 07:01:59 +00:00
Martin v. Löwis
9a85f040dd
Add 2.5 MSI builder.
2007-09-13 18:26:13 +00:00
Georg Brandl
fed6bb7d70
Bug #1153 : repr.repr() now doesn't require set and dictionary items
...
to be orderable to properly represent them.
(backport from rev. 58122)
2007-09-12 19:00:10 +00:00
Georg Brandl
226910f52d
bug #1154 : release memory allocated by "es" PyArg_ParseTuple format specifier.
...
(backport from rev. 58119)
2007-09-12 18:29:21 +00:00
Georg Brandl
b8c23fb5fe
Fix #1139 : PyFile_Encoding really is PyFile_SetEncoding.
...
(backport from rev. 58117).
2007-09-12 18:11:03 +00:00
Georg Brandl
5d30e752db
Fix #1122 : wrong return type documented for various _Size() functions.
...
(backport from rev. 58115).
2007-09-12 18:08:54 +00:00
Brett Cannon
13bfa3a97b
Cause passing a string to generator.throw() to raise a deprecation warning.
2007-09-11 21:12:14 +00:00
Georg Brandl
18726be4d4
Backport: #1095 : ln -f doesn't work portably.
2007-09-07 20:12:59 +00:00
Gregory P. Smith
339a3ad87a
backport of r58023 to fix unit test suite issue1112 on windows
2007-09-06 23:01:32 +00:00
Thomas Heller
c4f5a159aa
Fix typo: c_float represents to C float type.
2007-09-06 20:26:03 +00:00
Armin Rigo
303d35082c
Backport of r58004.
2007-09-06 08:35:34 +00:00
Martin v. Löwis
a326ab2c9f
Patch #786737 : Allow building in a tree of symlinks pointing to
...
a readonly source.
2007-09-05 11:47:22 +00:00
Matthias Klose
5cb86a2461
- Makefile.pre.in(buildbottest): Run an optional script pybuildbot.identify
...
to include some information about the build environment.
2007-09-05 06:45:57 +00:00
Martin v. Löwis
7303f7055e
Patch #1105 : Explain that one needs to build the solution
...
to get dependencies right.
2007-09-05 06:39:02 +00:00
Matthias Klose
b084402596
- Fix libffi configure for hppa*-*-linux* | parisc*-*-linux*.
2007-09-04 23:47:16 +00:00
Martin v. Löwis
fc787d515d
Patch #1031213 : Decode source line in SyntaxErrors back to its original
...
source encoding.
2007-09-04 14:20:25 +00:00
Matthias Klose
cf754ba39f
- Added support for linking the bsddb module against BerkeleyDB 4.6.x.
2007-09-03 22:13:48 +00:00
Ronald Oussoren
df65f9bf45
Backport of rev. 57904
2007-09-02 09:48:20 +00:00
Martin v. Löwis
fe2cb5912e
Bug #1737210 : Change Manufacturer of Windows installer to PSF.
2007-09-01 06:36:38 +00:00
Martin v. Löwis
738032ffe8
Mark registry components as 64-bit on Win64.
2007-08-31 10:00:06 +00:00
Lars Gustäbel
b9ff669748
Warn about possible risks when extracting untrusted archives.
2007-08-30 20:25:13 +00:00
Martin v. Löwis
39f1f45262
Bug #1709599 : Run test_1565150 only if the file system is NTFS.
2007-08-30 18:58:29 +00:00
Martin v. Löwis
aa1e005d26
Bug #1746880 : Correctly install DLLs into system32 folder on Win64.
2007-08-30 18:37:41 +00:00
Skip Montanaro
d4c096900b
.
2007-08-29 01:34:15 +00:00
Skip Montanaro
51cf11271f
backport r57626
2007-08-28 23:26:55 +00:00
Lars Gustäbel
a9bad98e3d
TarFile.__init__() no longer fails if no name argument is passed and
...
the fileobj argument has no usable name attribute (e.g. StringIO).
(backported from r57616)
2007-08-28 12:33:15 +00:00