]>
granicus.if.org Git - python/log
Mark Dickinson [Fri, 2 Apr 2010 20:22:21 +0000 (20:22 +0000)]
Add python.exe-gdb.py to svn:ignore, for the benefit of OS X developers.
Raymond Hettinger [Fri, 2 Apr 2010 18:39:24 +0000 (18:39 +0000)]
Issue 8257: Decimal constructor to accept float.
Andrew M. Kuchling [Fri, 2 Apr 2010 17:54:26 +0000 (17:54 +0000)]
#6647: add note to two examples
Andrew M. Kuchling [Fri, 2 Apr 2010 17:48:23 +0000 (17:48 +0000)]
#6647: document that catch_warnings is not thread-safe
Florent Xicluna [Fri, 2 Apr 2010 17:26:42 +0000 (17:26 +0000)]
Backport some robotparser test and skip the test if the external resource is not available.
Andrew M. Kuchling [Fri, 2 Apr 2010 16:59:16 +0000 (16:59 +0000)]
#4440: modernize a use of filter(), making it compatible with 3.x
Eric Smith [Fri, 2 Apr 2010 12:30:56 +0000 (12:30 +0000)]
Issue 7994: Make object.__format__ with a non-empty format string a PendingDecprecationWarning. Still need to remove uses of this from various tests.
Larry Hastings [Fri, 2 Apr 2010 11:18:17 +0000 (11:18 +0000)]
Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is
a socket option available on FreeBSD 7.1 and newer.
Larry Hastings [Fri, 2 Apr 2010 11:01:35 +0000 (11:01 +0000)]
Capsule-related changes:
* PyCObject_AsVoidPtr() can now open capsules. This addresses
most of the remaining backwards-compatibility concerns about
the conversion of Python 2.7 from CObjects to capsules.
* CObjects were marked Pending Deprecation.
* Documentation about this pending deprecation was added to
cobject.h.
* The capsule source files were added to the legacy PC build
processes.
Mark Dickinson [Fri, 2 Apr 2010 10:35:12 +0000 (10:35 +0000)]
Issue #7279: Make Decimal('nan') hashable. Decimal('snan') remains unhashable.
Also rewrite the Decimal __hash__ method so that it doesn't rely on
float('inf') being valid: float('inf') could raise an exception on
platforms not using IEEE 754 arithmetic.
Mark Dickinson [Fri, 2 Apr 2010 10:17:07 +0000 (10:17 +0000)]
Issue #7279: Make comparisons involving a Decimal sNaN signal InvalidOperation.
Georg Brandl [Fri, 2 Apr 2010 09:11:49 +0000 (09:11 +0000)]
#8012: clarification in generator glossary entry.
Georg Brandl [Fri, 2 Apr 2010 09:07:42 +0000 (09:07 +0000)]
Document PyImport_ExecCodeModuleEx().
Georg Brandl [Fri, 2 Apr 2010 09:03:18 +0000 (09:03 +0000)]
Remove col-spanning cells in logging docs.
Mark Dickinson [Fri, 2 Apr 2010 08:53:22 +0000 (08:53 +0000)]
Issue #2531: Make float-to-decimal comparisons return correct results.
Float to decimal comparison operations now return a result based on
the numeric values of the operands. Decimal.__hash__ has also been
fixed so that Decimal and float values that compare equal have equal
hash value.
Georg Brandl [Fri, 2 Apr 2010 08:51:31 +0000 (08:51 +0000)]
Fix typo in unicode character name.
Georg Brandl [Fri, 2 Apr 2010 08:39:09 +0000 (08:39 +0000)]
#2768: add a note on how to get a file descriptor.
Georg Brandl [Fri, 2 Apr 2010 08:34:41 +0000 (08:34 +0000)]
Add 2.6.5.
Florent Xicluna [Fri, 2 Apr 2010 08:30:21 +0000 (08:30 +0000)]
#7092: silence some py3k warnings
Florent Xicluna [Fri, 2 Apr 2010 08:15:26 +0000 (08:15 +0000)]
#7092: Drop the cmp argument.
Florent Xicluna [Fri, 2 Apr 2010 07:24:52 +0000 (07:24 +0000)]
#7092: Fix additional "-3" warnings in the idlelib package, and convert to absolute imports.
Raymond Hettinger [Fri, 2 Apr 2010 06:23:12 +0000 (06:23 +0000)]
Cleanup itertools recipes
Raymond Hettinger [Fri, 2 Apr 2010 02:44:31 +0000 (02:44 +0000)]
Add and update itertools recipes.
Florent Xicluna [Thu, 1 Apr 2010 18:17:09 +0000 (18:17 +0000)]
#7092: Fix some -3 warnings, and fix Lib/platform.py when the path contains a double-quote.
Antoine Pitrou [Thu, 1 Apr 2010 17:56:57 +0000 (17:56 +0000)]
Issue #8281: rename test_gdb_sample.py to gdb_sample.py, otherwise it gets picked
as a regular test by regrtest.py, and fails.
Antoine Pitrou [Thu, 1 Apr 2010 16:42:11 +0000 (16:42 +0000)]
Issue #8276: PyEval_CallObject() is now only available in macro form. The
function declaration, which was kept for backwards compatibility reasons,
is now removed (the macro was introduced in 1997!).
Raymond Hettinger [Thu, 1 Apr 2010 07:54:16 +0000 (07:54 +0000)]
Document link to Sorting HowTo
Martin v. Löwis [Thu, 1 Apr 2010 07:40:51 +0000 (07:40 +0000)]
Issue #8032: For gdb7, a python-gdb.py file is added to the build,
allowing to use advanced gdb features when debugging Python.
Brian Curtin [Thu, 1 Apr 2010 04:02:00 +0000 (04:02 +0000)]
Fix a test_pydoc failure on Neal Norwitz's buildbot.
R. David Murray [Thu, 1 Apr 2010 01:28:39 +0000 (01:28 +0000)]
A couple small grammar fixes in test.rst, and rewrite the
check_warnings docs to be clearer.
Ezio Melotti [Wed, 31 Mar 2010 22:43:31 +0000 (22:43 +0000)]
Add -Wd and -3 to the flags used to run the tests on Windows.
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.