]>
granicus.if.org Git - python/log
Georg Brandl [Sun, 14 Mar 2010 09:50:54 +0000 (09:50 +0000)]
Format and rewrap 2.7 NEWS consistently.
Florent Xicluna [Sun, 14 Mar 2010 01:22:09 +0000 (01:22 +0000)]
Minor documentation updates for xml.etree.
Antoine Pitrou [Sat, 13 Mar 2010 21:21:30 +0000 (21:21 +0000)]
Issue #7993: Add a test of IO packet processing bandwidth to ccbench.
It measures the number of UDP packets processed per second depending on
the number of background CPU-bound Python threads.
Florent Xicluna [Sat, 13 Mar 2010 20:30:15 +0000 (20:30 +0000)]
Add the keyword argument "method=None" to the .write() method and the tostring/tostringlist functions.
Update the function, class and method signatures, according to the new convention.
Florent Xicluna [Sat, 13 Mar 2010 17:56:19 +0000 (17:56 +0000)]
Update some parts of the xml.etree documentation.
Martin v. Löwis [Sat, 13 Mar 2010 17:53:02 +0000 (17:53 +0000)]
Add 2.6 uuids.
Mark Dickinson [Sat, 13 Mar 2010 14:18:34 +0000 (14:18 +0000)]
Fix incorrect error checks in structmember.c (backport of r78920 from py3k).
Georg Brandl [Sat, 13 Mar 2010 13:41:58 +0000 (13:41 +0000)]
Update for new download location.
Georg Brandl [Sat, 13 Mar 2010 13:39:46 +0000 (13:39 +0000)]
Change/fix handling of docs download location: for daily builds, put them right next to the HTML.
Florent Xicluna [Sat, 13 Mar 2010 12:41:48 +0000 (12:41 +0000)]
Do not chdir when running test_xml_etree, and enhance the findfile helper.
Florent Xicluna [Sat, 13 Mar 2010 11:18:49 +0000 (11:18 +0000)]
Move the xml test data to their own directory.
Georg Brandl [Sat, 13 Mar 2010 10:54:12 +0000 (10:54 +0000)]
Bump externals versions for doc build.
Georg Brandl [Sat, 13 Mar 2010 10:12:39 +0000 (10:12 +0000)]
Add Makefile targets for automatic doc build. Add script that will be used for daily build.
Ezio Melotti [Sat, 13 Mar 2010 04:39:51 +0000 (04:39 +0000)]
Silence compiler warnings.
Victor Stinner [Sat, 13 Mar 2010 03:27:07 +0000 (03:27 +0000)]
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:").
Ezio Melotti [Sat, 13 Mar 2010 01:21:34 +0000 (01:21 +0000)]
#8011: use exc.tb_lineno instead of traceback.tb_lineno() and pep8ify variable names.
Ezio Melotti [Sat, 13 Mar 2010 00:15:36 +0000 (00:15 +0000)]
fix broken links
Victor Stinner [Sat, 13 Mar 2010 00:13:22 +0000 (00:13 +0000)]
Issue #7818: set().test_c_api() doesn't expect a set('abc'), modify the set.
Georg Brandl [Fri, 12 Mar 2010 21:27:23 +0000 (21:27 +0000)]
Deactivate automatic upload of the docs to python.org, they will now be built by a job on that machine.
Victor Stinner [Fri, 12 Mar 2010 14:30:26 +0000 (14:30 +0000)]
NEWS: issue #7774 is related to Library (sys), not Core and Builtins
Georg Brandl [Fri, 12 Mar 2010 10:02:03 +0000 (10:02 +0000)]
Fix warnings from "make check".
Georg Brandl [Fri, 12 Mar 2010 09:57:43 +0000 (09:57 +0000)]
Get rid of backticks.
Vinay Sajip [Fri, 12 Mar 2010 09:16:10 +0000 (09:16 +0000)]
Issue #8117: Updated NEWS entry and added to logging documentation.
Vinay Sajip [Fri, 12 Mar 2010 06:01:21 +0000 (06:01 +0000)]
Issue #8117: logging: Improved algorithm for computing initial rollover time.
Benjamin Peterson [Thu, 11 Mar 2010 22:34:12 +0000 (22:34 +0000)]
remove shebang line from non-executable test
Benjamin Peterson [Thu, 11 Mar 2010 22:33:25 +0000 (22:33 +0000)]
normalize shebang lines to #!/usr/bin/env python
Benjamin Peterson [Thu, 11 Mar 2010 22:03:45 +0000 (22:03 +0000)]
revert r78842 cgi.py change
Benjamin Peterson [Thu, 11 Mar 2010 21:53:25 +0000 (21:53 +0000)]
use proper shebang lines
Benjamin Peterson [Thu, 11 Mar 2010 21:50:45 +0000 (21:50 +0000)]
remove executable property from doc files
Florent Xicluna [Thu, 11 Mar 2010 15:55:11 +0000 (15:55 +0000)]
Fix repr of tree Element on windows.
Florent Xicluna [Thu, 11 Mar 2010 14:36:19 +0000 (14:36 +0000)]
Issue #6472: The xml.etree package is updated to ElementTree 1.3. The cElementTree module is updated too.
Victor Stinner [Thu, 11 Mar 2010 13:46:06 +0000 (13:46 +0000)]
Another fix to test_executable() of test_sys: set the current working to avoid
the #7774 bug.
Victor Stinner [Thu, 11 Mar 2010 13:27:35 +0000 (13:27 +0000)]
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.
Victor Stinner [Thu, 11 Mar 2010 12:34:39 +0000 (12:34 +0000)]
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.
Florent Xicluna [Thu, 11 Mar 2010 01:50:48 +0000 (01:50 +0000)]
Revert r78830: realpath() should really be applied to sys.executable.
Florent Xicluna [Thu, 11 Mar 2010 01:39:55 +0000 (01:39 +0000)]
It is not optimal to test sys.stderr on a debug build.
Florent Xicluna [Thu, 11 Mar 2010 00:56:59 +0000 (00:56 +0000)]
Fix the test_subprocess failure when sys.executable is meaningless: '' or a directory.
It does not fix #7774.
Florent Xicluna [Wed, 10 Mar 2010 23:58:42 +0000 (23:58 +0000)]
Issue #7880: Fix sysconfig when the python executable is a symbolic link.
Victor Stinner [Wed, 10 Mar 2010 22:45:04 +0000 (22:45 +0000)]
ooops, fix error message in execusercustomize()
Copy/paste failure :-)
Victor Stinner [Wed, 10 Mar 2010 22:30:19 +0000 (22:30 +0000)]
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.
Benjamin Peterson [Tue, 9 Mar 2010 21:46:54 +0000 (21:46 +0000)]
fix ugly configure output (follow up to #6943)
Benjamin Peterson [Tue, 9 Mar 2010 21:43:36 +0000 (21:43 +0000)]
handle an empty OPT variable correctly #8100
Florent Xicluna [Tue, 9 Mar 2010 19:57:01 +0000 (19:57 +0000)]
#7772: Fix test_py3kwarn. Now the test suite could pass with "-3" flag.
Raymond Hettinger [Tue, 9 Mar 2010 11:29:10 +0000 (11:29 +0000)]
Improve code clarity a bit.
Raymond Hettinger [Tue, 9 Mar 2010 09:58:53 +0000 (09:58 +0000)]
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.
Raymond Hettinger [Tue, 9 Mar 2010 09:01:46 +0000 (09:01 +0000)]
Add nicer docstrings to namedtuples().
Provides better tooltips and looks better in help().
Raymond Hettinger [Tue, 9 Mar 2010 08:44:18 +0000 (08:44 +0000)]
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
Benjamin Peterson [Mon, 8 Mar 2010 22:15:11 +0000 (22:15 +0000)]
set svn:eol-style on various files
Georg Brandl [Mon, 8 Mar 2010 16:28:40 +0000 (16:28 +0000)]
Fix typo.
Florent Xicluna [Mon, 8 Mar 2010 15:20:28 +0000 (15:20 +0000)]
#7624: Fix isinstance(foo(), collections.Callable) for old-style classes.
Florent Xicluna [Mon, 8 Mar 2010 12:39:35 +0000 (12:39 +0000)]
Move some tests from test_macpath to test_genericpath.CommonTest
Andrew M. Kuchling [Mon, 8 Mar 2010 12:00:39 +0000 (12:00 +0000)]
Add various items
Florent Xicluna [Mon, 8 Mar 2010 11:01:39 +0000 (11:01 +0000)]
On finalize, don't try to join not started process.
Florent Xicluna [Mon, 8 Mar 2010 10:59:33 +0000 (10:59 +0000)]
Replace the stderr logging with assertNotEqual(returncode, 0).
Florent Xicluna [Mon, 8 Mar 2010 10:58:12 +0000 (10:58 +0000)]
Fix syntax: "rc != None" -> "rc is not None"
Florent Xicluna [Mon, 8 Mar 2010 07:21:16 +0000 (07:21 +0000)]
Don't fail on a debug() statement, if the worker PID is (still) None.
Ronald Oussoren [Mon, 8 Mar 2010 07:06:47 +0000 (07:06 +0000)]
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.
Benjamin Peterson [Mon, 8 Mar 2010 02:11:06 +0000 (02:11 +0000)]
remove svn:executable from scripts without a shebang line
R. David Murray [Mon, 8 Mar 2010 02:04:06 +0000 (02:04 +0000)]
Issue #7143: get_payload used to strip any trailing newline from a
base64 transfer-encoded payload *after* decoding it; it no longer does.
email had a special method in utils, _bdecode, specifically to do this,
so it must have served a purpose at some point, yet it is clearly wrong
per RFC. Fixed with Barry's approval, but no backport. Email package
minor version number is bumped, now version 4.0.1.
Patch by Joaquin Cuenca Abela.
Florent Xicluna [Sun, 7 Mar 2010 23:49:03 +0000 (23:49 +0000)]
Backport the Popen.poll() protection from subprocess to multiprocessing. See #
1731717 .
It should fix transient failures on test_multiprocessing.
Michael Foord [Sun, 7 Mar 2010 23:16:20 +0000 (23:16 +0000)]
Remove accidental print statement from last commit.
Michael Foord [Sun, 7 Mar 2010 23:10:36 +0000 (23:10 +0000)]
Fix accidental name rebinding in unittest py3k warning filtering.
Michael Foord [Sun, 7 Mar 2010 22:04:55 +0000 (22:04 +0000)]
Addition of setUpClass and setUpModule shared fixtures to unittest.
Georg Brandl [Sun, 7 Mar 2010 21:32:06 +0000 (21:32 +0000)]
#8044: document Py_{Enter,Leave}RecursiveCall functions.
Georg Brandl [Sun, 7 Mar 2010 21:12:28 +0000 (21:12 +0000)]
#8039: document conditional expressions better, giving them their own section.
Georg Brandl [Sun, 7 Mar 2010 20:58:31 +0000 (20:58 +0000)]
#8085: The function is called PyObject_NewVar, not PyObject_VarNew.
Michael Foord [Sun, 7 Mar 2010 20:22:12 +0000 (20:22 +0000)]
Fix for potentials errors in constructing unittest failure messages. Plus skipped test methods no longer run setUp and tearDown (Issue 8059)
Florent Xicluna [Sun, 7 Mar 2010 19:14:12 +0000 (19:14 +0000)]
Refresh the documentation for the test.test_support module.
Florent Xicluna [Sun, 7 Mar 2010 17:12:23 +0000 (17:12 +0000)]
#2777: Try hard to make Win7 buildbot happy...
Mark Dickinson [Sun, 7 Mar 2010 17:10:19 +0000 (17:10 +0000)]
Silence compiler warning.
Mark Dickinson [Sun, 7 Mar 2010 16:24:45 +0000 (16:24 +0000)]
Issue #
1530559 : When packing a non-integer with any integer conversion
code using struct.pack, attempt to convert to an integer first using
the argument's __int__ method (if present). Also raise a
DeprecationWarning for any such usage of __int__.
This fixes a regression from 2.6, where some (but not all) integer
conversion codes already used __int__.
Florent Xicluna [Sun, 7 Mar 2010 15:27:39 +0000 (15:27 +0000)]
Do not fail if returncode is 0 on send_signal/kill/terminate, for win32 platforms.
Do not hide the KeyboardInterrupt on POSIX platforms.
Georg Brandl [Sun, 7 Mar 2010 15:23:59 +0000 (15:23 +0000)]
#5341: more built-in vs builtin fixes.
Florent Xicluna [Sun, 7 Mar 2010 12:21:36 +0000 (12:21 +0000)]
#2777: Enable test_send_signal, test_terminate and test_kill on win32 platforms.
Florent Xicluna [Sun, 7 Mar 2010 12:18:33 +0000 (12:18 +0000)]
Issue #7849: Now the utility ``check_warnings`` verifies if the warnings are
effectively raised. A new utility ``check_py3k_warnings`` deals with py3k warnings.
Florent Xicluna [Sun, 7 Mar 2010 12:14:25 +0000 (12:14 +0000)]
Fix some py3k warnings in the standard library.
Ronald Oussoren [Sun, 7 Mar 2010 09:04:06 +0000 (09:04 +0000)]
Fix for issue #7998: pythonw didn't work when --with-framework-name was
specified
Senthil Kumaran [Sun, 7 Mar 2010 04:09:30 +0000 (04:09 +0000)]
Reverting the change made in r78431.
Benjamin Peterson [Sun, 7 Mar 2010 00:29:44 +0000 (00:29 +0000)]
eliminate py3k warnings in argparse
Benjamin Peterson [Sun, 7 Mar 2010 00:00:37 +0000 (00:00 +0000)]
more specific exception for wrong kind of raise #8082
Benjamin Peterson [Sat, 6 Mar 2010 22:44:07 +0000 (22:44 +0000)]
post release update
Benjamin Peterson [Sat, 6 Mar 2010 20:37:03 +0000 (20:37 +0000)]
tag 2.7 alpha 4
Benjamin Peterson [Sat, 6 Mar 2010 20:34:14 +0000 (20:34 +0000)]
bump version to 2.7a4
Florent Xicluna [Sat, 6 Mar 2010 19:43:41 +0000 (19:43 +0000)]
Skip test_send_signal, test_kill, test_terminate on win32 platforms, for 2.7a4 release.
Florent Xicluna [Sat, 6 Mar 2010 18:52:52 +0000 (18:52 +0000)]
Minor tweaking of previous r78734, and add a NEWS entry.
Florent Xicluna [Sat, 6 Mar 2010 18:07:18 +0000 (18:07 +0000)]
Create test_genericpath.CommonTest and reuse it to test other path modules.
Florent Xicluna [Sat, 6 Mar 2010 17:24:36 +0000 (17:24 +0000)]
Do not print the header lines when running a single test.
Vinay Sajip [Sat, 6 Mar 2010 15:56:03 +0000 (15:56 +0000)]
Added checks for tuples in dictConfig.
Vinay Sajip [Sat, 6 Mar 2010 15:12:08 +0000 (15:12 +0000)]
Added schema version test in dictConfig.
Florent Xicluna [Sat, 6 Mar 2010 14:38:09 +0000 (14:38 +0000)]
Backport "test.regrtest -R 2:3" syntax from py3k branch, and other minor adjustments.
Florent Xicluna [Sat, 6 Mar 2010 11:01:08 +0000 (11:01 +0000)]
#6906: TCL_LIBRARY and TK_LIBRARY environment variables should be encoded.
Florent Xicluna [Sat, 6 Mar 2010 09:54:14 +0000 (09:54 +0000)]
#2777: Apply same recipe on win32, i.e. do not inherit file handles.
Florent Xicluna [Sat, 6 Mar 2010 09:11:55 +0000 (09:11 +0000)]
Print platform information to stdout, to help troubleshooting platform-specific failures.
Florent Xicluna [Sat, 6 Mar 2010 08:07:44 +0000 (08:07 +0000)]
Keep the test files in the ./build/ subdirectory, if Python is not installed.
Remove two hacks which are no longer needed after #7712, because all __file__ attributes are absolute.
Gregory P. Smith [Sat, 6 Mar 2010 07:35:19 +0000 (07:35 +0000)]
Call setreuid and setregid in a subprocess to avoid altering the test runner's
process state. Should fix issue8045.
Benjamin Peterson [Sat, 6 Mar 2010 03:13:33 +0000 (03:13 +0000)]
settscdump is definitely an implementation detail
Tarek Ziadé [Sat, 6 Mar 2010 02:17:28 +0000 (02:17 +0000)]
search in the alternative location for VCExpress
Tarek Ziadé [Sat, 6 Mar 2010 02:11:14 +0000 (02:11 +0000)]
fixed various failures and environment alterations in distutils.test_build_ext
Tarek Ziadé [Sat, 6 Mar 2010 01:27:09 +0000 (01:27 +0000)]
files used by win32 tests
Tarek Ziadé [Sat, 6 Mar 2010 01:23:21 +0000 (01:23 +0000)]
simplified the fallback case