........
r75003 | mark.dickinson | 2009-09-21 18:16:44 +0200 (Mo, 21 Sep 2009) | 1 line
Silence MSVC compiler warnings.
........
r75011 | brett.cannon | 2009-09-22 02:29:48 +0200 (Di, 22 Sep 2009) | 10 lines
When range checking was added to time.strftime() a check was placed on tm_isdst
to make sure it fell within [-1, 1] just in case someone implementing
strftime() in libc was stupid enough to assume this. Turns out, though, some
OSs (e.g. zOS) are stupid enough to use values outside of this range for time
structs created by the system itself. So instead of throwing a ValueError,
tm_isdst is now normalized before being passed to strftime().
Fixes issue #6823. Thanks Robert Shapiro for diagnosing the problem and
contributing an initial patch.
........
r75020 | brett.cannon | 2009-09-22 21:13:27 +0200 (Di, 22 Sep 2009) | 1 line
Fix whitespace.
........
r75054 | kristjan.jonsson | 2009-09-25 17:19:51 +0200 (Fr, 25 Sep 2009) | 2 lines
http://bugs.python.org/issue6971
Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows
........
r75076 | vinay.sajip | 2009-09-26 16:53:32 +0200 (Sa, 26 Sep 2009) | 1 line
Tidied up name of parameter in StreamHandler
........
r75084 | mark.dickinson | 2009-09-27 18:05:21 +0200 (So, 27 Sep 2009) | 3 lines
Issue #6713: Improve decimal int -> string conversions. Thanks Gawain
Bolton for the suggestion and original patches.
........
r75091 | mark.dickinson | 2009-09-27 18:39:28 +0200 (So, 27 Sep 2009) | 1 line
Eliminate unnecessary get_wrapped_(u)long defines in struct module.
........
r75095 | michael.foord | 2009-09-27 21:15:41 +0200 (So, 27 Sep 2009) | 1 line
Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956.
........
r75098 | michael.foord | 2009-09-27 22:08:23 +0200 (So, 27 Sep 2009) | 1 line
Documentation improvement for load_tests protocol in unittest. Issue 6515.
........
r75102 | skip.montanaro | 2009-09-28 04:12:27 +0200 (Mo, 28 Sep 2009) | 3 lines
Patch from Thomas Barr so that csv.Sniffer will set doublequote property.
Closes issue 6606.
........
r75103 | kristjan.jonsson | 2009-09-28 15:08:48 +0200 (Mo, 28 Sep 2009) | 2 lines
http://bugs.python.org/issue6836
A memory block allocated with one API was being handed over to an object that used another API to release it.
........
r75104 | kristjan.jonsson | 2009-09-28 15:12:38 +0200 (Mo, 28 Sep 2009) | 2 lines
http://bugs.python.org/issue6836
The debug memory api now keeps track of which external API (PyMem_* or PyObject_*) was used to allocate each block and treats any API violation as an error. Added separate _PyMem_DebugMalloc functions for the Py_Mem API instead of having it use the _PyObject_DebugMalloc functions.
........
r75106 | kristjan.jonsson | 2009-09-28 17:56:25 +0200 (Mo, 28 Sep 2009) | 2 lines
http://bugs.python.org/issue6836
A missing 'const' wasn't detected by Visual Studio.
........
r75110 | mark.dickinson | 2009-09-28 18:52:40 +0200 (Mo, 28 Sep 2009) | 9 lines
Style/consistency/nano-optimization nit: replace occurrences of
(high_bits << PyLong_SHIFT) + low_bits with
(high_bits << PyLong_SHIFT) | low_bits
in Objects/longobject.c. Motivation:
- shouldn't unnecessarily mix bit ops with arithmetic ops (style)
- this pattern should be spelt the same way thoughout (consistency)
- it's very very very slightly faster: no need to worry about
carries to the high digit (nano-optimization).
........
r75117 | mark.dickinson | 2009-09-28 20:54:55 +0200 (Mo, 28 Sep 2009) | 3 lines
Issue #3366: Add gamma function to math module.
(lgamma, erf and erfc to follow).
........
r75139 | raymond.hettinger | 2009-09-29 20:53:24 +0200 (Di, 29 Sep 2009) | 3 lines
Issue 7008: Better document str.title and show how to work around the apostrophe problem.
........
r75141 | mark.dickinson | 2009-09-29 21:01:06 +0200 (Di, 29 Sep 2009) | 3 lines
Issue #7019: Unmarshalling of bad long data could produce unnormalized
PyLongs. Raise ValueError instead.
........
r75157 | mark.dickinson | 2009-09-30 18:58:01 +0200 (Mi, 30 Sep 2009) | 1 line
Fix buggy accuracy test
........
r75164 | senthil.kumaran | 2009-10-01 03:07:03 +0200 (Do, 01 Okt 2009) | 3 lines
Fix for issue7026 test_urllib: unsetting missing 'env' variable.
........
r75165 | senthil.kumaran | 2009-10-01 03:19:18 +0200 (Do, 01 Okt 2009) | 3 lines
using dict.unset(k) instead of del dict[k]. consistent with release26-maint
........
r75166 | senthil.kumaran | 2009-10-01 03:50:13 +0200 (Do, 01 Okt 2009) | 3 lines
That's self.env.unset(k) and not env.unset(k) I was heading back to the problem.
........
r75171 | antoine.pitrou | 2009-10-01 19:08:03 +0200 (Do, 01 Okt 2009) | 4 lines
Sync the 2.x `io` docs with py3k, with a small note as to the distinction
between bytes streams and text streams.
........
r75175 | georg.brandl | 2009-10-01 22:11:14 +0200 (Do, 01 Okt 2009) | 1 line
Fix some weird whitespace and two other overlong lines.
........
r75180 | georg.brandl | 2009-10-01 22:59:31 +0200 (Do, 01 Okt 2009) | 1 line
#7031: Add TestCase.assertIsInstance and negated method.
........
r75181 | georg.brandl | 2009-10-01 23:02:39 +0200 (Do, 01 Okt 2009) | 1 line
Add NEWS entry for r75180.
........
r75192 | tarek.ziade | 2009-10-03 01:49:48 +0200 (Sa, 03 Okt 2009) | 1 line
#6516 added owner/group support for tarfiles in Distutils
........
r75196 | tarek.ziade | 2009-10-03 02:07:35 +0200 (Sa, 03 Okt 2009) | 1 line
removing the last remaning apply() calls
........
r75209 | tarek.ziade | 2009-10-03 16:52:33 +0200 (Sa, 03 Okt 2009) | 1 line
now uses the right exception type
........
r75223 | benjamin.peterson | 2009-10-03 22:23:24 +0200 (Sa, 03 Okt 2009) | 1 line
#7050 fix a SystemError when using tuple unpacking and augmented assignment
........
r75230 | benjamin.peterson | 2009-10-04 15:38:38 +0200 (So, 04 Okt 2009) | 1 line
test logging
........
r75255 | r.david.murray | 2009-10-05 19:03:09 +0200 (Mo, 05 Okt 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.
........
r75258 | amaury.forgeotdarc | 2009-10-05 22:18:05 +0200 (Mo, 05 Okt 2009) | 2 lines
Fix compilation warning on Windows, where size_t is 32bit but file offsets are 64bit.
........
r75264 | andrew.kuchling | 2009-10-06 00:30:22 +0200 (Di, 06 Okt 2009) | 1 line
Add various items
........
r75267 | andrew.kuchling | 2009-10-06 00:42:56 +0200 (Di, 06 Okt 2009) | 1 line
Backport r73983: Document the thousands separator.
........
r75268 | andrew.kuchling | 2009-10-06 00:45:39 +0200 (Di, 06 Okt 2009) | 1 line
Remove two notes
........
r75272 | amaury.forgeotdarc | 2009-10-06 21:56:32 +0200 (Di, 06 Okt 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 (Di, 06 Okt 2009) | 2 lines
Add Anders Chrigstrom to Misc/ACKS for his work on unicodedata.
........
r75292 | benjamin.peterson | 2009-10-09 05:11:36 +0200 (Fr, 09 Okt 2009) | 1 line
death to old CVS keyword
........
r75293 | kristjan.jonsson | 2009-10-09 16:32:19 +0200 (Fr, 09 Okt 2009) | 2 lines
http://bugs.python.org/issue7029
a non-default timer wasn't actually used by the individual Tests.
........
r75300 | benjamin.peterson | 2009-10-09 23:48:14 +0200 (Fr, 09 Okt 2009) | 1 line
fix some coding style
........
r75304 | benjamin.peterson | 2009-10-10 00:05:45 +0200 (Sa, 10 Okt 2009) | 1 line
replace callable()
........
r75305 | benjamin.peterson | 2009-10-10 00:15:50 +0200 (Sa, 10 Okt 2009) | 1 line
replace has_key with 'in' operator
........
r75310 | vinay.sajip | 2009-10-10 22:32:36 +0200 (Sa, 10 Okt 2009) | 1 line
Issue #7086: Added TCP support to SysLogHandler and tidied up some anachronisms in the code.
........
r75313 | georg.brandl | 2009-10-10 23:07:35 +0200 (Sa, 10 Okt 2009) | 1 line
Bring old demo up-to-date.
........
r75315 | georg.brandl | 2009-10-10 23:10:05 +0200 (Sa, 10 Okt 2009) | 1 line
Remove unneeded "L" suffixes.
........
r75318 | benjamin.peterson | 2009-10-10 23:15:58 +0200 (Sa, 10 Okt 2009) | 1 line
remove script which uses long gone module
........
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.
........
r75322 | georg.brandl | 2009-10-10 23:47:31 +0200 (Sa, 10 Okt 2009) | 1 line
Show use of range() step argument nicely.
........
r75325 | georg.brandl | 2009-10-10 23:55:11 +0200 (Sa, 10 Okt 2009) | 1 line
Modernize factorisation demo (mostly augassign.)
........
r75327 | georg.brandl | 2009-10-11 00:03:43 +0200 (So, 11 Okt 2009) | 1 line
Style fixes.
........
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...)
........
r75337 | georg.brandl | 2009-10-11 10:18:44 +0200 (So, 11 Okt 2009) | 1 line
Update morse script, avoid globals, use iterators.
........
r75339 | georg.brandl | 2009-10-11 10:39:16 +0200 (So, 11 Okt 2009) | 1 line
Update markov demo.
........
r75342 | georg.brandl | 2009-10-11 10:45:03 +0200 (So, 11 Okt 2009) | 1 line
Remove useless script "mkrcs" and update README.
........
r75344 | georg.brandl | 2009-10-11 10:48:28 +0200 (So, 11 Okt 2009) | 1 line
Update primes script.
........
r75346 | mark.dickinson | 2009-10-11 11:35:57 +0200 (So, 11 Okt 2009) | 1 line
Fix 'primes 0 1'
........
r75348 | mark.dickinson | 2009-10-11 12:01:17 +0200 (So, 11 Okt 2009) | 1 line
Set missing executable property on scripts
........
r75350 | georg.brandl | 2009-10-11 14:00:18 +0200 (So, 11 Okt 2009) | 1 line
Use getopt in script.py demo.
........
r75351 | georg.brandl | 2009-10-11 14:03:01 +0200 (So, 11 Okt 2009) | 1 line
Fix variable.
........
r75354 | georg.brandl | 2009-10-11 16:23:49 +0200 (So, 11 Okt 2009) | 1 line
Update lpwatch script.
........
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.
........
r75358 | georg.brandl | 2009-10-11 17:06:44 +0200 (So, 11 Okt 2009) | 1 line
Overhaul of Demo/xml.
........
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.
........
r75391 | andrew.kuchling | 2009-10-13 17:49:33 +0200 (Di, 13 Okt 2009) | 1 line
Link to PEP
........
r75396 | amaury.forgeotdarc | 2009-10-13 23:29:34 +0200 (Di, 13 Okt 2009) | 3 lines
#7112: Fix compilation warning in unicodetype_db.h
makeunicodedata now generates double literals
........
r75400 | r.david.murray | 2009-10-14 15:58:07 +0200 (Mi, 14 Okt 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).
........
r75405 | neil.schemenauer | 2009-10-14 19:17:14 +0200 (Mi, 14 Okt 2009) | 4 lines
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.
........
r75407 | antoine.pitrou | 2009-10-14 19:30:52 +0200 (Mi, 14 Okt 2009) | 3 lines
Fix py3k warnings in the aifc module
........
r75408 | antoine.pitrou | 2009-10-14 19:34:31 +0200 (Mi, 14 Okt 2009) | 3 lines
Fix a test_atexit failure when run with -3
........
r75409 | antoine.pitrou | 2009-10-14 20:01:33 +0200 (Mi, 14 Okt 2009) | 3 lines
Fix py3k warnings in bsddb
........
r75410 | antoine.pitrou | 2009-10-14 20:09:45 +0200 (Mi, 14 Okt 2009) | 3 lines
Silence a py3k warning claiming to affect Lib/calendar.py
........
r75411 | antoine.pitrou | 2009-10-14 20:12:54 +0200 (Mi, 14 Okt 2009) | 3 lines
Fix a py3k warning in the StringIO module (exhibited in test_codecencodings_cn)
........
r75412 | antoine.pitrou | 2009-10-14 20:27:32 +0200 (Mi, 14 Okt 2009) | 3 lines
Fix py3k warnings in the socket module
........
r75413 | antoine.pitrou | 2009-10-14 20:31:05 +0200 (Mi, 14 Okt 2009) | 3 lines
Fix a py3k warning in the sndhdr module (found with test_email)
........
r75415 | antoine.pitrou | 2009-10-14 20:39:46 +0200 (Mi, 14 Okt 2009) | 3 lines
Silence some py3k warnings claiming to affect _pyio
........
r75417 | antoine.pitrou | 2009-10-14 20:47:13 +0200 (Mi, 14 Okt 2009) | 3 lines
Fix failures in test_profilehooks when run with -3
........
r75419 | antoine.pitrou | 2009-10-14 20:56:11 +0200 (Mi, 14 Okt 2009) | 3 lines
Silence py3k warning claiming to affect the random module
........
r75420 | antoine.pitrou | 2009-10-14 21:04:48 +0200 (Mi, 14 Okt 2009) | 3 lines
Fix py3k warnings in httplib
........
r75421 | antoine.pitrou | 2009-10-14 21:09:48 +0200 (Mi, 14 Okt 2009) | 3 lines
Fix py3k warnings in the uuid module
........
r75423 | neil.schemenauer | 2009-10-14 21:23:53 +0200 (Mi, 14 Okt 2009) | 2 lines
Add support to the ihooks module for relative imports.
........
r75424 | neil.schemenauer | 2009-10-14 21:33:31 +0200 (Mi, 14 Okt 2009) | 4 lines
Make cPickle.Unpickler.noload() handle dict subclasses. noload() is
an obscure, undocumentated feature so no test was added. Closes
issue #
1101399.
........
r75429 | benjamin.peterson | 2009-10-15 03:47:28 +0200 (Do, 15 Okt 2009) | 1 line
pep8ify if blocks
........
r75430 | benjamin.peterson | 2009-10-15 03:49:37 +0200 (Do, 15 Okt 2009) | 1 line
use floor division and add a test that exercises the tabsize codepath
........
r75431 | benjamin.peterson | 2009-10-15 03:56:25 +0200 (Do, 15 Okt 2009) | 1 line
change test to what I intended
........
r75432 | benjamin.peterson | 2009-10-15 05:05:39 +0200 (Do, 15 Okt 2009) | 1 line
some cleanups
........
r75433 | benjamin.peterson | 2009-10-15 05:06:55 +0200 (Do, 15 Okt 2009) | 1 line
make inspect.isabstract() always return a boolean; add a test for it, too #7069
........
r75434 | mark.dickinson | 2009-10-15 17:18:55 +0200 (Do, 15 Okt 2009) | 1 line
Fix missing semicolon
........
r75436 | benjamin.peterson | 2009-10-15 17:39:15 +0200 (Do, 15 Okt 2009) | 1 line
don't need to mess up sys.path
........
r75437 | benjamin.peterson | 2009-10-15 17:44:46 +0200 (Do, 15 Okt 2009) | 1 line
only clear a module's __dict__ if the module is the only one with a reference to it #7140
........
r75438 | mark.dickinson | 2009-10-15 17:53:58 +0200 (Do, 15 Okt 2009) | 1 line
Issue #7142: Fix uses of unicode in memoryview objects
........
r75445 | vinay.sajip | 2009-10-16 16:06:44 +0200 (Fr, 16 Okt 2009) | 1 line
Issue #7120: logging: Removed import of multiprocessing which is causing crash in GAE.
........
r75446 | eric.smith | 2009-10-16 16:26:36 +0200 (Fr, 16 Okt 2009) | 1 line
Removed usage of unsafe PyFloat_AsString.
........
r75450 | tarek.ziade | 2009-10-17 01:04:16 +0200 (Sa, 17 Okt 2009) | 1 line
this test requires zlib support
........
r75453 | nick.coghlan | 2009-10-17 08:33:05 +0200 (Sa, 17 Okt 2009) | 1 line
Correctly restore sys.stdout in test_descr
........
r75454 | mark.dickinson | 2009-10-17 09:06:37 +0200 (Sa, 17 Okt 2009) | 1 line
test_math ulp computation was wrong on big-endian systems
........
r75456 | nick.coghlan | 2009-10-17 09:30:40 +0200 (Sa, 17 Okt 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 09:34:27 +0200 (Sa, 17 Okt 2009) | 1 line
Formatting tweak so that before and after values are vertically aligned
........
r75458 | nick.coghlan | 2009-10-17 10:21:21 +0200 (Sa, 17 Okt 2009) | 1 line
Check and revert expected sys.path alterations
........
r75461 | nick.coghlan | 2009-10-17 16:40:54 +0200 (Sa, 17 Okt 2009) | 1 line
Restore original sys.path when running TTK tests
........
r75462 | nick.coghlan | 2009-10-17 17:09:41 +0200 (Sa, 17 Okt 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-17 17:23:08 +0200 (Sa, 17 Okt 2009) | 1 line
Revert changes made to environment in test_httpservers
........
r75465 | nick.coghlan | 2009-10-17 17:45:52 +0200 (Sa, 17 Okt 2009) | 1 line
Move restoration of the os.environ object into the context manager where it belongs
........
r75466 | nick.coghlan | 2009-10-17 17:48:16 +0200 (Sa, 17 Okt 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-17 17:57:42 +0200 (Sa, 17 Okt 2009) | 1 line
Avoid replacing existing modules and sys.path in import tests
........
r75468 | nick.coghlan | 2009-10-17 18:19:51 +0200 (Sa, 17 Okt 2009) | 1 line
Don't replace sys.path in test_site
........
r75470 | mark.dickinson | 2009-10-17 23:46:32 +0200 (Sa, 17 Okt 2009) | 1 line
Protect against attempts to replace PyNumber_Add with PyNumber_InPlaceAdd in builtin sum
........
r75481 | nick.coghlan | 2009-10-18 07:38:48 +0200 (So, 18 Okt 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...
........
r75485 | tarek.ziade | 2009-10-18 11:28:26 +0200 (So, 18 Okt 2009) | 1 line
Changed distutils tests to avoid environment alteration
........
r75486 | nick.coghlan | 2009-10-18 12:29:10 +0200 (So, 18 Okt 2009) | 1 line
Silence a deprecation warning by using the appropriate replacement construct
........
r75489 | nick.coghlan | 2009-10-18 12:56:21 +0200 (So, 18 Okt 2009) | 1 line
Restore sys.path in test_tk
........
r75499 | antoine.pitrou | 2009-10-18 20:22:04 +0200 (So, 18 Okt 2009) | 3 lines
Add a test for same-thread asynchronous exceptions (see #
1779233).
........
r75501 | antoine.pitrou | 2009-10-18 20:37:11 +0200 (So, 18 Okt 2009) | 3 lines
Add a comment about unreachable code, and fix a typo
........
r75503 | r.david.murray | 2009-10-18 23:12:37 +0200 (So, 18 Okt 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.
........
r75506 | eric.smith | 2009-10-19 02:34:12 +0200 (Mo, 19 Okt 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.
........
r75510 | eric.smith | 2009-10-19 16:38:14 +0200 (Mo, 19 Okt 2009) | 1 line
Issue #7169: Document PyFloat_AsString and PyFloat_AsReprString, and note that they are unsafe and deprecated.
........
r75529 | antoine.pitrou | 2009-10-19 19:59:07 +0200 (Mo, 19 Okt 2009) | 5 lines
Issue #7133: SSL objects now support the new buffer API.
This fixes the test_ssl failure.
........
r75532 | antoine.pitrou | 2009-10-19 20:20:21 +0200 (Mo, 19 Okt 2009) | 3 lines
NEWS entry for r75531.
........
r75551 | benjamin.peterson | 2009-10-20 05:14:10 +0200 (Di, 20 Okt 2009) | 1 line
use property api
........
r75586 | vinay.sajip | 2009-10-21 22:22:14 +0200 (Mi, 21 Okt 2009) | 1 line
Issue #7077: logging: SysLogHandler now treats Unicode as per RFC 5424.
........
r75589 | benjamin.peterson | 2009-10-22 04:26:47 +0200 (Do, 22 Okt 2009) | 1 line
whitespace
........
r75591 | benjamin.peterson | 2009-10-22 04:50:38 +0200 (Do, 22 Okt 2009) | 4 lines
rewrite for style, clarify, and comments
Also, use the hasattr() like scheme of allowing BaseException exceptions through.
........
r75620 | eric.smith | 2009-10-22 22:13:14 +0200 (Do, 22 Okt 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).
........
r75640 | neil.schemenauer | 2009-10-23 21:58:17 +0200 (Fr, 23 Okt 2009) | 2 lines
Improve some docstrings in the 'warnings' module.
........
r75650 | antoine.pitrou | 2009-10-24 13:59:41 +0200 (Sa, 24 Okt 2009) | 3 lines
Manual py3k backport: [svn r74155] Issue #6242: Fix deallocator of io.StringIO and io.BytesIO
........
r75651 | mark.dickinson | 2009-10-24 14:13:30 +0200 (Sa, 24 Okt 2009) | 7 lines
Issue #7117: Prepare for backport of py3k float repr.
Add the Python/dtoa.c file containing the main algorithms;
add corresponding include file and include in Python.h;
include license information for Python/dtoa.c;
add dtoa.c and dtoa.h to Makefile.
........
r75653 | mark.dickinson | 2009-10-24 14:17:24 +0200 (Sa, 24 Okt 2009) | 1 line
Temporary define to avoid build failure
........
r75654 | antoine.pitrou | 2009-10-24 14:23:18 +0200 (Sa, 24 Okt 2009) | 3 lines
Manual py3k backport: [svn r74158] Issue #6218: Make io.BytesIO and io.StringIO picklable.
........
r75655 | antoine.pitrou | 2009-10-24 14:28:22 +0200 (Sa, 24 Okt 2009) | 3 lines
Manual py3k backport: [svn r74316] Issue #5449: Fix io.BytesIO to not accept arbitrary keywords
........
r75657 | antoine.pitrou | 2009-10-24 14:41:27 +0200 (Sa, 24 Okt 2009) | 3 lines
Fix compilation error in debug mode.
........
r75658 | mark.dickinson | 2009-10-24 15:28:38 +0200 (Sa, 24 Okt 2009) | 8 lines
Issue #7117 (backport py3k float repr) continued:
- add double endianness detection to configure script
- add configure-time check to see whether we can use inline
assembly to get and set x87 control word in configure script
- add functions to get and set x87 control word in Python/pymath.c
- add pyport.h logic to determine whether it's safe to use the
short float repr or not
........
r75659 | tarek.ziade | 2009-10-24 15:29:44 +0200 (Sa, 24 Okt 2009) | 1 line
#7066 - Fixed distutils.archive_util.make_archive behavior so it restores the cwd
........
r75660 | mark.dickinson | 2009-10-24 15:31:41 +0200 (Sa, 24 Okt 2009) | 1 line
Remove temporary define from r75653
........
r75664 | mark.dickinson | 2009-10-24 15:44:16 +0200 (Sa, 24 Okt 2009) | 1 line
Configure check for double rounding should take BASECFLAGS into account
........
r75666 | mark.dickinson | 2009-10-24 16:01:08 +0200 (Sa, 24 Okt 2009) | 4 lines
Issue #7117 (backport py3k float repr) continued:
Add sys.float_repr_style attribute ('short' if short float
repr is in used; 'legacy' otherwise).
........
r75672 | mark.dickinson | 2009-10-24 17:54:35 +0200 (Sa, 24 Okt 2009) | 4 lines
Issue #7117: temporarily disable the short float repr while the
pieces are being assembled. To re-enable, define the preprocessor
symbol PY_SHORT_FLOAT_REPR
........
r75675 | eric.smith | 2009-10-24 21:50:44 +0200 (Sa, 24 Okt 2009) | 1 line
Removed unused function PyFloat_AsStringEx. It is unused in floatobject.c, and it's not declared in any .h file.
........
r75697 | mark.dickinson | 2009-10-25 21:39:06 +0100 (So, 25 Okt 2009) | 3 lines
Issue #
1087418: Small performance boost for bitwise operations on longs.
Initial patch by Gregory Smith; some tweaks added.
........
r75711 | mark.dickinson | 2009-10-26 12:59:30 +0100 (Mo, 26 Okt 2009) | 1 line
Skip readline tests if readline module is not available.
........
r75714 | mark.dickinson | 2009-10-26 15:18:44 +0100 (Mo, 26 Okt 2009) | 1 line
Warn against replacing PyNumber_Add with PyNumber_InPlaceAdd in sum
........
r75717 | eric.smith | 2009-10-26 15:48:55 +0100 (Mo, 26 Okt 2009) | 1 line
Start to remove _PyOS_double_to_string, as mentioned in issue 7117.
........
r75718 | eric.smith | 2009-10-26 16:06:39 +0100 (Mo, 26 Okt 2009) | 1 line
Continue removing _PyOS_double_to_string, as mentioned in issue 7117.
........
r75720 | mark.dickinson | 2009-10-26 16:39:50 +0100 (Mo, 26 Okt 2009) | 3 lines
Issue #7117 (backport py3k float repr) continued:
Backport pystrtod.c from py3k.
........
r75722 | eric.smith | 2009-10-26 18:46:17 +0100 (Mo, 26 Okt 2009) | 1 line
Finished removing _PyOS_double_to_string, as mentioned in issue 7117.
........
r75728 | mark.dickinson | 2009-10-26 20:59:23 +0100 (Mo, 26 Okt 2009) | 3 lines
Use correct conversion specifier and length modifier when printing an
integer of type off_t. Also, don't assume that long long is available.
........
r75730 | mark.dickinson | 2009-10-26 22:09:09 +0100 (Mo, 26 Okt 2009) | 2 lines
Issue #7117: Backport missing pystrtod.h declarations from py3k.
........
r75731 | mark.dickinson | 2009-10-26 22:11:20 +0100 (Mo, 26 Okt 2009) | 4 lines
Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
floatobject.c. Also, remove limitation on length of unicode inputs to
float().
........
r75739 | mark.dickinson | 2009-10-26 23:28:14 +0100 (Mo, 26 Okt 2009) | 5 lines
Issue #7117: Use PyOS_string_to_double instead of PyOS_ascii_strtod in
complexobject.c. Also remove length restriction on unicode inputs to
the complex constructor.
........
r75742 | benjamin.peterson | 2009-10-26 23:51:16 +0100 (Mo, 26 Okt 2009) | 1 line
use 'is' instead of id()
........
r75743 | eric.smith | 2009-10-27 12:32:11 +0100 (Di, 27 Okt 2009) | 1 line
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in cPickle as part of short float repr.
........
r75745 | eric.smith | 2009-10-27 13:12:44 +0100 (Di, 27 Okt 2009) | 1 line
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in stropmodule as part of short float repr.
........
r75824 | eric.smith | 2009-10-27 19:33:14 +0100 (Di, 27 Okt 2009) | 1 line
Removed PyOS_ascii_atof from ast.c, as mentioned in issue 7117.
........
r75826 | antoine.pitrou | 2009-10-27 19:36:47 +0100 (Di, 27 Okt 2009) | 3 lines
Suppress transient refleaks in test_asyncore
........
r75838 | antoine.pitrou | 2009-10-27 19:50:52 +0100 (Di, 27 Okt 2009) | 3 lines
(Hopefully) suppress transient refleaks in test_httpservers.
........
r75842 | antoine.pitrou | 2009-10-27 20:23:56 +0100 (Di, 27 Okt 2009) | 3 lines
Fix transient refleak in test_sys.
........
r75844 | antoine.pitrou | 2009-10-27 20:36:44 +0100 (Di, 27 Okt 2009) | 3 lines
Suppress transient refleaks in test_file2k.
........
r75846 | eric.smith | 2009-10-27 20:42:57 +0100 (Di, 27 Okt 2009) | 1 line
Removed PyOS_ascii_atof from marshal.c, as mentioned in issue 7117. Also brings it more in line with py3k.
........
r75849 | antoine.pitrou | 2009-10-27 20:47:30 +0100 (Di, 27 Okt 2009) | 3 lines
Suppress transient refleaks in test_smtplib.
........
r75851 | antoine.pitrou | 2009-10-27 21:02:23 +0100 (Di, 27 Okt 2009) | 3 lines
Suppress transient refleaks in test_threading.
........
r75855 | antoine.pitrou | 2009-10-27 21:14:04 +0100 (Di, 27 Okt 2009) | 3 lines
Fix transient refleaks in test_urllib2_localnet.
........
r75860 | antoine.pitrou | 2009-10-27 21:20:41 +0100 (Di, 27 Okt 2009) | 3 lines
Try to fix transient refleaks in test_distutils.
........
r75866 | georg.brandl | 2009-10-27 21:52:02 +0100 (Di, 27 Okt 2009) | 1 line
Add a regrtest option to re-run in verbose mode immediately after a test fails, and use that option on the buildbots.
........
r75867 | georg.brandl | 2009-10-27 21:55:44 +0100 (Di, 27 Okt 2009) | 1 line
Reformat the regrtest command-line option help and group the options into sections.
........
r75868 | benjamin.peterson | 2009-10-27 21:59:18 +0100 (Di, 27 Okt 2009) | 1 line
test expect base classes
........
r75871 | tarek.ziade | 2009-10-27 22:20:27 +0100 (Di, 27 Okt 2009) | 1 line
Issue #7218: Fix test_site for win32
........
r75874 | antoine.pitrou | 2009-10-27 22:27:24 +0100 (Di, 27 Okt 2009) | 4 lines
Reduce the probability of refleaks in test_socketserver.
Not completely suppressed though, see issue #7222.
........
r75879 | mark.dickinson | 2009-10-27 22:48:20 +0100 (Di, 27 Okt 2009) | 3 lines
Silence gcc warnings when trying to print an off_t using "lld", on platforms
where off_t has type long (e.g., 64-bit Linux).
........
r75883 | mark.dickinson | 2009-10-27 23:09:33 +0100 (Di, 27 Okt 2009) | 1 line
Test long inputs to float
........
r75893 | tarek.ziade | 2009-10-28 00:06:10 +0100 (Mi, 28 Okt 2009) | 1 line
Fixed #1180: Option to ignore ~/.pydistutils.cfg in Distutils
........
r75901 | tarek.ziade | 2009-10-28 07:45:18 +0100 (Mi, 28 Okt 2009) | 1 line
removed spurious spaces
........
r75905 | mark.dickinson | 2009-10-28 08:23:49 +0100 (Mi, 28 Okt 2009) | 1 line
Replace long long with PY_LONG_LONG
........
r75909 | mark.dickinson | 2009-10-28 08:47:32 +0100 (Mi, 28 Okt 2009) | 1 line
Fix format specifier for MSVC
........
r75913 | eric.smith | 2009-10-28 09:44:37 +0100 (Mi, 28 Okt 2009) | 1 line
Issue 7117: Replace PyOS_ascii_strtod with PyOS_string_to_double in _json.c as part of short float repr. Change made after consulting with Bob Ippolito. This completes the removal of calls to PyOS_ascii_strtod.
........
r75929 | vinay.sajip | 2009-10-29 00:28:16 +0100 (Do, 29 Okt 2009) | 1 line
Issue 7199: Documentation made slightly more consistent w.r.t. logging level enumeration.
........
r75935 | lars.gustaebel | 2009-10-29 10:15:00 +0100 (Do, 29 Okt 2009) | 3 lines
Issue #4750: Store the basename of the original filename in
the gzip FNAME header as required by RFC 1952.
........
r75939 | mark.dickinson | 2009-10-29 10:46:04 +0100 (Do, 29 Okt 2009) | 5 lines
Roll back ill-considered attempts to fix printf specifier mismatch for off_t.
The sensible solution seems to be to implement %lld for PyString_FromFormat(V)
and PyErr_Format. See issue #7228.
........
r75954 | georg.brandl | 2009-10-29 21:53:00 +0100 (Do, 29 Okt 2009) | 1 line
Use constants instead of magic integers for test result. Do not re-run with --verbose3 for environment changing tests.
........
r75956 | georg.brandl | 2009-10-29 22:16:34 +0100 (Do, 29 Okt 2009) | 1 line
I do not think the "railroad" program mentioned is still available.
........
r75957 | georg.brandl | 2009-10-29 22:44:56 +0100 (Do, 29 Okt 2009) | 1 line
Fix constant name.
........
r75958 | antoine.pitrou | 2009-10-30 18:07:08 +0100 (Fr, 30 Okt 2009) | 7 lines
Issue #7222: Make thread "reaping" more reliable so that reference
leak-chasing test runs give sensible results. The previous method of
reaping threads could return successfully while some Thread objects were
still referenced. This also introduces a new private function:
:func:
\14hread._count().
........
r75960 | antoine.pitrou | 2009-10-30 18:33:28 +0100 (Fr, 30 Okt 2009) | 3 lines
Fix transient refleaks in test_docxmlrpc.
........
r75962 | antoine.pitrou | 2009-10-30 18:55:21 +0100 (Fr, 30 Okt 2009) | 3 lines
Try to fix transient refleaks in test_asynchat.
........
r75963 | antoine.pitrou | 2009-10-30 18:56:00 +0100 (Fr, 30 Okt 2009) | 3 lines
Try to fix transient refleaks in test_xmlrpc.
........
r75967 | antoine.pitrou | 2009-10-30 22:41:22 +0100 (Fr, 30 Okt 2009) | 3 lines
Try to fix transient refleaks in test_pydoc.
........
r75969 | antoine.pitrou | 2009-10-30 23:19:09 +0100 (Fr, 30 Okt 2009) | 5 lines
Remove official documentation entry for thread._count() and make the
docstring more descriptive instead.
........
r75971 | benjamin.peterson | 2009-10-31 04:56:15 +0100 (Sa, 31 Okt 2009) | 1 line
add some checks for evaluation order with parenthesis #7210
........
r75974 | mark.dickinson | 2009-10-31 10:28:12 +0100 (Sa, 31 Okt 2009) | 1 line
Move a Misc/NEWS entry to right section.
........
r75979 | mark.dickinson | 2009-10-31 10:42:39 +0100 (Sa, 31 Okt 2009) | 1 line
Deprecate PyOS_ascii_strtod and PyOS_ascii_atof, and document the replacement function PyOS_string_to_double.
........
r75991 | mark.dickinson | 2009-10-31 13:47:47 +0100 (Sa, 31 Okt 2009) | 1 line
Set retval on PyOS_string_to_double failure.
........
r75995 | eric.smith | 2009-10-31 18:07:17 +0100 (Sa, 31 Okt 2009) | 1 line
Improved test for a deprecation warning.
........
r75999 | gregory.p.smith | 2009-10-31 22:23:39 +0100 (Sa, 31 Okt 2009) | 2 lines
Define TCSASOFT if the flag exists.
........