]>
granicus.if.org Git - python/log
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.
Benjamin Peterson [Sun, 21 Mar 2010 20:30:30 +0000 (20:30 +0000)]
take into account keyword arguments when passing too many args
Benjamin Peterson [Sun, 21 Mar 2010 20:21:00 +0000 (20:21 +0000)]
improve error message from passing inadequate number of keyword arguments #6474
Note this removes the "non-keyword" or "keyword" phrases from these messages.
Benjamin Peterson [Sun, 21 Mar 2010 19:56:37 +0000 (19:56 +0000)]
don't write duplicate tests
Benjamin Peterson [Sun, 21 Mar 2010 19:54:56 +0000 (19:54 +0000)]
fix import
Benjamin Peterson [Sun, 21 Mar 2010 19:39:52 +0000 (19:39 +0000)]
co_varnames is certainly a tuple, so let's not waste time finding out
Benjamin Peterson [Sun, 21 Mar 2010 19:35:39 +0000 (19:35 +0000)]
remove pointless condition
Antoine Pitrou [Sun, 21 Mar 2010 19:33:38 +0000 (19:33 +0000)]
Issue #3890: Fix recv() and recv_into() on non-blocking SSL sockets.
Benjamin Peterson [Sun, 21 Mar 2010 19:24:08 +0000 (19:24 +0000)]
flatten condition
Antoine Pitrou [Sun, 21 Mar 2010 19:19:41 +0000 (19:19 +0000)]
Issue #
1628484 : The Makefile doesn't ignore the CFLAGS environment
variable anymore. It also forwards the LDFLAGS settings to the linker
when building a shared library.
Georg Brandl [Sun, 21 Mar 2010 19:01:38 +0000 (19:01 +0000)]
Fix plural.
Andrew M. Kuchling [Sun, 21 Mar 2010 18:47:12 +0000 (18:47 +0000)]
Add items
Florent Xicluna [Sun, 21 Mar 2010 18:00:38 +0000 (18:00 +0000)]
#8180: Fix test_pep277 on OS X and add more tests for special Unicode normalization cases.
Benjamin Peterson [Sun, 21 Mar 2010 17:34:54 +0000 (17:34 +0000)]
rewrite a bit
Florent Xicluna [Sun, 21 Mar 2010 12:27:20 +0000 (12:27 +0000)]
Issue #8179: Fix macpath.realpath() on a non-existing path.
Florent Xicluna [Sun, 21 Mar 2010 11:58:11 +0000 (11:58 +0000)]
Use assertRaises and add a specific warning filter.
Georg Brandl [Sun, 21 Mar 2010 11:50:58 +0000 (11:50 +0000)]
Remove leftover word.
Florent Xicluna [Sun, 21 Mar 2010 11:50:17 +0000 (11:50 +0000)]
No more deprecation warnings for distutils.sysconfig, following r78666.
But when the "dl" module is available, it gives a py3k deprecation warning.
Florent Xicluna [Sun, 21 Mar 2010 11:03:21 +0000 (11:03 +0000)]
Silence some py3k SyntaxWarning using check_py3k_warnings() with "exec" statements.
Florent Xicluna [Sun, 21 Mar 2010 10:51:40 +0000 (10:51 +0000)]
Fix py3k warnings in test_decimal, using unittest.assertItemsEqual.
Florent Xicluna [Sun, 21 Mar 2010 10:50:44 +0000 (10:50 +0000)]
Silence more py3k warnings in unittest.case.
Georg Brandl [Sun, 21 Mar 2010 10:02:47 +0000 (10:02 +0000)]
Include structmember.h correctly.
Georg Brandl [Sun, 21 Mar 2010 09:58:36 +0000 (09:58 +0000)]
Update text for newest US DST regulation. The sample file already has the calculation right.
Georg Brandl [Sun, 21 Mar 2010 09:51:16 +0000 (09:51 +0000)]
Update os.kill() emulation example for Windows to use ctypes.
Georg Brandl [Sun, 21 Mar 2010 09:37:54 +0000 (09:37 +0000)]
Mention inefficiency of lists as queues, add link to collections.deque discussion.
Georg Brandl [Sun, 21 Mar 2010 09:28:16 +0000 (09:28 +0000)]
Clarify that for shell=True, the shell PID will be the child PID.
Georg Brandl [Sun, 21 Mar 2010 09:17:41 +0000 (09:17 +0000)]
Introduce copy by slicing, used in later chapters.
Georg Brandl [Sun, 21 Mar 2010 09:09:38 +0000 (09:09 +0000)]
Document that GzipFile supports iteration.
Georg Brandl [Sun, 21 Mar 2010 09:08:00 +0000 (09:08 +0000)]
Add a paragraph about set displays.
Georg Brandl [Sun, 21 Mar 2010 09:02:01 +0000 (09:02 +0000)]
Remove the "built-in objects" file. It only contained two paragraphs of which only one contained useful information, which belongs in the ref manual however.
Georg Brandl [Sun, 21 Mar 2010 09:01:27 +0000 (09:01 +0000)]
Fix some issues found by Jacques Ducasse on the docs list.
Florent Xicluna [Sun, 21 Mar 2010 01:14:24 +0000 (01:14 +0000)]
#7092 - Silence more py3k deprecation warnings, using test_support.check_py3k_warnings() helper.
Michael Foord [Sun, 21 Mar 2010 00:55:58 +0000 (00:55 +0000)]
Change order of arguments in a unittest function.
Michael Foord [Sun, 21 Mar 2010 00:53:39 +0000 (00:53 +0000)]
A faulty load_tests in a test module no longer halts test discovery. A placeholder test, that reports the failure, is created instead.
Antoine Pitrou [Sun, 21 Mar 2010 00:21:43 +0000 (00:21 +0000)]
Fix overzealous .hgignore file
Florent Xicluna [Sat, 20 Mar 2010 22:26:42 +0000 (22:26 +0000)]
Cleanup test_tarfile, and use check_warnings.
Florent Xicluna [Sat, 20 Mar 2010 22:21:02 +0000 (22:21 +0000)]
Cleanup test_struct using check_warnings.
Benjamin Peterson [Sat, 20 Mar 2010 16:17:37 +0000 (16:17 +0000)]
wrap
Benjamin Peterson [Sat, 20 Mar 2010 16:16:44 +0000 (16:16 +0000)]
document exitfunc fixer
Michael Foord [Sat, 20 Mar 2010 03:00:34 +0000 (03:00 +0000)]
Issue 7832: renaming unittest.TestCase.assertSameElements to assertItemsEqual and changing behaviour
Florent Xicluna [Sat, 20 Mar 2010 00:17:46 +0000 (00:17 +0000)]
#8178 Cleanup the threads after test_thread.TestForkInThread.
Sean Reifscheider [Sat, 20 Mar 2010 00:05:42 +0000 (00:05 +0000)]
Fixing the file call in the rfc822.Message replacement example.
Sean Reifscheider [Fri, 19 Mar 2010 23:19:55 +0000 (23:19 +0000)]
Adding an example of reproducing the rfc822.Message() parsing.
Benjamin Peterson [Fri, 19 Mar 2010 20:39:41 +0000 (20:39 +0000)]
set svn:eol-style to native on C files
Thomas Heller [Fri, 19 Mar 2010 19:59:30 +0000 (19:59 +0000)]
Initialized merge tracking via "svnmerge" with revisions "1-79104" from
svn+ssh://pythondev@svn.python.org/python/branches/branch_libffi-3_0_10-win
Matthias Klose [Fri, 19 Mar 2010 18:59:20 +0000 (18:59 +0000)]
update libffi to commit
59a259f4d348f593b45f452309f4d020a28051c4 from the
trunk (adding msvc port).
Florent Xicluna [Fri, 19 Mar 2010 18:34:55 +0000 (18:34 +0000)]
Various tests cleanup: check_warnings/check_py3k_warnings, unittest.assert* and setUp/tearDown.