summaryrefslogtreecommitdiffstats
path: root/Lib
Commit message (Collapse)AuthorAgeFilesLines
* Issue #7078: _struct.__doc__ was being ignored. Import it into struct.Mark Dickinson2009-10-081-0/+1
| | | | | Also add description of '?' struct format character. Thanks Gabriel Genellina for the patch.
* Issue #7048: logb should round its result when that result doesn't fitMark Dickinson2009-10-071-1/+2
| | | | | | 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.)
* #1571184: makeunicodedata.py now generates the functions _PyUnicode_ToNumeric,Amaury Forgeot d'Arc2009-10-061-2/+3
| | | | | | _PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace. It now also parses the Unihan.txt for numeric values.
* Use standard comma punctuation; reword some sentences in the docsAndrew M. Kuchling2009-10-051-1/+1
|
* Issue #7058: Added save/restore for argv and os.environ to runtest_innerR. David Murray2009-10-051-0/+15
| | | | in regrtest, with warnings if the called test modifies them.
* Issue #7042: Fix test_signal failure on OS X 10.6 64-bit buildsMark Dickinson2009-10-041-0/+2
| | | | | (and also, with luck, on the x86 FreeBSD buildbot), by making sure that some user time is used in test_itimer_virtual.
* test loggingBenjamin Peterson2009-10-041-0/+1
|
* #7050 fix a SystemError when using tuple unpacking and augmented assignmentBenjamin Peterson2009-10-031-0/+3
|
* now uses the right exception typeTarek Ziadé2009-10-031-2/+2
|
* removing the last remaning apply() callsTarek Ziadé2009-10-033-3/+3
|
* #6516 added owner/group support for tarfiles in DistutilsTarek Ziadé2009-10-027-15/+218
|
* #7031: Add TestCase.assertIsInstance and negated method.Georg Brandl2009-10-012-0/+25
|
* Fix some weird whitespace and two other overlong lines.Georg Brandl2009-10-011-4/+7
|
* That's self.env.unset(k) and not env.unset(k) I was heading back to the problem.Senthil Kumaran2009-10-011-1/+1
|
* using dict.unset(k) instead of del dict[k]. consistent with release26-maintSenthil Kumaran2009-10-011-1/+1
|
* Fix for issue7026 test_urllib: unsetting missing 'env' variable.Senthil Kumaran2009-10-011-1/+1
|
* Fix buggy accuracy testMark Dickinson2009-09-301-1/+1
|
* #5329: fix os.popen* regression from 2.5: don't execute commands as a sequencePhilip Jenvey2009-09-293-22/+75
| | | | | | through the shell. also document the correct subprocess replacement for this case patch from Jean-Paul Calderone and Jani Hakala
* Issue #7019: Unmarshalling of bad long data could produce unnormalizedMark Dickinson2009-09-291-0/+5
| | | | PyLongs. Raise ValueError instead.
* Issue #6790: Make it possible again to pass an `array.array` toAntoine Pitrou2009-09-292-2/+18
| | | | `httplib.HTTPConnection.send`. Patch by Kirk McDonald.
* Issue #7014: logging: Improved IronPython 2.6 compatibility.Vinay Sajip2009-09-291-6/+14
|
* #6990: clear threading.local's key only after its thread state is removed:Philip Jenvey2009-09-291-0/+38
| | | | | fixes local subclasses leaving old state around after a ref cycle GC which could be recycled by new locals
* Issue #3366: Add gamma function to math module.Mark Dickinson2009-09-282-0/+234
| | | | (lgamma, erf and erfc to follow).
* Applying patches backported from 3.1, by Gregor Lingl.R. David Murray2009-09-281-4/+9
|
* Prevent test_bad_address failure when a domain in the dns searchR. David Murray2009-09-281-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 Montanaro2009-09-282-6/+25
| | | | Closes issue 6606.
* Test creation moved from TestProgram.parseArgs to TestProgram.createTests ↵Michael Foord2009-09-271-5/+8
| | | | exclusively. Issue 6956.
* Tidied up name of parameter in StreamHandlerVinay Sajip2009-09-261-5/+5
|
* #7000: document "sep" in capwords. Add a few testsEzio Melotti2009-09-262-4/+9
|
* #6243: fix segfault when keyname() returns a NULL pointer.Andrew M. Kuchling2009-09-251-0/+5
| | | | Bug noted by Trundle, patched by Trundle and Jerry Chen.
* http://bugs.python.org/issue6971Kristján Valur Jónsson2009-09-251-0/+4
| | | | Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows
* Half of the fix for issue 6957: ensure that distutilsRonald Oussoren2009-09-221-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_isdstBrett Cannon2009-09-221-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-211-0/+3
|
* #6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils.Tarek Ziadé2009-09-213-1/+11
|
* improving distutils coverageTarek Ziadé2009-09-211-0/+22
|
* improved distutils test coverage: now the DEBUG mode is covered too (will ↵Tarek Ziadé2009-09-215-2/+93
| | | | help fix the issue #6954 in py3k branch)
* Issue 6877: this patch makes it possible to link the readline extensionRonald Oussoren2009-09-201-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 r74962Ronald Oussoren2009-09-201-2/+1
|
* Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6Ronald Oussoren2009-09-201-183/+23
|
* Update bug tracker reference.Georg Brandl2009-09-191-1/+1
|
* #6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a ↵Georg Brandl2009-09-191-1/+1
| | | | SystemError is set. Also clean up another usage of PyArg_ParseTuple.
* backport keyword argument support for bytearray.decodeBenjamin Peterson2009-09-181-0/+2
|
* add keyword arguments support to str/unicode encode and decode #6300Benjamin Peterson2009-09-182-0/+19
|
* Use skipUnless to skip math module tests on non-IEEE 754 platforms.Mark Dickinson2009-09-181-31/+34
|
* Issue #4606: Passing 'None' if ctypes argtype is set to POINTER(...)Thomas Heller2009-09-181-1/+1
| | | | does now always result in NULL.
* Issue #5042: Structure sub-subclass does now initialize correctly withThomas Heller2009-09-181-0/+19
| | | | base class positional arguments.
* Optimize optimization and fix method name in docstring.Georg Brandl2009-09-181-3/+3
|
* Use str.format() to fix beginner's mistake with %-style string formatting.Georg Brandl2009-09-181-7/+7
|
* #6938: "ident" is always a string, so use a format code which works.Georg Brandl2009-09-181-1/+1
|