Commit graph

32851 commits

Author SHA1 Message Date
Neal Norwitz
fe8e3d918e 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.
2006-01-07 21:07:20 +00:00
Georg Brandl
39cdfff691 Add compiler test regarding optional arguments. 2006-01-06 19:28:15 +00:00
Georg Brandl
74ef694da0 Correct typo 2006-01-06 19:26:42 +00:00
Neal Norwitz
9f39f68533 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.
2006-01-06 04:18:21 +00:00
Tim Peters
a9652f11ad Py_GetBuildInfo(): Squash compiler warnings.
Locals `revision` and `branch` were const-incorrect.
2006-01-06 02:45:17 +00:00
Tim Peters
e86e7a5b62 svnversion_init(): Use standard layout for function defn. 2006-01-06 02:42:46 +00:00
Tim Peters
216b78bdaa Trimmed trailing whitespace. 2006-01-06 02:40:53 +00:00
Martin v. Löwis
1df5c3961c Generalize buildno to be a sequence of non-comma
characters.
2006-01-06 00:44:11 +00:00
Martin v. Löwis
456af5f78b Deal with empty svn_revisions. 2006-01-06 00:43:42 +00:00
Martin v. Löwis
a0196c52d7 Add HeadURL to the keywords. 2006-01-05 23:40:01 +00:00
Martin v. Löwis
43b57805fb Drop sys.build_number. Add sys.subversion. 2006-01-05 23:38:54 +00:00
Skip Montanaro
2b47445234 squash compiler warning on Mac OSX 10.3 2006-01-05 10:49:13 +00:00
Martin v. Löwis
c5bf5a00a3 Always set SVNVERSION to "exported" if it otherwise fails. 2006-01-05 10:33:59 +00:00
Martin v. Löwis
dea59e5755 Stop maintaining the buildno file.
Also, stop determining Unicode sizes with PyString_GET_SIZE.
2006-01-05 10:00:36 +00:00
Neal Norwitz
c6d1f9100f If the audio file does not exist, the test should be skipped. Will backport. 2006-01-05 07:16:13 +00:00
Neal Norwitz
f2d66fe1ec Try to make svnversion test more portable, based on Sjoerd's suggestion 2006-01-05 06:38:15 +00:00
Neal Norwitz
eeab7da591 Skip test_curses if stdin is not a tty (like when run from cron or buildbot). Will backport. 2006-01-05 06:09:13 +00:00
Neal Norwitz
40c6b47ca1 Fix errors on 64-bit platforms. Will backport 2006-01-05 05:43:35 +00:00
Georg Brandl
5f86142986 Bug #1395715: wrong LaTeX label 2006-01-04 21:05:07 +00:00
Hye-Shik Chang
23f391c6a1 Fix a warning from gcc by adding a missed const qualifier. 2006-01-04 01:30:17 +00:00
Barry Warsaw
6bfd8de9e6 SF bug #1395926: Also test for svnversion command on $PATH before using it to
calculate the build number.
2006-01-03 14:30:55 +00:00
Martin v. Löwis
64c33ddab1 Mention that zlib is now builtin on Windows. 2006-01-03 07:42:14 +00:00
Martin v. Löwis
532bc0375f Patch #1307806: Use project defaults where possible 2006-01-03 07:38:51 +00:00
Martin v. Löwis
4e6aff5e9b Make zlib builtin. 2006-01-03 07:10:14 +00:00
Martin v. Löwis
70cef449ca Remove unneeded directories. 2006-01-03 06:48:38 +00:00
Martin v. Löwis
d372aa8e37 Import zlib into Python tree. 2006-01-03 06:44:59 +00:00
Martin v. Löwis
9ca9f5676c Ignore .svn instead of CVS now. 2006-01-03 06:29:53 +00:00
Barry Warsaw
17e9863586 On the Mac, we have to ignore python.exe too. 2006-01-03 06:03:04 +00:00
Neal Norwitz
02c408d580 Dammit, who the hell spells build with ii?
Thanks to Tony Meyer for spotting my boo-boo.
2006-01-03 02:18:01 +00:00
Neal Norwitz
36cbdf9596 Updated doc from patch 1117398 2006-01-03 02:12:20 +00:00
Neal Norwitz
1a196b5db8 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.
2006-01-03 01:38:53 +00:00
Neal Norwitz
a39f0572e6 install svn in /usr/local/bin and remove from ~/local/bin 2006-01-03 00:33:50 +00:00
Neal Norwitz
d3a5867c0b get the proper full pathname of the script. spell build properly 2006-01-02 23:22:41 +00:00
Neal Norwitz
d19a4d47c6 * Change tabs to spaces
* Enable network tests when hunting for leaks
* Disable curses and audio tests properly when running -u all
2006-01-02 22:10:10 +00:00
Georg Brandl
6bc6ed8b55 Bug #1395597: doc typo 2006-01-02 22:07:06 +00:00
Martin v. Löwis
5b43126e03 Regenerate. 2006-01-02 21:18:55 +00:00
Martin v. Löwis
94962615b7 Adjust usage of compiler_use_new_block to its return type. 2006-01-02 21:15:05 +00:00
Neal Norwitz
461aa5bbfc 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.
2006-01-02 20:07:16 +00:00
Fred Drake
aaa28df3ce update to reflect move to Subversion 2006-01-02 07:22:12 +00:00
Neal Norwitz
50bf51a3a9 Fix ref/memory leak introduced in rev 41845. 2006-01-02 02:46:54 +00:00
Barry Warsaw
538561e466 Ported from 2.4 branch:
Patch by Ori Avtalion to fix a minor display glitch in the RightArrow.
2006-01-01 21:48:54 +00:00
Georg Brandl
0f194234dc Bug #1394868: doc typos 2006-01-01 21:35:20 +00:00
Tim Peters
60b29961dc Fixed English in a comment; trimmed trailing whitespace;
no code changes.
2006-01-01 01:19:23 +00:00
Tim Peters
0cdc3d884e 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).
2005-12-30 20:46:23 +00:00
Tim Peters
1b27f86411 Whitespace normalization. 2005-12-30 18:42:42 +00:00
Martin v. Löwis
4cfa136680 Work around test_locale failing on Solaris.
Will backport to 2.4.
2005-12-30 12:51:45 +00:00
Martin v. Löwis
d5845ec32e Use -xcode=pic32 for SunPro. Will backport to 2.4. 2005-12-30 12:31:38 +00:00
Skip Montanaro
39b29be8a6 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?
2005-12-30 05:09:48 +00:00
Skip Montanaro
0174dddc65 typo, use parens for continued expr 2005-12-30 05:01:26 +00:00
Fredrik Lundh
24f0fa97c5 SF#1391872
Floating point literals don't work in non-US locale in 2.5.  Patch and
new locale tests by Hye-Shik Chang.
2005-12-29 20:35:52 +00:00