]>
granicus.if.org Git - python/log
Ezio Melotti [Wed, 31 Mar 2010 22:18:09 +0000 (22:18 +0000)]
Add -Wd and -3 to the flags used to run the tests.
Florent Xicluna [Wed, 31 Mar 2010 22:01:03 +0000 (22:01 +0000)]
Replace catch_warnings with check_warnings when it makes sense. Use assertRaises context manager to simplify some tests.
Florent Xicluna [Wed, 31 Mar 2010 21:40:32 +0000 (21:40 +0000)]
Fix typo
Antoine Pitrou [Wed, 31 Mar 2010 21:32:15 +0000 (21:32 +0000)]
Issue #8268: Old-style classes (not just instances) now support weak
references.
Florent Xicluna [Wed, 31 Mar 2010 21:21:54 +0000 (21:21 +0000)]
Fix test for xml.etree when using a non-ascii path. And use check_warnings instead of catch_warnings.
Barry Warsaw [Wed, 31 Mar 2010 21:07:16 +0000 (21:07 +0000)]
- Issue #8233: When run as a script, py_compile.py optionally takes a single
argument `-` which tells it to read files to compile from stdin. Each line
is read on demand and the named file is compiled immediately. (Original
patch by Piotr Ożarowski).
Brian Curtin [Wed, 31 Mar 2010 17:36:09 +0000 (17:36 +0000)]
Correct what was intended to be a single-tuple to just be a != check.
Thanks to Éric Araujo for noticing that.
Ezio Melotti [Wed, 31 Mar 2010 08:33:50 +0000 (08:33 +0000)]
Silence a py3k warning.
Ezio Melotti [Wed, 31 Mar 2010 07:26:24 +0000 (07:26 +0000)]
Revert r79179 and merge r75584 to explain how to implement a queue using collection.deque instead of a list.
Brian Curtin [Wed, 31 Mar 2010 03:10:21 +0000 (03:10 +0000)]
Fix #8225. xml.etree was displaying an incorrect link when viewed in help.
Thomas Heller [Tue, 30 Mar 2010 20:57:06 +0000 (20:57 +0000)]
Revert rev. 79509; ctypes doesn't build on linux.
Thomas Heller [Tue, 30 Mar 2010 19:55:34 +0000 (19:55 +0000)]
Removed merge tracking for "svnmerge" for
svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win
Thomas Heller [Tue, 30 Mar 2010 19:46:23 +0000 (19:46 +0000)]
Merged revisions 79115,79424,79491 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win
........
r79115 | thomas.heller | 2010-03-19 22:14:47 +0100 (Fr, 19 Mrz 2010) | 7 lines
Work in progress. 2 tests fail on x86/win32 because the stack
checking code in ffi_call_win32 is not yet implemented.
Remove most files from _ctypes/libffi_msvc, only two include files
stay (updated from _ctypes/libffi/...). Other files are used in the
cross-platform _ctypes/libffi directory.
........
r79424 | thomas.heller | 2010-03-25 19:28:02 +0100 (Do, 25 Mrz 2010) | 1 line
Build _ctypes on Win64.
........
r79491 | thomas.heller | 2010-03-29 21:30:33 +0200 (Mo, 29 Mrz 2010) | 4 lines
On Windows, ctypes does no longer check the stack before and after
calling a foreign function.
This allows to use the unmodified libffi library.
........
Antoine Pitrou [Tue, 30 Mar 2010 18:58:22 +0000 (18:58 +0000)]
Fix small error in r79502
Antoine Pitrou [Tue, 30 Mar 2010 18:49:45 +0000 (18:49 +0000)]
Issue #8248: Add some tests for the bool type. Patch by Gregory Nofi.
Benjamin Peterson [Tue, 30 Mar 2010 17:58:13 +0000 (17:58 +0000)]
add inspect.getcallargs, which binds function arguments like a normal call #3135
Patch by George Sakkis
Florent Xicluna [Tue, 30 Mar 2010 16:42:47 +0000 (16:42 +0000)]
fix ACKS: alphabetic order and UTF-8
Florent Xicluna [Tue, 30 Mar 2010 16:31:14 +0000 (16:31 +0000)]
#8263: Now regrtest.py will report a failure if it receives a KeyboardInterrupt (SIGINT).
Florent Xicluna [Tue, 30 Mar 2010 16:29:03 +0000 (16:29 +0000)]
Highlight the change of behavior related to r79494. Now VT and FF are linebreaks.
Florent Xicluna [Tue, 30 Mar 2010 08:24:06 +0000 (08:24 +0000)]
#7643: Unicode codepoints VT (0x0B) and FF (0x0C) are linebreaks according to Unicode Standard Annex #14.
Michael Foord [Mon, 29 Mar 2010 20:04:23 +0000 (20:04 +0000)]
Backport of weakref.WeakSet and tests from Python 3.
Raymond Hettinger [Sun, 28 Mar 2010 18:25:01 +0000 (18:25 +0000)]
Update itertools recipe for consume().
Raymond Hettinger [Sun, 28 Mar 2010 18:08:15 +0000 (18:08 +0000)]
Add a note on optimizing the itertools recipes for production.
Raymond Hettinger [Sun, 28 Mar 2010 18:02:41 +0000 (18:02 +0000)]
Update itertools recipes.
Michael Foord [Sat, 27 Mar 2010 19:10:11 +0000 (19:10 +0000)]
Addition of delta keyword argument to unittest.TestCase.assertAlmostEquals and assertNotAlmostEquals
This allows the comparison of objects by specifying a maximum difference; this includes the comparing of non-numeric objects that don't support rounding.
Michael Foord [Sat, 27 Mar 2010 13:42:34 +0000 (13:42 +0000)]
Rename the unittest test_suite function to not clash with a test module name (unittest.test.test_suite is now unambiguous).
Michael Foord [Sat, 27 Mar 2010 12:55:19 +0000 (12:55 +0000)]
A fix for running unittest tests on platforms without the audioop module (e.g. jython and IronPython)
Mark Dickinson [Sat, 27 Mar 2010 11:14:37 +0000 (11:14 +0000)]
Add Misc/NEWS entry for r79455.
Mark Dickinson [Sat, 27 Mar 2010 11:09:29 +0000 (11:09 +0000)]
Make Fraction to complex comparisons with <=, <, >= or > raise TypeError.
Florent Xicluna [Fri, 26 Mar 2010 19:32:44 +0000 (19:32 +0000)]
Ensure that the failed or unexpected tests are sorted before printing.
Antoine Pitrou [Fri, 26 Mar 2010 19:27:16 +0000 (19:27 +0000)]
Issue #8222: Enable the SSL_MODE_AUTO_RETRY flag on SSL sockets, so that blocking
reads and writes are always retried by OpenSSL itself.
(this is a followup to issue #3890)
Benjamin Peterson [Fri, 26 Mar 2010 13:53:32 +0000 (13:53 +0000)]
reorder imports
Michael Foord [Fri, 26 Mar 2010 13:07:38 +0000 (13:07 +0000)]
Makefile.pre.in for the unittest/test directory
Michael Foord [Fri, 26 Mar 2010 03:18:31 +0000 (03:18 +0000)]
Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly
Michael Foord [Fri, 26 Mar 2010 02:53:56 +0000 (02:53 +0000)]
Move a support TestCase out of the main namespace in unittest.test.test_suite
Michael Foord [Fri, 26 Mar 2010 00:03:38 +0000 (00:03 +0000)]
Remove incorrect docstring in unittest.test
Michael Foord [Thu, 25 Mar 2010 23:56:33 +0000 (23:56 +0000)]
Turn unittest tests into a package
Brian Curtin [Thu, 25 Mar 2010 23:48:54 +0000 (23:48 +0000)]
Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana.
Benjamin Peterson [Thu, 25 Mar 2010 23:27:16 +0000 (23:27 +0000)]
make naming convention consistent
Florent Xicluna [Thu, 25 Mar 2010 20:39:10 +0000 (20:39 +0000)]
Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest"
Florent Xicluna [Thu, 25 Mar 2010 20:33:49 +0000 (20:33 +0000)]
#8207: Fix test_pep277 on OS X
Florent Xicluna [Thu, 25 Mar 2010 20:32:07 +0000 (20:32 +0000)]
Syntax cleanup `== None` -> `is None`
Benjamin Peterson [Thu, 25 Mar 2010 03:44:24 +0000 (03:44 +0000)]
make an attempt to add capsule to the Windows build
Andrew M. Kuchling [Thu, 25 Mar 2010 01:35:51 +0000 (01:35 +0000)]
Add various items
Larry Hastings [Thu, 25 Mar 2010 01:23:27 +0000 (01:23 +0000)]
Remove extraneous experimental code checked in by accident.
Victor Stinner [Thu, 25 Mar 2010 01:18:38 +0000 (01:18 +0000)]
Fix a gcc warning introduced by r79397.
Benjamin Peterson [Thu, 25 Mar 2010 01:05:57 +0000 (01:05 +0000)]
fix eol properties on capsule files
Benjamin Peterson [Thu, 25 Mar 2010 01:04:58 +0000 (01:04 +0000)]
set eol on email example
Benjamin Peterson [Thu, 25 Mar 2010 01:03:51 +0000 (01:03 +0000)]
set bsddb eol style
Larry Hastings [Thu, 25 Mar 2010 00:54:54 +0000 (00:54 +0000)]
Backported PyCapsule from 3.1, and converted most uses of
CObject to PyCapsule.
Victor Stinner [Thu, 25 Mar 2010 00:51:58 +0000 (00:51 +0000)]
Fix _curses.tiget*() functions: deny None to avoid a crash.
Fix the following calls: _curses.tigetflag(None), _curses.tigetnum(None),
_curses.tigetstr(None).
Victor Stinner [Thu, 25 Mar 2010 00:21:53 +0000 (00:21 +0000)]
Issue #8211: Save/restore CFLAGS around AC_PROG_CC in configure.in, compiler
optimizations are disabled when --with-pydebug is used.
Steven Bethard [Wed, 24 Mar 2010 23:03:24 +0000 (23:03 +0000)]
Replace license with simple attribution.
Antoine Pitrou [Wed, 24 Mar 2010 22:12:15 +0000 (22:12 +0000)]
Revert r79384 (the fix failed).
Benjamin Peterson [Wed, 24 Mar 2010 22:03:09 +0000 (22:03 +0000)]
replace copy right notice with simple attribution
Antoine Pitrou [Wed, 24 Mar 2010 21:55:12 +0000 (21:55 +0000)]
Trying to fix #8108. Will watch the buildbot(s).
Florent Xicluna [Wed, 24 Mar 2010 19:33:25 +0000 (19:33 +0000)]
Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not available.
Andrew M. Kuchling [Wed, 24 Mar 2010 18:07:43 +0000 (18:07 +0000)]
Various edits
Vinay Sajip [Wed, 24 Mar 2010 17:36:35 +0000 (17:36 +0000)]
logging: Updated SysLogHandler documentation.
Florent Xicluna [Wed, 24 Mar 2010 17:32:58 +0000 (17:32 +0000)]
Skip test_ascii_formatd if _ctypes is not available (BSD, ...).
Previous change was incomplete (r79334).
Vinay Sajip [Wed, 24 Mar 2010 15:10:40 +0000 (15:10 +0000)]
logging: Documentation tweak.
Martin v. Löwis [Wed, 24 Mar 2010 15:05:53 +0000 (15:05 +0000)]
Add Brian Curtin.
Vinay Sajip [Wed, 24 Mar 2010 14:31:21 +0000 (14:31 +0000)]
logging: Added LOG_FTP for SysLogHandler and updated documentation.
Ezio Melotti [Tue, 23 Mar 2010 23:53:20 +0000 (23:53 +0000)]
Another typo.
Ezio Melotti [Tue, 23 Mar 2010 23:26:21 +0000 (23:26 +0000)]
#8217: typo.
Benjamin Peterson [Tue, 23 Mar 2010 20:58:37 +0000 (20:58 +0000)]
the == test doesn't work on Solaris #8210
Florent Xicluna [Tue, 23 Mar 2010 19:19:16 +0000 (19:19 +0000)]
The SIGINT signal may happen earlier, during site.py initialization.
Andrew M. Kuchling [Tue, 23 Mar 2010 18:39:24 +0000 (18:39 +0000)]
add some unittest items
Florent Xicluna [Tue, 23 Mar 2010 15:05:30 +0000 (15:05 +0000)]
The standard error should be empty when the signal is killed, except on SIGINT.
Florent Xicluna [Tue, 23 Mar 2010 14:36:45 +0000 (14:36 +0000)]
Silence test_subprocess.
Florent Xicluna [Tue, 23 Mar 2010 11:07:54 +0000 (11:07 +0000)]
Skip test_format_deprecation if _ctypes is not available. Add a filter to the warning check.
Senthil Kumaran [Tue, 23 Mar 2010 08:46:31 +0000 (08:46 +0000)]
Fixed Issue8209 - OptionParser keyword arg 'epilog' not mentioned in the docs
Benjamin Peterson [Tue, 23 Mar 2010 03:03:55 +0000 (03:03 +0000)]
Merged revisions 79313,79324 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79313 | benjamin.peterson | 2010-03-22 17:59:57 -0500 (Mon, 22 Mar 2010) | 1 line
another case where a symbol is needed
........
r79324 | benjamin.peterson | 2010-03-22 21:59:47 -0500 (Mon, 22 Mar 2010) | 1 line
use unicode literals
........
Ezio Melotti [Tue, 23 Mar 2010 00:38:12 +0000 (00:38 +0000)]
Link specifically to the UCD version 5.2.0.
Ezio Melotti [Tue, 23 Mar 2010 00:25:19 +0000 (00:25 +0000)]
Remove link to objects.rst (gone in r79179).
Ezio Melotti [Mon, 22 Mar 2010 23:07:32 +0000 (23:07 +0000)]
Update the version number of the Unicode Database in a few more places.
Benjamin Peterson [Mon, 22 Mar 2010 22:54:42 +0000 (22:54 +0000)]
Merged revisions 79309 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79309 | benjamin.peterson | 2010-03-22 17:50:47 -0500 (Mon, 22 Mar 2010) | 1 line
pass correct symbol in
........
Florent Xicluna [Mon, 22 Mar 2010 22:52:11 +0000 (22:52 +0000)]
Issue #8205: Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only).
Florent Xicluna [Mon, 22 Mar 2010 22:45:50 +0000 (22:45 +0000)]
#7667: Fix doctest failures with non-ASCII paths.
Benjamin Peterson [Mon, 22 Mar 2010 22:40:06 +0000 (22:40 +0000)]
Merged revisions 79077,79137,79304-79305 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r79077 | benjamin.peterson | 2010-03-18 18:05:29 -0500 (Thu, 18 Mar 2010) | 1 line
port detect_encoding improvements from py3k
........
r79137 | benjamin.peterson | 2010-03-20 11:12:53 -0500 (Sat, 20 Mar 2010) | 1 line
add a fixer for setting sys.exitfunc #2356
........
r79304 | benjamin.peterson | 2010-03-22 17:20:22 -0500 (Mon, 22 Mar 2010) | 1 line
fix test_parser when it's run in a path with spaces #7666
........
r79305 | benjamin.peterson | 2010-03-22 17:27:07 -0500 (Mon, 22 Mar 2010) | 1 line
normalize whitespace
........
Antoine Pitrou [Mon, 22 Mar 2010 19:59:46 +0000 (19:59 +0000)]
Issue #7512: shutil.copystat() could raise an OSError when the filesystem
didn't support chflags() (for example ZFS under FreeBSD). The error is
now silenced.
Florent Xicluna [Mon, 22 Mar 2010 17:18:18 +0000 (17:18 +0000)]
#7668: Fix test_httpservers failure when sys.executable contains non-ASCII bytes.
Florent Xicluna [Mon, 22 Mar 2010 16:36:51 +0000 (16:36 +0000)]
Preserve backward compatibility of the ctypes module.
"This file should be kept compatible with Python 2.3, see PEP 291."
Florent Xicluna [Mon, 22 Mar 2010 16:07:38 +0000 (16:07 +0000)]
Issue #7703: ctypes supports both buffer() and memoryview(). The former is deprecated.
Complement of r79288.
R. David Murray [Mon, 22 Mar 2010 15:55:09 +0000 (15:55 +0000)]
Issue #7860: platform.uname now reports the correct 'machine' type
when Python is running in WOW64 mode on 64 bit Windows. Patch by
Brian Curtin.
Vinay Sajip [Mon, 22 Mar 2010 15:29:01 +0000 (15:29 +0000)]
logging: Added getChild utility method to Logger and added isEnabledFor method to LoggerAdapter.
Jesus Cea [Mon, 22 Mar 2010 15:18:46 +0000 (15:18 +0000)]
Missing testsuite files
Florent Xicluna [Mon, 22 Mar 2010 15:02:46 +0000 (15:02 +0000)]
Get rid of buffer() in test_ctypes: backport the 3.x tests.
Antoine Pitrou [Mon, 22 Mar 2010 14:41:48 +0000 (14:41 +0000)]
Fix an occasional test_ftplib failure, following r79226.
Jesus Cea [Mon, 22 Mar 2010 14:22:26 +0000 (14:22 +0000)]
pybsddb 4.8.4 integration. Please, comment in issue #8156
Vinay Sajip [Mon, 22 Mar 2010 13:02:28 +0000 (13:02 +0000)]
Issue #8201: logging: Handle config errors when non-ASCII and Unicode logger names exist at the same time.
Victor Stinner [Mon, 22 Mar 2010 12:36:28 +0000 (12:36 +0000)]
Fix the NEWS about my last commit: an unicode subclass can now override the
__unicode__ method (and not the __str__ method).
Simplify also the testcase.
Vinay Sajip [Mon, 22 Mar 2010 12:33:08 +0000 (12:33 +0000)]
Issue #8200: logging: Handle errors when multiprocessing is not fully loaded when logging occurs.
Victor Stinner [Mon, 22 Mar 2010 12:24:37 +0000 (12:24 +0000)]
Issue #
1583863 : An unicode subclass can now override the __str__ method
Michael Foord [Mon, 22 Mar 2010 02:49:08 +0000 (02:49 +0000)]
Correct usage message displayed for python -m unittest -h
Michael Foord [Mon, 22 Mar 2010 01:56:54 +0000 (01:56 +0000)]
expected failure should not trigger failfast behavior in unittest.
Michael Foord [Mon, 22 Mar 2010 01:41:11 +0000 (01:41 +0000)]
Removing Python 2.3 compatibility code from unittest.
Michael Foord [Mon, 22 Mar 2010 01:02:23 +0000 (01:02 +0000)]
Fix failing test committed by accident.
Michael Foord [Mon, 22 Mar 2010 01:01:34 +0000 (01:01 +0000)]
-f/--failfast command line option for unittest. Issue 8074. Documentation still needed. Plus minor change to test_unittest to allow it to be run with python -m test.unittest
Michael Foord [Mon, 22 Mar 2010 00:06:30 +0000 (00:06 +0000)]
Issue 7815. __unittest in module globals trims frames from reported stacktraces in unittest.