Commit graph

32935 commits

Author SHA1 Message Date
Brett Cannon
2dbf2a98f4 Add a more informative error message for test_float_parsing so the failing
locale can be known.
2006-01-19 07:09:09 +00:00
Neal Norwitz
1ac754fa10 Check return result from Py_InitModule*(). This API can fail.
Probably should be backported.
2006-01-19 06:09:39 +00:00
Tim Peters
8207cc7fd6 Quote the path to the executable before invoking system(). 2006-01-18 20:04:02 +00:00
Martin v. Löwis
3150a270d2 Add missing make_buildinfo.c. 2006-01-18 19:18:51 +00:00
Martin v. Löwis
d078e40d41 Generate getbuildinfo.o each time the linker is invoked;
try to generate SVNVERSION information if subwcrev.exe
can be found.
2006-01-18 09:13:51 +00:00
Fredrik Lundh
d790a7b596 fixed example:
adding missing import, handle_close, test code, etc.
2006-01-17 21:31:31 +00:00
Barry Warsaw
6153201274 SF bug #1347874; FeedParser does not comply with RFC2822.
Change headerRE as suggested in the bug report, so that single character
headers are accepted.  Test case added too.  Will backport to Python 2.4.
2006-01-17 05:58:08 +00:00
Neal Norwitz
20bad74d63 SF Bug #1407069, Remove extra semi-colon if there is no long long 2006-01-17 05:27:39 +00:00
Barry Warsaw
48653af70f Update email.Message.get_filename() documentation. 2006-01-17 05:24:25 +00:00
Barry Warsaw
a0f28efcd1 Ported 42075 from release23-maint branch.
SF bug #1403349 solution for email 3.0; some MUAs use the 'file' parameter
name in the Content-Distribution header, so Message.get_filename() should fall
back to using that.  Will port to the Python 2.5 trunk.

Also, bump the email package version to 3.0.1 for eventual release.  Of
course, add a test case too.

XXX Need to update the documentation.
2006-01-17 04:49:07 +00:00
Vinay Sajip
989b69a519 Refactoring for fileConfig. Contributed by Shane Hathaway. 2006-01-16 21:28:37 +00:00
Vinay Sajip
fe03bee62f Changes due to added test for fileConfig contributed by Shane Hathaway. 2006-01-16 21:25:28 +00:00
Vinay Sajip
22b25aa9e2 Added test for fileConfig. Contributed by Shane Hathaway. 2006-01-16 21:24:38 +00:00
Vinay Sajip
814fa0fe11 Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised). 2006-01-16 09:27:58 +00:00
Vinay Sajip
e928977b80 Exceptions raised during renaming in rotating file handlers are now passed to handleError (except for SystemExit and KeyboardInterrupt, which are re-raised). 2006-01-16 09:27:10 +00:00
Vinay Sajip
d952041dc7 TimedRotatingFileHandler now calculates next rollover from previous rollover rather than current time. 2006-01-16 09:13:58 +00:00
Vinay Sajip
74a83e9ffb Fixed bug in time-to-midnight calculation. 2006-01-16 09:08:06 +00:00
Neal Norwitz
b896759931 refresh every 12 hours for crazy people like me that keep the page up 2006-01-16 04:37:22 +00:00
Neal Norwitz
658516617c Get socketmodule to build after adding netlink support. 2006-01-16 04:31:40 +00:00
Andrew M. Kuchling
4678dc818f Add recent item 2006-01-15 16:11:28 +00:00
Fredrik Lundh
b84b35f02a the implementation uses ZipImportError, not ZipImporterError... 2006-01-15 15:00:40 +00:00
Fredrik Lundh
26075a196c the implementation uses ZipImportError, not ZipImporterError... 2006-01-15 14:59:55 +00:00
Fredrik Lundh
7c2ea7fa93 typo 2006-01-15 10:17:59 +00:00
Martin v. Löwis
634863cdde Remove buildno. 2006-01-15 09:34:11 +00:00
Martin v. Löwis
21d418bab9 Patch #1396093: Further .vcproj cleanups 2006-01-15 09:26:43 +00:00
Georg Brandl
a635fbbcb0 Remove dots in \version{changed,added} argument and
correct argument order.
2006-01-15 07:55:35 +00:00
Martin v. Löwis
d056005482 Change build format of netlink addresses. 2006-01-15 07:49:20 +00:00
Neal Norwitz
42a84fe085 Remove extra period at end. 2006-01-15 02:57:57 +00:00
Neal Norwitz
3f458d9feb Alphabetize some names and remove a dupe 2006-01-14 21:26:22 +00:00
Martin v. Löwis
11017b172d Patch #1103116: AF_NETLINK sockets basic support. 2006-01-14 18:12:57 +00:00
Fredrik Lundh
015f72b254 added kjohnson to the ACKS list 2006-01-14 13:02:53 +00:00
Armin Rigo
b4b5a7601b collected my segfaulting Python examples from the SF trackers
(is the purpose of the crashers directory to scare people? :-)
2006-01-14 10:58:30 +00:00
Neal Norwitz
f60cd47f10 Fix typo 2006-01-14 07:05:13 +00:00
Georg Brandl
45ab233935 Bug #1394565: SimpleHTTPServer now doesn't choke on query paramters
any more.
2006-01-13 17:05:56 +00:00
Georg Brandl
4edd989eaf Bug #1403410: The warnings module now doesn't get confused
when it can't find out the module name it generates a warning for.
2006-01-13 16:59:46 +00:00
Tim Peters
a28ad77844 Whitespace normalization. 2006-01-13 03:05:25 +00:00
Georg Brandl
05f5ba9636 Test curses.setupterm() before initscr(). 2006-01-12 15:41:05 +00:00
Neal Norwitz
3b4fff8079 Fix SF bug #1402308, segfault when using mmap(-1, ...)
This didn't crash on Linux, but valgrind complained.
I'm not sure if this test is valid on Windows.

