]> granicus.if.org Git - python/log
python
19 years agofixed broken sentence
Fredrik Lundh [Mon, 9 Jan 2006 22:02:26 +0000 (22:02 +0000)]
fixed broken sentence

19 years agotypo
Fredrik Lundh [Mon, 9 Jan 2006 22:01:18 +0000 (22:01 +0000)]
typo

19 years agoFix typos.
Walter Dörwald [Mon, 9 Jan 2006 12:45:01 +0000 (12:45 +0000)]
Fix typos.

19 years agoAdd some notes about a recurring problem with OpenBSD
Neal Norwitz [Mon, 9 Jan 2006 07:29:03 +0000 (07:29 +0000)]
Add some notes about a recurring problem with OpenBSD

19 years agoFix bugs #1244610, #1392915, fix build problem on OpenBSD 3.7 and 3.8.
Neal Norwitz [Mon, 9 Jan 2006 07:07:12 +0000 (07:07 +0000)]
Fix bugs #1244610, #1392915, fix build problem on OpenBSD 3.7 and 3.8.
configure would break checking curses.h.

Will backport.

19 years agoBug #1400115, Fix segfault when calling curses.panel.userptr()
Neal Norwitz [Mon, 9 Jan 2006 06:24:35 +0000 (06:24 +0000)]
Bug #1400115, Fix segfault when calling curses.panel.userptr()
without prior setting of the userptr.

Will backport.

19 years agoAdd myself.
Georg Brandl [Sun, 8 Jan 2006 21:13:38 +0000 (21:13 +0000)]
Add myself.

19 years agoAdd a test file (which isn't run by regrtest) for bugs which
Georg Brandl [Sun, 8 Jan 2006 14:32:19 +0000 (14:32 +0000)]
Add a test file (which isn't run by regrtest) for bugs which
aren't fixed yet.

Includes a first test (for compiler).

19 years agoPatch #1299675: Pass metadata in upload.
Martin v. Löwis [Sun, 8 Jan 2006 10:48:54 +0000 (10:48 +0000)]
Patch #1299675: Pass metadata in upload.

19 years agoPatch #1177307: UTF-8-Sig codec.
Martin v. Löwis [Sun, 8 Jan 2006 10:45:39 +0000 (10:45 +0000)]
Patch #1177307: UTF-8-Sig codec.

19 years agoPatch #881820: look for openpty and forkpty also in libbsd.
Martin v. Löwis [Sun, 8 Jan 2006 10:07:33 +0000 (10:07 +0000)]
Patch #881820: look for openpty and forkpty also in libbsd.
Will backport.

19 years agoRemove some shadowed variables
Neal Norwitz [Sun, 8 Jan 2006 06:13:44 +0000 (06:13 +0000)]
Remove some shadowed variables

19 years agostrlen() returns a size_t, get rid of 64-bit warning
Neal Norwitz [Sun, 8 Jan 2006 06:13:13 +0000 (06:13 +0000)]
strlen() returns a size_t, get rid of 64-bit warning

19 years agoRepair bizarre indentation created by VC 7.1.
Tim Peters [Sun, 8 Jan 2006 02:28:41 +0000 (02:28 +0000)]
Repair bizarre indentation created by VC 7.1.

19 years agoalias_for_import_name(): Dueling compiler warnings ;-)
Tim Peters [Sun, 8 Jan 2006 02:25:34 +0000 (02:25 +0000)]
alias_for_import_name():  Dueling compiler warnings ;-)
Squash new warnings from VC 7.1 about mixing signed and
unsigned types in comparisons.  I can see why `len` was
changed to size_t here, but don't see why `i` was also
changed.  Change `i` back to int.

19 years agoanalyze_cells(): This no longer compiled under VC 7.1.
Tim Peters [Sun, 8 Jan 2006 02:19:07 +0000 (02:19 +0000)]
analyze_cells():  This no longer compiled under VC 7.1.
Move declaration of local `flags` to top of block.

