Neal Norwitz
d157b1d237
SF Bug #1308042 , platform dependent behaviour (Windoze of course) in UDP sockets. Will backport
2005-10-03 00:44:06 +00:00
Neal Norwitz
c5cdcba2d9
SF patch #1227568 , Expression AST node not documented.
2005-10-03 00:38:46 +00:00
Neal Norwitz
58d118be4e
SF patch #1227568 , bug #1219273 , Expression AST node not documented. Backport candidate if anyone cares.
2005-10-03 00:36:16 +00:00
Kurt B. Kaiser
74910225df
Increased performance in CodeContext extension Patch 936169 Noam Raphael
2005-10-02 23:36:46 +00:00
Neal Norwitz
40d3781416
- Fix segfault with invalid coding.
...
- SF Bug #772896 , unknown encoding results in MemoryError, which is not helpful
I will only backport the segfault fix. I'll let Anthony decide if he wants
the other changes backported. I will do the backport if asked.
2005-10-02 01:48:49 +00:00
Georg Brandl
d45014b236
Fix PyString_Format so that the "%s" format works again when Unicode is not
...
enabled.
2005-10-01 17:06:00 +00:00
Georg Brandl
8b813db2ef
bug [ 729103 ] Cannot retrieve name of super object
2005-10-01 16:32:31 +00:00
Michael W. Hudson
ce7da6c5e9
Forward port bugfix:
...
[ 1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code)
(note that this only happens in a threads-disabled build).
2005-09-30 08:20:24 +00:00
Neal Norwitz
484d9a409a
Patch #1309009 , Fix segfault in pyexpat when the XML document is
...
in latin_1, but Python incorrectly assumes it is in UTF-8 format
Will backport.
2005-09-30 04:46:49 +00:00
Georg Brandl
aa93517de8
patch [ 1300515 ] xdrlib.py: pack_fstring() did not use null bytes for padding
2005-09-29 20:49:16 +00:00
Georg Brandl
1aa74ee5c5
bug [ 1298120 ] shlex does not support unicode
2005-09-29 20:24:06 +00:00
Georg Brandl
80ba8e8549
bug [ 1296004 ] MemoryError in httplib
2005-09-29 20:16:07 +00:00
Georg Brandl
e677adc43a
Fix parse errors in readline module when compiling without threads.
2005-09-29 13:40:49 +00:00
Georg Brandl
e53475ddd1
bug [ 1306449 ] PyString_AsStringAndSize() return value documented wrong
2005-09-28 12:53:12 +00:00
Martin v. Löwis
420254df5a
Use lzx:21 for compression. Backported to 2.4
2005-09-27 19:17:03 +00:00
Vinay Sajip
d1c0239862
Minor clarification of effective level calculation
2005-09-26 00:14:46 +00:00
Armin Rigo
dd5c023af5
some more fixes and tests for inspect.getsource(), triggered by crashes
...
from the PyPy project as well as the SF bug #1295909 .
2005-09-25 11:45:45 +00:00
Georg Brandl
e9f8ec98d4
Commit memory leaking fix.
2005-09-25 06:16:40 +00:00
Armin Rigo
ec862b907a
(pedronis, arigo)
...
segfault when a class contain a non-list value in the (undocumented)
special attribute __slotnames__.
2005-09-24 22:58:41 +00:00
Raymond Hettinger
6b27cda643
Convert iterator __len__() methods to a private API.
2005-09-24 21:23:05 +00:00
Hye-Shik Chang
9ceebd5445
Patch #1288833 : Removed thread lock from socket.getaddrinfo on
...
FreeBSD 5.3 and later versions which got thread-safe getaddrinfo(3).
(Reported by Maxim Sobolev)
2005-09-24 14:58:47 +00:00
Peter Astrand
3a708dfc88
Changed license header: Now simply referring to PSF. This closes bug
...
1138653.
2005-09-23 17:37:29 +00:00
Skip Montanaro
acb1424106
The key to the various sort columns got lost. Pulled from
...
http://mail.python.org/pipermail/python-dev/2002-July/026876.html
2005-09-23 17:14:22 +00:00
Neal Norwitz
02cfa0bae5
SF #1297059 , doc incorrect return type for search() method. (There is a description of returned values at the top, so just remove the sentance and correct an example.)
2005-09-23 04:26:24 +00:00
Fred Drake
5a13e91f72
update URL into the Python wiki
...
(forward port revision 1.10.4.1)
2005-09-22 19:37:52 +00:00
Michael W. Hudson
10402a306f
Patches #1298449 and #1298499 : Add some missing checks for error
...
returns in cStringIO.c. Thanks to Andrew Bennetts.
This must be a backport candidate.
2005-09-22 09:19:01 +00:00
Jack Jansen
19e11c86a7
MacOSX 10.4 apparently does not allow the creation time to be set to later
...
than the modification time. Changed the SetDates test to accomodate.
Backport candidate.
2005-09-21 20:52:11 +00:00
Neal Norwitz
058bde1944
SF Patch #1297028 , cjkcodecs does not initialize type pointer
...
Fix segfault. I tried to write a test, but it wouldn't crash
when running regrtest. This really should have some sort of test.
Should definitely be backported.
2005-09-21 06:44:25 +00:00
Jack Jansen
2190f8c47e
Added a class MallocHeapOutputBufferType for types that are passed
...
as &buffer, &size and allocated by the called function.
2005-09-20 21:11:19 +00:00
Guido van Rossum
a2534c8618
Update 64-bit AIX and HP-UX build instructions (forward port).
2005-09-20 19:06:23 +00:00
Armin Rigo
335ffe88bb
C89 compliance.
2005-09-20 19:04:02 +00:00
Armin Rigo
f879024487
test and fix for buggy handling of exceptions raised by C functions,
...
causing the profiler to crash on an AssertionError if the same Python
function catches multiple exceptions from C functions.
2005-09-20 18:50:13 +00:00
Guido van Rossum
630db60a55
- On 64-bit platforms, when __len__() returns a value that cannot be
...
represented as a C int, raise OverflowError.
(Forward port from 2.4.2; the patch to classobject.c was already in
but needed a correction in the error message text.)
2005-09-20 18:49:54 +00:00
Armin Rigo
1c2d7e5363
clean-up tracing of C functions. In particular, don't call the trace func
...
with an exception currently set!
2005-09-20 18:34:01 +00:00
Armin Rigo
71d7e704b8
Removed a check "if (args != NULL)" which is always True and makes no sense.
2005-09-20 18:13:03 +00:00
Armin Rigo
a6eb56cf46
Don't call memset() before checking that the ptr is not NULL.
2005-09-20 18:07:47 +00:00
Jack Jansen
b53355ad77
Added support for (optionally) bracketing calls with
...
Py_{BEGIN,END}_ALLOW_THREADS.
2005-09-20 15:13:53 +00:00
Matthias Klose
f3f231f60c
- Patch #1166948 : locale.py: Prefer LC_ALL, LC_CTYPE and LANG over LANGUAGE
...
to get the correct encoding.
- Patch #1166938 : locale.py: Parse LANGUAGE as a colon separated list of
languages.
2005-09-20 07:02:49 +00:00
Guido van Rossum
ba3e6ec0c9
A minor fix for 64-bit platforms: when __len__() returns Python int
...
containing a value that doesn't fit in a C int, raise OverflowError
rather than truncating silently (and having 50% chance of hitting the
"it should be >= 0" error).
2005-09-19 22:42:41 +00:00
Armin Rigo
3a703b6059
Reverted revision 1.83, which introduced a bug and subtle incompatibility
...
issues. See bug #1112856 .
2005-09-19 09:11:04 +00:00
Neal Norwitz
cfe7dd96cf
Note fix of memory leak.
2005-09-19 06:49:27 +00:00
Neal Norwitz
3efd0a1e86
Remove unnecessary/extra parens when returning a value.
2005-09-19 06:45:53 +00:00
Neal Norwitz
24b3c22985
Forward port fixes for problems reported by valgrind
2005-09-19 06:43:44 +00:00
Skip Montanaro
f8948ca5d7
skip _locale test if OS X < 10.4
2005-09-19 03:54:46 +00:00
Martin v. Löwis
4ed673877d
Patch #1268314 : Cache lines in StreamReader.readlines for performance.
...
Will backport to Python 2.4.
2005-09-18 08:34:39 +00:00
Martin v. Löwis
8b291e2d66
Patch #1213831 : Fix typo in unicodedata._getcode.
...
Will backport to Python 2.4.
2005-09-18 08:17:56 +00:00
Georg Brandl
9e28107ce8
Test case for latest complexobject fix.
2005-09-17 07:51:15 +00:00
Vinay Sajip
116f16e4ab
Added lock acquisition around handler removal from logger
2005-09-16 10:33:40 +00:00
Raymond Hettinger
9bda1d6f64
No longer ignore exceptions raised by comparisons during key lookup.
...
Inspired by Armin Rigo's suggestion to do the same with dictionaries.
2005-09-16 07:14:21 +00:00
Georg Brandl
c404ff2f2d
patch [ 1118729 ] Error in representation of complex numbers(again)
2005-09-16 06:42:26 +00:00