]>
granicus.if.org Git - python/log
Neal Norwitz [Mon, 3 Oct 2005 04:48:15 +0000 (04:48 +0000)]
Fix SF bug #976608, Unhelpful error message when mtime of a module is -1
Will backport.
Neal Norwitz [Mon, 3 Oct 2005 03:57:09 +0000 (03:57 +0000)]
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.
Neal Norwitz [Mon, 3 Oct 2005 00:54:56 +0000 (00:54 +0000)]
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.
Neal Norwitz [Mon, 3 Oct 2005 00:44:06 +0000 (00:44 +0000)]
SF Bug #
1308042 , platform dependent behaviour (Windoze of course) in UDP sockets. Will backport
Neal Norwitz [Mon, 3 Oct 2005 00:38:46 +0000 (00:38 +0000)]
SF patch #
1227568 , Expression AST node not documented.
Neal Norwitz [Mon, 3 Oct 2005 00:36:16 +0000 (00:36 +0000)]
SF patch #
1227568 , bug #
1219273 , Expression AST node not documented. Backport candidate if anyone cares.
Kurt B. Kaiser [Sun, 2 Oct 2005 23:36:46 +0000 (23:36 +0000)]
Increased performance in CodeContext extension Patch 936169 Noam Raphael
Neal Norwitz [Sun, 2 Oct 2005 01:48:49 +0000 (01:48 +0000)]
- 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.
Georg Brandl [Sat, 1 Oct 2005 17:06:00 +0000 (17:06 +0000)]
Fix PyString_Format so that the "%s" format works again when Unicode is not
enabled.
Georg Brandl [Sat, 1 Oct 2005 16:32:31 +0000 (16:32 +0000)]
bug [ 729103 ] Cannot retrieve name of super object
Michael W. Hudson [Fri, 30 Sep 2005 08:20:24 +0000 (08:20 +0000)]
Forward port bugfix:
[
1307978 ] Unsatisfied symbols: _PyGILState_NoteThreadState (code)
(note that this only happens in a threads-disabled build).
Neal Norwitz [Fri, 30 Sep 2005 04:46:49 +0000 (04:46 +0000)]
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.
Georg Brandl [Thu, 29 Sep 2005 20:49:16 +0000 (20:49 +0000)]
patch [
1300515 ] xdrlib.py: pack_fstring() did not use null bytes for padding
Georg Brandl [Thu, 29 Sep 2005 20:24:06 +0000 (20:24 +0000)]
bug [
1298120 ] shlex does not support unicode
Georg Brandl [Thu, 29 Sep 2005 20:16:07 +0000 (20:16 +0000)]
bug [
1296004 ] MemoryError in httplib
Georg Brandl [Thu, 29 Sep 2005 13:40:49 +0000 (13:40 +0000)]
Fix parse errors in readline module when compiling without threads.
Georg Brandl [Wed, 28 Sep 2005 12:53:12 +0000 (12:53 +0000)]
bug [
1306449 ] PyString_AsStringAndSize() return value documented wrong
Martin v. Löwis [Tue, 27 Sep 2005 19:17:03 +0000 (19:17 +0000)]
Use lzx:21 for compression. Backported to 2.4
Vinay Sajip [Mon, 26 Sep 2005 00:14:46 +0000 (00:14 +0000)]
Minor clarification of effective level calculation
Armin Rigo [Sun, 25 Sep 2005 11:45:45 +0000 (11:45 +0000)]
some more fixes and tests for inspect.getsource(), triggered by crashes
from the PyPy project as well as the SF bug #
1295909 .
Georg Brandl [Sun, 25 Sep 2005 06:16:40 +0000 (06:16 +0000)]
Commit memory leaking fix.
Armin Rigo [Sat, 24 Sep 2005 22:58:41 +0000 (22:58 +0000)]
(pedronis, arigo)
segfault when a class contain a non-list value in the (undocumented)
special attribute __slotnames__.
Raymond Hettinger [Sat, 24 Sep 2005 21:23:05 +0000 (21:23 +0000)]
Convert iterator __len__() methods to a private API.
Hye-Shik Chang [Sat, 24 Sep 2005 14:58:47 +0000 (14:58 +0000)]
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)
Peter Astrand [Fri, 23 Sep 2005 17:37:29 +0000 (17:37 +0000)]
Changed license header: Now simply referring to PSF. This closes bug
1138653 .
Skip Montanaro [Fri, 23 Sep 2005 17:14:22 +0000 (17:14 +0000)]
The key to the various sort columns got lost. Pulled from
http://mail.python.org/pipermail/python-dev/2002-July/026876.html
Neal Norwitz [Fri, 23 Sep 2005 04:26:24 +0000 (04:26 +0000)]
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.)
Fred Drake [Thu, 22 Sep 2005 19:37:52 +0000 (19:37 +0000)]
update URL into the Python wiki
(forward port revision 1.10.4.1)
Michael W. Hudson [Thu, 22 Sep 2005 09:19:01 +0000 (09:19 +0000)]
Patches #
1298449 and #
1298499 : Add some missing checks for error
returns in cStringIO.c. Thanks to Andrew Bennetts.
This must be a backport candidate.
Jack Jansen [Wed, 21 Sep 2005 20:52:11 +0000 (20:52 +0000)]
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.
Neal Norwitz [Wed, 21 Sep 2005 06:44:25 +0000 (06:44 +0000)]
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.
Jack Jansen [Tue, 20 Sep 2005 21:11:19 +0000 (21:11 +0000)]
Added a class MallocHeapOutputBufferType for types that are passed
as &buffer, &size and allocated by the called function.
Guido van Rossum [Tue, 20 Sep 2005 19:06:23 +0000 (19:06 +0000)]
Update 64-bit AIX and HP-UX build instructions (forward port).
Armin Rigo [Tue, 20 Sep 2005 19:04:02 +0000 (19:04 +0000)]
C89 compliance.
Armin Rigo [Tue, 20 Sep 2005 18:50:13 +0000 (18:50 +0000)]
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.
Guido van Rossum [Tue, 20 Sep 2005 18:49:54 +0000 (18:49 +0000)]
- 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.)
Armin Rigo [Tue, 20 Sep 2005 18:34:01 +0000 (18:34 +0000)]
clean-up tracing of C functions. In particular, don't call the trace func
with an exception currently set!
Armin Rigo [Tue, 20 Sep 2005 18:13:03 +0000 (18:13 +0000)]
Removed a check "if (args != NULL)" which is always True and makes no sense.
Armin Rigo [Tue, 20 Sep 2005 18:07:47 +0000 (18:07 +0000)]
Don't call memset() before checking that the ptr is not NULL.
Jack Jansen [Tue, 20 Sep 2005 15:13:53 +0000 (15:13 +0000)]
Added support for (optionally) bracketing calls with
Py_{BEGIN,END}_ALLOW_THREADS.
Matthias Klose [Tue, 20 Sep 2005 07:02:49 +0000 (07:02 +0000)]
- 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.
Guido van Rossum [Mon, 19 Sep 2005 22:42:41 +0000 (22:42 +0000)]
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).
Armin Rigo [Mon, 19 Sep 2005 09:11:04 +0000 (09:11 +0000)]
Reverted revision 1.83, which introduced a bug and subtle incompatibility
issues. See bug #
1112856 .
Neal Norwitz [Mon, 19 Sep 2005 06:49:27 +0000 (06:49 +0000)]
Note fix of memory leak.
Neal Norwitz [Mon, 19 Sep 2005 06:45:53 +0000 (06:45 +0000)]
Remove unnecessary/extra parens when returning a value.
Neal Norwitz [Mon, 19 Sep 2005 06:43:44 +0000 (06:43 +0000)]
Forward port fixes for problems reported by valgrind
Skip Montanaro [Mon, 19 Sep 2005 03:54:46 +0000 (03:54 +0000)]
skip _locale test if OS X < 10.4
Martin v. Löwis [Sun, 18 Sep 2005 08:34:39 +0000 (08:34 +0000)]
Patch #
1268314 : Cache lines in StreamReader.readlines for performance.
Will backport to Python 2.4.
Martin v. Löwis [Sun, 18 Sep 2005 08:17:56 +0000 (08:17 +0000)]
Patch #
1213831 : Fix typo in unicodedata._getcode.
Will backport to Python 2.4.
Georg Brandl [Sat, 17 Sep 2005 07:51:15 +0000 (07:51 +0000)]
Test case for latest complexobject fix.
Vinay Sajip [Fri, 16 Sep 2005 10:33:40 +0000 (10:33 +0000)]
Added lock acquisition around handler removal from logger
Raymond Hettinger [Fri, 16 Sep 2005 07:14:21 +0000 (07:14 +0000)]
No longer ignore exceptions raised by comparisons during key lookup.
Inspired by Armin Rigo's suggestion to do the same with dictionaries.
Georg Brandl [Fri, 16 Sep 2005 06:42:26 +0000 (06:42 +0000)]
patch [
1118729 ] Error in representation of complex numbers(again)
Brett Cannon [Fri, 16 Sep 2005 02:43:35 +0000 (02:43 +0000)]
Change type on variable to silence gcc 4 warning. Call signature was found at
http://darwinsource.opendarwin.org/10.4.2/dyld-43.1/src/dyldAPIs.cpp .
Georg Brandl [Thu, 15 Sep 2005 16:02:13 +0000 (16:02 +0000)]
patch [
1277677 ] tkinter hello world example bug
Georg Brandl [Thu, 15 Sep 2005 13:00:34 +0000 (13:00 +0000)]
patch [
1119423 ] python -c readlink()s and stat()s '-c'
Georg Brandl [Thu, 15 Sep 2005 11:16:28 +0000 (11:16 +0000)]
fix typo
Georg Brandl [Thu, 15 Sep 2005 10:46:13 +0000 (10:46 +0000)]
bug [ 868706 ] Calling builtin function 'eval' from C causes seg fault.
Brett Cannon [Thu, 15 Sep 2005 02:34:56 +0000 (02:34 +0000)]
Clear out the regex cache when the TimeRE cache is invalidated by a locale
change.
Fixes bug #
1290505 .
Georg Brandl [Wed, 14 Sep 2005 20:53:32 +0000 (20:53 +0000)]
*** empty log message ***
Georg Brandl [Wed, 14 Sep 2005 20:51:40 +0000 (20:51 +0000)]
bug [
1007046 ] os.startfile() doesn't accept Unicode filenames
Georg Brandl [Wed, 14 Sep 2005 20:42:00 +0000 (20:42 +0000)]
bug [
1274828 ] splitunc not documented
Georg Brandl [Wed, 14 Sep 2005 19:38:29 +0000 (19:38 +0000)]
Complete format code support in getargs.c::skipitem(), which is called when
evaluating keyword arguments.
CVS: ----------------------------------------------------------------------
CVS: Enter Log. Lines beginning with `CVS:' are removed automatically
CVS:
CVS: Committing in .
CVS:
CVS: Modified Files:
CVS: Python/getargs.c
CVS: ----------------------------------------------------------------------
Georg Brandl [Wed, 14 Sep 2005 19:29:53 +0000 (19:29 +0000)]
Complete format code support in getargs.c::skipitem(), which is called when
evaluating keyword arguments.
Guido van Rossum [Wed, 14 Sep 2005 18:09:42 +0000 (18:09 +0000)]
- Changes donated by Elemental Security to make it work on AIX 5.3
with IBM's 64-bit compiler (SF patch #
1284289 ). This also closes SF
bug #105470: test_pwd fails on 64bit system (Opteron).
Guido van Rossum [Wed, 14 Sep 2005 17:49:54 +0000 (17:49 +0000)]
- Changes donated by Elemental Security to make it work on HP-UX 11 on
Itanium2 with HP's 64-bit compiler (SF patch #
1225212 ).
Georg Brandl [Wed, 14 Sep 2005 17:25:02 +0000 (17:25 +0000)]
comma nit
Gustavo Niemeyer [Wed, 14 Sep 2005 08:54:39 +0000 (08:54 +0000)]
Bug #
1202493 : Fixing SRE parser to handle '{}' as perl does, rather than
considering it exactly like a '*'.
Georg Brandl [Wed, 14 Sep 2005 06:56:20 +0000 (06:56 +0000)]
Patch #
1290454 : Fix reload() error message when parent module is not in
sys.modules.
Andrew M. Kuchling [Tue, 13 Sep 2005 19:56:06 +0000 (19:56 +0000)]
Add more links to the 'What Next?' section; rewrite to be briefer
Raymond Hettinger [Mon, 12 Sep 2005 22:50:37 +0000 (22:50 +0000)]
Speed-up escape()
Georg Brandl [Mon, 12 Sep 2005 12:49:38 +0000 (12:49 +0000)]
Better wording for integer ref entry.
Andrew M. Kuchling [Mon, 12 Sep 2005 12:45:37 +0000 (12:45 +0000)]
Shorten run-on sentence
Andrew M. Kuchling [Mon, 12 Sep 2005 12:44:20 +0000 (12:44 +0000)]
Update link
Andrew M. Kuchling [Mon, 12 Sep 2005 12:43:57 +0000 (12:43 +0000)]
Update link
Raymond Hettinger [Sun, 11 Sep 2005 18:21:52 +0000 (18:21 +0000)]
Add FAQ entry regarding non-expoential representation.
Raymond Hettinger [Sun, 11 Sep 2005 16:34:05 +0000 (16:34 +0000)]
Minor cleanup.
Raymond Hettinger [Sat, 10 Sep 2005 18:17:54 +0000 (18:17 +0000)]
Corrected version of 1.170
Raymond Hettinger [Sat, 10 Sep 2005 14:30:09 +0000 (14:30 +0000)]
Revert 1.170. Add tests.
Raymond Hettinger [Sat, 10 Sep 2005 06:49:04 +0000 (06:49 +0000)]
Simplify and speed-up unquote().
Raymond Hettinger [Sat, 10 Sep 2005 02:27:41 +0000 (02:27 +0000)]
Simplify and speed-up quote_plus().
Raymond Hettinger [Fri, 9 Sep 2005 22:27:13 +0000 (22:27 +0000)]
SF #
1285086 : urllib.quote is too slow
Simplify and speed-up quote() function.
Vinay Sajip [Thu, 8 Sep 2005 18:14:16 +0000 (18:14 +0000)]
Added _handlerList to allow shutdown to flush and close handlers in reverse order of creation (see SF#
1282539 )
Hye-Shik Chang [Wed, 7 Sep 2005 07:40:05 +0000 (07:40 +0000)]
Quote docstring with r"" to keep '\r\n' in example code.
Fred Drake [Wed, 7 Sep 2005 05:17:07 +0000 (05:17 +0000)]
note that the return and yield statements cannot be used at the top level in
exec statements; people coming from certain other languages seem to be
confused by this on a regular basis
Fred Drake [Wed, 7 Sep 2005 04:57:56 +0000 (04:57 +0000)]
- fix typo report by email, only 1.5 years late
- fix several consistency nits relating to \method{...()}
Neal Norwitz [Mon, 5 Sep 2005 16:16:49 +0000 (16:16 +0000)]
break sets a breakpoint rather than stopping the loop.
It *appears* a flag is necessary instead.
This was tested in gdb 6.0.
Backport candidate
Georg Brandl [Sun, 4 Sep 2005 18:30:19 +0000 (18:30 +0000)]
Clarify what is meant with "whole numbers".
Georg Brandl [Sat, 3 Sep 2005 07:49:53 +0000 (07:49 +0000)]
bug [
1274069 ] bz2module.c compiler warning
Georg Brandl [Sat, 3 Sep 2005 07:27:26 +0000 (07:27 +0000)]
- Correct PyBool_FromLong's return type and its description.
- Unify function description mode ("Return X" vs "Returns X")
Vinay Sajip [Fri, 2 Sep 2005 11:20:33 +0000 (11:20 +0000)]
Changed _srcfile determination to support py2exe.
Andrew M. Kuchling [Thu, 1 Sep 2005 14:08:38 +0000 (14:08 +0000)]
Remove statement about meaning of constants; arguably it's incorrect
Walter Dörwald [Thu, 1 Sep 2005 12:04:29 +0000 (12:04 +0000)]
Fix rest markup and typos.
Walter Dörwald [Thu, 1 Sep 2005 11:56:53 +0000 (11:56 +0000)]
SF bug #
1235646 : codecs.StreamRecoder.next() now reencodes the data it reads
from the input stream, so that the output is a byte string in the correct
encoding instead of a unicode string.
Georg Brandl [Thu, 1 Sep 2005 06:25:34 +0000 (06:25 +0000)]
Reverting previous checkin. This breaks too much of HTMLParser to be applied
without thought. Anyway, such malformed HTML is better handled by something
like BeautifulSoup.
Neal Norwitz [Thu, 1 Sep 2005 00:45:28 +0000 (00:45 +0000)]
No need to import exceptions, they are builtins
Neal Norwitz [Thu, 1 Sep 2005 00:39:02 +0000 (00:39 +0000)]
Remove unused import
Neil Schemenauer [Wed, 31 Aug 2005 23:02:05 +0000 (23:02 +0000)]
Fix bug in last checkin (2.231). To match previous behavior, unicode
subclasses should be substituted as-is and not have tp_str called on
them.
Georg Brandl [Wed, 31 Aug 2005 22:48:45 +0000 (22:48 +0000)]
patch [
1242454 ] shutil.copytree() quits too soon after an error.
Georg Brandl [Wed, 31 Aug 2005 22:21:15 +0000 (22:21 +0000)]
Whitespace normalization.