Commit Graph

36366 Commits

Author SHA1 Message Date
Raymond Hettinger cf81e06959 Sets are marshalable. 2007-10-31 22:16:25 +00:00
Raymond Hettinger 9afdaffa33 Clarify the reasons why pickle is almost always better than marshal 2007-10-31 22:02:21 +00:00
Matthias Klose 9b12e0019e - Build using system ffi library on arm*-linux*, pass --with-system-ffi to CONFIG_ARGS 2007-10-25 06:38:01 +00:00
Matthias Klose e467dbc3d0 - Build using system ffi library on arm*-linux*. 2007-10-24 20:34:07 +00:00
Vinay Sajip 5d512fa2e4 Bug #1321: Fixed logic error in TimedRotatingFileHandler.__init__() 2007-10-24 10:49:50 +00:00
Neal Norwitz 4b2a6dbf60 Backport 58618:
Issue 1307 by Derek Shockey, fix the same bug for RCPT.
2007-10-24 03:52:50 +00:00
Neal Norwitz 4aa5f4bc5a Bug #1313, fix typo (wrong variable name) in example. 2007-10-23 05:42:38 +00:00
Neal Norwitz 1046af6f59 Backport 58594:
Issue #1307, patch by Derek Shockey.
When "MAIL" is received without args, an exception happens instead of
sending a 501 syntax error response.
2007-10-23 05:35:11 +00:00
Georg Brandl 35a9f908c8 Backport r58545. 2007-10-19 17:39:18 +00:00
Georg Brandl 051aa77305 Backport r58542. 2007-10-19 12:34:20 +00:00
Gregory P. Smith dd4b025ad8 Backport 58539: squelch the warning that this test is intended to raise. 2007-10-19 07:35:22 +00:00
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