19 years agoRevert previous checkin, the check is for <, not ==. i is unsed in non-debug builds...
Neal Norwitz [Sun, 8 Jan 2006 02:06:01 +0000 (02:06 +0000)]
Revert previous checkin, the check is for <, not ==.  i is unsed in non-debug builds, but is used in debug builds

19 years agoignore db_home (result of db tests)
Neal Norwitz [Sun, 8 Jan 2006 01:18:12 +0000 (01:18 +0000)]
ignore db_home (result of db tests)

19 years agoignore db_home (result of db tests) and autom4te.cache from autoconf
Neal Norwitz [Sun, 8 Jan 2006 01:17:40 +0000 (01:17 +0000)]
ignore db_home (result of db tests) and autom4te.cache from autoconf

19 years agoFix icc warnings: remove (sometimes) unused variable conditionally
Neal Norwitz [Sun, 8 Jan 2006 01:12:10 +0000 (01:12 +0000)]
Fix icc warnings: remove (sometimes) unused variable conditionally

19 years agoFix icc warnings: remove unused variable
Neal Norwitz [Sun, 8 Jan 2006 01:11:25 +0000 (01:11 +0000)]
Fix icc warnings: remove unused variable

19 years agoFix icc warnings. This couldn't have been correct since i is checked
Neal Norwitz [Sun, 8 Jan 2006 01:10:34 +0000 (01:10 +0000)]
Fix icc warnings.  This couldn't have been correct since i is checked
for 2 different values without changing.  I think this was the intent.
The unused warning only occurs when not building in debug mode.

19 years agoFix icc warnings: try to set TCL_UNIX_FD for #if TCL_WIN_SOCKET == TCL_UNIX_FD. ...
Neal Norwitz [Sun, 8 Jan 2006 01:08:55 +0000 (01:08 +0000)]
Fix icc warnings: try to set TCL_UNIX_FD for #if TCL_WIN_SOCKET == TCL_UNIX_FD.  res is not used, add a XXX comment

19 years agoFix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR
Neal Norwitz [Sun, 8 Jan 2006 01:08:09 +0000 (01:08 +0000)]
Fix icc warnings: HASH_OBJ_CONSTRUCTOR was not defined and using #if HASH_OBJ_CONSTRUCTOR

19 years agoFix icc warnings: conversion from "long" to "int" may lose significant bits
Neal Norwitz [Sun, 8 Jan 2006 01:06:06 +0000 (01:06 +0000)]
Fix icc warnings: conversion from "long" to "int" may lose significant bits

19 years agoFix icc warnings: strlen() returns size_t
Neal Norwitz [Sun, 8 Jan 2006 01:03:36 +0000 (01:03 +0000)]
Fix icc warnings: strlen() returns size_t

19 years agoRevert revision 41940: the test causes -uall to
Tim Peters [Sat, 7 Jan 2006 23:20:46 +0000 (23:20 +0000)]
Revert revision 41940:  the test causes -uall to
fail everywhere.

19 years agoicc accepts -OPT... but generates a warning, so just disable the check
Neal Norwitz [Sat, 7 Jan 2006 21:39:28 +0000 (21:39 +0000)]
icc accepts -OPT... but generates a warning, so just disable the check

19 years agoFix icc warnings: single bit fields should be unsigned
Neal Norwitz [Sat, 7 Jan 2006 21:25:23 +0000 (21:25 +0000)]
Fix icc warnings: single bit fields should be unsigned

19 years agoFix icc warnings: shadowing local variable (i) and complex is set but not used, so...
Neal Norwitz [Sat, 7 Jan 2006 21:24:54 +0000 (21:24 +0000)]
Fix icc warnings: shadowing local variable (i) and complex is set but not used, so remove

19 years agoFix icc warnings: single bit fields should be unsigned, shadowing local variables
Neal Norwitz [Sat, 7 Jan 2006 21:24:09 +0000 (21:24 +0000)]
Fix icc warnings: single bit fields should be unsigned, shadowing local variables

19 years agoFix icc warnings: shadowing local variables
Neal Norwitz [Sat, 7 Jan 2006 21:23:26 +0000 (21:23 +0000)]
Fix icc warnings: shadowing local variables

