Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Issue #3366: Add gamma function to math module. | Mark Dickinson | 2009-09-28 | 2 | -0/+234 |
| | | | | (lgamma, erf and erfc to follow). | ||||
* | Applying patches backported from 3.1, by Gregor Lingl. | R. David Murray | 2009-09-28 | 1 | -4/+9 |
| | |||||
* | Prevent test_bad_address failure when a domain in the dns search | R. David Murray | 2009-09-28 | 1 | -8/+18 |
| | | | | | | path implements a '*' default rule. Also update comment with a more complete explanation of the difficulties inherent in the test. | ||||
* | Patch from Thomas Barr so that csv.Sniffer will set doublequote property. | Skip Montanaro | 2009-09-28 | 2 | -6/+25 |
| | | | | Closes issue 6606. | ||||
* | Test creation moved from TestProgram.parseArgs to TestProgram.createTests ↵ | Michael Foord | 2009-09-27 | 1 | -5/+8 |
| | | | | exclusively. Issue 6956. | ||||
* | Tidied up name of parameter in StreamHandler | Vinay Sajip | 2009-09-26 | 1 | -5/+5 |
| | |||||
* | #7000: document "sep" in capwords. Add a few tests | Ezio Melotti | 2009-09-26 | 2 | -4/+9 |
| | |||||
* | #6243: fix segfault when keyname() returns a NULL pointer. | Andrew M. Kuchling | 2009-09-25 | 1 | -0/+5 |
| | | | | Bug noted by Trundle, patched by Trundle and Jerry Chen. | ||||
* | http://bugs.python.org/issue6971 | Kristján Valur Jónsson | 2009-09-25 | 1 | -0/+4 |
| | | | | Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows | ||||
* | Half of the fix for issue 6957: ensure that distutils | Ronald Oussoren | 2009-09-22 | 1 | -0/+23 |
| | | | | | | | | | ignores the '-isysroot' option on OSX when the corresponding SDK is not installed. This ensures that the user can compile extensions on OSX 10.6 using the Python.org installer and a default installation of Xcode. | ||||
* | When range checking was added to time.strftime() a check was placed on tm_isdst | Brett Cannon | 2009-09-22 | 1 | -5/+0 |
| | | | | | | | | | | | 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. | ||||
* | forgot to commit a file in previous commit (r74994, issue #6954) | Tarek Ziadé | 2009-09-21 | 1 | -0/+3 |
| | |||||
* | #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils. | Tarek Ziadé | 2009-09-21 | 3 | -1/+11 |
| | |||||
* | improving distutils coverage | Tarek Ziadé | 2009-09-21 | 1 | -0/+22 |
| | |||||
* | improved distutils test coverage: now the DEBUG mode is covered too (will ↵ | Tarek Ziadé | 2009-09-21 | 5 | -2/+93 |
| | | | | help fix the issue #6954 in py3k branch) | ||||
* | Issue 6877: this patch makes it possible to link the readline extension | Ronald Oussoren | 2009-09-20 | 1 | -0/+42 |
| | | | | | | | | to the libedit emulation of the readline API on OSX 10.5 or later. This also adds a minimal testsuite for readline to check that the history manipuation functions have the same interface with both C libraries. | ||||
* | Followup for r74962 | Ronald Oussoren | 2009-09-20 | 1 | -2/+1 |
| | |||||
* | Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6 | Ronald Oussoren | 2009-09-20 | 1 | -183/+23 |
| | |||||
* | Update bug tracker reference. | Georg Brandl | 2009-09-19 | 1 | -1/+1 |
| | |||||
* | #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a ↵ | Georg Brandl | 2009-09-19 | 1 | -1/+1 |
| | | | | SystemError is set. Also clean up another usage of PyArg_ParseTuple. | ||||
* | backport keyword argument support for bytearray.decode | Benjamin Peterson | 2009-09-18 | 1 | -0/+2 |
| | |||||
* | add keyword arguments support to str/unicode encode and decode #6300 | Benjamin Peterson | 2009-09-18 | 2 | -0/+19 |
| | |||||
* | Use skipUnless to skip math module tests on non-IEEE 754 platforms. | Mark Dickinson | 2009-09-18 | 1 | -31/+34 |
| | |||||
* | Issue #4606: Passing 'None' if ctypes argtype is set to POINTER(...) | Thomas Heller | 2009-09-18 | 1 | -1/+1 |
| | | | | does now always result in NULL. | ||||
* | Issue #5042: Structure sub-subclass does now initialize correctly with | Thomas Heller | 2009-09-18 | 1 | -0/+19 |
| | | | | base class positional arguments. | ||||
* | Optimize optimization and fix method name in docstring. | Georg Brandl | 2009-09-18 | 1 | -3/+3 |
| | |||||
* | Use str.format() to fix beginner's mistake with %-style string formatting. | Georg Brandl | 2009-09-18 | 1 | -7/+7 |
| | |||||
* | #6938: "ident" is always a string, so use a format code which works. | Georg Brandl | 2009-09-18 | 1 | -1/+1 |
| | |||||
* | #6905: use better exception messages in inspect when the argument is of the ↵ | Georg Brandl | 2009-09-18 | 1 | -7/+7 |
| | | | | wrong type. | ||||
* | #6844 followup: the warning when setting Exception.message was removed, do ↵ | Georg Brandl | 2009-09-17 | 1 | -7/+0 |
| | | | | not test for it. | ||||
* | Issue #6922: Fix an infinite loop when trying to decode an invalid | Georg Brandl | 2009-09-17 | 1 | -0/+12 |
| | | | | UTF-32 stream with a non-raising error handler like "replace" or "ignore". | ||||
* | kill bare except | Benjamin Peterson | 2009-09-17 | 1 | -1/+1 |
| | |||||
* | #6844: do not emit DeprecationWarnings on access if Exception.message has ↵ | Georg Brandl | 2009-09-16 | 1 | -0/+40 |
| | | | | | | been set by the user. This works by always setting it in __dict__, except when it's implicitly set in __init__. | ||||
* | Fix issue #1590864, multiple threads and fork() can cause deadlocks, by | Thomas Wouters | 2009-09-16 | 1 | -0/+41 |
| | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | Make the pdb displayhook compatible with the standard displayhook: do not ↵ | Georg Brandl | 2009-09-16 | 2 | -2/+36 |
| | | | | print Nones. Add a test for that. | ||||
* | Remove some more boilerplate from the actual tests in test_pdb. | Georg Brandl | 2009-09-16 | 1 | -27/+34 |
| | |||||
* | Update distutils.util tests after my changes | Ronald Oussoren | 2009-09-15 | 1 | -1/+21 |
| | | | | to --with-universal-archs | ||||
* | Finish support for --with-universal-archs=intel | Ronald Oussoren | 2009-09-15 | 1 | -5/+20 |
| | | | | and --with-universal-archs=3-way (issue6245) | ||||
* | Test discovery in unittest will only attempt to import modules that are ↵ | Michael Foord | 2009-09-13 | 3 | -45/+79 |
| | | | | importable; i.e. their names are valid Python identifiers. If an import fails during discovery this will be recorded as an error and test discovery will continue. Issue 6568. | ||||
* | unittest.TestLoader.loadTestsFromName honors the loader suiteClass ↵ | Michael Foord | 2009-09-13 | 2 | -2/+43 |
| | | | | attribute. Issue 6866. | ||||
* | Objects that compare equal automatically pass or fail assertAlmostEqual and ↵ | Michael Foord | 2009-09-13 | 2 | -1/+14 |
| | | | | assertNotAlmostEqual tests on unittest.TestCase. Issue 6567. | ||||
* | Issue #6635: Fix profiler printing usage message. | Matthias Klose | 2009-09-13 | 1 | -2/+2 |
| | |||||
* | #6026 - fix tests that failed without zlib | Ezio Melotti | 2009-09-12 | 7 | -6/+51 |
| | |||||
* | Issue #6856: Add a filter keyword argument to TarFile.add(). | Lars Gustäbel | 2009-09-12 | 2 | -6/+49 |
| | | | | | | | | | The filter argument must be a function that takes a TarInfo object argument, changes it and returns it again. If the function returns None the TarInfo object will be excluded from the archive. The exclude argument is deprecated from now on, because it does something similar but is not as flexible. | ||||
* | revert unintended changes | Benjamin Peterson | 2009-09-09 | 1 | -44/+0 |
| | |||||
* | tabbify | Benjamin Peterson | 2009-09-09 | 1 | -0/+44 |
| | |||||
* | Issue #6163: Fixed HP-UX runtime library dir options in distutils.unixcompiler | Tarek Ziadé | 2009-09-09 | 2 | -2/+20 |
| | |||||
* | Issue #6857: Fix Decimal formatting to be consistent with existing float | Mark Dickinson | 2009-09-08 | 2 | -2/+6 |
| | | | | formatting: both are now right-aligned by default. | ||||
* | #Issue 6795: Fix infinite recursion in long(Decimal('nan')); change ↵ | Mark Dickinson | 2009-09-07 | 2 | -3/+12 |
| | | | | int(Decimal('nan')) to raise ValueError instead of either returning NaN or raising InvalidContext. | ||||
* | Issue #6850: Fix bug in Decimal._parse_format_specifier for formats | Mark Dickinson | 2009-09-07 | 2 | -1/+4 |
| | | | | with no type specifier. |