Georg Brandl
e82110f3a5
Change/fix handling of docs download location: for daily builds, put them right next to the HTML.
2010-03-13 13:39:46 +00:00
Florent Xicluna
1b51c3d4de
Do not chdir when running test_xml_etree, and enhance the findfile helper.
2010-03-13 12:41:48 +00:00
Florent Xicluna
13ba1a1c65
Move the xml test data to their own directory.
2010-03-13 11:18:49 +00:00
Georg Brandl
fce7b86807
Bump externals versions for doc build.
2010-03-13 10:54:12 +00:00
Georg Brandl
3446583976
Add Makefile targets for automatic doc build. Add script that will be used for daily build.
2010-03-13 10:12:39 +00:00
Ezio Melotti
eb6d430041
Silence compiler warnings.
2010-03-13 04:39:51 +00:00
Victor Stinner
6e055d78e1
sqlite3: Fix a segfault on calling a connection with something else than a
...
string. Initialize all attributes to be able to call the statement destructor
on error.
Avoid also a duplicate connection in some tests: setUp() does already open a
connection (":memory:").
2010-03-13 03:27:07 +00:00
Ezio Melotti
93dd9b808e
#8011 : use exc.tb_lineno instead of traceback.tb_lineno() and pep8ify variable names.
2010-03-13 01:21:34 +00:00
Ezio Melotti
c4785a7547
fix broken links
2010-03-13 00:15:36 +00:00
Victor Stinner
17d905449d
Issue #7818 : set().test_c_api() doesn't expect a set('abc'), modify the set.
2010-03-13 00:13:22 +00:00
Georg Brandl
f1539bd4fc
Deactivate automatic upload of the docs to python.org, they will now be built by a job on that machine.
2010-03-12 21:27:23 +00:00
Victor Stinner
7522734708
NEWS: issue #7774 is related to Library (sys), not Core and Builtins
2010-03-12 14:30:26 +00:00
Georg Brandl
f6d3674599
Fix warnings from "make check".
2010-03-12 10:02:03 +00:00
Georg Brandl
554272743a
Get rid of backticks.
2010-03-12 09:57:43 +00:00
Vinay Sajip
ecfa08fdf8
Issue #8117 : Updated NEWS entry and added to logging documentation.
2010-03-12 09:16:10 +00:00
Vinay Sajip
9098ee4360
Issue #8117 : logging: Improved algorithm for computing initial rollover time.
2010-03-12 06:01:21 +00:00
Benjamin Peterson
654ea3713e
remove shebang line from non-executable test
2010-03-11 22:34:12 +00:00
Benjamin Peterson
9cf41d0c9d
normalize shebang lines to #!/usr/bin/env python
2010-03-11 22:33:25 +00:00
Benjamin Peterson
afa595b31b
revert r78842 cgi.py change
2010-03-11 22:03:45 +00:00
Benjamin Peterson
651bc32a4e
use proper shebang lines
2010-03-11 21:53:25 +00:00
Benjamin Peterson
75c8be048b
remove executable property from doc files
2010-03-11 21:50:45 +00:00
Florent Xicluna
e2e81e8fcd
Fix repr of tree Element on windows.
2010-03-11 15:55:11 +00:00
Florent Xicluna
3e8c189faa
Issue #6472 : The xml.etree package is updated to ElementTree 1.3. The cElementTree module is updated too.
2010-03-11 14:36:19 +00:00
Victor Stinner
4478662f83
Another fix to test_executable() of test_sys: set the current working to avoid
...
the #7774 bug.
2010-03-11 13:46:06 +00:00
Victor Stinner
6ecd85f401
Fix test_executable introduce in previous commit (r78835): Windows is able to
...
retrieve the absolute Python path even if argv[0] has been set to a non
existent program name.
2010-03-11 13:27:35 +00:00
Victor Stinner
4a7e0c858c
Issue #7774 : Set sys.executable to an empty string if argv[0] has been
...
set to an non existent program name and Python is unable to retrieve the real
program name.
Fix also sysconfig: if sys.executable is an empty string, use the current
working directory.
2010-03-11 12:34:39 +00:00
Florent Xicluna
637637021a
Revert r78830: realpath() should really be applied to sys.executable.
2010-03-11 01:50:48 +00:00
Florent Xicluna
6602ec6eff
It is not optimal to test sys.stderr on a debug build.
2010-03-11 01:39:55 +00:00
Florent Xicluna
e58d91c8f0
Fix the test_subprocess failure when sys.executable is meaningless: '' or a directory.
...
It does not fix #7774 .
2010-03-11 00:56:59 +00:00
Florent Xicluna
85677617d5
Issue #7880 : Fix sysconfig when the python executable is a symbolic link.
2010-03-10 23:58:42 +00:00
Victor Stinner
3ec32005e8
ooops, fix error message in execusercustomize()
...
Copy/paste failure :-)
2010-03-10 22:45:04 +00:00
Victor Stinner
6664426d7c
Issue #3137 : Don't ignore errors at startup, especially a keyboard interrupt
...
(SIGINT). If an error occurs while importing the site module, the error is
printed and Python exits. Initialize the GIL before importing the site
module.
2010-03-10 22:30:19 +00:00
Benjamin Peterson
e9e07bf5c9
fix ugly configure output (follow up to #6943 )
2010-03-09 21:46:54 +00:00
Benjamin Peterson
3281067e09
handle an empty OPT variable correctly #8100
2010-03-09 21:43:36 +00:00
Florent Xicluna
4d42f2b4d1
#7772 : Fix test_py3kwarn. Now the test suite could pass with "-3" flag.
2010-03-09 19:57:01 +00:00
Raymond Hettinger
e30bc38ce9
Improve code clarity a bit.
2010-03-09 11:29:10 +00:00
Raymond Hettinger
aba2293862
Have links in OrderedDicts be native Python lists instead
...
of a custom class with __slots__. This simplifies the
code a bit, reduces memory consumption, improves speed,
and eliminates the need for weak reference proxies.
2010-03-09 09:58:53 +00:00
Raymond Hettinger
9bd3508530
Add nicer docstrings to namedtuples().
...
Provides better tooltips and looks better in help().
2010-03-09 09:01:46 +00:00
Raymond Hettinger
08090bf36a
Improve the basic example.
...
* Show both the decorator and regular form for assertRaises()
* Use assertTrue() instead of assertIn() to teach useful minimal subset of the API
2010-03-09 08:44:18 +00:00
Benjamin Peterson
f4803aa623
set svn:eol-style on various files
2010-03-08 22:15:11 +00:00
Georg Brandl
d22557cf0a
Fix typo.
2010-03-08 16:28:40 +00:00
Florent Xicluna
47627d5164
#7624 : Fix isinstance(foo(), collections.Callable) for old-style classes.
2010-03-08 15:20:28 +00:00
Florent Xicluna
6f682be82b
Move some tests from test_macpath to test_genericpath.CommonTest
2010-03-08 12:39:35 +00:00
Andrew M. Kuchling
fed15766f9
Add various items
2010-03-08 12:00:39 +00:00
Florent Xicluna
d034b32f57
On finalize, don't try to join not started process.
2010-03-08 11:01:39 +00:00
Florent Xicluna
faf175385d
Replace the stderr logging with assertNotEqual(returncode, 0).
2010-03-08 10:59:33 +00:00
Florent Xicluna
cf741ceb69
Fix syntax: "rc != None" -> "rc is not None"
2010-03-08 10:58:12 +00:00
Florent Xicluna
52584779a6
Don't fail on a debug() statement, if the worker PID is (still) None.
2010-03-08 07:21:16 +00:00
Ronald Oussoren
05b0d1d048
Fix for issue 8066: readline should not be linked against libedit when the
...
deployment target is 10.4, libedit on 10.4 is too broken.
2010-03-08 07:06:47 +00:00
Benjamin Peterson
cd0ace391c
remove svn:executable from scripts without a shebang line
2010-03-08 02:11:06 +00:00