]>
granicus.if.org Git - python/log
Mark Dickinson [Sat, 24 Oct 2009 11:49:04 +0000 (11:49 +0000)]
Recorded merge of revisions 75648 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75648 | mark.dickinson | 2009-10-24 12:47:17 +0100 (Sat, 24 Oct 2009) | 1 line
Acknowledge Ned Deily (extensive bug hunting and testing on OS X)
........
Antoine Pitrou [Fri, 23 Oct 2009 21:55:36 +0000 (21:55 +0000)]
Merged revisions 75624 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75624 | antoine.pitrou | 2009-10-23 14:01:13 +0200 (ven., 23 oct. 2009) | 3 lines
Fix Windows buildbot failure
........
Antoine Pitrou [Fri, 23 Oct 2009 18:34:17 +0000 (18:34 +0000)]
Merged revisions 75633 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75633 | antoine.pitrou | 2009-10-23 20:32:15 +0200 (ven., 23 oct. 2009) | 3 lines
Issue #7194: test_thread could try to release an unacquired mutex (and fail).
........
Eric Smith [Fri, 23 Oct 2009 12:56:11 +0000 (12:56 +0000)]
Changed try/finally to contextlib.closing, as discussed in issue 6882.
Eric Smith [Thu, 22 Oct 2009 20:48:54 +0000 (20:48 +0000)]
Blocked revisions 75620 via svnmerge
........
r75620 | eric.smith | 2009-10-22 16:13:14 -0400 (Thu, 22 Oct 2009) | 1 line
Per the discussion in issue6882, backport the try/finally work that was done to the py3k version (mostly in r59477, I think).
........
Georg Brandl [Thu, 22 Oct 2009 16:08:10 +0000 (16:08 +0000)]
#6927: fix wrong word.
Georg Brandl [Thu, 22 Oct 2009 15:16:26 +0000 (15:16 +0000)]
#7137: fix makefile() documentation to match the new parameters.
Raymond Hettinger [Thu, 22 Oct 2009 11:22:50 +0000 (11:22 +0000)]
Peephole constant folding had missed UNARY_POSITIVE.
Vinay Sajip [Wed, 21 Oct 2009 20:22:14 +0000 (20:22 +0000)]
Issue #7077: logging: SysLogHandler now treats Unicode as per RFC 5424.
Georg Brandl [Wed, 21 Oct 2009 07:17:48 +0000 (07:17 +0000)]
Merged revisions 75580 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75580 | georg.brandl | 2009-10-21 09:15:59 +0200 (Mi, 21 Okt 2009) | 1 line
#7170: fix explanation about non-weakrefable builtin types.
........
Antoine Pitrou [Tue, 20 Oct 2009 22:05:38 +0000 (22:05 +0000)]
Another futile error in the previous commit :-(
Antoine Pitrou [Tue, 20 Oct 2009 22:02:29 +0000 (22:02 +0000)]
Merged revisions 75574 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75574 | antoine.pitrou | 2009-10-20 23:59:25 +0200 (mar., 20 oct. 2009) | 4 lines
Test wouldn't work in debug mode.
We probably need a function in test_support to handle this.
........
Benjamin Peterson [Tue, 20 Oct 2009 21:56:16 +0000 (21:56 +0000)]
clarify the buffer arg
Antoine Pitrou [Tue, 20 Oct 2009 21:52:47 +0000 (21:52 +0000)]
Merged revisions 75570 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75570 | antoine.pitrou | 2009-10-20 23:29:37 +0200 (mar., 20 oct. 2009) | 6 lines
Issue #
1722344 : threading._shutdown() is now called in Py_Finalize(), which
fixes the problem of some exceptions being thrown at shutdown when the
interpreter is killed. Patch by Adam Olsen.
........
Mark Dickinson [Tue, 20 Oct 2009 13:38:04 +0000 (13:38 +0000)]
Merged revisions 75561 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75561 | mark.dickinson | 2009-10-20 14:33:03 +0100 (Tue, 20 Oct 2009) | 3 lines
Issue #7099: Decimal.is_normal should return True for all nonzero
finite non-subnormal values, even those with exponent > Emax.
........
R. David Murray [Tue, 20 Oct 2009 11:18:29 +0000 (11:18 +0000)]
Remove comment that went with the print_lock that was previously deleted.
Raymond Hettinger [Mon, 19 Oct 2009 19:52:20 +0000 (19:52 +0000)]
Add maintainers.
Antoine Pitrou [Mon, 19 Oct 2009 19:43:09 +0000 (19:43 +0000)]
Issue #7080: locale.strxfrm() raises a MemoryError on 64-bit non-Windows
platforms, and assorted locale fixes by Derk Drukker.
Kurt B. Kaiser [Mon, 19 Oct 2009 19:39:00 +0000 (19:39 +0000)]
add myself to idlelib
Antoine Pitrou [Mon, 19 Oct 2009 19:37:25 +0000 (19:37 +0000)]
egreen is Derk Drukker + fix NEWS formatting
R. David Murray [Mon, 19 Oct 2009 19:12:38 +0000 (19:12 +0000)]
Add 'idlelib' to modules, and add a new table for the Tools, with one
entry for which I noticed an active maintainer.
IMO, if a tool doesn't get put on this list with at least one maintainer
it may be in danger of being deleted by and by...
Antoine Pitrou [Mon, 19 Oct 2009 18:22:37 +0000 (18:22 +0000)]
Merged revisions 75531-75532 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75531 | antoine.pitrou | 2009-10-19 20:17:18 +0200 (lun., 19 oct. 2009) | 4 lines
Issue #5833: Fix extra space character in readline completion with the
GNU readline library version 6.0.
........
r75532 | antoine.pitrou | 2009-10-19 20:20:21 +0200 (lun., 19 oct. 2009) | 3 lines
NEWS entry for r75531.
........
R. David Murray [Mon, 19 Oct 2009 18:06:17 +0000 (18:06 +0000)]
Merged revisions 75528 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75528 | r.david.murray | 2009-10-19 13:53:58 -0400 (Mon, 19 Oct 2009) | 4 lines
Clarify error report message, and don't recommend running in verbose
mode for more information if we are already running in verbose mode.
........
R. David Murray [Mon, 19 Oct 2009 16:53:55 +0000 (16:53 +0000)]
Since all regrtest -j output is now done in the main thread we are no
longer using the print lock, so remove it.
R. David Murray [Mon, 19 Oct 2009 16:33:43 +0000 (16:33 +0000)]
Merged revisions 75524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75524 | r.david.murray | 2009-10-19 12:28:24 -0400 (Mon, 19 Oct 2009) | 6 lines
Eliminate warning message that looks like an error message. When it was
added not finding Lib/test in the path indicated something was wrong,
but when running regtest using "python -m" Lib/test isn't typically in
the path, so this message is now more disturbing than it is helpful.
........
R. David Murray [Mon, 19 Oct 2009 16:15:22 +0000 (16:15 +0000)]
The stdout from tests is no longer compared against anything (not even
to make sure it is empty), so eliminate the message that says running
under verbose is different from running without it.
R. David Murray [Mon, 19 Oct 2009 16:04:44 +0000 (16:04 +0000)]
Note that on py3k we are actually looking at sys.stdout, not sys.__stdout__.
Merged revisions 75518 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75518 | r.david.murray | 2009-10-19 12:01:28 -0400 (Mon, 19 Oct 2009) | 3 lines
Only run test_curses when sys.__stdout__ is a tty. This eliminates the
last false positive when running regrtest with -j.
........
R. David Murray [Mon, 19 Oct 2009 15:26:16 +0000 (15:26 +0000)]
Merged revisions 75503 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75503 | r.david.murray | 2009-10-18 17:12:37 -0400 (Sun, 18 Oct 2009) | 11 lines
Issue #7151: regrtest would generate a JSON failure if there was output
to stderr during the test run and it happened to get emitted after the
worker thread emitted the result JSON. Now we capture stdout and stderr
separately, which avoids that problem. It also means that _all_ stderr
output is after all stdout output when we print the test results, but
that seems acceptable, since output ordering is not guaranteed anyway.
The patch also moves the emit of the test name into the output block
generated after the test completes. Otherwise test names and test
output/errors were mixed in the terminal display, making it difficult
to determine which test generated the output.
........
Eric Smith [Mon, 19 Oct 2009 14:42:58 +0000 (14:42 +0000)]
Blocked revisions 75510 via svnmerge
........
r75510 | eric.smith | 2009-10-19 10:38:14 -0400 (Mon, 19 Oct 2009) | 1 line
Issue #7169: Document PyFloat_AsString and PyFloat_AsReprString, and note that they are unsafe and deprecated.
........
Eric Smith [Mon, 19 Oct 2009 00:35:35 +0000 (00:35 +0000)]
Blocked revisions 75506 via svnmerge
........
r75506 | eric.smith | 2009-10-18 20:34:12 -0400 (Sun, 18 Oct 2009) | 7 lines
Removed calls to PyFloat_AsReprString.
This is in anticipation of possibly implementing issue 7117 (short float repr).
This removes the last calls to PyFloat_AsString, PyFloat_AsReprString, and
PyFloat_AsStringEx, which are unsafe.
Also, switch to defines for error values to bring this code more in line
with the py3k branch.
........
R. David Murray [Sun, 18 Oct 2009 22:18:17 +0000 (22:18 +0000)]
Clean up merge of r75400.
Antoine Pitrou [Sun, 18 Oct 2009 18:27:17 +0000 (18:27 +0000)]
Merged revisions 75499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75499 | antoine.pitrou | 2009-10-18 20:22:04 +0200 (dim., 18 oct. 2009) | 3 lines
Add a test for same-thread asynchronous exceptions (see #
1779233 ).
........
Mark Dickinson [Sun, 18 Oct 2009 16:41:32 +0000 (16:41 +0000)]
Remove the uses of WITHOUT_COMPLEX introduced in r75471
Skip Montanaro [Sun, 18 Oct 2009 14:25:35 +0000 (14:25 +0000)]
Issue 7147 - remove ability to attempt to build Python without complex number support (was broken anyway)
Nick Coghlan [Sun, 18 Oct 2009 13:19:33 +0000 (13:19 +0000)]
Note that a number of the changes listed below were not applicable to the Py3k branch, and hence the corresponding
files are unchanged in this checkin. This checkin is also the first time the environment checking in regrtest has
been forward ported to the Py3k branch.
This checkin causes test_xmlrpc to fail - see issue 7165 (it's a bug in the 3.x version of xmlrpc.server)
I am also getting a failure in test_telnetlib, but it isn't clear yet if that is due to these changes.
Recorded merge of revisions 75400-75401,75404,75406,75414,75416,75422,75425-75428,75435,75439,75441-75444,75447-75449,75451-75453,75455-75458,75460-75469,75471-75473,75475-75477,75479-75481,75483,75486-75489 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75400 | r.david.murray | 2009-10-14 23:58:07 +1000 (Wed, 14 Oct 2009) | 6 lines
Enhanced Issue 7058 patch, which will not be backported. Refactors the
code, adds checks for stdin/out/err, cwd, and sys.path, and adds a new
section in the summary for tests that modify the environment (thanks to
Ezio Melotti for that suggestion).
........
r75453 | nick.coghlan | 2009-10-17 16:33:05 +1000 (Sat, 17 Oct 2009) | 1 line
Correctly restore sys.stdout in test_descr
........
r75456 | nick.coghlan | 2009-10-17 17:30:40 +1000 (Sat, 17 Oct 2009) | 1 line
Enhancement to the new environment checking code to print the changed items under -vv. Also includes a small tweak to allow underscores in the names of resources.
........
r75457 | nick.coghlan | 2009-10-17 17:34:27 +1000 (Sat, 17 Oct 2009) | 1 line
Formatting tweak so that before and after values are vertically aligned
........
r75458 | nick.coghlan | 2009-10-17 18:21:21 +1000 (Sat, 17 Oct 2009) | 1 line
Check and revert expected sys.path alterations
........
r75461 | nick.coghlan | 2009-10-18 00:40:54 +1000 (Sun, 18 Oct 2009) | 1 line
Restore original sys.path when running TTK tests
........
r75462 | nick.coghlan | 2009-10-18 01:09:41 +1000 (Sun, 18 Oct 2009) | 1 line
Don't invoke reload(sys) and use StringIO objects instead of real files to capture stdin and stdout when needed (ensures all sys attributes remain unmodified after test_xmlrpc runs)
........
r75463 | nick.coghlan | 2009-10-18 01:23:08 +1000 (Sun, 18 Oct 2009) | 1 line
Revert changes made to environment in test_httpservers
........
r75465 | nick.coghlan | 2009-10-18 01:45:52 +1000 (Sun, 18 Oct 2009) | 1 line
Move restoration of the os.environ object into the context manager where it belongs
........
r75466 | nick.coghlan | 2009-10-18 01:48:16 +1000 (Sun, 18 Oct 2009) | 1 line
Also check and restore identity of sys.path, sys.argv and os.environ rather than just their values (this picked up a few more misbehaving tests)
........
r75467 | nick.coghlan | 2009-10-18 01:57:42 +1000 (Sun, 18 Oct 2009) | 1 line
Avoid replacing existing modules and sys.path in import tests
........
r75468 | nick.coghlan | 2009-10-18 02:19:51 +1000 (Sun, 18 Oct 2009) | 1 line
Don't replace sys.path in test_site
........
r75481 | nick.coghlan | 2009-10-18 15:38:48 +1000 (Sun, 18 Oct 2009) | 1 line
Using CleanImport to revert a reload of the os module doesn't work due to function registrations in copy_reg. The perils of reloading modules even for tests...
........
r75486 | nick.coghlan | 2009-10-18 20:29:10 +1000 (Sun, 18 Oct 2009) | 1 line
Silence a deprecation warning by using the appropriate replacement construct
........
r75489 | nick.coghlan | 2009-10-18 20:56:21 +1000 (Sun, 18 Oct 2009) | 1 line
Restore sys.path in test_tk
........
Tarek Ziadé [Sun, 18 Oct 2009 11:34:51 +0000 (11:34 +0000)]
Merged revisions 75485 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75485 | tarek.ziade | 2009-10-18 11:28:26 +0200 (Sun, 18 Oct 2009) | 1 line
Changed distutils tests to avoid environment alteration
........
Nick Coghlan [Sun, 18 Oct 2009 10:46:42 +0000 (10:46 +0000)]
Recorded merge of revisions 75474 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75474 | senthil.kumaran | 2009-10-18 11:24:41 +1000 (Sun, 18 Oct 2009) | 2 lines
Fix for Issue7155 - urllib do not document default use of system proxy configuration
........
Nick Coghlan [Sun, 18 Oct 2009 10:44:15 +0000 (10:44 +0000)]
Revert broken commit to svnmerge properties
Senthil Kumaran [Sun, 18 Oct 2009 01:42:33 +0000 (01:42 +0000)]
Merged revisions 75474 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75474 | senthil.kumaran | 2009-10-18 06:54:41 +0530 (Sun, 18 Oct 2009) | 2 lines
Fix for Issue7155 - urllib do not document default use of system proxy configuration
........
Benjamin Peterson [Sun, 18 Oct 2009 00:32:49 +0000 (00:32 +0000)]
correct porting error with raise #7161
Mark Dickinson [Sat, 17 Oct 2009 21:48:16 +0000 (21:48 +0000)]
Merged revisions 75470 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75470 | mark.dickinson | 2009-10-17 22:46:32 +0100 (Sat, 17 Oct 2009) | 1 line
Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum
........
Mark Dickinson [Sat, 17 Oct 2009 07:10:00 +0000 (07:10 +0000)]
Merged revisions 75454 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75454 | mark.dickinson | 2009-10-17 08:06:37 +0100 (Sat, 17 Oct 2009) | 1 line
test_math ulp computation was wrong on big-endian systems
........
Tarek Ziadé [Fri, 16 Oct 2009 23:07:19 +0000 (23:07 +0000)]
Merged revisions 75450 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75450 | tarek.ziade | 2009-10-17 01:04:16 +0200 (Sat, 17 Oct 2009) | 1 line
this test requires zlib support
........
Eric Smith [Fri, 16 Oct 2009 14:33:35 +0000 (14:33 +0000)]
Blocked revisions 75446 via svnmerge
........
r75446 | eric.smith | 2009-10-16 10:26:36 -0400 (Fri, 16 Oct 2009) | 1 line
Removed usage of unsafe PyFloat_AsString.
........
Vinay Sajip [Fri, 16 Oct 2009 14:06:44 +0000 (14:06 +0000)]
Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
Mark Dickinson [Thu, 15 Oct 2009 19:55:18 +0000 (19:55 +0000)]
Merged revisions 75440 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75440 | mark.dickinson | 2009-10-15 18:45:39 +0100 (Thu, 15 Oct 2009) | 1 line
Allow core Python build to succeed under WITHOUT_COMPLEX. The module build stage still fails.
........
Mark Dickinson [Thu, 15 Oct 2009 15:54:39 +0000 (15:54 +0000)]
Blocked revisions 75438 via svnmerge
........
r75438 | mark.dickinson | 2009-10-15 16:53:58 +0100 (Thu, 15 Oct 2009) | 1 line
Issue #7142: Fix uses of unicode in memoryview objects
........
Mark Dickinson [Thu, 15 Oct 2009 15:22:09 +0000 (15:22 +0000)]
Blocked revisions 75434 via svnmerge
........
r75434 | mark.dickinson | 2009-10-15 16:18:55 +0100 (Thu, 15 Oct 2009) | 1 line
Fix missing semicolon
........
Neil Schemenauer [Wed, 14 Oct 2009 19:14:38 +0000 (19:14 +0000)]
Issue #
1754094 : Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.
Georg Brandl [Wed, 14 Oct 2009 18:46:15 +0000 (18:46 +0000)]
#7129: add missing function.
Antoine Pitrou [Wed, 14 Oct 2009 17:14:16 +0000 (17:14 +0000)]
Issue #7065: Fix a crash in bytes.maketrans and bytearray.maketrans when
using byte values greater than 127. Patch by egreen.
Amaury Forgeot d'Arc [Tue, 13 Oct 2009 23:18:53 +0000 (23:18 +0000)]
Merged revisions 75396 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75396 | amaury.forgeotdarc | 2009-10-13 23:29:34 +0200 (mar., 13 oct. 2009) | 3 lines
#7112: Fix compilation warning in unicodetype_db.h
makeunicodedata now generates double literals
........
Georg Brandl [Tue, 13 Oct 2009 16:55:12 +0000 (16:55 +0000)]
Update module names in references in the FAQ.
Georg Brandl [Sun, 11 Oct 2009 21:25:26 +0000 (21:25 +0000)]
Merged revisions 75363 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75363 | georg.brandl | 2009-10-11 20:31:23 +0200 (So, 11 Okt 2009) | 1 line
Add the Python FAQ lists to the documentation. Copied from sandbox/faq. Many thanks to AMK for the preparation work.
........
Georg Brandl [Sun, 11 Oct 2009 21:24:34 +0000 (21:24 +0000)]
Merged revisions 75370-75372 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75370 | georg.brandl | 2009-10-11 23:10:07 +0200 (So, 11 Okt 2009) | 1 line
Move find_recursionlimit.py to Tools/scripts; it is out of place in Misc.
........
r75371 | georg.brandl | 2009-10-11 23:14:37 +0200 (So, 11 Okt 2009) | 1 line
Add find_recursionlimit.py to README.
........
r75372 | georg.brandl | 2009-10-11 23:17:14 +0200 (So, 11 Okt 2009) | 1 line
Update Misc/README.
........
Antoine Pitrou [Sun, 11 Oct 2009 21:07:02 +0000 (21:07 +0000)]
Blocked revisions 75367 via svnmerge
........
r75367 | antoine.pitrou | 2009-10-11 23:03:26 +0200 (dim., 11 oct. 2009) | 4 lines
Issue #7084: Fix a (very unlikely) crash when printing a list from one
thread, and mutating it from another one. Patch by Scott Dial.
........
Benjamin Peterson [Sun, 11 Oct 2009 18:28:48 +0000 (18:28 +0000)]
actually test a method that will be lookup in py3
Georg Brandl [Sun, 11 Oct 2009 15:56:06 +0000 (15:56 +0000)]
Merged revisions 75358 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75358 | georg.brandl | 2009-10-11 17:06:44 +0200 (So, 11 Okt 2009) | 1 line
Overhaul of Demo/xml.
........
Georg Brandl [Sun, 11 Oct 2009 14:50:57 +0000 (14:50 +0000)]
Merged revisions 75356 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75356 | georg.brandl | 2009-10-11 16:49:37 +0200 (So, 11 Okt 2009) | 1 line
Remove ftpstats script, the daemon whose log files it reads is long gone.
........
Georg Brandl [Sun, 11 Oct 2009 14:27:51 +0000 (14:27 +0000)]
Merged revisions 75354 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75354 | georg.brandl | 2009-10-11 16:23:49 +0200 (So, 11 Okt 2009) | 1 line
Update lpwatch script.
........
Georg Brandl [Sun, 11 Oct 2009 12:04:40 +0000 (12:04 +0000)]
Merged revisions 75351 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75351 | georg.brandl | 2009-10-11 14:03:01 +0200 (So, 11 Okt 2009) | 1 line
Fix variable.
........
Georg Brandl [Sun, 11 Oct 2009 12:04:10 +0000 (12:04 +0000)]
Merged revisions 75350 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75350 | georg.brandl | 2009-10-11 14:00:18 +0200 (So, 11 Okt 2009) | 1 line
Use getopt in script.py demo.
........
Mark Dickinson [Sun, 11 Oct 2009 10:32:51 +0000 (10:32 +0000)]
Merged revisions 75348 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75348 | mark.dickinson | 2009-10-11 11:01:17 +0100 (Sun, 11 Oct 2009) | 1 line
Set missing executable property on scripts
........
Mark Dickinson [Sun, 11 Oct 2009 09:40:17 +0000 (09:40 +0000)]
Merged revisions 75346 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75346 | mark.dickinson | 2009-10-11 10:35:57 +0100 (Sun, 11 Oct 2009) | 1 line
Fix 'primes 0 1'
........
Georg Brandl [Sun, 11 Oct 2009 08:49:57 +0000 (08:49 +0000)]
Merged revisions 75344 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75344 | georg.brandl | 2009-10-11 10:48:28 +0200 (So, 11 Okt 2009) | 1 line
Update primes script.
........
Georg Brandl [Sun, 11 Oct 2009 08:46:56 +0000 (08:46 +0000)]
Merged revisions 75342 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75342 | georg.brandl | 2009-10-11 10:45:03 +0200 (So, 11 Okt 2009) | 1 line
Remove useless script "mkrcs" and update README.
........
Georg Brandl [Sun, 11 Oct 2009 08:43:08 +0000 (08:43 +0000)]
Fix README description.
Georg Brandl [Sun, 11 Oct 2009 08:42:09 +0000 (08:42 +0000)]
Merged revisions 75339 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75339 | georg.brandl | 2009-10-11 10:39:16 +0200 (So, 11 Okt 2009) | 1 line
Update markov demo.
........
Georg Brandl [Sun, 11 Oct 2009 08:31:41 +0000 (08:31 +0000)]
Merged revisions 75337 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75337 | georg.brandl | 2009-10-11 10:18:44 +0200 (So, 11 Okt 2009) | 1 line
Update morse script, avoid globals, use iterators.
........
Senthil Kumaran [Sun, 11 Oct 2009 04:58:55 +0000 (04:58 +0000)]
Merged revisions 75333 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75333 | senthil.kumaran | 2009-10-11 07:30:07 +0530 (Sun, 11 Oct 2009) | 3 lines
Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment
........
Georg Brandl [Sat, 10 Oct 2009 22:32:28 +0000 (22:32 +0000)]
Merged revisions 75329 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75329 | georg.brandl | 2009-10-11 00:26:45 +0200 (So, 11 Okt 2009) | 1 line
Modernize all around (dont ask me how useful that script is nowadays...)
........
Georg Brandl [Sat, 10 Oct 2009 22:05:26 +0000 (22:05 +0000)]
Merged revisions 75327 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75327 | georg.brandl | 2009-10-11 00:03:43 +0200 (So, 11 Okt 2009) | 1 line
Style fixes.
........
Georg Brandl [Sat, 10 Oct 2009 21:57:03 +0000 (21:57 +0000)]
Merged revisions 75325 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75325 | georg.brandl | 2009-10-10 23:55:11 +0200 (Sa, 10 Okt 2009) | 1 line
Modernize factorisation demo (mostly augassign.)
........
Georg Brandl [Sat, 10 Oct 2009 21:49:24 +0000 (21:49 +0000)]
Merged revisions 75322 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75322 | georg.brandl | 2009-10-10 23:47:31 +0200 (Sa, 10 Okt 2009) | 1 line
Show use of range() step argument nicely.
........
Georg Brandl [Sat, 10 Oct 2009 21:48:05 +0000 (21:48 +0000)]
Recorded merge of revisions 75321 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75321 | georg.brandl | 2009-10-10 23:43:21 +0200 (Sa, 10 Okt 2009) | 1 line
Remove outdated comment and fix a few style issues.
........
Antoine Pitrou [Sat, 10 Oct 2009 21:28:29 +0000 (21:28 +0000)]
Redundancy isn't needed here.
Redundancy isn't needed here.
Benjamin Peterson [Sat, 10 Oct 2009 21:27:03 +0000 (21:27 +0000)]
Rolled back revisions 74556 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Georg Brandl [Sat, 10 Oct 2009 21:13:21 +0000 (21:13 +0000)]
Merged revisions 75315 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75315 | georg.brandl | 2009-10-10 23:10:05 +0200 (Sa, 10 Okt 2009) | 1 line
Remove unneeded "L" suffixes.
........
Georg Brandl [Sat, 10 Oct 2009 21:12:35 +0000 (21:12 +0000)]
Merged revisions 75313 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75313 | georg.brandl | 2009-10-10 23:07:35 +0200 (Sa, 10 Okt 2009) | 1 line
Bring old demo up-to-date.
........
Antoine Pitrou [Sat, 10 Oct 2009 21:08:31 +0000 (21:08 +0000)]
Merged revisions 75312 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75312 | antoine.pitrou | 2009-10-10 22:52:11 +0200 (sam., 10 oct. 2009) | 4 lines
Issue #7055: test___all__ now greedily detects all modules which have an
__all__ attribute, rather than using a hardcoded and incomplete list.
........
Benjamin Peterson [Sat, 10 Oct 2009 20:39:25 +0000 (20:39 +0000)]
Blocked revisions 75310 via svnmerge
........
r75310 | vinay.sajip | 2009-10-10 15:32:36 -0500 (Sat, 10 Oct 2009) | 1 line
Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
........
Vinay Sajip [Sat, 10 Oct 2009 20:32:36 +0000 (20:32 +0000)]
Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
Benjamin Peterson [Sat, 10 Oct 2009 01:16:07 +0000 (01:16 +0000)]
Merged revisions 74524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74524 | gregory.p.smith | 2009-08-20 04:39:38 -0500 (Thu, 20 Aug 2009) | 2 lines
Add weakref support to the thread.lock type.
........
R. David Murray [Sat, 10 Oct 2009 00:13:32 +0000 (00:13 +0000)]
Merged revisions 75301 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75301 | r.david.murray | 2009-10-09 17:50:54 -0400 (Fri, 09 Oct 2009) | 5 lines
Issue #7082: When falling back to the MIME 'name' parameter, the
correct place to look for it is the Content-Type header.
Patch by Darren Worrall.
........
Benjamin Peterson [Fri, 9 Oct 2009 22:34:44 +0000 (22:34 +0000)]
Blocked revisions 75304-75305 via svnmerge
........
r75304 | benjamin.peterson | 2009-10-09 17:05:45 -0500 (Fri, 09 Oct 2009) | 1 line
replace callable()
........
r75305 | benjamin.peterson | 2009-10-09 17:15:50 -0500 (Fri, 09 Oct 2009) | 1 line
replace has_key with 'in' operator
........
Benjamin Peterson [Fri, 9 Oct 2009 21:43:09 +0000 (21:43 +0000)]
normalize latin-1 and utf-8 variant encodings like the builtin tokenizer does
Benjamin Peterson [Fri, 9 Oct 2009 20:47:22 +0000 (20:47 +0000)]
Recorded rollback of revisions 74524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Benjamin Peterson [Fri, 9 Oct 2009 20:39:55 +0000 (20:39 +0000)]
Recorded rollback of revisions 72524 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
Benjamin Peterson [Fri, 9 Oct 2009 20:36:25 +0000 (20:36 +0000)]
rollback the merge of r74524 because it causes failures in test_multiprocessing
Mark Dickinson [Thu, 8 Oct 2009 20:05:48 +0000 (20:05 +0000)]
Merged revisions 75289 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75289 | mark.dickinson | 2009-10-08 21:02:25 +0100 (Thu, 08 Oct 2009) | 2 lines
Issue #7051: Clarify behaviour of 'g' and 'G'-style formatting.
........
Mark Dickinson [Thu, 8 Oct 2009 16:30:38 +0000 (16:30 +0000)]
Merged revisions 75286 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75286 | mark.dickinson | 2009-10-08 17:28:39 +0100 (Thu, 08 Oct 2009) | 2 lines
Update decimal test data to the most recent set from Mike Cowlishaw.
........
Mark Dickinson [Thu, 8 Oct 2009 15:59:20 +0000 (15:59 +0000)]
Merged revisions 75283 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75283 | mark.dickinson | 2009-10-08 16:54:10 +0100 (Thu, 08 Oct 2009) | 4 lines
Issue #7078: _struct.__doc__ was being ignored. Import it into struct.
Also add description of '?' struct format character. Thanks Gabriel
Genellina for the patch.
........
R. David Murray [Wed, 7 Oct 2009 23:38:55 +0000 (23:38 +0000)]
Merged revisions 75255 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75255 | r.david.murray | 2009-10-05 13:03:09 -0400 (Mon, 05 Oct 2009) | 3 lines
Issue #7058: Added save/restore for argv and os.environ to runtest_inner
in regrtest, with warnings if the called test modifies them.
........
Mark Dickinson [Wed, 7 Oct 2009 19:23:50 +0000 (19:23 +0000)]
Merged revisions 75275 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75275 | mark.dickinson | 2009-10-07 20:22:05 +0100 (Wed, 07 Oct 2009) | 6 lines
Issue #7048: logb should round its result when that result doesn't fit
into the available precision. (Tests for this change are included in
the most recent set of testcases from the Decimal Specification site;
those testcases will be updated shortly.)
........
Amaury Forgeot d'Arc [Tue, 6 Oct 2009 21:03:20 +0000 (21:03 +0000)]
Merged revisions 75272-75273 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75272 | amaury.forgeotdarc | 2009-10-06 21:56:32 +0200 (mar., 06 oct. 2009) | 5 lines
#
1571184 : makeunicodedata.py now generates the functions _PyUnicode_ToNumeric,
_PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace.
It now also parses the Unihan.txt for numeric values.
........
r75273 | amaury.forgeotdarc | 2009-10-06 22:02:09 +0200 (mar., 06 oct. 2009) | 2 lines
Add Anders Chrigstrom to Misc/ACKS for his work on unicodedata.
........
Amaury Forgeot d'Arc [Mon, 5 Oct 2009 21:09:00 +0000 (21:09 +0000)]
Merged revisions 75258 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75258 | amaury.forgeotdarc | 2009-10-05 22:18:05 +0200 (lun., 05 oct. 2009) | 2 lines
Fix compilation warning on Windows, where size_t is 32bit but file offsets are 64bit.
........
Benjamin Peterson [Sun, 4 Oct 2009 20:40:17 +0000 (20:40 +0000)]
Merged revisions 75066 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r75066 | andrew.kuchling | 2009-09-25 17:23:54 -0500 (Fri, 25 Sep 2009) | 4 lines
#6243: fix segfault when keyname() returns a NULL pointer.
Bug noted by Trundle, patched by Trundle and Jerry Chen.
........
Benjamin Peterson [Sun, 4 Oct 2009 20:32:25 +0000 (20:32 +0000)]
Merged revisions 74841 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk
........
r74841 | thomas.wouters | 2009-09-16 14:55:54 -0500 (Wed, 16 Sep 2009) | 23 lines
Fix issue #
1590864 , multiple threads and fork() can cause deadlocks, by
acquiring the import lock around fork() calls. This prevents other threads
from having that lock while the fork happens, and is the recommended way of
dealing with such issues. There are two other locks we care about, the GIL
and the Thread Local Storage lock. The GIL is obviously held when calling
Python functions like os.fork(), and the TLS lock is explicitly reallocated
instead, while also deleting now-orphaned TLS data.
This only fixes calls to os.fork(), not extension modules or embedding
programs calling C's fork() directly. Solving that requires a new set of API
functions, and possibly a rewrite of the Python/thread_*.c mess. Add a
warning explaining the problem to the documentation in the mean time.
This also changes behaviour a little on AIX. Before, AIX (but only AIX) was
getting the import lock reallocated, seemingly to avoid this very same
problem. This is not the right approach, because the import lock is a
re-entrant one, and reallocating would do the wrong thing when forking while
holding the import lock.
Will backport to 2.6, minus the tiny AIX behaviour change.
........
Benjamin Peterson [Sun, 4 Oct 2009 20:28:48 +0000 (20:28 +0000)]
Blocked revisions 75164-75166 via svnmerge
........
r75164 | senthil.kumaran | 2009-09-30 20:07:03 -0500 (Wed, 30 Sep 2009) | 3 lines
Fix for issue7026 test_urllib: unsetting missing 'env' variable.
........
r75165 | senthil.kumaran | 2009-09-30 20:19:18 -0500 (Wed, 30 Sep 2009) | 3 lines
using dict.unset(k) instead of del dict[k]. consistent with release26-maint
........
r75166 | senthil.kumaran | 2009-09-30 20:50:13 -0500 (Wed, 30 Sep 2009) | 3 lines
That's self.env.unset(k) and not env.unset(k) I was heading back to the problem.
........
Benjamin Peterson [Sun, 4 Oct 2009 20:23:37 +0000 (20:23 +0000)]
Blocked revisions 74849,75143,75181 via svnmerge
........
r74849 | thomas.wouters | 2009-09-16 15:36:34 -0500 (Wed, 16 Sep 2009) | 4 lines
Add news entry for r74841.
........
r75143 | philip.jenvey | 2009-09-29 14:10:15 -0500 (Tue, 29 Sep 2009) | 5 lines
#5329: fix os.popen* regression from 2.5: don't execute commands as a sequence
through the shell. also document the correct subprocess replacement for this
case
patch from Jean-Paul Calderone and Jani Hakala
........
r75181 | georg.brandl | 2009-10-01 16:02:39 -0500 (Thu, 01 Oct 2009) | 1 line
Add NEWS entry for r75180.
........