]>
granicus.if.org Git - python/log
Mark Dickinson [Thu, 8 Oct 2009 16:28:39 +0000 (16:28 +0000)]
Update decimal test data to the most recent set from Mike Cowlishaw.
Mark Dickinson [Thu, 8 Oct 2009 15:54:10 +0000 (15:54 +0000)]
Issue #7078: _struct.__doc__ was being ignored. Import it into struct.
Also add description of '?' struct format character. Thanks Gabriel
Genellina for the patch.
Ronald Oussoren [Thu, 8 Oct 2009 08:04:15 +0000 (08:04 +0000)]
Ensure that _scproxy gets build even when --disable-toolbox-glue
is specified on OSX. Fixes a regression in 2.6.3.
Mark Dickinson [Wed, 7 Oct 2009 19:22:05 +0000 (19:22 +0000)]
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 20:02:09 +0000 (20:02 +0000)]
Add Anders Chrigstrom to Misc/ACKS for his work on unicodedata.
Amaury Forgeot d'Arc [Tue, 6 Oct 2009 19:56:32 +0000 (19:56 +0000)]
#
1571184 : makeunicodedata.py now generates the functions _PyUnicode_ToNumeric,
_PyUnicode_IsLinebreak and _PyUnicode_IsWhitespace.
It now also parses the Unihan.txt for numeric values.
Andrew M. Kuchling [Mon, 5 Oct 2009 22:45:39 +0000 (22:45 +0000)]
Remove two notes
Andrew M. Kuchling [Mon, 5 Oct 2009 22:42:56 +0000 (22:42 +0000)]
Backport r73983: Document the thousands separator.
Andrew M. Kuchling [Mon, 5 Oct 2009 22:32:48 +0000 (22:32 +0000)]
Use standard comma punctuation; reword some sentences in the docs
Andrew M. Kuchling [Mon, 5 Oct 2009 22:31:11 +0000 (22:31 +0000)]
Reword sentence
Andrew M. Kuchling [Mon, 5 Oct 2009 22:30:22 +0000 (22:30 +0000)]
Add various items
Andrew M. Kuchling [Mon, 5 Oct 2009 21:25:35 +0000 (21:25 +0000)]
Note side benefit of socket.create_connection()
Andrew M. Kuchling [Mon, 5 Oct 2009 21:25:03 +0000 (21:25 +0000)]
Document 'skip' parameter to constructor
Andrew M. Kuchling [Mon, 5 Oct 2009 21:24:35 +0000 (21:24 +0000)]
Fix narkup
Andrew M. Kuchling [Mon, 5 Oct 2009 21:24:20 +0000 (21:24 +0000)]
Wording fix
Amaury Forgeot d'Arc [Mon, 5 Oct 2009 20:18:05 +0000 (20:18 +0000)]
Fix compilation warning on Windows, where size_t is 32bit but file offsets are 64bit.
R. David Murray [Mon, 5 Oct 2009 17:03:09 +0000 (17:03 +0000)]
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 [Sun, 4 Oct 2009 18:38:39 +0000 (18:38 +0000)]
Issue #7042: Fix test_signal failure on OS X 10.6 64-bit builds
(and also, with luck, on the x86 FreeBSD buildbot), by making sure
that some user time is used in test_itimer_virtual.
Benjamin Peterson [Sun, 4 Oct 2009 13:38:38 +0000 (13:38 +0000)]
test logging
Benjamin Peterson [Sat, 3 Oct 2009 20:23:24 +0000 (20:23 +0000)]
#7050 fix a SystemError when using tuple unpacking and augmented assignment
Tarek Ziadé [Sat, 3 Oct 2009 14:52:33 +0000 (14:52 +0000)]
now uses the right exception type
Mark Dickinson [Sat, 3 Oct 2009 10:14:34 +0000 (10:14 +0000)]
Issue #7028: Add note to hex() builtin docs pointing to float.hex().
Tarek Ziadé [Sat, 3 Oct 2009 00:07:35 +0000 (00:07 +0000)]
removing the last remaning apply() calls
Tarek Ziadé [Fri, 2 Oct 2009 23:49:48 +0000 (23:49 +0000)]
#6516 added owner/group support for tarfiles in Distutils
Georg Brandl [Thu, 1 Oct 2009 21:02:39 +0000 (21:02 +0000)]
Add NEWS entry for r75180.
Georg Brandl [Thu, 1 Oct 2009 20:59:31 +0000 (20:59 +0000)]
#7031: Add TestCase.assertIsInstance and negated method.
Georg Brandl [Thu, 1 Oct 2009 20:11:14 +0000 (20:11 +0000)]
Fix some weird whitespace and two other overlong lines.
Antoine Pitrou [Thu, 1 Oct 2009 17:08:03 +0000 (17:08 +0000)]
Sync the 2.x `io` docs with py3k, with a small note as to the distinction
between bytes streams and text streams.
Senthil Kumaran [Thu, 1 Oct 2009 01:50:13 +0000 (01:50 +0000)]
That's self.env.unset(k) and not env.unset(k) I was heading back to the problem.
Senthil Kumaran [Thu, 1 Oct 2009 01:19:18 +0000 (01:19 +0000)]
using dict.unset(k) instead of del dict[k]. consistent with release26-maint
Senthil Kumaran [Thu, 1 Oct 2009 01:07:03 +0000 (01:07 +0000)]
Fix for issue7026 test_urllib: unsetting missing 'env' variable.
Mark Dickinson [Wed, 30 Sep 2009 16:58:01 +0000 (16:58 +0000)]
Fix buggy accuracy test
Gregory P. Smith [Tue, 29 Sep 2009 21:56:31 +0000 (21:56 +0000)]
Mention issue6972 in extractall docs about overwriting things outside of
the supplied path.
Ronald Oussoren [Tue, 29 Sep 2009 19:34:13 +0000 (19:34 +0000)]
Fix for issue6957: ensure that the OSX installer
installs a version of Python that can build
extensions on OSX 10.6.
Philip Jenvey [Tue, 29 Sep 2009 19:10:15 +0000 (19:10 +0000)]
#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
Mark Dickinson [Tue, 29 Sep 2009 19:01:06 +0000 (19:01 +0000)]
Issue #7019: Unmarshalling of bad long data could produce unnormalized
PyLongs. Raise ValueError instead.
Raymond Hettinger [Tue, 29 Sep 2009 18:53:24 +0000 (18:53 +0000)]
Issue 7008: Better document str.title and show how to work around the apostrophe problem.
Antoine Pitrou [Tue, 29 Sep 2009 17:48:18 +0000 (17:48 +0000)]
Issue #6790: Make it possible again to pass an `array.array` to
`httplib.HTTPConnection.send`. Patch by Kirk McDonald.
Ronald Oussoren [Tue, 29 Sep 2009 13:00:44 +0000 (13:00 +0000)]
* Update the Mac/README file. Add the list of OSX-specific configure options
to that README file with some explanation.
* Be more strict in the configure script: complain loudly when the user has
specified invalid combinations of OSX-specific configure arguments.
The error message refers to the Mac/README file for more information.
Vinay Sajip [Tue, 29 Sep 2009 07:08:54 +0000 (07:08 +0000)]
Issue #7014: logging: Improved IronPython 2.6 compatibility.
Philip Jenvey [Tue, 29 Sep 2009 04:32:44 +0000 (04:32 +0000)]
#6990: clear threading.local's key only after its thread state is removed:
fixes local subclasses leaving old state around after a ref cycle GC which
could be recycled by new locals
Mark Dickinson [Mon, 28 Sep 2009 18:54:55 +0000 (18:54 +0000)]
Issue #3366: Add gamma function to math module.
(lgamma, erf and erfc to follow).
R. David Murray [Mon, 28 Sep 2009 18:29:28 +0000 (18:29 +0000)]
Applying patches backported from 3.1, by Gregor Lingl.
R. David Murray [Mon, 28 Sep 2009 16:57:45 +0000 (16:57 +0000)]
Prevent test_bad_address failure when a domain in the dns search
path implements a '*' default rule. Also update comment with
a more complete explanation of the difficulties inherent in
the test.
Mark Dickinson [Mon, 28 Sep 2009 16:52:40 +0000 (16:52 +0000)]
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).
Kristján Valur Jónsson [Mon, 28 Sep 2009 15:56:25 +0000 (15:56 +0000)]
http://bugs.python.org/issue6836
A missing 'const' wasn't detected by Visual Studio.
Kristján Valur Jónsson [Mon, 28 Sep 2009 13:12:38 +0000 (13:12 +0000)]
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.
Kristján Valur Jónsson [Mon, 28 Sep 2009 13:08:48 +0000 (13:08 +0000)]
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.
Skip Montanaro [Mon, 28 Sep 2009 02:12:27 +0000 (02:12 +0000)]
Patch from Thomas Barr so that csv.Sniffer will set doublequote property.
Closes issue 6606.
Michael Foord [Sun, 27 Sep 2009 20:08:23 +0000 (20:08 +0000)]
Documentation improvement for load_tests protocol in unittest. Issue 6515.
Michael Foord [Sun, 27 Sep 2009 19:15:41 +0000 (19:15 +0000)]
Test creation moved from TestProgram.parseArgs to TestProgram.createTests exclusively. Issue 6956.
Mark Dickinson [Sun, 27 Sep 2009 16:39:28 +0000 (16:39 +0000)]
Eliminate unnecessary get_wrapped_(u)long defines in struct module.
Mark Dickinson [Sun, 27 Sep 2009 16:05:21 +0000 (16:05 +0000)]
Issue #6713: Improve decimal int -> string conversions. Thanks Gawain
Bolton for the suggestion and original patches.
Vinay Sajip [Sat, 26 Sep 2009 14:53:32 +0000 (14:53 +0000)]
Tidied up name of parameter in StreamHandler
Ezio Melotti [Sat, 26 Sep 2009 11:20:53 +0000 (11:20 +0000)]
#7000: document "sep" in capwords. Add a few tests
Benjamin Peterson [Sat, 26 Sep 2009 02:57:59 +0000 (02:57 +0000)]
comment out ugly xxx
Andrew M. Kuchling [Fri, 25 Sep 2009 22:23:54 +0000 (22:23 +0000)]
#6243: fix segfault when keyname() returns a NULL pointer.
Bug noted by Trundle, patched by Trundle and Jerry Chen.
Ezio Melotti [Fri, 25 Sep 2009 16:07:55 +0000 (16:07 +0000)]
#6994: fix typo in enumerate docstring
Kristján Valur Jónsson [Fri, 25 Sep 2009 15:19:51 +0000 (15:19 +0000)]
http://bugs.python.org/issue6971
Adding the SIO_KEEPALIVE_VALS command to socket.ioctl on windows
Mark Dickinson [Thu, 24 Sep 2009 19:21:07 +0000 (19:21 +0000)]
Issue #6982: Add generated Lib/lib2to3/*.pickle files to 'make clean' target.
Thanks egreen.
Ezio Melotti [Wed, 23 Sep 2009 21:36:39 +0000 (21:36 +0000)]
improved phrasing, markup and example
Benjamin Peterson [Tue, 22 Sep 2009 22:15:28 +0000 (22:15 +0000)]
fix typos/rephrase
Brett Cannon [Tue, 22 Sep 2009 20:04:24 +0000 (20:04 +0000)]
Fix a minor doc syntax typo.
Ronald Oussoren [Tue, 22 Sep 2009 19:27:44 +0000 (19:27 +0000)]
Half of the fix for issue 6957: ensure that distutils
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.
Brett Cannon [Tue, 22 Sep 2009 19:13:27 +0000 (19:13 +0000)]
Fix whitespace.
Vinay Sajip [Tue, 22 Sep 2009 17:23:41 +0000 (17:23 +0000)]
Fixed a typo, and added sections on optimization and using arbitrary objects as messages.
Ronald Oussoren [Tue, 22 Sep 2009 14:24:57 +0000 (14:24 +0000)]
The 'Navigation Toolbox' is not available at all for 64-bit
code, make this explicit in the C code to avoid confusing
error messages during the build.
Georg Brandl [Tue, 22 Sep 2009 10:55:08 +0000 (10:55 +0000)]
Fix encoding name.
Brett Cannon [Tue, 22 Sep 2009 00:29:48 +0000 (00:29 +0000)]
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.
Antoine Pitrou [Mon, 21 Sep 2009 21:17:48 +0000 (21:17 +0000)]
Issue #6236, #6348: Fix various failures in the io module under AIX
and other platforms, when using a non-gcc compiler. Patch by egreen.
In addition, I made explicit the signedness of all bitfields in the
IO library.
Mark Dickinson [Mon, 21 Sep 2009 16:16:44 +0000 (16:16 +0000)]
Silence MSVC compiler warnings.
Tarek Ziadé [Mon, 21 Sep 2009 13:49:57 +0000 (13:49 +0000)]
forgot to commit a file in previous commit (r74994, issue #6954)
Tarek Ziadé [Mon, 21 Sep 2009 13:41:08 +0000 (13:41 +0000)]
#6954: Fixed crash when using DISTUTILS_DEBUG flag in Distutils.
Tarek Ziadé [Mon, 21 Sep 2009 13:23:35 +0000 (13:23 +0000)]
improving distutils coverage
Tarek Ziadé [Mon, 21 Sep 2009 12:19:07 +0000 (12:19 +0000)]
improved distutils test coverage: now the DEBUG mode is covered too (will help fix the issue #6954 in py3k branch)
Doug Hellmann [Sun, 20 Sep 2009 20:44:13 +0000 (20:44 +0000)]
Fix markup for external links.
Ronald Oussoren [Sun, 20 Sep 2009 20:16:11 +0000 (20:16 +0000)]
* Make it easier to build custom installers (such as a 3-way universal build)
* Upgrade bzip dependency to 1.0.5
Ronald Oussoren [Sun, 20 Sep 2009 20:05:44 +0000 (20:05 +0000)]
Fix typo in error message
Ronald Oussoren [Sun, 20 Sep 2009 18:54:16 +0000 (18:54 +0000)]
Merge a newer version of libffi_osx, based on the
version of libffi in OSX 10.6.1.
This fixes issue6918
Ronald Oussoren [Sun, 20 Sep 2009 14:18:15 +0000 (14:18 +0000)]
Issue 6877: this patch makes it possible to link the readline extension
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.
Ronald Oussoren [Sun, 20 Sep 2009 11:19:00 +0000 (11:19 +0000)]
For for issue 6934: failures in postflight script in OSX installer
Ronald Oussoren [Sun, 20 Sep 2009 10:54:07 +0000 (10:54 +0000)]
Followup for r74962
Ronald Oussoren [Sun, 20 Sep 2009 10:31:22 +0000 (10:31 +0000)]
Fix for issue 6851: urllib.urlopen crashes in a thread on OSX 10.6
Ezio Melotti [Sun, 20 Sep 2009 07:10:39 +0000 (07:10 +0000)]
#6881 - fixed wrong return type; improved the formatting
Georg Brandl [Sat, 19 Sep 2009 13:20:49 +0000 (13:20 +0000)]
Add Mark Summerfield.
Georg Brandl [Sat, 19 Sep 2009 13:13:56 +0000 (13:13 +0000)]
Add Doug.
Georg Brandl [Sat, 19 Sep 2009 12:04:16 +0000 (12:04 +0000)]
Fix references to threading.enumerate().
Georg Brandl [Sat, 19 Sep 2009 10:42:34 +0000 (10:42 +0000)]
#6946: fix duplicate index entries for datetime classes.
Thomas Heller [Sat, 19 Sep 2009 10:04:54 +0000 (10:04 +0000)]
Remove unused variable and static function to fix compiler warnings.
Georg Brandl [Sat, 19 Sep 2009 08:43:16 +0000 (08:43 +0000)]
Update bug tracker reference.
Georg Brandl [Sat, 19 Sep 2009 07:35:07 +0000 (07:35 +0000)]
#6944: the argument to PyArg_ParseTuple should be a tuple, otherwise a SystemError is set. Also clean up another usage of PyArg_ParseTuple.
Benjamin Peterson [Fri, 18 Sep 2009 21:47:27 +0000 (21:47 +0000)]
typo
Benjamin Peterson [Fri, 18 Sep 2009 21:46:21 +0000 (21:46 +0000)]
backport keyword argument support for bytearray.decode
Georg Brandl [Fri, 18 Sep 2009 21:35:59 +0000 (21:35 +0000)]
#6930: clarify description about byteorder handling in UTF decoder routines.
Georg Brandl [Fri, 18 Sep 2009 21:21:41 +0000 (21:21 +0000)]
#6925: rewrite docs for locals() and vars() a bit.
Benjamin Peterson [Fri, 18 Sep 2009 21:14:55 +0000 (21:14 +0000)]
add keyword arguments support to str/unicode encode and decode #6300
Mark Dickinson [Fri, 18 Sep 2009 21:01:50 +0000 (21:01 +0000)]
Use skipUnless to skip math module tests on non-IEEE 754 platforms.
Thomas Heller [Fri, 18 Sep 2009 20:05:44 +0000 (20:05 +0000)]
Issue #4606: Passing 'None' if ctypes argtype is set to POINTER(...)
does now always result in NULL.
Thomas Heller [Fri, 18 Sep 2009 18:55:17 +0000 (18:55 +0000)]
Issue #5042: Structure sub-subclass does now initialize correctly with
base class positional arguments.
Mark Dickinson [Fri, 18 Sep 2009 18:35:42 +0000 (18:35 +0000)]
Add Gawain Bolton to Misc/ACKS for his work on base 10 integer -> string optimizations.