Neal Norwitz
c0d11250af
Make close brace a paren to match open.
2005-10-04 03:43:43 +00:00
Neal Norwitz
19f6b86955
Armin caught this mistake in bug #973103 .
2005-10-04 03:37:29 +00:00
Neal Norwitz
178f9068c4
open_new_win does not exist. use UNIX consistently, add autoraise parameter to open(). add versionadded tags to open_new_tab
2005-10-04 03:31:01 +00:00
Neal Norwitz
196f733d93
Fix pychecker warnings
2005-10-04 03:17:49 +00:00
Kurt B. Kaiser
389482ccbe
Incorporate Tal Einat's comment on Patch 936169: Fixes alignment problem.
2005-10-03 20:08:25 +00:00
Kurt B. Kaiser
0a1357930a
Tweak CodeContext.py docstrings, comments, and names.
2005-10-03 19:26:03 +00:00
Raymond Hettinger
bee0d467a1
Correct docs for empty raise when no exception is active.
2005-10-03 16:39:51 +00:00
Fred Drake
4094d04457
fix link to subsection (SF bug #1311674 )
2005-10-03 14:25:40 +00:00
Georg Brandl
e8f244305e
Patch #754022 : Greatly enhanced webbrowser.py.
2005-10-03 14:16:44 +00:00
Neal Norwitz
76390de83c
suppress more errors on my box, most are gentoo specific. Py_ADDRESS_IN_RANGE is x86_64 specific and the readline memory leaks should be generally applicable
2005-10-03 07:46:34 +00:00
Neal Norwitz
7ecbc19e09
SF Bug #1008310 , os.major() os.minor() example and description change. Will backport.
2005-10-03 05:47:38 +00:00
Neal Norwitz
92ff693eb1
Fix SF bug #991735 , os.access reports true for read-only directories. Will backport
2005-10-03 05:13:46 +00:00
Neal Norwitz
708e51a6b1
Fix SF bug #976608 , Unhelpful error message when mtime of a module is -1
...
Will backport.
2005-10-03 04:48:15 +00:00
Neal Norwitz
a45770d6d0
SF Bug # 941346, AIX shared library fix
...
Since I can't test this, I'm just adding a comment. If we get access
to AIX boxes, we can test this and really resolve. Anyone from IBM
want to offer help?
Backport candidate I suppose.
2005-10-03 03:57:09 +00:00
Neal Norwitz
11bd119226
SF bug #887946 , segfault if redirecting directory
...
Also provide a warning if a directory is passed on the command line.
Add minimal command line test.
Will backport.
2005-10-03 00:54:56 +00:00
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