Commit graph

32663 commits

Author SHA1 Message Date
Neal Norwitz
e536892541 Remove unnecessary extern variable 2005-12-05 07:16:38 +00:00
Neal Norwitz
ec77645df9 mwh spotted a copied error message, make it unique (and correct) 2005-12-05 01:23:48 +00:00
Neal Norwitz
a6fc397a80 Fix SF #1373161, r41552 broke test_file on OS X
You apparently can seek(0) on sys.stdin on OS X.
But you can't go backwards, so seek(-1).
2005-12-05 01:17:03 +00:00
Michael W. Hudson
b78a5fc004 Fix bug
[ 1346144 ] Segfaults from unaligned loads in floatobject.c

by using memcpy and not just blinding casting char* to double*.

Thanks to Rune Holm for the report.
2005-12-05 00:27:49 +00:00
Andrew M. Kuchling
d54a0aed8e [Patch #1372995] Add \versionadded 2005-12-04 20:25:23 +00:00
Andrew M. Kuchling
593d6b311e [Bug #1281032] Pass encoding from the input source to pyexpat's ParserCreate() 2005-12-04 19:53:45 +00:00
Andrew M. Kuchling
bdb3901001 [Bug #1164912] Ensure Datetime wrapper class .value attribute is an 8-bit string, not a Unicode string 2005-12-04 19:11:17 +00:00
Andrew M. Kuchling
47a39b0112 [Bug #1041501] Fix example 2005-12-04 17:17:46 +00:00
Andrew M. Kuchling
427aedbbd4 [Patch #1039083] Add 'encoding' parameter to SimpleXMLRPCServer 2005-12-04 17:13:12 +00:00
Andrew M. Kuchling
ce100d8d4c Use boolean name 2005-12-04 16:45:05 +00:00
Andrew M. Kuchling
10a16dea74 [Patch #893642] Add optional allow_none argument to SimpleXMLRPCServer, CGIXMLRPCRequestHandler 2005-12-04 16:34:40 +00:00
Andrew M. Kuchling
bc6a195344 [Bug #1372836] Remove unused code 2005-12-04 16:09:54 +00:00
Andrew M. Kuchling
6af5239501 Add placeholder section on old and new-style classes 2005-12-04 16:07:15 +00:00
Andrew M. Kuchling
e63fde72f3 [Bug #792570] Under Windows, socket.read() seems to run into trouble when
asked to read tens of megabytes of data.  On my Mac, it hits MemoryErrors
when reading around 15Mb in one chunk.  The fix is to read the body in several
parts, not as one big piece.

It would be nice to fix the underlying socket.read() problem, too.

2.4 bugfix candidate.
2005-12-04 15:36:57 +00:00
Andrew M. Kuchling
3a97605500 [Bug #1222790] Set reuse-address and close-on-exec flags on the HTTP listening socket 2005-12-04 15:07:41 +00:00
Georg Brandl
cf6b7c99d9 Bug #1368481: python.dir refers to whatsnew23 2005-12-02 13:43:08 +00:00
Anthony Baxter
eac259954c set expectations appropriately. ;) 2005-12-01 02:25:11 +00:00
Walter Dörwald
51490ace7e Fix typo. 2005-11-30 20:16:17 +00:00
Andrew M. Kuchling
f91de8e518 Remove sorting HOWTO, after converting it to a wiki page at http://wiki.python.org/moin/HowTo/Sorting 2005-11-30 01:14:48 +00:00
Martin v. Löwis
e2a060257f Silence VS2005 warnings about deprecated functions. 2005-11-29 17:09:13 +00:00
Martin v. Löwis
30b4975d29 Limit x86 machine instructions and Win95 support to _M_IX86. 2005-11-29 17:08:24 +00:00
Walter Dörwald
ede187f022 Test another error case in PyFloat_FromString(). 2005-11-29 15:45:14 +00:00
Fred Drake
3f207b6aca fix link 2005-11-29 12:40:58 +00:00
Fredrik Lundh
ce53a02a56 SF#1368827
bad link in XML-RPC documentation
2005-11-29 11:22:29 +00:00
Walter Dörwald
d4fff1731c Fix leaked reference to None. 2005-11-28 22:15:56 +00:00
Martin v. Löwis
b45b315855 Patch #1350409: Port signal handling to VS 2005. 2005-11-28 17:34:23 +00:00
Neal Norwitz
3a9a3e7864 Fix memory leaks 2005-11-27 20:38:31 +00:00
Neal Norwitz
fcf4435ae0 Improve test coverage. Hope the test_file changes work the same on windows. 2005-11-27 20:37:43 +00:00
Martin v. Löwis
307021f40b Patch #1162825: Support non-ASCII characters in IDLE window titles. 2005-11-27 16:59:04 +00:00
Georg Brandl
1f663574ee bug #1365984: urllib and data: URLs. Problem was that cStringIO objects cannot be assigned attributes on the fly. 2005-11-26 16:50:44 +00:00
Martin v. Löwis
7dece6690e Patch #1227966: Do not defined _XOPEN_SOURCE_EXTENDED on Solaris 10.
Also set _XOPEN_SOURCE to 500.
Will backport to 2.4.
2005-11-26 11:38:24 +00:00
Walter Dörwald
d4bfe2c878 SF patch #1364946: Add a reference link from the dcoumentation of the encode
and decode methods to the documentation of the default error handlers.
2005-11-25 17:17:12 +00:00
Walter Dörwald
9356fb9881 SF patch #1364545: test_cmd_line.py relied on english error messages when
invoking the Python interpreter (which didn't work on non-english Windows
versions). Check return codes instead.
2005-11-25 15:22:10 +00:00
Neal Norwitz
212a575242 Remove unused _callers member. No need for types, use isinstance 2005-11-25 03:19:29 +00:00
Neal Norwitz
ef260c0803 Stop looping to do nothing, just pass. 2005-11-25 03:18:58 +00:00
Neal Norwitz
d752f7d8e8 No need for types, use isinstance 2005-11-25 03:17:59 +00:00
Neal Norwitz
f9232678ae Use sorted() builtin 2005-11-25 03:16:34 +00:00
Neal Norwitz
89886ab2b0 Test is still disabled, but access through public module 2005-11-25 03:15:49 +00:00
Neal Norwitz
21d19f7203 Get symtable to limp along, can run compiler/symbols.py. Not saying much, needs more work. 2005-11-25 03:14:00 +00:00
Neal Norwitz
545d4962f5 Cleanup a bit more references so test_urllibnet is stable (test_urllib2 is sometimes stable, at least in isolation) 2005-11-25 02:55:49 +00:00
Neal Norwitz
7025ce6fb0 Fix some comment typos 2005-11-25 02:02:50 +00:00
Neal Norwitz
2fcf206a6f Fix typo in comment.
Delete globals which contain variable information at the end of the test.
This makes the test stable (no reported leaks) when running regrtest -R
to find reference leaks.
2005-11-24 23:28:37 +00:00
Neal Norwitz
3715c3e576 Fix a few more ref leaks. Backport candidate 2005-11-24 22:09:18 +00:00
Neal Norwitz
430f68b447 Move registration of the codec search function to the module scope
so it is only executed once.  Otherwise the same search function is
repeated added to the codec search path when regrtest is run with -R
and leaks are reported.
2005-11-24 22:00:56 +00:00
Neal Norwitz
a98e7694ee move test into a unittest.TestCase, no functional changes 2005-11-24 21:58:51 +00:00
Georg Brandl
f06e30af4a bug #1281408: make Py_BuildValue work with unsigned longs and long longs 2005-11-24 15:37:42 +00:00
Kurt B. Kaiser
9df23ea1fc Fix main() call
Patch 1315161 sebastien blanchet
2005-11-23 15:12:19 +00:00
Brett Cannon
ad07ff2c77 Prevent threading.Thread.join() from blocking when a previous call raised an
exception (e.g., passing in an illegal argument).

Applies patch #1314396.  Thanks Eric Blossom.
2005-11-23 02:15:50 +00:00
Kurt B. Kaiser
5c6e0a1a0c 1. Made advanced keybinding dialog functional.
2. Allow binding of movement keys
2005-11-22 21:09:37 +00:00
Georg Brandl
e3faaeb1d6 Bug #1357604: os.makedirs handles UNC paths 2005-11-22 20:14:29 +00:00