]>
granicus.if.org Git - python/log
Georg Brandl [Fri, 19 Feb 2010 19:36:08 +0000 (19:36 +0000)]
#7967: PyXML is no more.
Senthil Kumaran [Fri, 19 Feb 2010 07:32:48 +0000 (07:32 +0000)]
Fix for Issue7904. urlparse.urlsplit to handle schemes in the way defined by RFC3986
Fred Drake [Fri, 19 Feb 2010 05:24:30 +0000 (05:24 +0000)]
- apply patch from issue 7005
- add corresponding documentation
Michael Foord [Thu, 18 Feb 2010 21:37:07 +0000 (21:37 +0000)]
Fix unittest.TestCase.assertDictContainsSubset so it can't die with unicode issues when constructing failure messages. Issue 7956
Michael Foord [Thu, 18 Feb 2010 20:30:09 +0000 (20:30 +0000)]
unittest.TestCase uses safe_repr for producing failure messages. Partial fix for issue 7956
Mark Dickinson [Thu, 18 Feb 2010 14:45:33 +0000 (14:45 +0000)]
Doctest fixes for decimal.py: add an integer-argument doctest for logical_invert; don't use integer literals with a leading zero.
Mark Dickinson [Thu, 18 Feb 2010 14:27:02 +0000 (14:27 +0000)]
Issue #7633: Context method in the decimal module (with the exception
of the 'canonical' and 'is_canonical' methods) now consistently accept
integer arguments wherever a Decimal instance is accepted. Thanks
Juan José Conti for the patch.
Andrew M. Kuchling [Thu, 18 Feb 2010 14:16:48 +0000 (14:16 +0000)]
Add various items
Martin v. Löwis [Thu, 18 Feb 2010 12:45:45 +0000 (12:45 +0000)]
Move bsddb47 macros before their use, to make VS 2010 happy.
Martin v. Löwis [Thu, 18 Feb 2010 09:22:20 +0000 (09:22 +0000)]
Stop providing crtassem.h symbols when compiling with
Visual Studio 2010, as msvcr100.dll is not a platform
assembly anymore.
Ezio Melotti [Tue, 16 Feb 2010 23:58:49 +0000 (23:58 +0000)]
#7941: fix error message
Ezio Melotti [Tue, 16 Feb 2010 23:26:09 +0000 (23:26 +0000)]
#7930: fix stripid
R. David Murray [Tue, 16 Feb 2010 17:55:26 +0000 (17:55 +0000)]
Make the references to Popen in the description of Call
and check_call into links.
Martin v. Löwis [Mon, 15 Feb 2010 21:41:12 +0000 (21:41 +0000)]
Issue #7903: Define _BSD_SOURCE through OpenBSD 4.9.
Eric Smith [Mon, 15 Feb 2010 11:55:38 +0000 (11:55 +0000)]
Remove incorrect apostrophe.
Martin v. Löwis [Mon, 15 Feb 2010 08:32:00 +0000 (08:32 +0000)]
Issue #3920: Define _BSD_SOURCE on OpenBSD 4.4.
Mark Dickinson [Sun, 14 Feb 2010 13:40:30 +0000 (13:40 +0000)]
Silence more 'comparison between signed and unsigned' warnings.
Georg Brandl [Sun, 14 Feb 2010 13:38:12 +0000 (13:38 +0000)]
#7926: fix-up wording.
Mark Dickinson [Sun, 14 Feb 2010 12:31:26 +0000 (12:31 +0000)]
Silence more compiler warnings; fix an instance of potential undefined behaviour from signed overflow.
Mark Dickinson [Sun, 14 Feb 2010 12:16:43 +0000 (12:16 +0000)]
Silence some 'comparison between signed and unsigned' compiler warnings.
Georg Brandl [Sun, 14 Feb 2010 08:18:23 +0000 (08:18 +0000)]
#7926: fix stray parens.
Ezio Melotti [Sun, 14 Feb 2010 02:50:23 +0000 (02:50 +0000)]
#7921: fix links. Patch by Brian Curtin.
Mark Dickinson [Fri, 12 Feb 2010 21:16:38 +0000 (21:16 +0000)]
Check that 'd' isn't allowed as an exponent specifier in inputs to the float function.
Ezio Melotti [Thu, 11 Feb 2010 23:50:57 +0000 (23:50 +0000)]
#7907: fix wrong function name in doc. Patch by Brian Curtin.
Michael Foord [Thu, 11 Feb 2010 14:12:07 +0000 (14:12 +0000)]
Adding TextTestResult to unittest.__all__
Ronald Oussoren [Thu, 11 Feb 2010 13:26:54 +0000 (13:26 +0000)]
Finish fix for issue 7715, after explicit search for calls to `arch`
Ronald Oussoren [Thu, 11 Feb 2010 13:19:34 +0000 (13:19 +0000)]
Fix copy&paste error in the definition of ARCH_RUN_32BIT for a 3-way universal
build (all other definition where correct).
Ronald Oussoren [Thu, 11 Feb 2010 13:13:08 +0000 (13:13 +0000)]
Add guard around the prototype for completion_matches to enable
compilition with libedit on OSX 10.5
R. David Murray [Thu, 11 Feb 2010 01:56:42 +0000 (01:56 +0000)]
Improve issue 7835 fix per MAL to handle the case that the
module dictionary has also been cleared.
R. David Murray [Thu, 11 Feb 2010 01:38:42 +0000 (01:38 +0000)]
Issue 5754: tweak shelve doc wording to make it clearer that even when
writeback=True values are written to the backing store when assigned to
the shelf. Add test to confirm that this happens. Doc patch and added
test by Robert Lehmann. I also fixed the cross references to the sync
and close methods.
R. David Murray [Wed, 10 Feb 2010 22:42:04 +0000 (22:42 +0000)]
Issue 7835: Shelve's __del__ method calls its close method, and its
close method refers to an identifier in the global module namespace.
This means that when __del__ is called during interpreter shutdown (if,
for example, the calling program still has a pointer to the shelf),
sometimes that global identifier would wind up being None, causing
mysterious 'ignored' exceptions. This patch checks for the possible None
value first before using the global, thus avoiding the error messages.
Ezio Melotti [Wed, 10 Feb 2010 21:40:33 +0000 (21:40 +0000)]
#7712: add a temp_cwd context manager to test_support and use it in regrtest to run all the tests in a temporary directory, saving the original CWD in test_support.SAVEDCWD. Thanks to Florent Xicluna who helped with the patch.
Michael Foord [Wed, 10 Feb 2010 15:50:58 +0000 (15:50 +0000)]
Fix for unittest tests, to be merged to py3k
Michael Foord [Wed, 10 Feb 2010 14:31:30 +0000 (14:31 +0000)]
Remove deprecation on assert_. It is used too frequently.
Michael Foord [Wed, 10 Feb 2010 14:25:12 +0000 (14:25 +0000)]
Issue 7893 and Issue 7588
Antoine Pitrou [Tue, 9 Feb 2010 17:08:05 +0000 (17:08 +0000)]
Issue #2746: Don't escape ampersands and angle brackets ("&", "<", ">")
in XML processing instructions and comments. These raw characters are
allowed by the XML specification, and are necessary when outputting e.g.
PHP code in a processing instruction. Patch by Neil Muller.
Michael Foord [Mon, 8 Feb 2010 23:15:22 +0000 (23:15 +0000)]
Doc fix for unittest.
Georg Brandl [Mon, 8 Feb 2010 22:48:37 +0000 (22:48 +0000)]
Convert test failure from output-producing to self.fail().
Michael Foord [Mon, 8 Feb 2010 22:41:16 +0000 (22:41 +0000)]
Make assertMultiLineEqual the default for comparing unicode strings.
Georg Brandl [Mon, 8 Feb 2010 22:40:51 +0000 (22:40 +0000)]
Fix missing string formatting placeholder.
Georg Brandl [Mon, 8 Feb 2010 22:37:52 +0000 (22:37 +0000)]
Fix undefined local.
Georg Brandl [Mon, 8 Feb 2010 22:37:20 +0000 (22:37 +0000)]
Fix missing string formatting argument.
Ezio Melotti [Mon, 8 Feb 2010 22:22:41 +0000 (22:22 +0000)]
Fix typo
Ezio Melotti [Mon, 8 Feb 2010 21:52:08 +0000 (21:52 +0000)]
Fix exc_value -> exception in docstring
Vinay Sajip [Mon, 8 Feb 2010 21:18:15 +0000 (21:18 +0000)]
logging: gingerly re-enabling skipped tests after improving thread sync code in configurator.
Antoine Pitrou [Mon, 8 Feb 2010 20:25:47 +0000 (20:25 +0000)]
Clarify and correct description for ccbench and iobench.
Vinay Sajip [Mon, 8 Feb 2010 16:05:50 +0000 (16:05 +0000)]
Issue #7857: Another attempt to keep the buildbots happy.
Vinay Sajip [Mon, 8 Feb 2010 15:32:08 +0000 (15:32 +0000)]
logging: skipped listening tests because they're not working reliably.
Andrew M. Kuchling [Mon, 8 Feb 2010 13:22:24 +0000 (13:22 +0000)]
Add two items; move a subsection
Vinay Sajip [Mon, 8 Feb 2010 06:50:14 +0000 (06:50 +0000)]
Removed spurious print statement in test.
Andrew M. Kuchling [Mon, 8 Feb 2010 01:35:35 +0000 (01:35 +0000)]
Move distutils into its own subsection; add various items
Georg Brandl [Mon, 8 Feb 2010 00:04:54 +0000 (00:04 +0000)]
Fix test_fnmatch.
Mark Dickinson [Sun, 7 Feb 2010 20:31:10 +0000 (20:31 +0000)]
Skip test_strtod entirely when correctly-rounded string->float isn't implemented
Ronald Oussoren [Sun, 7 Feb 2010 20:18:02 +0000 (20:18 +0000)]
Issue 6003: ZipFile.writestr "compression_type" argument
Michael Foord [Sun, 7 Feb 2010 18:44:12 +0000 (18:44 +0000)]
assertRaises as context manager now allows you to access exception as documented
Georg Brandl [Sun, 7 Feb 2010 17:03:15 +0000 (17:03 +0000)]
Remove unused imports in test modules.
Georg Brandl [Sun, 7 Feb 2010 17:02:22 +0000 (17:02 +0000)]
Rename "exc_value" attribute on assertRaises context manager to "exception".
Antoine Pitrou [Sun, 7 Feb 2010 16:56:23 +0000 (16:56 +0000)]
Issue #7870: Remove duplicate test methods. Reported by Georg Brandl.
Mark Dickinson [Sun, 7 Feb 2010 13:09:52 +0000 (13:09 +0000)]
Actually raise on failure, instead of doing nothing.
Vinay Sajip [Sun, 7 Feb 2010 13:06:51 +0000 (13:06 +0000)]
logging: Removed some more 1.5.2 support code.
Mark Dickinson [Sun, 7 Feb 2010 13:01:56 +0000 (13:01 +0000)]
Add missing global declarations for 'overflowok'; remove 'overflowrequired', which is no longer needed.
Vinay Sajip [Sun, 7 Feb 2010 12:56:54 +0000 (12:56 +0000)]
Issue #7869: logging: improved format-time diagnostics and removed some 1.5.2 support code.
Georg Brandl [Sun, 7 Feb 2010 12:55:12 +0000 (12:55 +0000)]
Remove duplicate test method.
Georg Brandl [Sun, 7 Feb 2010 12:34:26 +0000 (12:34 +0000)]
Add a minimal test for fnmatchcase().
Georg Brandl [Sun, 7 Feb 2010 12:27:06 +0000 (12:27 +0000)]
Fix a redefined test method.
Georg Brandl [Sun, 7 Feb 2010 12:25:50 +0000 (12:25 +0000)]
Fix two redefined test methods.
Georg Brandl [Sun, 7 Feb 2010 12:19:43 +0000 (12:19 +0000)]
Fix wrong usage of "except X, Y:".
Georg Brandl [Sun, 7 Feb 2010 12:16:12 +0000 (12:16 +0000)]
Fix another duplicated test method.
Ronald Oussoren [Sun, 7 Feb 2010 11:38:28 +0000 (11:38 +0000)]
A number of APIs in macostools cannot work in 64-bit mode because they
use Carbon APIs that aren't available there.
This patch disables tests for the affected entrypoints in macostools and
mentions this in the documentation.
In theory it is possible to replace the implementation by code that does
work in 64-bit mode, but that would require further updates to the Carbon
wrappers because the modern APIs aren't wrapped properly.
Georg Brandl [Sun, 7 Feb 2010 11:34:15 +0000 (11:34 +0000)]
Use "regexp" consistently.
Ronald Oussoren [Sun, 7 Feb 2010 11:29:31 +0000 (11:29 +0000)]
Remove call to gestalt('sysu') from platform.py. This gestalt call is
not available on OSX an appearently causes problems for some users.
Fixes issue 7812
Vinay Sajip [Sun, 7 Feb 2010 01:37:08 +0000 (01:37 +0000)]
Issue #7868: logging: added loggerClass attribute to Manager.
Georg Brandl [Sat, 6 Feb 2010 23:58:25 +0000 (23:58 +0000)]
Add missing import.
Georg Brandl [Sat, 6 Feb 2010 23:54:43 +0000 (23:54 +0000)]
Fix some name errors in Mac modules.
Georg Brandl [Sat, 6 Feb 2010 23:54:04 +0000 (23:54 +0000)]
Add missing import when running these tests standalone.
Georg Brandl [Sat, 6 Feb 2010 23:53:52 +0000 (23:53 +0000)]
Add missing import when running these tests standalone.
Georg Brandl [Sat, 6 Feb 2010 23:34:10 +0000 (23:34 +0000)]
Fix more unbound locals in code paths that do not seem to be used.
Georg Brandl [Sat, 6 Feb 2010 23:33:33 +0000 (23:33 +0000)]
Fix import/access for some identifiers. _TestSharedCTypes does not seem to be executed?
Georg Brandl [Sat, 6 Feb 2010 23:23:45 +0000 (23:23 +0000)]
We heard you like test failures so we put unbound locals in your test so that you can fail while you fail.
Georg Brandl [Sat, 6 Feb 2010 23:18:00 +0000 (23:18 +0000)]
Fix various missing import/unbound name errors.
Georg Brandl [Sat, 6 Feb 2010 23:12:19 +0000 (23:12 +0000)]
Remove duplicate test method.
Georg Brandl [Sat, 6 Feb 2010 23:12:12 +0000 (23:12 +0000)]
Add missing import.
Mark Dickinson [Sat, 6 Feb 2010 23:11:25 +0000 (23:11 +0000)]
testCopysign was defined twice in test_math; combine the definitions
Georg Brandl [Sat, 6 Feb 2010 23:08:00 +0000 (23:08 +0000)]
Fix a few UnboundLocalErrors in test_long.
Georg Brandl [Sat, 6 Feb 2010 23:06:24 +0000 (23:06 +0000)]
Add missing imports.
Georg Brandl [Sat, 6 Feb 2010 23:02:29 +0000 (23:02 +0000)]
Add a missing import.
Georg Brandl [Sat, 6 Feb 2010 22:59:15 +0000 (22:59 +0000)]
No need to assign the results of expressions used only for side effects.
Georg Brandl [Sat, 6 Feb 2010 22:49:47 +0000 (22:49 +0000)]
Remove unused import.
Georg Brandl [Sat, 6 Feb 2010 22:44:17 +0000 (22:44 +0000)]
Fix duplicate import.
Benjamin Peterson [Sat, 6 Feb 2010 22:08:15 +0000 (22:08 +0000)]
make waiting for the server to start robust
Georg Brandl [Sat, 6 Feb 2010 21:54:40 +0000 (21:54 +0000)]
Remove unused imports from test_logging.
Vinay Sajip [Sat, 6 Feb 2010 20:28:36 +0000 (20:28 +0000)]
Issue #7857: Gave server thread more time to get ready, and re-enabled a skipped test.
Benjamin Peterson [Sat, 6 Feb 2010 20:14:10 +0000 (20:14 +0000)]
check type_getattro for correctness in a descriptor corner case
Vinay Sajip [Sat, 6 Feb 2010 20:00:43 +0000 (20:00 +0000)]
Issue #7857: Tentatively re-enabling one test to see effect on buildbots.
Benjamin Peterson [Sat, 6 Feb 2010 19:40:18 +0000 (19:40 +0000)]
remove pointless error checking
Georg Brandl [Sat, 6 Feb 2010 18:44:44 +0000 (18:44 +0000)]
#5341: fix "builtin" where used as an adjective ("built-in" is correct).
Benjamin Peterson [Sat, 6 Feb 2010 18:26:27 +0000 (18:26 +0000)]
post release updates
Benjamin Peterson [Sat, 6 Feb 2010 16:41:20 +0000 (16:41 +0000)]
tag 2.7 alpha 3
Benjamin Peterson [Sat, 6 Feb 2010 16:37:32 +0000 (16:37 +0000)]
bump version to 2.7a3
Georg Brandl [Sat, 6 Feb 2010 10:23:16 +0000 (10:23 +0000)]
Review sysconfig docs.