19 years agoFix icc warnings: using wrong enum type
Neal Norwitz [Sat, 7 Jan 2006 21:21:16 +0000 (21:21 +0000)]
Fix icc warnings: using wrong enum type

19 years agoFix icc warnings: extra semi-colon and signed vs unsigned
Neal Norwitz [Sat, 7 Jan 2006 21:20:24 +0000 (21:20 +0000)]
Fix icc warnings: extra semi-colon and signed vs unsigned

19 years agoFix icc warnings: extra semi-colon
Neal Norwitz [Sat, 7 Jan 2006 21:19:49 +0000 (21:19 +0000)]
Fix icc warnings: extra semi-colon

19 years agoIf there is no libtermcap all the readline tests failed.
Neal Norwitz [Sat, 7 Jan 2006 21:07:20 +0000 (21:07 +0000)]
If there is no libtermcap all the readline tests failed.
This inappropriately disabled some capabilities which exist.

Now test for readline in -lreadline, if not found there, try it
in -ltermcap only if not in -lreadline.  If both libraries are
required, there will need to be more work, but I'm not sure
under what conditions both libraries would be required.

19 years agoAdd compiler test regarding optional arguments.
Georg Brandl [Fri, 6 Jan 2006 19:28:15 +0000 (19:28 +0000)]
Add compiler test regarding optional arguments.

19 years agoCorrect typo
Georg Brandl [Fri, 6 Jan 2006 19:26:42 +0000 (19:26 +0000)]
Correct typo

19 years agoinitscr() will exit if there's an error. Try to catch the obvious failure
Neal Norwitz [Fri, 6 Jan 2006 04:18:21 +0000 (04:18 +0000)]
initscr() will exit if there's an error.  Try to catch the obvious failure
cases if TERM isn't set or is unknown (perhaps we should only check if
unset or empty?)

Skip the test if TERM isn't set.  This seems to occur when running under
buildbot and presumably cron.

For some more info check here:
http://mail.python.org/pipermail/python-checkins/2006-January/048704.html

Will backport if it works.

19 years agoPy_GetBuildInfo(): Squash compiler warnings.
Tim Peters [Fri, 6 Jan 2006 02:45:17 +0000 (02:45 +0000)]
Py_GetBuildInfo():  Squash compiler warnings.

Locals `revision` and `branch` were const-incorrect.

19 years agosvnversion_init(): Use standard layout for function defn.
Tim Peters [Fri, 6 Jan 2006 02:42:46 +0000 (02:42 +0000)]
svnversion_init():  Use standard layout for function defn.

19 years agoTrimmed trailing whitespace.
Tim Peters [Fri, 6 Jan 2006 02:40:53 +0000 (02:40 +0000)]
Trimmed trailing whitespace.

19 years agoGeneralize buildno to be a sequence of non-comma
Martin v. Löwis [Fri, 6 Jan 2006 00:44:11 +0000 (00:44 +0000)]
Generalize buildno to be a sequence of non-comma
characters.

19 years agoDeal with empty svn_revisions.
Martin v. Löwis [Fri, 6 Jan 2006 00:43:42 +0000 (00:43 +0000)]
Deal with empty svn_revisions.

19 years agoAdd HeadURL to the keywords.
Martin v. Löwis [Thu, 5 Jan 2006 23:40:01 +0000 (23:40 +0000)]
Add HeadURL to the keywords.

19 years agoDrop sys.build_number. Add sys.subversion.
Martin v. Löwis [Thu, 5 Jan 2006 23:38:54 +0000 (23:38 +0000)]
Drop sys.build_number. Add sys.subversion.

19 years agosquash compiler warning on Mac OSX 10.3
Skip Montanaro [Thu, 5 Jan 2006 10:49:13 +0000 (10:49 +0000)]
squash compiler warning on Mac OSX 10.3

19 years agoAlways set SVNVERSION to "exported" if it otherwise fails.
Martin v. Löwis [Thu, 5 Jan 2006 10:33:59 +0000 (10:33 +0000)]
Always set SVNVERSION to "exported" if it otherwise fails.