Will backport.
2006-01-11 08:54:45 +00:00
Neal Norwitz
ae1df41127 add another crash reported by Thomas Wouters 2006-01-11 07:21:19 +00:00
Fredrik Lundh
5b093a0b73 added a missing +\versionadded{2.2} tag 2006-01-11 00:18:43 +00:00
Fredrik Lundh
049fd9003d added a few missing \versionadded{2.3} tags 2006-01-11 00:14:29 +00:00
Georg Brandl
9ad69637e8 Bug #1397205: doc typo 2006-01-10 21:37:26 +00:00
Georg Brandl
05af43d6a0 Remove outstanding_crashes again. 2006-01-10 20:07:13 +00:00
Georg Brandl
7e8bfa4163 Add outstanding_crashes.py with tests for crashes. 2006-01-10 19:29:24 +00:00
Neal Norwitz
8cc4ef561c As I threatened on python-dev, add a directory which contains all known
bugs which cause the interpreter to crash.  I'm sure we can find a few
more.  Many missing bugs deal with variations on unchecked infinite recursion
(like coerce.py).
2006-01-10 07:49:41 +00:00
Neal Norwitz
88bbd73d07 SF bug #1400822, Extended version of _curses over{lay,write} does not work
Fix signatures to conform to doc (also fixed ungetmouse()).

Will backport.
2006-01-10 07:05:44 +00:00
Neal Norwitz
fc76d633e8 - Patch #1400181, fix unicode string formatting to not use the locale.
This is how string objects work.  u'%f' could use , instead of .
  for the decimal point.  Now both strings and unicode always use periods.

This is the code that would break:

import locale
locale.setlocale(locale.LC_NUMERIC, 'de_DE')
u'%.1f' % 1.0
assert '1.0' == u'%.1f' % 1.0

I couldn't create a test case which fails, but this fixes the problem.

Will backport.
2006-01-10 06:03:13 +00:00
Fredrik Lundh
ab92afd100 added a couple of missing periods. 2006-01-09 22:45:34 +00:00
Georg Brandl
ed1e497fb2 Correct test_builtin locale handling. 2006-01-09 22:36:58 +00:00
Fredrik Lundh
b0cbf3009b fixed broken sentence 2006-01-09 22:02:26 +00:00