Commit Graph

33910 Commits

Author SHA1 Message Date
Neal Norwitz c5d0dbd328 Fix a couple of strings that were no-ops. urllib.open_file was a docstring
in 2.4, so put it back.  The string in telnetlib looks like a comment.
2006-04-09 04:00:49 +00:00
Neal Norwitz a31bf18c48 glob('anything*/') would fail because isdir is in os.path, not os. 2006-04-09 03:35:43 +00:00
Tim Peters e0bb597d03 test_timeout(): This test was added during Bug Day, but disabled
soon after because the gmail address it connects to started timing
out on all the buildbot slaves.  Rewrote the test to produce a
warning message (instead of failing) when the address times out.

Also removed the special case for Windows -- this test started to
work on Windows as soon as bug 1462352 was fixed.
2006-04-08 12:05:15 +00:00
Martin v. Löwis 2f36caf8ff Define WIN32, to get proper struct alignment in WinSock2.h.
Fixes #1462352. Will backport.
2006-04-08 09:13:43 +00:00
Gregory P. Smith 7f5b6f4b33 Fix bsddb.db.DBError derived exceptions so they can be unpickled.
Also adds some backwards compatibility when compiling _bsddb.c on earlier
python versions (needed for pybsddb).
2006-04-08 07:10:51 +00:00
Thomas Heller 795246cf99 Don't try to build ctypes when configuration of libffi fails. 2006-04-07 19:27:56 +00:00
Thomas Heller eba43c157b Configure Modules/_ctypes/libffi just before building the _ctypes extension.
This avoids configuring it when it is not build by setup.py.
2006-04-07 19:04:09 +00:00
Andrew M. Kuchling 6e3a66de91 Fix a few XXX markers 2006-04-07 12:46:06 +00:00
Martin v. Löwis 9fbc44cc34 Adjust compileall -x option to Makefile.pre.in. Fixes #1465093. 2006-04-07 10:02:25 +00:00
Martin v. Löwis ad7c44c047 Regenerate. 2006-04-07 06:26:31 +00:00
Anthony Baxter 7846f4d365 missing 'self' from TextCalendar.prweek. 2006-04-07 05:41:13 +00:00
Anthony Baxter b4e4165b96 minor error in uudecode main error handling 2006-04-07 05:39:17 +00:00
Martin v. Löwis 5fe60e7a4c Patch #1462080: Conditionalize some NETLINK defines. 2006-04-06 22:29:33 +00:00
Tim Peters 7d6b8954bf Whitespace normalization. 2006-04-06 19:35:27 +00:00
Thomas Heller fff61ea025 Expose RTLD_LOCAL and RTLD_GLOBAL always from the _ctypes extension module.
If RTLD_LOCAL is not #defined in any header file (Windows), set it to 0.
If RTLD_GLOBAL is not #defined, set it equal to RTLD_LOCAL.

