[Python-checkins] r81331 - python/branches/release26-maint
georg.brandl
python-checkins at python.org
Wed May 19 16:00:57 CEST 2010
Author: georg.brandl
Date: Wed May 19 16:00:57 2010
New Revision: 81331
Log:
Blocked revisions 76001,76003,76007,76016,76025,76028-76029,76034,76047,76051-76054,76057-76058,76062,76064,76066-76067,76108,76126,76129,76132,76139-76141,76154,76162,76176,76194,76196,76199,76230-76231,76243,76249,76260,76286,76300,76306,76308-76309,76321-76322,76333,76337,76358,76362,76367,76373,76379-76380,76382,76392,76399,76411,76428-76429,76431-76432,76434,76438,76443,76465,76472,76483,76487,76489,76495,76498,76502,76507-76509,76517,76522,76529,76531,76534-76535,76546,76548,76550-76551,76556,76558,76561,76568,76571,76583,76588,76591,76600,76602-76603,76605,76623,76625,76628,76632,76636,76640,76642,76644,76648,76655,76668,76672-76674,76676,76679,76689-76692,76697,76701-76702,76704,76708,76712,76716,76718,76720,76733,76736-76737,76740,76746,76750,76754-76755,76763,76780,76791,76805,76807,76813,76822,76824,76826,76831,76849,76851,76856,76861,76865,76869,76878,76898,76912,76916,76930,76934-76935,76948,76956,76963,76967-76968,76973,76978,76982,76984,76989,76996,76998 via svnmerge
................
r76001 | antoine.pitrou | 2009年11月01日 00:19:52 +0100 (So, 01 Nov 2009) | 3 lines
Use richer assertions in test_mailbox (for better failure messages).
................
r76003 | antoine.pitrou | 2009年11月01日 01:30:13 +0100 (So, 01 Nov 2009) | 6 lines
Hopefully fix the buildbot problems on test_mailbox, by computing
the maildir toc cache refresh date before actually refreshing the cache.
(see #6896)
................
r76007 | antoine.pitrou | 2009年11月01日 12:58:22 +0100 (So, 01 Nov 2009) | 3 lines
Buffered I/O: optimize lock taking in the common non-contended case.
................
r76016 | gregory.p.smith | 2009年11月01日 19:33:55 +0100 (So, 01 Nov 2009) | 2 lines
news entry for r76000
................
r76025 | raymond.hettinger | 2009年11月01日 21:45:16 +0100 (So, 01 Nov 2009) | 1 line
Fix exception handling in itertools.izip_longest().
................
r76028 | gregory.p.smith | 2009年11月01日 22:02:52 +0100 (So, 01 Nov 2009) | 2 lines
issue1115: convert some AC_TRY_RUNs into AC_TRY_COMPILEs.
................
r76029 | gregory.p.smith | 2009年11月01日 22:03:38 +0100 (So, 01 Nov 2009) | 2 lines
configure generated from r76028
................
r76034 | antoine.pitrou | 2009年11月01日 22:29:33 +0100 (So, 01 Nov 2009) | 3 lines
This should finally fix #6896. Let's watch the buildbots.
................
r76047 | antoine.pitrou | 2009年11月02日 00:54:20 +0100 (Mo, 02 Nov 2009) | 3 lines
Fix and improve some assertions in test_site
................
r76051 | gregory.p.smith | 2009年11月02日 02:38:35 +0100 (Mo, 02 Nov 2009) | 2 lines
build using r76050
................
r76052 | gregory.p.smith | 2009年11月02日 03:02:38 +0100 (Mo, 02 Nov 2009) | 5 lines
see issue1006238, this merges in the following patch to ease cross
compiling the printf %zd check.
http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-lang/python/files/python-2.5-cross-printf.patch?rev=1.1&view=markup
................
r76053 | gregory.p.smith | 2009年11月02日 03:03:16 +0100 (Mo, 02 Nov 2009) | 2 lines
regenerated from r76052
................
r76054 | antoine.pitrou | 2009年11月02日 12:34:27 +0100 (Mo, 02 Nov 2009) | 3 lines
Since r76034 was successful, add a NEWS entry for it.
................
r76057 | benjamin.peterson | 2009年11月02日 16:06:45 +0100 (Mo, 02 Nov 2009) | 1 line
prevent a rather unlikely segfault
................
r76058 | benjamin.peterson | 2009年11月02日 17:14:19 +0100 (Mo, 02 Nov 2009) | 1 line
grant list.index() a more informative error message #7252
................
r76062 | benjamin.peterson | 2009年11月02日 19:12:12 +0100 (Mo, 02 Nov 2009) | 70 lines
Merged revisions 74359,75081,75088,75213,75278,75303,75427-75428,75734-75736,75865,76059-76061 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r74359 | benjamin.peterson | 2009年08月12日 17:23:13 -0500 (2009年8月12日) | 1 line
don't pass the deprecated print_function option
........
r75081 | benjamin.peterson | 2009年09月26日 22:02:57 -0500 (2009年9月26日) | 1 line
let 2to3 work with extended iterable unpacking
........
r75088 | benjamin.peterson | 2009年09月27日 11:25:21 -0500 (2009年9月27日) | 1 line
look on the type only for __call__
........
r75213 | benjamin.peterson | 2009年10月03日 10:09:46 -0500 (2009年10月03日) | 5 lines
revert 75212; it's not correct
People can use isinstance(x, collections.Callable) if they expect objects with
__call__ in their instance dictionaries.
........
r75278 | benjamin.peterson | 2009年10月07日 16:25:56 -0500 (2009年10月07日) | 4 lines
fix whitespace problems with fix_idioms #3563
Patch by Joe Amenta.
........
r75303 | benjamin.peterson | 2009年10月09日 16:59:11 -0500 (2009年10月09日) | 1 line
port latin-1 and utf-8 cookie improvements
........
r75427 | benjamin.peterson | 2009年10月14日 20:35:57 -0500 (2009年10月14日) | 1 line
force floor division
........
r75428 | benjamin.peterson | 2009年10月14日 20:39:21 -0500 (2009年10月14日) | 1 line
silence -3 warnings about __hash__
........
r75734 | benjamin.peterson | 2009年10月26日 16:25:53 -0500 (2009年10月26日) | 2 lines
warn on map(None, ...) with more than 2 arguments #7203
........
r75735 | benjamin.peterson | 2009年10月26日 16:28:25 -0500 (2009年10月26日) | 1 line
remove unused result
........
r75736 | benjamin.peterson | 2009年10月26日 16:29:02 -0500 (2009年10月26日) | 1 line
using get() here is a bit pointless
........
r75865 | benjamin.peterson | 2009年10月27日 15:49:00 -0500 (2009年10月27日) | 1 line
explain reason for warning
........
r76059 | benjamin.peterson | 2009年11月02日 11:43:47 -0600 (2009年11月02日) | 1 line
tuples are no longer used for children
........
r76060 | benjamin.peterson | 2009年11月02日 11:55:40 -0600 (2009年11月02日) | 1 line
revert r76059; apparently some fixers rely on Leaf no () for children
........
r76061 | benjamin.peterson | 2009年11月02日 12:06:17 -0600 (2009年11月02日) | 1 line
make fix_tuple_params keep the tree valid #7253
........
................
r76064 | benjamin.peterson | 2009年11月02日 19:16:36 +0100 (Mo, 02 Nov 2009) | 1 line
add space
................
r76066 | benjamin.peterson | 2009年11月02日 19:22:53 +0100 (Mo, 02 Nov 2009) | 9 lines
Merged revisions 76065 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76065 | benjamin.peterson | 2009年11月02日 12:21:25 -0600 (2009年11月02日) | 1 line
don't print stuff in tests
........
................
r76067 | benjamin.peterson | 2009年11月02日 19:24:57 +0100 (Mo, 02 Nov 2009) | 1 line
enable test_parser in lib2to3
................
r76108 | antoine.pitrou | 2009年11月04日 20:25:14 +0100 (Mi, 04 Nov 2009) | 6 lines
Issue #7211: Allow 64-bit values for the `ident` and `data` fields of kevent
objects on 64-bit systems. Patch by Michael Broghton.
I will revert this checkin if it causes problems on our BSD buildbots.
................
r76126 | benjamin.peterson | 2009年11月05日 22:29:56 +0100 (Do, 05 Nov 2009) | 9 lines
Merged revisions 76125 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76125 | benjamin.peterson | 2009年11月05日 15:26:55 -0600 (2009年11月05日) | 1 line
handle newline issues better for comparing files
........
................
r76129 | benjamin.peterson | 2009年11月06日 00:20:06 +0100 (Fr, 06 Nov 2009) | 13 lines
Merged revisions 76127-76128 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76127 | benjamin.peterson | 2009年11月05日 17:04:58 -0600 (2009年11月05日) | 1 line
set svn:eol-style
........
r76128 | benjamin.peterson | 2009年11月05日 17:07:46 -0600 (2009年11月05日) | 1 line
skip this test on windows to avoid newline horrors
........
................
r76132 | benjamin.peterson | 2009年11月06日 00:54:42 +0100 (Fr, 06 Nov 2009) | 9 lines
Merged revisions 76131 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76131 | benjamin.peterson | 2009年11月05日 17:53:21 -0600 (2009年11月05日) | 1 line
import sys
........
................
r76139 | benjamin.peterson | 2009年11月07日 02:04:38 +0100 (Sa, 07 Nov 2009) | 1 line
spelling
................
r76140 | nick.coghlan | 2009年11月07日 09:13:55 +0100 (Sa, 07 Nov 2009) | 1 line
Add test for runpy.run_module package execution and use something other than logging as the example of a non-executable package
................
r76141 | nick.coghlan | 2009年11月07日 09:15:01 +0100 (Sa, 07 Nov 2009) | 1 line
Some minor cleanups to private runpy code and docstrings
................
r76154 | brett.cannon | 2009年11月08日 22:35:28 +0100 (So, 08 Nov 2009) | 4 lines
Properly detect whether a C file is using tabs or spaces for Vim.
Closes issue #5611. Thanks Kirk McDonald and Johannes Hoff.
................
r76162 | benjamin.peterson | 2009年11月09日 05:10:53 +0100 (Mo, 09 Nov 2009) | 1 line
discuss how to use -p
................
r76176 | mark.dickinson | 2009年11月09日 18:03:34 +0100 (Mo, 09 Nov 2009) | 7 lines
Issue #7251: Break out round tests for large values into a separate
test function, and skip that test on Linux/alpha systems with a broken
system round function.
This should turn the Debian/alpha buildbot green.
................
r76194 | raymond.hettinger | 2009年11月10日 20:35:55 +0100 (Di, 10 Nov 2009) | 3 lines
Show example of how to make a sorted dictionary
................
r76196 | antoine.pitrou | 2009年11月10日 21:49:30 +0100 (Di, 10 Nov 2009) | 8 lines
Issue #7197: Allow unittest.TextTestRunner objects to be pickled and
unpickled. This fixes crashes under Windows when trying to run
test_multiprocessing in verbose mode.
Additionally, Test_TextTestRunner hadn't been enabled in test_unittest.
................
r76199 | antoine.pitrou | 2009年11月10日 22:39:25 +0100 (Di, 10 Nov 2009) | 3 lines
Backport micro-fix from the py3k svnmerge
................
r76230 | benjamin.peterson | 2009年11月13日 00:39:44 +0100 (Fr, 13 Nov 2009) | 2 lines
fix several compile() issues by translating newlines in the tokenizer
................
r76231 | benjamin.peterson | 2009年11月13日 00:42:23 +0100 (Fr, 13 Nov 2009) | 1 line
this main is much more useful
................
r76243 | benjamin.peterson | 2009年11月13日 23:17:17 +0100 (Fr, 13 Nov 2009) | 1 line
never mind about eval mode in this case
................
r76249 | benjamin.peterson | 2009年11月13日 23:56:00 +0100 (Fr, 13 Nov 2009) | 1 line
revert r76243; I was right, actually :)
................
r76260 | r.david.murray | 2009年11月14日 16:18:22 +0100 (Sa, 14 Nov 2009) | 5 lines
Issue #7312 (new feature): Add a -F flag to run the selected tests in
a loop until a test fails. Can be combined with -j. Patch by Antoine
Pitrou.
................
r76286 | nick.coghlan | 2009年11月15日 08:30:34 +0100 (So, 15 Nov 2009) | 1 line
Issue #6816: expose the zipfile and directory execution mechanism to Python code via the runpy module. Also consolidated some script execution functionality in the test harness into a helper module and removed some implementation details from the runpy module documentation.
................
r76300 | mark.dickinson | 2009年11月15日 14:12:43 +0100 (So, 15 Nov 2009) | 3 lines
Issue #5792: Extend short float repr support to x86 platforms using suncc or icc.
Many thanks Stefan Krah for help and OpenSolaris testing.
................
r76306 | antoine.pitrou | 2009年11月15日 15:10:48 +0100 (So, 15 Nov 2009) | 4 lines
Issue #4969: The mimetypes module now reads the MIME database from
the registry under Windows. Patch by Gabriel Genellina.
................
r76308 | mark.dickinson | 2009年11月15日 17:18:58 +0100 (So, 15 Nov 2009) | 3 lines
Issue #7228: Add '%lld' and '%llu' support to PyFormat_FromString,
PyFormat_FromStringV and PyErr_Format.
................
r76309 | antoine.pitrou | 2009年11月15日 18:22:09 +0100 (So, 15 Nov 2009) | 4 lines
Issue #2054: ftplib now provides an FTP_TLS class to do secure FTP using
TLS or SSL. Patch by Giampaolo Rodola'.
................
r76321 | nick.coghlan | 2009年11月16日 04:55:51 +0100 (Mo, 16 Nov 2009) | 1 line
Account for another cache when hunting ref leaks
................
r76322 | nick.coghlan | 2009年11月16日 04:57:32 +0100 (Mo, 16 Nov 2009) | 1 line
Allow for backslashes in file paths passed to the regex engine
................
r76333 | mark.dickinson | 2009年11月16日 20:17:16 +0100 (Mo, 16 Nov 2009) | 1 line
Silence another MSVC warning about unary minus.
................
r76337 | philip.jenvey | 2009年11月17日 03:42:26 +0100 (Di, 17 Nov 2009) | 2 lines
#1757126: fix typo with the cyrillic_asian alias
................
r76358 | tarek.ziade | 2009年11月18日 09:46:56 +0100 (Mi, 18 Nov 2009) | 1 line
#7293: distutils.test_msvc9compiler now uses a key that exists on any fresh windows install
................
r76362 | nick.coghlan | 2009年11月18日 12:27:53 +0100 (Mi, 18 Nov 2009) | 1 line
Correctly escape arbitrary error message text in the runpy unit tests
................
r76367 | georg.brandl | 2009年11月18日 19:52:35 +0100 (Mi, 18 Nov 2009) | 1 line
Make separate section for deprecations in 2.7 whatsnew.
................
r76373 | mark.dickinson | 2009年11月18日 20:33:35 +0100 (Mi, 18 Nov 2009) | 5 lines
Issue #7117, continued: Change round implementation to use the correctly-rounded
string <-> float conversions; this makes sure that the result of the round
operation is correctly rounded, and hence displays nicely using the new float
repr.
................
r76379 | mark.dickinson | 2009年11月18日 21:14:57 +0100 (Mi, 18 Nov 2009) | 1 line
Enable short float repr!
................
r76380 | antoine.pitrou | 2009年11月18日 21:20:46 +0100 (Mi, 18 Nov 2009) | 3 lines
Mention Giampolo R's new FTP TLS support in the what's new file
................
r76382 | raymond.hettinger | 2009年11月18日 21:28:22 +0100 (Mi, 18 Nov 2009) | 1 line
Issue 7263: Fix set.intersection() docstring.
................
r76392 | raymond.hettinger | 2009年11月19日 02:22:04 +0100 (Do, 19 Nov 2009) | 1 line
Fix docstrings for itertools combinatoric functions.
................
r76399 | tarek.ziade | 2009年11月19日 06:33:16 +0100 (Do, 19 Nov 2009) | 1 line
dragfullwindows can have value 2
................
r76411 | mark.dickinson | 2009年11月19日 19:41:49 +0100 (Do, 19 Nov 2009) | 1 line
Misc/NEWS entries for issue 7117.
................
r76428 | benjamin.peterson | 2009年11月20日 03:15:50 +0100 (Fr, 20 Nov 2009) | 1 line
turn goto into do while loop
................
r76429 | benjamin.peterson | 2009年11月20日 03:56:43 +0100 (Fr, 20 Nov 2009) | 2 lines
avoid doing an uneeded import in a function
................
r76431 | mark.dickinson | 2009年11月20日 20:27:43 +0100 (Fr, 20 Nov 2009) | 1 line
Regenerate configure with GNU autoconf 2.61.
................
r76432 | mark.dickinson | 2009年11月20日 20:30:22 +0100 (Fr, 20 Nov 2009) | 5 lines
Issue #7272: Add configure test to detect whether sem_open works
properly, and use this to skip test_multiprocessing on platforms
where sem_open raises a signal. This should fix some FreeBSD buildbot
failures for test_multiprocessing.
................
r76434 | jesse.noller | 2009年11月21日 15:06:24 +0100 (Sa, 21 Nov 2009) | 1 line
revert unintended change to multiprocessing/queues.py
................
r76438 | jesse.noller | 2009年11月21日 15:38:23 +0100 (Sa, 21 Nov 2009) | 1 line
issue6615: Additional test for logging support in multiprocessing
................
r76443 | lars.gustaebel | 2009年11月22日 19:30:53 +0100 (So, 22 Nov 2009) | 24 lines
Issue #6123: Fix opening empty archives and files.
(Note that an empty archive is not the same as an empty file. An
empty archive contains no members and is correctly terminated with an
EOF block full of zeros. An empty file contains no data at all.)
The problem was that although tarfile was able to create empty
archives, it failed to open them raising a ReadError. On the other
hand, tarfile opened empty files without error in most read modes and
presented them as empty archives. (However, some modes still raised
errors: "r|gz" raised ReadError, but "r:gz" worked, "r:bz2" even
raised EOFError.)
In order to get a more fine-grained control over the various internal
error conditions I now split up the HeaderError exception into a
number of meaningful sub-exceptions. This makes it easier in the
TarFile.next() method to react to the different conditions in the
correct way.
The visible change in its behaviour now is that tarfile will open
empty archives correctly and raise ReadError consistently for empty
files.
................
r76465 | mark.dickinson | 2009年11月23日 19:46:41 +0100 (Mo, 23 Nov 2009) | 4 lines
Remove restriction on precision when formatting floats. This is the
first step towards removing the %f -> %g switch (see issues 7117,
5859).
................
r76472 | mark.dickinson | 2009年11月23日 21:54:09 +0100 (Mo, 23 Nov 2009) | 4 lines
Issue #7117, continued: Remove substitution of %g-style formatting for
%f-style formatting, which used to occur at high precision. Float formatting
should now be consistent between 2.7 and 3.1.
................
r76483 | mark.dickinson | 2009年11月24日 11:54:58 +0100 (Di, 24 Nov 2009) | 2 lines
round(0, "ermintrude") succeeded instead of producing a TypeError. Fix this.
................
r76487 | jesse.noller | 2009年11月24日 15:17:29 +0100 (Di, 24 Nov 2009) | 1 line
comment out test added in r76438, which caused refleaks
................
r76489 | mark.dickinson | 2009年11月24日 15:27:02 +0100 (Di, 24 Nov 2009) | 1 line
Fix some documentation examples involving the repr of a float.
................
r76495 | mark.dickinson | 2009年11月24日 16:12:20 +0100 (Di, 24 Nov 2009) | 2 lines
Issue #7117: Update float formatting testcases to match those in py3k.
................
r76498 | vinay.sajip | 2009年11月24日 16:53:25 +0100 (Di, 24 Nov 2009) | 1 line
Made logging classes new-style and added name property to handlers.
................
r76502 | mark.dickinson | 2009年11月24日 21:51:48 +0100 (Di, 24 Nov 2009) | 3 lines
Issue #7228: Fix format mismatch when printing something of type off_t.
(Should silence some compiler warnings.)
................
r76507 | vinay.sajip | 2009年11月25日 10:03:30 +0100 (Mi, 25 Nov 2009) | 1 line
Issue #6615: logging: Used weak references in internal handler list. Thanks to flox (Florent Xicluna) for the patch.
................
r76508 | vinay.sajip | 2009年11月25日 10:22:47 +0100 (Mi, 25 Nov 2009) | 1 line
logging: made _handlers a WeakValueDictionary.
................
r76509 | vinay.sajip | 2009年11月25日 15:12:03 +0100 (Mi, 25 Nov 2009) | 1 line
logging: Issue 6615: Changed handler prepend to append.
................
r76517 | benjamin.peterson | 2009年11月25日 19:16:46 +0100 (Mi, 25 Nov 2009) | 29 lines
Merged revisions 76160-76161,76250,76252,76447,76506 via svnmerge from
svn+ssh://pythondev@svn.python.org/sandbox/trunk/2to3/lib2to3
........
r76160 | benjamin.peterson | 2009年11月08日 18:53:48 -0600 (2009年11月08日) | 1 line
undeprecate the -p option; it's useful for converting python3 sources
........
r76161 | benjamin.peterson | 2009年11月08日 19:05:37 -0600 (2009年11月08日) | 1 line
simplify condition
........
r76250 | benjamin.peterson | 2009年11月13日 16:56:48 -0600 (2009年11月13日) | 1 line
fix handling of a utf-8 bom #7313
........
r76252 | benjamin.peterson | 2009年11月13日 16:58:36 -0600 (2009年11月13日) | 1 line
remove pdb turd
........
r76447 | benjamin.peterson | 2009年11月22日 18:17:40 -0600 (2009年11月22日) | 1 line
#7375 fix nested transformations in fix_urllib
........
r76506 | benjamin.peterson | 2009年11月24日 18:34:31 -0600 (2009年11月24日) | 1 line
use generator expressions in any()
........
................
r76522 | barry.warsaw | 2009年11月25日 19:38:32 +0100 (Mi, 25 Nov 2009) | 2 lines
Add mktime_tz to __all__. It's documented as being available in email.utils.
................
r76529 | antoine.pitrou | 2009年11月25日 23:59:36 +0100 (Mi, 25 Nov 2009) | 4 lines
Issue #5788: `datetime.timedelta` objects get a new `total_seconds()` method returning
the total number of seconds in the duration. Patch by Brian Quinlan.
................
r76531 | antoine.pitrou | 2009年11月26日 00:03:22 +0100 (Do, 26 Nov 2009) | 3 lines
Forgot to add a `versionadded` tag
................
r76534 | martin.v.loewis | 2009年11月26日 09:42:05 +0100 (Do, 26 Nov 2009) | 2 lines
Fix typo.
................
r76535 | antoine.pitrou | 2009年11月26日 13:36:30 +0100 (Do, 26 Nov 2009) | 3 lines
When open_urlresource() fails, HTTPException is another possible error
................
r76546 | antoine.pitrou | 2009年11月27日 14:18:34 +0100 (Fr, 27 Nov 2009) | 7 lines
Issue #6845: Add restart support for binary upload in ftplib. The
`storbinary()` method of FTP and FTP_TLS objects gains an optional `rest`
argument. Patch by Pablo Mouzo.
(note: the patch also adds a test for the rest argument in retrbinary())
................
r76548 | antoine.pitrou | 2009年11月27日 14:24:29 +0100 (Fr, 27 Nov 2009) | 3 lines
Add ACKS entry for Pablo Mouzo
................
r76550 | martin.v.loewis | 2009年11月27日 14:56:01 +0100 (Fr, 27 Nov 2009) | 2 lines
Issue #6508: Add posix.{getresuid,getresgid,setresuid,setresgid}.
................
r76551 | vinay.sajip | 2009年11月27日 15:03:36 +0100 (Fr, 27 Nov 2009) | 1 line
Issue #7403: Fixed possible race condition in lock creation.
................
r76556 | gregory.p.smith | 2009年11月27日 18:51:12 +0100 (Fr, 27 Nov 2009) | 2 lines
fix typo
................
r76558 | mark.dickinson | 2009年11月28日 11:44:20 +0100 (Sa, 28 Nov 2009) | 4 lines
Issue #7272, continued: don't re-use existing HAVE_BROKEN_POSIX_SEMAPHORES
to indicate that semaphores aren't available; define a new variable
POSIX_SEMAPHORES_NOT_ENABLED instead.
................
r76561 | mark.dickinson | 2009年11月28日 13:30:36 +0100 (Sa, 28 Nov 2009) | 5 lines
Include ieeefp.h (when available) in pyport.h instead of individually in
Objects/floatobject.c and Objects/complexobject.c. This should silence
compiler warnings about implicit declaration of the 'finite' function
on Solaris.
................
r76568 | mark.dickinson | 2009年11月28日 14:13:13 +0100 (Sa, 28 Nov 2009) | 1 line
Multiprocessing configure checks don't need LIBM
................
r76571 | antoine.pitrou | 2009年11月28日 16:55:58 +0100 (Sa, 28 Nov 2009) | 3 lines
Issue #1515: Enable use of deepcopy() with instance methods. Patch by Robert Collins.
................
r76583 | eric.smith | 2009年11月29日 18:40:57 +0100 (So, 29 Nov 2009) | 1 line
Issue #3382: Make '%F' and float.__format__('F') convert results to upper case. Much of the patch came from Mark Dickinson.
................
r76588 | tarek.ziade | 2009年11月29日 23:20:30 +0100 (So, 29 Nov 2009) | 1 line
Fixed #7408: dropped group ownership checking because it relies on os-specific rules
................
r76591 | benjamin.peterson | 2009年11月29日 23:26:26 +0100 (So, 29 Nov 2009) | 4 lines
now that deepcopy can handle instance methods, this hack can be removed #7409
Thanks Robert Collins
................
r76600 | raymond.hettinger | 2009年11月30日 20:44:40 +0100 (Mo, 30 Nov 2009) | 3 lines
Issue 7410: deepcopy of itertools.count resets the count
................
r76602 | raymond.hettinger | 2009年11月30日 22:13:52 +0100 (Mo, 30 Nov 2009) | 1 line
Handle step values other than one.
................
r76603 | raymond.hettinger | 2009年11月30日 22:14:25 +0100 (Mo, 30 Nov 2009) | 1 line
Update project file for new file: dtoa.c
................
r76605 | mark.dickinson | 2009年11月30日 22:51:30 +0100 (Mo, 30 Nov 2009) | 2 lines
Add dtoa.c and dtoa.h to the relevant project files.
................
r76623 | ronald.oussoren | 2009年12月01日 16:54:01 +0100 (Di, 01 Dez 2009) | 9 lines
Fix for issue #7416: SIZEOF_UINTPTR_T can be invalid when configuring a
multi-architecture build (in particular when the architectures don't share
a common pointer size).
Fixed the same issue for SIZEOF_PTHREAD_T.
(No update to the NEWS file because this is a bugfix for an as yet unreleased
feature)
................
r76625 | amaury.forgeotdarc | 2009年12月01日 22:51:04 +0100 (Di, 01 Dez 2009) | 3 lines
#7419: Fix a crash on Windows in locale.setlocale() when the category
is outside the allowed range.
................
r76628 | andrew.kuchling | 2009年12月02日 15:27:11 +0100 (Mi, 02 Dez 2009) | 1 line
Markup fixes
................
r76632 | eric.smith | 2009年12月02日 18:43:06 +0100 (Mi, 02 Dez 2009) | 1 line
Issue #4482: Add tests for special float value formatting.
................
r76636 | antoine.pitrou | 2009年12月02日 21:37:54 +0100 (Mi, 02 Dez 2009) | 5 lines
Issue #7333: The `posix` module gains an `initgroups()` function providing
access to the initgroups(3) C library call on Unix systems which implement
it. Patch by Jean-Paul Calderone.
................
r76640 | philip.jenvey | 2009年12月03日 03:25:54 +0100 (Do, 03 Dez 2009) | 2 lines
#7177: clarify the potential PIPE deadlock warnings
................
r76642 | philip.jenvey | 2009年12月03日 03:40:13 +0100 (Do, 03 Dez 2009) | 1 line
actually close files
................
r76644 | benjamin.peterson | 2009年12月03日 03:52:39 +0100 (Do, 03 Dez 2009) | 4 lines
disable pymalloc tricks with the --with-valgrind option #2422
Patch from James Henstridge.
................
r76648 | mark.dickinson | 2009年12月03日 13:08:56 +0100 (Do, 03 Dez 2009) | 3 lines
Issue #6985: number of range() items should be constrained to lie
in a Py_ssize_t, not an int.
................
r76655 | martin.v.loewis | 2009年12月03日 22:01:16 +0100 (Do, 03 Dez 2009) | 2 lines
Add Christoph Gohlke, for the issue 4120 work.
................
r76668 | mark.dickinson | 2009年12月04日 12:30:16 +0100 (Fr, 04 Dez 2009) | 1 line
Add missing issue number in Misc/NEWS entry.
................
r76672 | benjamin.peterson | 2009年12月05日 18:45:40 +0100 (Sa, 05 Dez 2009) | 1 line
regenerate pydoc_topics
................
r76673 | benjamin.peterson | 2009年12月05日 18:46:33 +0100 (Sa, 05 Dez 2009) | 2 lines
move RPM spec for 2.7
................
r76674 | benjamin.peterson | 2009年12月05日 18:47:56 +0100 (Sa, 05 Dez 2009) | 1 line
bump version to 2.7a1
................
r76676 | benjamin.peterson | 2009年12月05日 19:40:02 +0100 (Sa, 05 Dez 2009) | 1 line
post release version bump
................
r76679 | benjamin.peterson | 2009年12月05日 19:48:13 +0100 (Sa, 05 Dez 2009) | 1 line
fix date
................
r76689 | benjamin.peterson | 2009年12月06日 18:37:48 +0100 (So, 06 Dez 2009) | 1 line
rewrite translate_newlines for clarity
................
r76690 | vinay.sajip | 2009年12月06日 18:57:11 +0100 (So, 06 Dez 2009) | 1 line
logging: Added optional 'secure' parameter to SMTPHandler.
................
r76691 | vinay.sajip | 2009年12月06日 19:05:04 +0100 (So, 06 Dez 2009) | 1 line
logging: Improved support for SMTP over TLS.
................
r76692 | martin.v.loewis | 2009年12月06日 19:27:29 +0100 (So, 06 Dez 2009) | 2 lines
Add UUIDs for 2.7. Drop UUIDs for 2.4.
................
r76697 | benjamin.peterson | 2009年12月06日 22:24:30 +0100 (So, 06 Dez 2009) | 2 lines
fix test_parser from tokenizer tweak
................
r76701 | andrew.kuchling | 2009年12月08日 03:37:05 +0100 (Di, 08 Dez 2009) | 1 line
Typo fix; grammar fix
................
r76702 | tarek.ziade | 2009年12月08日 09:56:49 +0100 (Di, 08 Dez 2009) | 1 line
Issue #7457: added a read_pkg_file method to distutils.dist.DistributionMetadata so we can read back PKG-INFO files
................
r76704 | tarek.ziade | 2009年12月08日 10:39:51 +0100 (Di, 08 Dez 2009) | 1 line
removed the usage of rfc822 in favor of email.message.Message
................
r76708 | antoine.pitrou | 2009年12月08日 16:40:51 +0100 (Di, 08 Dez 2009) | 4 lines
Issue #6986: Fix crash in the JSON C accelerator when called with the
wrong parameter types. Patch by Victor Stinner.
................
r76712 | ronald.oussoren | 2009年12月08日 17:32:52 +0100 (Di, 08 Dez 2009) | 4 lines
Fix for issue 7452: HAVE_GCC_ASM_FOR_X87 gets set when doing a universal build on
an i386 based machine, but should only be active when compiling the x86 part of
the universal binary.
................
r76716 | antoine.pitrou | 2009年12月08日 20:25:51 +0100 (Di, 08 Dez 2009) | 4 lines
Fix the transient refleaks in test_zipimport_support.
Diagnosis and original patch by Florent Xicluna (flox).
................
r76718 | antoine.pitrou | 2009年12月08日 20:35:12 +0100 (Di, 08 Dez 2009) | 3 lines
Fix transient refleaks in test_urllib. Thanks to Florent Xicluna.
................
r76720 | antoine.pitrou | 2009年12月08日 20:46:38 +0100 (Di, 08 Dez 2009) | 3 lines
Make test_pipes a little bit more robust.
................
r76733 | benjamin.peterson | 2009年12月10日 04:37:59 +0100 (Do, 10 Dez 2009) | 1 line
substitute PyDict_Check() for PyObject_IsInstance
................
r76736 | raymond.hettinger | 2009年12月10日 07:00:33 +0100 (Do, 10 Dez 2009) | 1 line
Fix variants of deque.extend: d.extend(d) d+=d d.extendleft(d)
................
r76737 | raymond.hettinger | 2009年12月10日 07:42:54 +0100 (Do, 10 Dez 2009) | 1 line
Add a reverse() method to collections.deque().
................
r76740 | mark.dickinson | 2009年12月10日 11:36:32 +0100 (Do, 10 Dez 2009) | 8 lines
Replace the size check for PyMem_MALLOC and PyMem_REALLOC with an almost
equivalent[*] check that doesn't produce compiler warnings about a 'x < 0'
check on an unsigned type.
[*] it's equivalent for inputs of type size_t or Py_ssize_t, or any smaller
unsigned or signed integer type.
................
r76746 | tarek.ziade | 2009年12月10日 16:29:03 +0100 (Do, 10 Dez 2009) | 1 line
added test coverage for distutils.dep_util, and cleaned up the module
................
r76750 | tarek.ziade | 2009年12月10日 20:29:53 +0100 (Do, 10 Dez 2009) | 1 line
using an existing file to avoid dealing with a sleep to test file ages
................
r76754 | vinay.sajip | 2009年12月11日 10:16:01 +0100 (Fr, 11 Dez 2009) | 1 line
Issue #7470: logging: fix bug in Unicode encoding fallback.
................
r76755 | mark.dickinson | 2009年12月11日 18:29:33 +0100 (Fr, 11 Dez 2009) | 2 lines
Issue #3366: Add lgamma function to math module.
................
r76763 | antoine.pitrou | 2009年12月12日 20:13:08 +0100 (Sa, 12 Dez 2009) | 7 lines
Issue #7466: segmentation fault when the garbage collector is called
in the middle of populating a tuple. Patch by Florent Xicluna.
(note: no NEWS entry for trunk since the bug was introduced in 2.7/3.1)
................
r76780 | lars.gustaebel | 2009年12月13日 12:32:27 +0100 (So, 13 Dez 2009) | 21 lines
Issue #7357: No longer suppress fatal extraction errors by
default.
TarFile's errorlevel argument controls how errors are
handled that occur during extraction. There are three
possible levels 0, 1 and 2. If errorlevel is set to 1 or 2
fatal errors (e.g. a full filesystem) are raised as
exceptions. If it is set to 0, which is the default value,
extraction errors are suppressed, and error messages are
written to the debug log instead. But, if the debug log is
not activated, which is the default as well, all these
errors go unnoticed.
The original intention was to imitate GNU tar which tries
to extract as many members as possible instead of stopping
on the first error. It turns out that this is no good
default behaviour for a tar library. This patch simply
changes the default value for the errorlevel argument from
0 to 1, so that fatal extraction errors are raised as
EnvironmentError exceptions.
................
r76791 | antoine.pitrou | 2009年12月13日 17:18:14 +0100 (So, 13 Dez 2009) | 5 lines
Add NEWS entry as per RDM's suggestion (the bug was actually present
in 2.7 alpha 1)
................
r76805 | benjamin.peterson | 2009年12月13日 20:19:07 +0100 (So, 13 Dez 2009) | 7 lines
accept None as the same as having passed no argument in file types #7349
This is for consistency with imitation file objects like StringIO and BytesIO.
This commit also adds a few tests, where they were lacking for concerned
methods.
................
r76807 | benjamin.peterson | 2009年12月13日 20:27:02 +0100 (So, 13 Dez 2009) | 1 line
remove unused variable
................
r76813 | mark.dickinson | 2009年12月13日 22:06:06 +0100 (So, 13 Dez 2009) | 3 lines
Issue #7492: Autoconf tests were leaving semaphore files behind. Add
sem_unlink calls to delete those semaphore files.
................
r76822 | benjamin.peterson | 2009年12月13日 22:21:43 +0100 (So, 13 Dez 2009) | 1 line
initialize to NULL
................
r76824 | benjamin.peterson | 2009年12月13日 22:27:53 +0100 (So, 13 Dez 2009) | 1 line
add a test of loading the datetime capi
................
r76826 | tarek.ziade | 2009年12月14日 00:24:13 +0100 (Mo, 14 Dez 2009) | 1 line
reorganized the distutils doc a bit : the MANIFEST.in template system has its own section now. This is easier to find and follow
................
r76831 | r.david.murray | 2009年12月14日 17:28:26 +0100 (Mo, 14 Dez 2009) | 6 lines
Issue #1680159: unicode coercion during an 'in' operation was masking
any errors that might occur during coercion of the left operand and
turning them into a TypeError with a message text that was confusing in
the given context. This patch lets any errors through, as was already
done during coercion of the right hand side.
................
r76849 | tarek.ziade | 2009年12月15日 07:29:19 +0100 (Di, 15 Dez 2009) | 1 line
cleaned up the module (PEP 8 + old fashion test removal)
................
r76851 | benjamin.peterson | 2009年12月16日 04:28:52 +0100 (Mi, 16 Dez 2009) | 1 line
remove lib2to3 resource
................
r76856 | r.david.murray | 2009年12月16日 12:49:46 +0100 (Mi, 16 Dez 2009) | 2 lines
Issue #7396: fix -s, which was broken by the -j enhancement.
................
r76861 | mark.dickinson | 2009年12月16日 21:13:40 +0100 (Mi, 16 Dez 2009) | 3 lines
Issue #3366: Add expm1 function to math module. Thanks Eric Smith for
testing on Windows.
................
r76865 | mark.dickinson | 2009年12月17日 09:33:56 +0100 (Do, 17 Dez 2009) | 1 line
Add _math.h to math module dependencies in setup.py.
................
r76869 | vinay.sajip | 2009年12月17日 15:52:00 +0100 (Do, 17 Dez 2009) | 1 line
Issue #7529: logging: Minor correction to documentation.
................
r76878 | mark.dickinson | 2009年12月19日 12:07:23 +0100 (Sa, 19 Dez 2009) | 3 lines
Issue #3366: Add error function and complementary error function to
math module.
................
r76898 | antoine.pitrou | 2009年12月19日 22:06:36 +0100 (Sa, 19 Dez 2009) | 3 lines
Remove superfetatory paragraph (left there by mistake).
................
r76912 | senthil.kumaran | 2009年12月20日 08:29:31 +0100 (So, 20 Dez 2009) | 3 lines
Document the headers parameter for set_tunnel.
................
r76916 | mark.dickinson | 2009年12月20日 14:58:18 +0100 (So, 20 Dez 2009) | 3 lines
math.factorial depends on PyLong_AsLong correctly converting floats; rewrite
it to do the conversion explicitly instead. See issue #7550.
................
r76930 | mark.dickinson | 2009年12月20日 16:57:56 +0100 (So, 20 Dez 2009) | 1 line
Add missing tests for PyArg_Parse* with format 'h'
................
r76934 | r.david.murray | 2009年12月20日 17:24:46 +0100 (So, 20 Dez 2009) | 2 lines
Fix comment typo.
................
r76935 | r.david.murray | 2009年12月20日 17:46:06 +0100 (So, 20 Dez 2009) | 10 lines
Issue #7376: When called with no arguments doctest was running a
self-test. Because of a change to the way tracebacks are printed,
this self-test was failing. The test is run (and passes) during normal
regression testing. So instead of running the failing self-test this
patch makes doctest emit a usage message. This is better behavior anyway
since passing in arguments is the real reason to run doctest as a command.
Bug discovery and initial patch by Florent Xicluna.
................
r76948 | mark.dickinson | 2009年12月20日 21:34:44 +0100 (So, 20 Dez 2009) | 3 lines
Issue #7554: Various fixups in test_cmath.py: remove code duplication,
use new-style formatting. Thanks Florent Xicluna for the patch.
................
r76956 | tarek.ziade | 2009年12月21日 02:22:46 +0100 (Mo, 21 Dez 2009) | 1 line
massive import cleaning in Distutils
................
r76963 | mark.dickinson | 2009年12月21日 12:21:25 +0100 (Mo, 21 Dez 2009) | 3 lines
Issue #7528: Backport PyLong_AsLongAndOverflow from py3k to trunk.
Thanks Case Van Horsen for the patch.
................
r76967 | mark.dickinson | 2009年12月21日 12:31:54 +0100 (Mo, 21 Dez 2009) | 1 line
Fix reference counts for test_long_and_overflow.
................
r76968 | mark.dickinson | 2009年12月21日 13:15:48 +0100 (Mo, 21 Dez 2009) | 1 line
Additional edge-case tests for test_long_and_overflow.
................
r76973 | r.david.murray | 2009年12月21日 13:45:41 +0100 (Mo, 21 Dez 2009) | 2 lines
Remove a leftover from a previous iteration of the issue 7376 patch.
................
r76978 | mark.dickinson | 2009年12月21日 16:22:00 +0100 (Mo, 21 Dez 2009) | 3 lines
Issue #7518: Move substitute definitions of C99 math functions from
pymath.c to Modules/_math.c.
................
r76982 | mark.dickinson | 2009年12月21日 16:40:33 +0100 (Mo, 21 Dez 2009) | 2 lines
Inverse hyperbolic trigonometric functions should call m_log1p, not log1p.
................
r76984 | mark.dickinson | 2009年12月21日 17:29:21 +0100 (Mo, 21 Dez 2009) | 3 lines
Issue #7553: test_long_future wasn't testing properly. Thanks Florent Xicluna
for bug report and patch.
................
r76989 | martin.v.loewis | 2009年12月21日 20:25:56 +0100 (Mo, 21 Dez 2009) | 1 line
Drop 2.4 compatibility.
................
r76996 | tarek.ziade | 2009年12月22日 00:31:55 +0100 (Di, 22 Dez 2009) | 1 line
backported r76993 and r76994 so the trunk behaves the same way with MSVC Manifest files editing
................
r76998 | tarek.ziade | 2009年12月22日 00:37:44 +0100 (Di, 22 Dez 2009) | 1 line
added a note about #7556 in Misc/NEWS
................
Modified:
python/branches/release26-maint/ (props changed)
More information about the Python-checkins
mailing list