summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Merged revisions 79540-79541 via svnmerge fromEzio Melotti2010-04-022-2/+2
| | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk Add -Wd to the flags used to run the tests (-3 is not necessary here). ........ r79540 | ezio.melotti | 2010-04-01 01:18:09 +0300 (Thu, 01 Apr 2010) | 1 line Add -Wd and -3 to the flags used to run the tests. ........ r79541 | ezio.melotti | 2010-04-01 01:43:31 +0300 (Thu, 01 Apr 2010) | 1 line Add -Wd and -3 to the flags used to run the tests on Windows. ........
* - Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB isLarry Hastings2010-04-022-0/+6
| | | | a socket option available on FreeBSD 7.1 and newer.
* Blocked revisions 79592 via svnmergeLarry Hastings2010-04-020-0/+0
| | | | | | | | | ........ r79592 | larry.hastings | 2010-04-02 04:18:17 -0700 (Fri, 02 Apr 2010) | 3 lines Issue #8235: _socket: Add the constant ``SO_SETFIB``. SO_SETFIB is a socket option available on FreeBSD 7.1 and newer. ........
* Blocked revisions 79590 via svnmergeLarry Hastings2010-04-020-0/+0
| | | | | | | | | | | | | | | | ........ r79590 | larry.hastings | 2010-04-02 04:01:35 -0700 (Fri, 02 Apr 2010) | 10 lines 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. ........
* #8213: document behavior of -u on py3k better.Georg Brandl2010-04-022-8/+9
|
* Fix nits in itertools recipes.Raymond Hettinger2010-04-021-5/+5
|
* Add and update itertools recipes.Raymond Hettinger2010-04-021-2/+24
|
* Document sorting HowToRaymond Hettinger2010-04-021-0/+3
|
* Merged revisions 79555 via svnmerge fromAntoine Pitrou2010-04-013-16/+5
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79555 | antoine.pitrou | 2010-04-01 18:42:11 +0200 (jeu., 01 avril 2010) | 5 lines 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!). ........
* Fix typo in definition of 'in' keyword.Stefan Krah2010-04-011-1/+1
|
* Merged revisions 79543 via svnmerge fromBrian Curtin2010-04-011-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79543 | brian.curtin | 2010-03-31 23:02:00 -0500 (Wed, 31 Mar 2010) | 2 lines Fix a test_pydoc failure on Neal Norwitz's buildbot. ........
* NOTE: only ported the test for new-style classes.Antoine Pitrou2010-03-311-0/+12
| | | | | | | | | | | | Merged revisions 79535 via svnmerge from svn+ssh://pythondev@svn.python.org/python/trunk ........ r79535 | antoine.pitrou | 2010-03-31 23:32:15 +0200 (mer., 31 mars 2010) | 5 lines Issue #8268: Old-style classes (not just instances) now support weak references. ........
* - Issue #8233: When run as a script, py_compile.py optionally takes a singleBarry Warsaw2010-03-312-8/+29
| | | | | | 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).
* Merged revisions 79529 via svnmerge fromBrian Curtin2010-03-311-1/+1
| | | | svn+ssh://pythondev@svn.python.org/python/trunk
* Merged revisions 79522 via svnmerge fromEzio Melotti2010-03-311-14/+13
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79522 | ezio.melotti | 2010-03-31 10:26:24 +0300 (Wed, 31 Mar 2010) | 1 line Revert r79179 and merge r75584 to explain how to implement a queue using collection.deque instead of a list. ........
* Merged revisions 79518 via svnmerge fromBrian Curtin2010-03-312-1/+8
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79518 | brian.curtin | 2010-03-30 22:10:21 -0500 (Tue, 30 Mar 2010) | 2 lines Fix #8225. xml.etree was displaying an incorrect link when viewed in help. ........
* Merged revisions 79497 via svnmerge fromFlorent Xicluna2010-03-302-12/+21
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79497 | florent.xicluna | 2010-03-30 18:31:14 +0200 (mar, 30 mar 2010) | 2 lines #8263: Now regrtest.py will report a failure if it receives a KeyboardInterrupt (SIGINT). ........
* Merged revisions 79498 via svnmerge fromFlorent Xicluna2010-03-301-3/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79498 | florent.xicluna | 2010-03-30 18:42:47 +0200 (mar, 30 mar 2010) | 2 lines fix ACKS: alphabetic order and UTF-8 ........
* Merged revisions 79494,79496 via svnmerge fromFlorent Xicluna2010-03-305-12/+52
| | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79494 | florent.xicluna | 2010-03-30 10:24:06 +0200 (mar, 30 mar 2010) | 2 lines #7643: Unicode codepoints VT (0x0B) and FF (0x0C) are linebreaks according to Unicode Standard Annex #14. ........ r79496 | florent.xicluna | 2010-03-30 18:29:03 +0200 (mar, 30 mar 2010) | 2 lines Highlight the change of behavior related to r79494. Now VT and FF are linebreaks. ........
* Blocked revisions 79504 via svnmergeAntoine Pitrou2010-03-300-0/+0
| | | | | | | | ........ r79504 | antoine.pitrou | 2010-03-30 20:58:22 +0200 (mar., 30 mars 2010) | 3 lines Fix small error in r79502 ........
* Merged revisions 79502 via svnmerge fromAntoine Pitrou2010-03-305-0/+23
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79502 | antoine.pitrou | 2010-03-30 20:49:45 +0200 (mar., 30 mars 2010) | 4 lines Issue #8248: Add some tests for the bool type. Patch by Gregory Nofi. ........
* Merged revisions 79500 via svnmerge fromBenjamin Peterson2010-03-303-4/+270
| | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79500 | benjamin.peterson | 2010-03-30 12:58:13 -0500 (Tue, 30 Mar 2010) | 4 lines add inspect.getcallargs, which binds function arguments like a normal call #3135 Patch by George Sakkis ........
* build without -fno-strict-aliasing when gcc isn't buggy #3326Benjamin Peterson2010-03-303-22/+77
| | | | Patch from Daniel Stutzbach
* Update itertools recipes.Raymond Hettinger2010-03-281-8/+40
|
* Merged revisions 79297,79310,79382,79425-79427,79450 via svnmerge fromFlorent Xicluna2010-03-2812-81/+97
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79297 | florent.xicluna | 2010-03-22 18:18:18 +0100 (lun, 22 mar 2010) | 2 lines #7668: Fix test_httpservers failure when sys.executable contains non-ASCII bytes. ........ r79310 | florent.xicluna | 2010-03-22 23:52:11 +0100 (lun, 22 mar 2010) | 2 lines Issue #8205: Remove the "Modules" directory from sys.path when Python is running from the build directory (POSIX only). ........ r79382 | florent.xicluna | 2010-03-24 20:33:25 +0100 (mer, 24 mar 2010) | 2 lines Skip tests which depend on multiprocessing.sharedctypes, if _ctypes is not available. ........ r79425 | florent.xicluna | 2010-03-25 21:32:07 +0100 (jeu, 25 mar 2010) | 2 lines Syntax cleanup `== None` -> `is None` ........ r79426 | florent.xicluna | 2010-03-25 21:33:49 +0100 (jeu, 25 mar 2010) | 2 lines #8207: Fix test_pep277 on OS X ........ r79427 | florent.xicluna | 2010-03-25 21:39:10 +0100 (jeu, 25 mar 2010) | 2 lines Fix test_unittest and test_warnings when running "python -Werror -m test.regrtest" ........ r79450 | florent.xicluna | 2010-03-26 20:32:44 +0100 (ven, 26 mar 2010) | 2 lines Ensure that the failed or unexpected tests are sorted before printing. ........
* Merged revisions 79344,79346,79350 via svnmerge fromFlorent Xicluna2010-03-271-25/+16
| | | | | | | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79344 | florent.xicluna | 2010-03-23 15:36:45 +0100 (mar, 23 mar 2010) | 2 lines Silence test_subprocess. ........ r79346 | florent.xicluna | 2010-03-23 16:05:30 +0100 (mar, 23 mar 2010) | 2 lines The standard error should be empty when the signal is killed, except on SIGINT. ........ r79350 | florent.xicluna | 2010-03-23 20:19:16 +0100 (mar, 23 mar 2010) | 2 lines The SIGINT signal may happen earlier, during site.py initialization. ........
* Blocked revisions 79288,79295-79296,79334,79378 via svnmergeFlorent Xicluna2010-03-270-0/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | ........ r79288 | florent.xicluna | 2010-03-22 16:02:46 +0100 (lun, 22 mar 2010) | 2 lines Get rid of buffer() in test_ctypes: backport the 3.x tests. ........ r79295 | florent.xicluna | 2010-03-22 17:07:38 +0100 (lun, 22 mar 2010) | 3 lines Issue #7703: ctypes supports both buffer() and memoryview(). The former is deprecated. Complement of r79288. ........ r79296 | florent.xicluna | 2010-03-22 17:36:51 +0100 (lun, 22 mar 2010) | 3 lines Preserve backward compatibility of the ctypes module. "This file should be kept compatible with Python 2.3, see PEP 291." ........ r79334 | florent.xicluna | 2010-03-23 12:07:54 +0100 (mar, 23 mar 2010) | 2 lines Skip test_format_deprecation if _ctypes is not available. Add a filter to the warning check. ........ r79378 | florent.xicluna | 2010-03-24 18:32:58 +0100 (mer, 24 mar 2010) | 3 lines Skip test_ascii_formatd if _ctypes is not available (BSD, ...). Previous change was incomplete (r79334). ........
* Merged revisions 79468 via svnmerge fromMichael Foord2010-03-272-4/+3
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79468 | michael.foord | 2010-03-27 13:42:34 +0000 (Sat, 27 Mar 2010) | 1 line Rename the unittest test_suite function to not clash with a test module name (unittest.test.test_suite is now unambiguous). ........
* Blocked revisions 79443 via svnmergeMichael Foord2010-03-270-0/+0
| | | | | | | | ........ r79443 | benjamin.peterson | 2010-03-26 13:53:32 +0000 (Fri, 26 Mar 2010) | 1 line reorder imports ........
* Merged revisions 79442 via svnmerge fromMichael Foord2010-03-271-1/+1
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79442 | michael.foord | 2010-03-26 13:07:38 +0000 (Fri, 26 Mar 2010) | 1 line Makefile.pre.in for the unittest/test directory ........
* Merged revisions 79437 via svnmerge fromMichael Foord2010-03-276-16/+321
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79437 | michael.foord | 2010-03-26 03:18:31 +0000 (Fri, 26 Mar 2010) | 1 line Addition of -c command line option to unittest, to handle ctrl-c during a test run more elegantly ........
* Blocked revisions 79436 via svnmergeMichael Foord2010-03-270-0/+0
| | | | | | | | ........ r79436 | michael.foord | 2010-03-26 02:53:56 +0000 (Fri, 26 Mar 2010) | 1 line Move a support TestCase out of the main namespace in unittest.test.test_suite ........
* Blocked revisions 79433 via svnmergeMichael Foord2010-03-270-0/+0
| | | | | | | | ........ r79433 | michael.foord | 2010-03-26 00:03:38 +0000 (Fri, 26 Mar 2010) | 1 line Remove incorrect docstring in unittest.test ........
* Breaking test_unittest.py into a package. Manual merge of revision 79432.Michael Foord2010-03-2714-4394/+4432
|
* Merged revisions 79457 via svnmerge fromMark Dickinson2010-03-271-0/+5
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79457 | mark.dickinson | 2010-03-27 11:14:37 +0000 (Sat, 27 Mar 2010) | 1 line Add Misc/NEWS entry for r79455. ........
* Merged revisions 79455 via svnmerge fromMark Dickinson2010-03-272-4/+15
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79455 | mark.dickinson | 2010-03-27 11:09:29 +0000 (Sat, 27 Mar 2010) | 2 lines Make Fraction to complex comparisons with <=, <, >= or > raise TypeError. ........
* Blocked revisions 79432 via svnmergeMichael Foord2010-03-270-0/+0
| | | | | | | | ........ r79432 | michael.foord | 2010-03-25 23:56:33 +0000 (Thu, 25 Mar 2010) | 1 line Turn unittest tests into a package ........
* Add NEWS entry for r79449.Antoine Pitrou2010-03-261-1/+3
|
* Merged revisions 79448 via svnmerge fromAntoine Pitrou2010-03-261-2/+1
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79448 | antoine.pitrou | 2010-03-26 20:27:16 +0100 (ven., 26 mars 2010) | 6 lines 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) ........
* Merged revisions 79430 via svnmerge fromBrian Curtin2010-03-261-171/+174
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79430 | brian.curtin | 2010-03-25 18:48:54 -0500 (Thu, 25 Mar 2010) | 2 lines Fix #6538. Markup RegexObject and MatchObject as classes. Patch by Ryan Arana. ........
* Merged revisions 79428 via svnmerge fromBenjamin Peterson2010-03-251-2/+2
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79428 | benjamin.peterson | 2010-03-25 18:27:16 -0500 (Thu, 25 Mar 2010) | 1 line make naming convention consistent ........
* Fix my test introduced in test_sys by r79394:Victor Stinner2010-03-251-4/+9
| | | | | | | | | | Restore the orginal filesystem encoding before testing assertRaises(LookupError, sys.setfilesystemencoding, "xxx"). Unittest formats the exception, but the formatting failed because the file system was invalid (set to iso-8859-1 by the previous test). Anyway, ensure to restore the original filesystem encoding when exiting test_setfilesystemencoding() to avoid error propagation to the other tests.
* Blocked revisions 79413 via svnmergeBenjamin Peterson2010-03-250-0/+0
| | | | | | | | ........ r79413 | benjamin.peterson | 2010-03-24 22:44:24 -0500 (Wed, 24 Mar 2010) | 1 line make an attempt to add capsule to the Windows build ........
* Blocked revisions 79410 via svnmergeLarry Hastings2010-03-250-0/+0
| | | | | | | | ........ r79410 | larry.hastings | 2010-03-24 18:23:27 -0700 (Wed, 24 Mar 2010) | 2 lines Remove extraneous experimental code checked in by accident. ........
* Merged revisions 79403 via svnmerge fromBenjamin Peterson2010-03-250-0/+0
| | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79403 | benjamin.peterson | 2010-03-24 20:04:58 -0500 (Wed, 24 Mar 2010) | 1 line set eol on email example ........
* Blocked revisions 79402,79406 via svnmergeBenjamin Peterson2010-03-250-0/+0
| | | | | | | | | | | | ........ r79402 | benjamin.peterson | 2010-03-24 20:03:51 -0500 (Wed, 24 Mar 2010) | 1 line set bsddb eol style ........ r79406 | benjamin.peterson | 2010-03-24 20:05:57 -0500 (Wed, 24 Mar 2010) | 1 line fix eol properties on capsule files ........
* Merged revisions 79392 via svnmerge fromVictor Stinner2010-03-253-0/+7
| | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79392 | victor.stinner | 2010-03-25 01:21:53 +0100 (jeu., 25 mars 2010) | 3 lines Issue #8211: Save/restore CFLAGS around AC_PROG_CC in configure.in, compiler optimizations are disabled when --with-pydebug is used. ........
* Blocked revisions 79397 via svnmergeLarry Hastings2010-03-250-0/+0
| | | | | | | | | ........ r79397 | larry.hastings | 2010-03-24 17:54:54 -0700 (Wed, 24 Mar 2010) | 4 lines Backported PyCapsule from 3.1, and converted most uses of CObject to PyCapsule. ........
* Merged revisions 79395 via svnmerge fromVictor Stinner2010-03-251-3/+3
| | | | | | | | | | | | | svn+ssh://pythondev@svn.python.org/python/trunk ........ r79395 | victor.stinner | 2010-03-25 01:51:58 +0100 (jeu., 25 mars 2010) | 5 lines Fix _curses.tiget*() functions: deny None to avoid a crash. Fix the following calls: _curses.tigetflag(None), _curses.tigetnum(None), _curses.tigetstr(None). ........
* Issue #8226: sys.setfilesystemencoding() raises a LookupError if the encodingVictor Stinner2010-03-253-1/+9
| | | | is unknown.