This should fix ctypes on cygwin.
2006-04-06 15:23:16 +00:00
Andrew M. Kuchling a4d651fbc8 Fix unfinished paragraph; markup fix 2006-04-06 13:24:58 +00:00
Andrew M. Kuchling 4d8cd8957a Expand the PEP 353 section; various smaller changes 2006-04-06 13:03:04 +00:00
Georg Brandl 4dce8e4e69 Bug #1464658: make clear that PyList_GetItem doesn't take negative indices. 2006-04-06 12:45:51 +00:00
Georg Brandl 729156e7de Bug #1465619: rot13 codec decodes to a Unicode string. 2006-04-06 11:25:33 +00:00
Georg Brandl caf9539b2b Bug #1465600: note encoding issue in ZipFile.write(). 2006-04-06 10:03:32 +00:00
Thomas Heller 430947ac66 Replace a few more 'char' types with 'signed char', to fix test failures
on platforms (ppc debian) where 'char' is unsigned.
2006-04-06 09:02:58 +00:00
Neal Norwitz b43199822b This change shouldn't have any functional effect. Coverity was
complaining because it seemed like parameters_iter could be NULL.
2006-04-06 08:43:16 +00:00
Neal Norwitz d126200aeb Fix unchecked return result from Coverity. 2006-04-06 08:41:59 +00:00
Neal Norwitz 7e957d38b7 Remove dead code (reported by HP compiler).
Can probably be backported if anyone cares.
2006-04-06 08:17:41 +00:00
Neal Norwitz ffb0d90a6e Handle ssize_t 2006-04-06 08:07:25 +00:00
Neal Norwitz 915ae41b3a Handle error conditions from PyString_ConcatAndDel(). 2006-04-06 08:06:52 +00:00
Neal Norwitz b038333d4b Handle ssize_t
No need to INCREF then let PyString_ConcatAndDel() DECREF.  Just
use PyString_Concat().
Handle error condition if we can't concat.
2006-04-06 08:05:53 +00:00
Neal Norwitz 5102c4e385 Hopefully this makes test_urllib2 have inconsistent leak results 2006-04-06 08:00:20 +00:00
Neal Norwitz a1f9b7f50f I don't think we know of any tests that really leak anymore
(other than those in leakers).
2006-04-06 07:58:59 +00:00
Anthony Baxter 04b9403e5b Fix for failure of test_urllib2 breaking test_mimetypes (SF bug 1464978)
will backport.
2006-04-06 07:31:31 +00:00
Anthony Baxter e94e3b440f In some environments (under screen, in a chroot) curses doesn't support
mouse events. This makes the test fail. Catch that case and don't run
the tests. Should make the debian/ubuntu buildbots that run in a chroot
work again.

Will backport to release24-maint.
2006-04-06 07:12:39 +00:00
Georg Brandl d9da722d85 Bug #1451341: find fuzzy marks correctly. 2006-04-06 06:44:33 +00:00
Fred Drake 70d044ba67 remove more cruft no longer needed 2006-04-06 01:32:26 +00:00
Fred Drake 9ea179fa7d remove much of the Python-version compatibility cruft; the minimum Python
version this should support is Python 2.3
2006-04-06 01:29:04 +00:00
Fred Drake 8038163ee6 revert incomplete changes committed by accident 2006-04-06 00:18:28 +00:00
Fred Drake ca30e1d5ec update URL to reflect new website 2006-04-06 00:17:08 +00:00
Thomas Heller 3c423a04ba Explicitely use 'signed char', to avoid problems on platforms with unsigned char type. 2006-04-05 20:34:18 +00:00
Thomas Heller 0890de3be0 Explicitely use 'signed char', to avoid problems on platforms with unsigned char type. 2006-04-05 19:51:19 +00:00
Thomas Heller fb8f83b33f One test still fails on the ia64 debian box. 2006-04-05 19:01:35 +00:00
Tim Peters 3b1c01d4b6 Fixed error in comment for new PY_SSIZE_T_MIN. 2006-04-05 18:43:30 +00:00
Anthony Baxter 8e7b490890 upgrade to final version of pysqlite 2.2.0 2006-04-05 18:25:33 +00:00
Martin v. Löwis c48c8db110 Add PY_SSIZE_T_MIN, as suggested by Ralf W. Grosse-Kunstleve. 2006-04-05 18:21:17 +00:00
Thomas Heller 726dcf34a6 Use 'ldd' to find the libc library to load. Based on an idea from Matthias Klose. 2006-04-05 17:36:45 +00:00
Anthony Baxter a2a26b9e1f whitespace normalisation 2006-04-05 17:30:38 +00:00
Anthony Baxter 51bcb68b1d blank spots for Misc/NEWS, post alpha1 (plus testing buildbot 0.7.2) 2006-04-05 14:51:42 +00:00
Andrew M. Kuchling 2cdb23ee5a Bump version number after alpha1 release 2006-04-05 13:59:01 +00:00
Thomas Wouters 4bdaa271d6 Fix refleak in __import__("") (probably the cause of the 2 refleaks in
test_builtin.)
2006-04-05 13:39:37 +00:00
Anthony Baxter 22495c02e2 no-one but windows should expect startfile to work 2006-04-05 13:24:26 +00:00
Anthony Baxter c60611da82 Tagging for release of Python 2.5a1 2006-04-05 02:35:33 +00:00
Neal Norwitz 9ad18bbb52 we need os.path too for the normal run on windows 2006-04-04 19:29:29 +00:00