19 years agoStop maintaining the buildno file.
Martin v. Löwis [Thu, 5 Jan 2006 10:00:36 +0000 (10:00 +0000)]
Stop maintaining the buildno file.
Also, stop determining Unicode sizes with PyString_GET_SIZE.

19 years agoIf the audio file does not exist, the test should be skipped. Will backport.
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.

19 years agoTry to make svnversion test more portable, based on Sjoerd's suggestion
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

19 years agoSkip test_curses if stdin is not a tty (like when run from cron or buildbot). Will...
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.

19 years agoFix errors on 64-bit platforms. Will backport
Neal Norwitz [Thu, 5 Jan 2006 05:43:35 +0000 (05:43 +0000)]
Fix errors on 64-bit platforms.  Will backport

19 years agoBug #1395715: wrong LaTeX label
Georg Brandl [Wed, 4 Jan 2006 21:05:07 +0000 (21:05 +0000)]
Bug #1395715: wrong LaTeX label

19 years agoFix a warning from gcc by adding a missed const qualifier.
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.

19 years agoSF bug #1395926: Also test for svnversion command on $PATH before using it to
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.

19 years agoMention that zlib is now builtin on Windows.
Martin v. Löwis [Tue, 3 Jan 2006 07:42:14 +0000 (07:42 +0000)]
Mention that zlib is now builtin on Windows.

19 years agoPatch #1307806: Use project defaults where possible
Martin v. Löwis [Tue, 3 Jan 2006 07:38:51 +0000 (07:38 +0000)]
Patch #1307806: Use project defaults where possible

19 years agoMake zlib builtin.
Martin v. Löwis [Tue, 3 Jan 2006 07:10:14 +0000 (07:10 +0000)]
Make zlib builtin.

19 years agoRemove unneeded directories.
Martin v. Löwis [Tue, 3 Jan 2006 06:48:38 +0000 (06:48 +0000)]
Remove unneeded directories.

19 years agoImport zlib into Python tree.
Martin v. Löwis [Tue, 3 Jan 2006 06:44:59 +0000 (06:44 +0000)]
Import zlib into Python tree.

19 years agoIgnore .svn instead of CVS now.
Martin v. Löwis [Tue, 3 Jan 2006 06:29:53 +0000 (06:29 +0000)]
Ignore .svn instead of CVS now.

19 years agoOn the Mac, we have to ignore python.exe too.
Barry Warsaw [Tue, 3 Jan 2006 06:03:04 +0000 (06:03 +0000)]
On the Mac, we have to ignore python.exe too.

19 years agoDammit, who the hell spells build with ii?
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.

19 years agoUpdated doc from patch 1117398
Neal Norwitz [Tue, 3 Jan 2006 02:12:20 +0000 (02:12 +0000)]
Updated doc from patch 1117398

19 years agoAs discussed on python-dev, don't remove Python-ast.[ch] with distclean
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.

19 years agoinstall svn in /usr/local/bin and remove from ~/local/bin
Neal Norwitz [Tue, 3 Jan 2006 00:33:50 +0000 (00:33 +0000)]
install svn in /usr/local/bin and remove from ~/local/bin

19 years agoget the proper full pathname of the script. spell build properly
Neal Norwitz [Mon, 2 Jan 2006 23:22:41 +0000 (23:22 +0000)]
get the proper full pathname of the script.  spell build properly

19 years ago* Change tabs to spaces
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

19 years agoBug #1395597: doc typo
Georg Brandl [Mon, 2 Jan 2006 22:07:06 +0000 (22:07 +0000)]
Bug #1395597: doc typo

19 years agoRegenerate.
Martin v. Löwis [Mon, 2 Jan 2006 21:18:55 +0000 (21:18 +0000)]
Regenerate.

19 years agoAdjust usage of compiler_use_new_block to its return type.
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.

19 years agoScript to automatically build and test python and doc. The results
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.

19 years agoupdate to reflect move to Subversion
Fred Drake [Mon, 2 Jan 2006 07:22:12 +0000 (07:22 +0000)]
update to reflect move to Subversion

