]>
granicus.if.org Git - python/log
Georg Brandl [Wed, 21 Oct 2009 07:15:59 +0000 (07:15 +0000)]
#7170: fix explanation about non-weakrefable builtin types.
Antoine Pitrou [Tue, 20 Oct 2009 21:59:25 +0000 (21:59 +0000)]
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:55:17 +0000 (21:55 +0000)]
clarify buffer arg #7178
Antoine Pitrou [Tue, 20 Oct 2009 21:29:37 +0000 (21:29 +0000)]
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:33:03 +0000 (13:33 +0000)]
Issue #7099: Decimal.is_normal should return True for all nonzero
finite non-subnormal values, even those with exponent > Emax.
Benjamin Peterson [Tue, 20 Oct 2009 03:14:10 +0000 (03:14 +0000)]
use property api
Antoine Pitrou [Mon, 19 Oct 2009 18:20:21 +0000 (18:20 +0000)]
NEWS entry for r75531.
Antoine Pitrou [Mon, 19 Oct 2009 18:17:18 +0000 (18:17 +0000)]
Issue #5833: Fix extra space character in readline completion with the
GNU readline library version 6.0.
Antoine Pitrou [Mon, 19 Oct 2009 17:59:07 +0000 (17:59 +0000)]
Issue #7133: SSL objects now support the new buffer API.
This fixes the test_ssl failure.
R. David Murray [Mon, 19 Oct 2009 17:53:58 +0000 (17:53 +0000)]
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:28:24 +0000 (16:28 +0000)]
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:01:28 +0000 (16:01 +0000)]
Only run test_curses when sys.__stdout__ is a tty. This eliminates the
last false positive when running regrtest with -j.
Eric Smith [Mon, 19 Oct 2009 14:38:14 +0000 (14:38 +0000)]
Issue #7169: Document PyFloat_AsString and PyFloat_AsReprString, and note that they are unsafe and deprecated.
Eric Smith [Mon, 19 Oct 2009 00:34:12 +0000 (00:34 +0000)]
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 21:12:37 +0000 (21:12 +0000)]
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.
Antoine Pitrou [Sun, 18 Oct 2009 18:37:11 +0000 (18:37 +0000)]
Add a comment about unreachable code, and fix a typo
Antoine Pitrou [Sun, 18 Oct 2009 18:22:04 +0000 (18:22 +0000)]
Add a test for same-thread asynchronous exceptions (see #
1779233 ).
Nick Coghlan [Sun, 18 Oct 2009 10:56:21 +0000 (10:56 +0000)]
Restore sys.path in test_tk
Nick Coghlan [Sun, 18 Oct 2009 10:29:10 +0000 (10:29 +0000)]
Silence a deprecation warning by using the appropriate replacement construct
Tarek Ziadé [Sun, 18 Oct 2009 09:28:26 +0000 (09:28 +0000)]
Changed distutils tests to avoid environment alteration
Georg Brandl [Sun, 18 Oct 2009 07:58:12 +0000 (07:58 +0000)]
Fix missing word.
Ronald Oussoren [Sun, 18 Oct 2009 07:07:00 +0000 (07:07 +0000)]
Fix for issue 7149: a regression in 2.6.3 that causes an exception when
trying to detect proxy settings on OSX.
Nick Coghlan [Sun, 18 Oct 2009 05:38:48 +0000 (05:38 +0000)]
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...
Senthil Kumaran [Sun, 18 Oct 2009 01:58:45 +0000 (01:58 +0000)]
Fix a typo.
Senthil Kumaran [Sun, 18 Oct 2009 01:24:41 +0000 (01:24 +0000)]
Fix for Issue7155 - urllib do not document default use of system proxy configuration
Mark Dickinson [Sat, 17 Oct 2009 21:46:32 +0000 (21:46 +0000)]
Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum
Nick Coghlan [Sat, 17 Oct 2009 16:19:51 +0000 (16:19 +0000)]
Don't replace sys.path in test_site
Nick Coghlan [Sat, 17 Oct 2009 15:57:42 +0000 (15:57 +0000)]
Avoid replacing existing modules and sys.path in import tests
Nick Coghlan [Sat, 17 Oct 2009 15:48:16 +0000 (15:48 +0000)]
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)
Nick Coghlan [Sat, 17 Oct 2009 15:45:52 +0000 (15:45 +0000)]
Move restoration of the os.environ object into the context manager where it belongs
Nick Coghlan [Sat, 17 Oct 2009 15:23:08 +0000 (15:23 +0000)]
Revert changes made to environment in test_httpservers
Nick Coghlan [Sat, 17 Oct 2009 15:09:41 +0000 (15:09 +0000)]
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)
Nick Coghlan [Sat, 17 Oct 2009 14:40:54 +0000 (14:40 +0000)]
Restore original sys.path when running TTK tests
Georg Brandl [Sat, 17 Oct 2009 08:57:43 +0000 (08:57 +0000)]
Fix refleaks in _ctypes PyCSimpleType_New, which fixes the refleak seen in test___all__.
Nick Coghlan [Sat, 17 Oct 2009 08:21:21 +0000 (08:21 +0000)]
Check and revert expected sys.path alterations
Nick Coghlan [Sat, 17 Oct 2009 07:34:27 +0000 (07:34 +0000)]
Formatting tweak so that before and after values are vertically aligned
Nick Coghlan [Sat, 17 Oct 2009 07:30:40 +0000 (07:30 +0000)]
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.
Mark Dickinson [Sat, 17 Oct 2009 07:06:37 +0000 (07:06 +0000)]
test_math ulp computation was wrong on big-endian systems
Nick Coghlan [Sat, 17 Oct 2009 06:33:05 +0000 (06:33 +0000)]
Correctly restore sys.stdout in test_descr
Tarek Ziadé [Fri, 16 Oct 2009 23:04:16 +0000 (23:04 +0000)]
this test requires zlib support
Eric Smith [Fri, 16 Oct 2009 14:26:36 +0000 (14:26 +0000)]
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 17:45:39 +0000 (17:45 +0000)]
Allow core Python build to succeed under WITHOUT_COMPLEX. The module build stage still fails.
Mark Dickinson [Thu, 15 Oct 2009 15:53:58 +0000 (15:53 +0000)]
Issue #7142: Fix uses of unicode in memoryview objects
Benjamin Peterson [Thu, 15 Oct 2009 15:44:46 +0000 (15:44 +0000)]
only clear a module's __dict__ if the module is the only one with a reference to it #7140
Benjamin Peterson [Thu, 15 Oct 2009 15:39:15 +0000 (15:39 +0000)]
don't need to mess up sys.path
Mark Dickinson [Thu, 15 Oct 2009 15:18:55 +0000 (15:18 +0000)]
Fix missing semicolon
Benjamin Peterson [Thu, 15 Oct 2009 03:06:55 +0000 (03:06 +0000)]
make inspect.isabstract() always return a boolean; add a test for it, too #7069
Benjamin Peterson [Thu, 15 Oct 2009 03:05:39 +0000 (03:05 +0000)]
some cleanups
Benjamin Peterson [Thu, 15 Oct 2009 01:56:25 +0000 (01:56 +0000)]
change test to what I intended
Benjamin Peterson [Thu, 15 Oct 2009 01:49:37 +0000 (01:49 +0000)]
use floor division and add a test that exercises the tabsize codepath
Benjamin Peterson [Thu, 15 Oct 2009 01:47:28 +0000 (01:47 +0000)]
pep8ify if blocks
Neil Schemenauer [Wed, 14 Oct 2009 19:33:31 +0000 (19:33 +0000)]
Make cPickle.Unpickler.noload() handle dict subclasses. noload() is
an obscure, undocumentated feature so no test was added. Closes
issue #
1101399 .
Neil Schemenauer [Wed, 14 Oct 2009 19:23:53 +0000 (19:23 +0000)]
Add support to the ihooks module for relative imports.
Antoine Pitrou [Wed, 14 Oct 2009 19:09:48 +0000 (19:09 +0000)]
Fix py3k warnings in the uuid module
Antoine Pitrou [Wed, 14 Oct 2009 19:04:48 +0000 (19:04 +0000)]
Fix py3k warnings in httplib
Antoine Pitrou [Wed, 14 Oct 2009 18:56:11 +0000 (18:56 +0000)]
Silence py3k warning claiming to affect the random module
Georg Brandl [Wed, 14 Oct 2009 18:48:32 +0000 (18:48 +0000)]
#7116: str.join() takes an iterable.
Antoine Pitrou [Wed, 14 Oct 2009 18:47:13 +0000 (18:47 +0000)]
Fix failures in test_profilehooks when run with -3
Antoine Pitrou [Wed, 14 Oct 2009 18:39:46 +0000 (18:39 +0000)]
Silence some py3k warnings claiming to affect _pyio
Antoine Pitrou [Wed, 14 Oct 2009 18:31:05 +0000 (18:31 +0000)]
Fix a py3k warning in the sndhdr module (found with test_email)
Antoine Pitrou [Wed, 14 Oct 2009 18:27:32 +0000 (18:27 +0000)]
Fix py3k warnings in the socket module
Antoine Pitrou [Wed, 14 Oct 2009 18:12:54 +0000 (18:12 +0000)]
Fix a py3k warning in the StringIO module (exhibited in test_codecencodings_cn)
Antoine Pitrou [Wed, 14 Oct 2009 18:09:45 +0000 (18:09 +0000)]
Silence a py3k warning claiming to affect Lib/calendar.py
Antoine Pitrou [Wed, 14 Oct 2009 18:01:33 +0000 (18:01 +0000)]
Fix py3k warnings in bsddb
Antoine Pitrou [Wed, 14 Oct 2009 17:34:31 +0000 (17:34 +0000)]
Fix a test_atexit failure when run with -3
Antoine Pitrou [Wed, 14 Oct 2009 17:30:52 +0000 (17:30 +0000)]
Fix py3k warnings in the aifc module
Neil Schemenauer [Wed, 14 Oct 2009 17:17:14 +0000 (17:17 +0000)]
Issue #
1754094 : Improve the stack depth calculation in the compiler.
There should be no other effect than a small decrease in memory use.
Patch by Christopher Tur Lesniewski-Laas.
Georg Brandl [Wed, 14 Oct 2009 15:57:46 +0000 (15:57 +0000)]
#7126: os.environ changes *do* take effect in subprocesses started with os.system().
Georg Brandl [Wed, 14 Oct 2009 15:51:48 +0000 (15:51 +0000)]
#7125: fix typo.
R. David Murray [Wed, 14 Oct 2009 13:58:07 +0000 (13:58 +0000)]
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).
Amaury Forgeot d'Arc [Tue, 13 Oct 2009 21:29:34 +0000 (21:29 +0000)]
#7112: Fix compilation warning in unicodetype_db.h
makeunicodedata now generates double literals
Georg Brandl [Tue, 13 Oct 2009 18:10:59 +0000 (18:10 +0000)]
Fix markup.
Andrew M. Kuchling [Tue, 13 Oct 2009 16:11:49 +0000 (16:11 +0000)]
Various link, textual, and markup fixes
Andrew M. Kuchling [Tue, 13 Oct 2009 15:49:33 +0000 (15:49 +0000)]
Link to PEP
Benjamin Peterson [Mon, 12 Oct 2009 01:26:07 +0000 (01:26 +0000)]
platform we don't care about
Georg Brandl [Sun, 11 Oct 2009 21:17:14 +0000 (21:17 +0000)]
Update Misc/README.
Georg Brandl [Sun, 11 Oct 2009 21:14:37 +0000 (21:14 +0000)]
Add find_recursionlimit.py to README.
Georg Brandl [Sun, 11 Oct 2009 21:10:07 +0000 (21:10 +0000)]
Move find_recursionlimit.py to Tools/scripts; it is out of place in Misc.
Antoine Pitrou [Sun, 11 Oct 2009 21:03:26 +0000 (21:03 +0000)]
Issue #7084: Fix a (very unlikely) crash when printing a list from one
thread, and mutating it from another one. Patch by Scott Dial.
Georg Brandl [Sun, 11 Oct 2009 20:16:16 +0000 (20:16 +0000)]
Fix broken links found by "make linkcheck". scipy.org seems to be done right now, so I could not verify links going there.
Georg Brandl [Sun, 11 Oct 2009 18:31:23 +0000 (18:31 +0000)]
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 15:06:44 +0000 (15:06 +0000)]
Overhaul of Demo/xml.
Georg Brandl [Sun, 11 Oct 2009 14:49:37 +0000 (14:49 +0000)]
Remove ftpstats script, the daemon whose log files it reads is long gone.
Georg Brandl [Sun, 11 Oct 2009 14:23:49 +0000 (14:23 +0000)]
Update lpwatch script.
Georg Brandl [Sun, 11 Oct 2009 12:03:01 +0000 (12:03 +0000)]
Fix variable.
Georg Brandl [Sun, 11 Oct 2009 12:00:18 +0000 (12:00 +0000)]
Use getopt in script.py demo.
Mark Dickinson [Sun, 11 Oct 2009 10:01:17 +0000 (10:01 +0000)]
Set missing executable property on scripts
Mark Dickinson [Sun, 11 Oct 2009 09:35:57 +0000 (09:35 +0000)]
Fix 'primes 0 1'
Georg Brandl [Sun, 11 Oct 2009 08:48:28 +0000 (08:48 +0000)]
Update primes script.
Georg Brandl [Sun, 11 Oct 2009 08:45:03 +0000 (08:45 +0000)]
Remove useless script "mkrcs" and update README.
Georg Brandl [Sun, 11 Oct 2009 08:39:16 +0000 (08:39 +0000)]
Update markov demo.
Georg Brandl [Sun, 11 Oct 2009 08:18:44 +0000 (08:18 +0000)]
Update morse script, avoid globals, use iterators.
Senthil Kumaran [Sun, 11 Oct 2009 02:00:07 +0000 (02:00 +0000)]
Fixed Issue6894, urllib2 doesn't respect "no_proxy" environment
Georg Brandl [Sat, 10 Oct 2009 22:26:45 +0000 (22:26 +0000)]
Modernize all around (dont ask me how useful that script is nowadays...)
Georg Brandl [Sat, 10 Oct 2009 22:03:43 +0000 (22:03 +0000)]
Style fixes.
Georg Brandl [Sat, 10 Oct 2009 21:55:11 +0000 (21:55 +0000)]
Modernize factorisation demo (mostly augassign.)
Georg Brandl [Sat, 10 Oct 2009 21:47:31 +0000 (21:47 +0000)]
Show use of range() step argument nicely.
Georg Brandl [Sat, 10 Oct 2009 21:43:21 +0000 (21:43 +0000)]
Remove outdated comment and fix a few style issues.
Benjamin Peterson [Sat, 10 Oct 2009 21:15:58 +0000 (21:15 +0000)]
remove script which uses long gone module