]>
granicus.if.org Git - python/log
Neal Norwitz [Thu, 5 Jan 2006 07:16:13 +0000 (07:16 +0000)]
If the audio file does not exist, the test should be skipped. Will backport.
Neal Norwitz [Thu, 5 Jan 2006 06:38:15 +0000 (06:38 +0000)]
Try to make svnversion test more portable, based on Sjoerd's suggestion
Neal Norwitz [Thu, 5 Jan 2006 06:09:13 +0000 (06:09 +0000)]
Skip test_curses if stdin is not a tty (like when run from cron or buildbot). Will backport.
Neal Norwitz [Thu, 5 Jan 2006 05:43:35 +0000 (05:43 +0000)]
Fix errors on 64-bit platforms. Will backport
Georg Brandl [Wed, 4 Jan 2006 21:05:07 +0000 (21:05 +0000)]
Bug #
1395715 : wrong LaTeX label
Hye-Shik Chang [Wed, 4 Jan 2006 01:30:17 +0000 (01:30 +0000)]
Fix a warning from gcc by adding a missed const qualifier.
Barry Warsaw [Tue, 3 Jan 2006 14:30:55 +0000 (14:30 +0000)]
SF bug #
1395926 : Also test for svnversion command on $PATH before using it to
calculate the build number.
Martin v. Löwis [Tue, 3 Jan 2006 07:42:14 +0000 (07:42 +0000)]
Mention that zlib is now builtin on Windows.
Martin v. Löwis [Tue, 3 Jan 2006 07:38:51 +0000 (07:38 +0000)]
Patch #
1307806 : Use project defaults where possible
Martin v. Löwis [Tue, 3 Jan 2006 07:10:14 +0000 (07:10 +0000)]
Make zlib builtin.
Martin v. Löwis [Tue, 3 Jan 2006 06:48:38 +0000 (06:48 +0000)]
Remove unneeded directories.
Martin v. Löwis [Tue, 3 Jan 2006 06:44:59 +0000 (06:44 +0000)]
Import zlib into Python tree.
Martin v. Löwis [Tue, 3 Jan 2006 06:29:53 +0000 (06:29 +0000)]
Ignore .svn instead of CVS now.
Barry Warsaw [Tue, 3 Jan 2006 06:03:04 +0000 (06:03 +0000)]
On the Mac, we have to ignore python.exe too.
Neal Norwitz [Tue, 3 Jan 2006 02:18:01 +0000 (02:18 +0000)]
Dammit, who the hell spells build with ii?
Thanks to Tony Meyer for spotting my boo-boo.
Neal Norwitz [Tue, 3 Jan 2006 02:12:20 +0000 (02:12 +0000)]
Updated doc from patch
1117398
Neal Norwitz [Tue, 3 Jan 2006 01:38:53 +0000 (01:38 +0000)]
As discussed on python-dev, don't remove Python-ast.[ch] with distclean
even though they are generated. Since these files require Python 2.2+,
it's possible they can't be created on a fresh system.
Neal Norwitz [Tue, 3 Jan 2006 00:33:50 +0000 (00:33 +0000)]
install svn in /usr/local/bin and remove from ~/local/bin
Neal Norwitz [Mon, 2 Jan 2006 23:22:41 +0000 (23:22 +0000)]
get the proper full pathname of the script. spell build properly
Neal Norwitz [Mon, 2 Jan 2006 22:10:10 +0000 (22:10 +0000)]
* Change tabs to spaces
* Enable network tests when hunting for leaks
* Disable curses and audio tests properly when running -u all
Georg Brandl [Mon, 2 Jan 2006 22:07:06 +0000 (22:07 +0000)]
Martin v. Löwis [Mon, 2 Jan 2006 21:18:55 +0000 (21:18 +0000)]
Regenerate.
Martin v. Löwis [Mon, 2 Jan 2006 21:15:05 +0000 (21:15 +0000)]
Adjust usage of compiler_use_new_block to its return type.
Neal Norwitz [Mon, 2 Jan 2006 20:07:16 +0000 (20:07 +0000)]
Script to automatically build and test python and doc. The results
are copied up to docs.python.org/dev
Needs lots more work. Feel free to add code, fixes, or FIXME comments.
Fred Drake [Mon, 2 Jan 2006 07:22:12 +0000 (07:22 +0000)]
update to reflect move to Subversion
Neal Norwitz [Mon, 2 Jan 2006 02:46:54 +0000 (02:46 +0000)]
Fix ref/memory leak introduced in rev 41845.
Barry Warsaw [Sun, 1 Jan 2006 21:48:54 +0000 (21:48 +0000)]
Ported from 2.4 branch:
Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.
Georg Brandl [Sun, 1 Jan 2006 21:35:20 +0000 (21:35 +0000)]
Tim Peters [Sun, 1 Jan 2006 01:19:23 +0000 (01:19 +0000)]
Fixed English in a comment; trimmed trailing whitespace;
no code changes.
Tim Peters [Fri, 30 Dec 2005 20:46:23 +0000 (20:46 +0000)]
test_main(): Restore the original root logger level after running
the tests. This stops the confusing/annoying:
No handlers could be found for logger "cookielib"
message we got whenever some test running after test_logging
happened to use cookielib.py (when not using regrtest's -r,
this happened during test_urllib2; when using -r, it varied).
Tim Peters [Fri, 30 Dec 2005 18:42:42 +0000 (18:42 +0000)]
Whitespace normalization.
Martin v. Löwis [Fri, 30 Dec 2005 12:51:45 +0000 (12:51 +0000)]
Work around test_locale failing on Solaris.
Will backport to 2.4.
Martin v. Löwis [Fri, 30 Dec 2005 12:31:38 +0000 (12:31 +0000)]
Use -xcode=pic32 for SunPro. Will backport to 2.4.
Skip Montanaro [Fri, 30 Dec 2005 05:09:48 +0000 (05:09 +0000)]
Fix a delimiter detection problem in sniffer. Sniffing "a|b|c\r\n" was
returning 'a' as the delimiter. It now returns '|', but not because I
understood better what the code was supposed to do. Would someone that
understands the idea behind _guess_delimiter() (see its doc string) look to
see if my fallback choice is better than before or if it's just serendipity
that I picked the proper delimiter?
Skip Montanaro [Fri, 30 Dec 2005 05:01:26 +0000 (05:01 +0000)]
typo, use parens for continued expr
Fredrik Lundh [Thu, 29 Dec 2005 20:35:52 +0000 (20:35 +0000)]
SF#
1391872
Floating point literals don't work in non-US locale in 2.5. Patch and
new locale tests by Hye-Shik Chang.
Armin Rigo [Thu, 29 Dec 2005 17:43:08 +0000 (17:43 +0000)]
SF patch #
1379023 : document that a weakref callback is not invoked if the
weakref object itself is deleted first.
Armin Rigo [Thu, 29 Dec 2005 17:07:39 +0000 (17:07 +0000)]
SF bug #
1153075 : "PyXxx_Check(x) trusts x->ob_type->tp_mro".
A patch by mwh to check that user-defined mro's are reasonable
enough.
Armin Rigo [Thu, 29 Dec 2005 16:50:42 +0000 (16:50 +0000)]
adding in-place operators to the operator module.
Armin Rigo [Thu, 29 Dec 2005 16:04:25 +0000 (16:04 +0000)]
Typo.
Armin Rigo [Thu, 29 Dec 2005 15:59:19 +0000 (15:59 +0000)]
SF patch #
1390657 :
* set sq_repeat and sq_concat to NULL for user-defined new-style
classes, as a way to fix a number of related problems. See
test_descr.notimplemented()). One of these problems was fixed
in r25556 and r25557 but many more existed; this is a general
fix and thus reverts r25556-r25557.
* to avoid having PySequence_Repeat()/PySequence_Concat() failing
on user-defined classes, they now fall back to nb_add/nb_mul if
sq_concat/sq_repeat are not defined and the arguments appear to
be sequences.
* added tests.
Backport candidate.
Armin Rigo [Thu, 29 Dec 2005 14:39:28 +0000 (14:39 +0000)]
two missing PyDoc_STR().
Skip Montanaro [Wed, 28 Dec 2005 15:56:58 +0000 (15:56 +0000)]
typo
Skip Montanaro [Wed, 28 Dec 2005 15:37:25 +0000 (15:37 +0000)]
Fix for problem with Sniffer class. If your delimiter is whitespace and the
last field was empty it would strip the delimiter and incorrectly guess that
"" was the delimiter. Reported in c.l.py by Laurent Laporte. Will
backport.
Georg Brandl [Tue, 27 Dec 2005 18:24:27 +0000 (18:24 +0000)]
Bug #999767: make setup.py obey Setup.local wrt shared modules
Georg Brandl [Tue, 27 Dec 2005 17:37:07 +0000 (17:37 +0000)]
[ 959576 ] Can't build Python on POSIX w/o $HOME
Georg Brandl [Tue, 27 Dec 2005 17:25:33 +0000 (17:25 +0000)]
Revert checkin for bug #
1386675 .
Georg Brandl [Tue, 27 Dec 2005 00:03:18 +0000 (00:03 +0000)]
Bug #
1386675 : winreg raises WindowsErrors
Georg Brandl [Mon, 26 Dec 2005 23:55:56 +0000 (23:55 +0000)]
Bug #
1389673 : document correct return value of set methods
Georg Brandl [Mon, 26 Dec 2005 23:44:29 +0000 (23:44 +0000)]
Bug #489256: remove note about Python 1.1 profiler
Georg Brandl [Mon, 26 Dec 2005 23:36:32 +0000 (23:36 +0000)]
Bug #954981: urllib2 example wont work w/o ssl
Georg Brandl [Mon, 26 Dec 2005 23:27:49 +0000 (23:27 +0000)]
Bug #839075: document that highly recursive data cannot be pickled
Georg Brandl [Mon, 26 Dec 2005 23:15:48 +0000 (23:15 +0000)]
Bug #839585: mention % string operator in language ref
Georg Brandl [Mon, 26 Dec 2005 23:07:46 +0000 (23:07 +0000)]
Bug #756104: document that bufsize in socket.recv() should be small
Georg Brandl [Mon, 26 Dec 2005 22:53:56 +0000 (22:53 +0000)]
Bug #649974: make docstrings for url2pathname consistent
Armin Rigo [Mon, 26 Dec 2005 18:06:17 +0000 (18:06 +0000)]
Updating the short blob about old/new-style classes to reflect (IMHO) more
precisely the motivation and the differences.
Added links to www.python.org/doc/newstyle.html and a footnote to warn against
the statement "x[i] is equivalent to x.__getitem__(i)", which already caused
many invalid bug reports on SF.
Tim Peters [Mon, 26 Dec 2005 16:53:15 +0000 (16:53 +0000)]
As reported on c.l.py, the _elementtree project
should depend on the pythoncore project.
Tim Peters [Sun, 25 Dec 2005 23:18:31 +0000 (23:18 +0000)]
Whitespace normalization.
Tim Peters [Sun, 25 Dec 2005 22:52:32 +0000 (22:52 +0000)]
test_bug_1333982(): This one must fail under -O.
All the --all test pass using -O on WinXP now.
Tim Peters [Sun, 25 Dec 2005 16:28:48 +0000 (16:28 +0000)]
Repair longstanding damage introduced by the AST merge:
- Get rid of pgen.c and tokenizer_pgen.c.
- Include tokenizer.c.
All the -uall tests pass on my WinXP VC7.1 box now.
Fredrik Lundh [Sun, 25 Dec 2005 12:05:42 +0000 (12:05 +0000)]
fixed one more typo
Fredrik Lundh [Sun, 25 Dec 2005 11:40:19 +0000 (11:40 +0000)]
SF#
1389809
cast first PyUnicode_Decode argument to proper type (why is
"char *" used for encoded byte streams, btw? shouldn't that
be "void *" or, if necessary, "unsigned char *"?)
Fredrik Lundh [Sun, 25 Dec 2005 11:36:43 +0000 (11:36 +0000)]
fixed two typos in pprint reference page
Tim Peters [Sat, 24 Dec 2005 06:23:41 +0000 (06:23 +0000)]
do_mkvalue(), 'I' and 'k' cases: squash legitimate
compiler warnings about mixing signed and unsigned types
in comparisons.
Tim Peters [Sat, 24 Dec 2005 06:03:06 +0000 (06:03 +0000)]
const poisoning, spreading to fix new const warnings
in _winreg.c.
Neal Norwitz [Sat, 24 Dec 2005 01:48:56 +0000 (01:48 +0000)]
Ignore pyc files for building doc
Neal Norwitz [Fri, 23 Dec 2005 21:44:36 +0000 (21:44 +0000)]
Patch #
1157027 , cookielib mis-handles RFC 2109 cookies in Netscape mode
Neal Norwitz [Fri, 23 Dec 2005 21:43:48 +0000 (21:43 +0000)]
SF patch #
1157027 , cookielib mis-handles RFC 2109 cookies in Netscape mode
Neal Norwitz [Fri, 23 Dec 2005 21:42:39 +0000 (21:42 +0000)]
Add missing dep for cookielib doc
Neal Norwitz [Fri, 23 Dec 2005 21:27:46 +0000 (21:27 +0000)]
Patch #
1117398 : fix cookielib LoadError
Neal Norwitz [Fri, 23 Dec 2005 21:24:35 +0000 (21:24 +0000)]
Fix SF #
1117398 , cookielib LWPCookieJar and MozillaCookieJar exceptions
cookielib.LWPCookieJar and .MozillaCookieJar are documented to raise
cookielib.LoadError on attempt to load an invalid cookies file, but
raise IOError instead. Compromise by having LoadError subclass IOError.
Andrew M. Kuchling [Thu, 22 Dec 2005 20:34:09 +0000 (20:34 +0000)]
[Patch #
1375417 ] Massive rearrangement of the Library Reference.
Fred approved just checking it in; he may make further fixes.
The change shrinks the 'Generic OS' and other OS chapters, which had become
something of a dumping ground for random modules. It differs from the
last version of the patch: 1) I've added introductions for the new chapters (still missing a few -- search for 'intro')
2) a few modules have been rearranged slightly from the version in the patch
Andrew M. Kuchling [Thu, 22 Dec 2005 20:27:43 +0000 (20:27 +0000)]
Add more chapter intros
Andrew M. Kuchling [Thu, 22 Dec 2005 20:12:54 +0000 (20:12 +0000)]
Add markup
Andrew M. Kuchling [Thu, 22 Dec 2005 20:12:39 +0000 (20:12 +0000)]
Add some chapter introductions (not linked into the LibRef yet)
Andrew M. Kuchling [Thu, 22 Dec 2005 19:38:57 +0000 (19:38 +0000)]
Update text
Andrew M. Kuchling [Thu, 22 Dec 2005 19:31:21 +0000 (19:31 +0000)]
Typo fix
Andrew M. Kuchling [Thu, 22 Dec 2005 18:55:43 +0000 (18:55 +0000)]
Typo fix
Georg Brandl [Thu, 22 Dec 2005 16:15:00 +0000 (16:15 +0000)]
[
1388141 ] Minor error in md5 docs
Thomas Heller [Wed, 21 Dec 2005 15:46:29 +0000 (15:46 +0000)]
Add Python\pyarena.c to the VC project file.
Fix the definition of BUILD in the VC project settings.
Barry Warsaw [Mon, 19 Dec 2005 14:43:44 +0000 (14:43 +0000)]
Revert most of r41765. Don't use $Revision$ in Py_GetBuildNumber(). Keep the
use of $(srcdir) in Makefile.pre.in so builds outside the source dir still
work.
Neal Norwitz [Mon, 19 Dec 2005 06:10:07 +0000 (06:10 +0000)]
Remove extra parens
Neal Norwitz [Mon, 19 Dec 2005 06:08:59 +0000 (06:08 +0000)]
Remove extra parens
Neal Norwitz [Mon, 19 Dec 2005 06:07:16 +0000 (06:07 +0000)]
Bug #
1072182 , fix some potential problems if characters are signed.
Neal Norwitz [Mon, 19 Dec 2005 06:05:18 +0000 (06:05 +0000)]
Fix SF bug #
1072182 , problems with signed characters.
Most of these can be backported.
Neal Norwitz [Mon, 19 Dec 2005 04:27:42 +0000 (04:27 +0000)]
Bug #889500, fix line number on SyntaxWarning for global declarations.
Barry Warsaw [Sun, 18 Dec 2005 22:46:35 +0000 (22:46 +0000)]
Handle a couple of use cases discussed in python-dev w.r.t. calculating the
Subversion revision number.
First, in an svn export, there will be no .svn directory, so use an in-file
$Revision$ keyword string with the keyword chrome stripped off.
Also, use $(srcdir) in the Makefile.pre.in to handle the case where Python is
build outside the source tree.
Neal Norwitz [Sun, 18 Dec 2005 21:36:39 +0000 (21:36 +0000)]
Jack said we don't need the Mac/Python/ directory any more.
Fredrik Lundh [Sun, 18 Dec 2005 21:06:46 +0000 (21:06 +0000)]
added TerminateProcess support to _subprocess driver
Fredrik Lundh [Sun, 18 Dec 2005 19:39:59 +0000 (19:39 +0000)]
SF#
1383115
added refcount information for PyObject_Call
Fredrik Lundh [Sun, 18 Dec 2005 15:44:21 +0000 (15:44 +0000)]
fixed compilation with an ordinary C89 compiler
Fredrik Lundh [Sun, 18 Dec 2005 13:58:25 +0000 (13:58 +0000)]
Fixed None reference leaks in TreeBuilder class (reported by Neal
Norwitz)
Neal Norwitz [Sun, 18 Dec 2005 08:02:38 +0000 (08:02 +0000)]
Check return result for error
Neal Norwitz [Sun, 18 Dec 2005 07:06:23 +0000 (07:06 +0000)]
Fix Armin's bug
1333982 . He found it, he didn't created it :-)
This code generated a C assertion:
assert 1, ([s for s in x] +
[s for s in x])
pass
assert was completely broken, it needed to use the proper block.
compiler_use_block() is now no longer used, so remove it.
Neal Norwitz [Sun, 18 Dec 2005 05:37:36 +0000 (05:37 +0000)]
Fix compiler warnings
Neal Norwitz [Sun, 18 Dec 2005 05:32:41 +0000 (05:32 +0000)]
Handle more error conditions with SystemError
Neal Norwitz [Sun, 18 Dec 2005 05:29:30 +0000 (05:29 +0000)]
Fix Bug #
1378022 , UTF-8 files with a leading BOM crashed the interpreter.
Needs backport.
Neal Norwitz [Sun, 18 Dec 2005 05:03:17 +0000 (05:03 +0000)]
Get float() to be more portable across platforms. Disable hex strings.
Neal Norwitz [Sun, 18 Dec 2005 04:42:47 +0000 (04:42 +0000)]
Set MemoryError when alloc fails
Neal Norwitz [Sun, 18 Dec 2005 04:12:30 +0000 (04:12 +0000)]
Wrap long lines in the grammar