19 years agoFix ref/memory leak introduced in rev 41845.
Neal Norwitz [Mon, 2 Jan 2006 02:46:54 +0000 (02:46 +0000)]
Fix ref/memory leak introduced in rev 41845.

19 years agoPorted from 2.4 branch:
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.

19 years agoBug #1394868: doc typos
Georg Brandl [Sun, 1 Jan 2006 21:35:20 +0000 (21:35 +0000)]
Bug #1394868: doc typos

19 years agoFixed English in a comment; trimmed trailing whitespace;
Tim Peters [Sun, 1 Jan 2006 01:19:23 +0000 (01:19 +0000)]
Fixed English in a comment; trimmed trailing whitespace;
no code changes.

19 years agotest_main(): Restore the original root logger level after running
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).

19 years agoWhitespace normalization.
Tim Peters [Fri, 30 Dec 2005 18:42:42 +0000 (18:42 +0000)]
Whitespace normalization.

19 years agoWork around test_locale failing on Solaris.
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.

19 years agoUse -xcode=pic32 for SunPro. 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.

19 years agoFix a delimiter detection problem in sniffer. Sniffing "a|b|c\r\n" was
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?

19 years agotypo, use parens for continued expr
Skip Montanaro [Fri, 30 Dec 2005 05:01:26 +0000 (05:01 +0000)]
typo, use parens for continued expr

19 years agoSF#1391872
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.

19 years agoSF patch #1379023: document that a weakref callback is not invoked if the
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.

19 years agoSF bug #1153075: "PyXxx_Check(x) trusts x->ob_type->tp_mro".
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.

19 years agoadding in-place operators to the operator module.
Armin Rigo [Thu, 29 Dec 2005 16:50:42 +0000 (16:50 +0000)]
adding in-place operators to the operator module.

19 years agoTypo.
Armin Rigo [Thu, 29 Dec 2005 16:04:25 +0000 (16:04 +0000)]
Typo.

19 years agoSF patch #1390657:
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.

19 years agotwo missing PyDoc_STR().
Armin Rigo [Thu, 29 Dec 2005 14:39:28 +0000 (14:39 +0000)]
two missing PyDoc_STR().

19 years agotypo
Skip Montanaro [Wed, 28 Dec 2005 15:56:58 +0000 (15:56 +0000)]
typo

19 years agoFix for problem with Sniffer class. If your delimiter is whitespace and the
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.

19 years agoBug #999767: make setup.py obey Setup.local wrt shared modules
Georg Brandl [Tue, 27 Dec 2005 18:24:27 +0000 (18:24 +0000)]
Bug #999767: make setup.py obey Setup.local wrt shared modules

19 years ago[ 959576 ] Can't build Python on POSIX w/o $HOME
Georg Brandl [Tue, 27 Dec 2005 17:37:07 +0000 (17:37 +0000)]
[ 959576 ] Can't build Python on POSIX w/o $HOME

19 years agoRevert checkin for bug #1386675.
Georg Brandl [Tue, 27 Dec 2005 17:25:33 +0000 (17:25 +0000)]
Revert checkin for bug #1386675.

19 years agoBug #1386675: winreg raises WindowsErrors
Georg Brandl [Tue, 27 Dec 2005 00:03:18 +0000 (00:03 +0000)]
Bug #1386675: winreg raises WindowsErrors

19 years agoBug #1389673: document correct return value of set methods
Georg Brandl [Mon, 26 Dec 2005 23:55:56 +0000 (23:55 +0000)]
Bug #1389673: document correct return value of set methods

19 years agoBug #489256: remove note about Python 1.1 profiler
Georg Brandl [Mon, 26 Dec 2005 23:44:29 +0000 (23:44 +0000)]
Bug #489256: remove note about Python 1.1 profiler

19 years agoBug #954981: urllib2 example wont work w/o ssl
Georg Brandl [Mon, 26 Dec 2005 23:36:32 +0000 (23:36 +0000)]
Bug #954981: urllib2 example wont work w/o ssl